Commit 4ab51cbb authored by fabio martelli's avatar fabio martelli
Browse files

review ee interaction interfaces after discussion with UDA

parent d1edf4ac
......@@ -17,13 +17,12 @@ package eu.chorevolution.idm.common.types;
public enum ServiceAction {
/**
* Starts non-legacy service.
* Enforce security context if and only if Secury Filter is available.
*/
START,
ENFORCE,
/**
* Stops non-legacy service.
* Replace the service providing the name of the former and name and URL of the newer.
*/
STOP,
REPLACE;
}
......@@ -110,7 +110,8 @@ public interface ChoreographyService extends JAXRSService {
* @param id choreography id
* @param serviceId choreography service id
* @param action action to be performed
* @param newServiceURL (normally ignored, required if {@code action} is {@link ServiceAction#REPLACE}
* @param argument Security context name if {@link ServiceAction#ENFORCE}; new service id if
* {@link ServiceAction#REPLACE}
* service URL to replace the current set for the given service id
*/
@POST
......@@ -119,6 +120,6 @@ public interface ChoreographyService extends JAXRSService {
@NotNull @PathParam("id") String id,
@NotNull @PathParam("serviceId") String serviceId,
@NotNull @QueryParam("action") ServiceAction action,
String newServiceURL);
String argument);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment