Skip to content

[WIP] feature/adaptserviceinstance#137

Merged
wederbn merged 12 commits intomasterfrom
feature/adaptserviceinstance
Jun 16, 2020
Merged

[WIP] feature/adaptserviceinstance#137
wederbn merged 12 commits intomasterfrom
feature/adaptserviceinstance

Conversation

@nyuuyn
Copy link
Contributor

@nyuuyn nyuuyn commented May 18, 2020

Short Description

Adds the ability to generate adaptation plans for service templates via the API. These adaptation plans allow a user to start/stop a set of nodes and relationship on a given service instance.

For example sending a POST request with the following json to the URL 'http://localhost:1337/csars/MyTinyToDo_Bare_Docker.csar/servicetemplates/%257Bhttp%253A%252F%252Fopentosca.org%252Fservicetemplates%257DMyTinyToDo_Bare_Docker/transform' would generate an adaptation plan that can stop the MyTinyToDoDockerContainer which is currently running on the DockerEngine:

{ "source_node_templates": [ "MyTinyToDoDockerContainer", "DockerEngine" ], "source_relationship_templates": [ "con_17" ], "target_node_templates": [ "DockerEngine" ], "target_relationship_templates": [ ] }

…alue in the parameter for the mocking feature

Signed-off-by: Kálmán Képes <kalman.kepes@iaas.uni-stuttgart.de>
…d when an error is occuring

Signed-off-by: Kálmán Képes <kalman.kepes@iaas.uni-stuttgart.de>
…nsation handlers into faulthandlers of the generated bpel plans

Signed-off-by: Kálmán Képes <kalman.kepes@iaas.uni-stuttgart.de>
…nt bus

Signed-off-by: Kálmán Képes <kalman.kepes@iaas.uni-stuttgart.de>
…ult to the global fault handlers

Signed-off-by: Kálmán Képes <kalman.kepes@iaas.uni-stuttgart.de>
Signed-off-by: Kálmán Képes <kalman.kepes@iaas.uni-stuttgart.de>
… a plans wsdl

Signed-off-by: Kálmán Képes <kalman.kepes@iaas.uni-stuttgart.de>
# Conflicts:
#	org.opentosca.bus.management.service.impl/src/org/opentosca/bus/management/service/impl/ManagementBusServiceImpl.java
@nyuuyn nyuuyn mentioned this pull request Jun 16, 2020
nyuuyn added 2 commits June 16, 2020 14:16
# Conflicts:
#	org.opentosca.bus.management.service.impl/src/org/opentosca/bus/management/service/impl/ManagementBusServiceImpl.java
Signed-off-by: Kálmán Képes <kalman.kepes@iaas.uni-stuttgart.de>
@wederbn wederbn merged commit 40218e5 into master Jun 16, 2020
@wederbn wederbn deleted the feature/adaptserviceinstance branch June 16, 2020 12:22
lharzenetter added a commit that referenced this pull request Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants