-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MGMT-16108: introduce the Resource server
Added an initial implementation for the resource server. The server is serving the 'resourcePools' endpoint which fetches data from the search query API and converts the results into O2 objects. In a nutshell, the mapping is done as follows: * Node object from search API --> O2 Resource object * Cluster object from search API --> O2 ResourcePool object As some objects/properties don't have direct mapping, for now this PR does *not* include the following: * Handling for ResourceType objects * Mapping for these properties: * ResourcePool.location * ResourcePool.globalLocationID * ResourcePool.description * Resource.resourceTypeID
- Loading branch information
1 parent
ccd39ba
commit ae9becd
Showing
12 changed files
with
1,067 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.