Provides an elektra interface for the new resource management and billing model for the CCloud OpenStack infrastructure. Utilizes the API endpoints provided by Limes.
A more detailed description about the architecture can be found here: Architecture
- Install dependencies
npm install
- Create a
secretProps.json
file in the root directory with the following contents:
{
"theme": "theme-light" or "theme-dark"
"endpoint": <Endpoint to the Limes API>
"projectID":
"domainID":
"token": <OpenStack Keystone Token>
"canEdit": <Defines if commitments can be created on resources>
"mockAPI": <Query real API or use provided mockdata.>
}
If the mockAPI
attribute is set to true
the endpint attribute becomes optional.
- Run the app:
APP_PORT=8000 npm run start
Then navigate to http://localhost:8000/.
The new calculation model is explained and provided at the Limes API specifications
-
Visit the resource management section in elektra or use the local version of this UI.
-
the resources available in the chosen project will be visible in a tile view.
-
Resources that can be edited and have no commitments will be displayed in purple color. The resource bar displayed will have the following structrue:
<Usage>/<Available Quota>
- Resources that contain commitments will have the following structure:
<Usage>/<sum(Commitments)> | <Usage that exceeds Commitments>/<Remaining Quota>
- Resources that contain commitments that are not yet confirmed will have a
pending
label attached to them.
Please open a issue in this repository and state the feature or error that you would like to have addressed.
If any other issues or questions arise, please contact Stefan Voigt
in Slack or per Mail:
[email protected]