Core: added test of facility attributes and resource attributes in assignService() in ResourceManager

- modified assignService() in ResourceManager
    - added test of facility attributes and resource attributes