Interface WAConfigService

  • All Superinterfaces:
    JAXRSService

    @Path("wa/config")
    public interface WAConfigService
    extends JAXRSService
    REST operations for WA Configuration.
    • 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")
        @Produces({"application/json","application/yaml","application/xml"})
        void pushToWA()