Interface WAConfigService
-
- All Superinterfaces:
JAXRSService
- All Known Implementing Classes:
WAConfigServiceImpl
@Path("wa/config") public interface WAConfigService extends JAXRSServiceREST operations for WA Configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWAConfigService.PushSubject
-
Field Summary
-
Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(@NotNull String schema)Deletes the configuration parameter with matching schema.Attrget(@NotNull String schema)Returns configuration parameter with matching schema.List<Attr>list()voidpushToWA(@NotNull WAConfigService.PushSubject subject, List<String> services)Push to WA according to the provided parameters.voidset(@NotNull Attr value)Creates / updates the configuration parameter with the given schema.
-
-
-
Method Detail
-
list
@GET @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) List<Attr> list()
-
get
@GET @Path("{schema}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) Attr get(@NotNull @PathParam("schema") @NotNull String schema)Returns configuration parameter with matching schema.- Parameters:
schema- identifier of configuration to be read- Returns:
- configuration parameter with matching schema
-
set
@PUT @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) @Path("{schema}") void set(@NotNull @NotNull Attr value)Creates / updates the configuration parameter with the given schema.- Parameters:
value- parameter value
-
delete
@DELETE @Path("{schema}") @Produces({"application/json","application/yaml","application/xml"}) void delete(@NotNull @PathParam("schema") @NotNull String schema)Deletes the configuration parameter with matching schema.- Parameters:
schema- configuration parameter schema
-
pushToWA
@POST @Path("push/{subject}") @Produces({"application/json","application/yaml","application/xml"}) void pushToWA(@NotNull @PathParam("subject") @NotNull WAConfigService.PushSubject subject, @QueryParam("service") List<String> services)Push to WA according to the provided parameters.- Parameters:
subject- what is to be triggered for refresh on WAservices- WA instances to trigger; all if none specified
-
-