Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Qos Model to Dataclay #20

Closed
fcarp10 opened this issue Feb 12, 2019 · 1 comment
Closed

Add Qos Model to Dataclay #20

fcarp10 opened this issue Feb 12, 2019 · 1 comment

Comments

@fcarp10
Copy link
Collaborator

fcarp10 commented Feb 12, 2019

Java class as reference for the qosmodel resource in dataclay:

https://github.com/mF2C/ServiceManagement/blob/master/src/main/java/sm/elements/QosModel.java

@dgasull
Copy link

dgasull commented Mar 19, 2019

Implemented in PR mF2C/mF2C#141 . Working json example:

{
"id": "qos-model/qos-model",
"service": { "href": "service/service" },
"agreement": { "href": "agreement/agreement" } ,
"agents": [ { "href": "agent/agent" } ],
"config": "qos config",
"num_service_instances": 2,
"num_service_failures": 3,
"current_state": [1.0, 3.5],
"next_state": [1.0]

}

@fcarp10 Please confirm, everything is OK!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants