diff --git a/li.strolch.website/www.strolch.li/plc.html b/li.strolch.website/www.strolch.li/plc.html index 885d9b28b..9b08fb0f4 100644 --- a/li.strolch.website/www.strolch.li/plc.html +++ b/li.strolch.website/www.strolch.li/plc.html @@ -195,6 +195,25 @@ wsObserverPath: { } +
  • +

    Don't forget to add the PLC Rest classes to your ResourceConfig

    +
    +@ApplicationPath("rest")
    +public class RestfulApplication extends ResourceConfig {
    +
    +    public RestfulApplication() {
    +
    +        ...
    +
    +        // strolch plc services
    +        packages(PlcConnectionsResource.class.getPackage().getName());
    +
    +        ...
    +    }
    +}
    +
    +
  • +
  • Now we need to configure the PLC's runtime by modifying runtime/StrolchConfiguration.xml and adding the following: