Now the agent requires an environment parameter to start, and the
configuration of that environment is used to load different sections of
the configuration file
Simply add the property corsEnabled=true and corsOrigin=? to the
configuration properties of the RestfulStrolchComponent and then the
RestFul API should allow cross origin querying
Simply add the property corsEnabled=true and corsOrigin=? to the
configuration properties of the RestfulStrolchComponent and then the
RestFul API should allow cross origin querying
Also cleaned up hierarchy of StrolchTransaction by moving up everything
into AbstractTransaction as made sense and added special delegation
methods for the actual commit() and rollback() ind the concrete
implementations.
When the strolch restful classes are registered, the following API is
enabled:
strolch/inspector - overview of the realms
strolch/inspector/{realm} - ovierview of the elements in a realm
strolch/inspector/{realm}/order - overview of the orders
strolch/inspector/{realm}/resource - overview of the resources
strolch/inspector/{realm}/resource/{type} - overview of the resource
types
strolch/inspector/{realm}/order/{type} - overview of the order types
strolch/inspector/{realm}/resource/{type}/{id} - get resource overview
strolch/inspector/{realm}/order/{type}/{id} - get an order overview
Getting details of the Resources and Orders is coming next