BAXTER-IT / yurconf

Baxter Configuration Server
http://www.yurconf.org/
0 stars 1 forks source link

Processors dependencies and interactions #6

Open ykryshchuk opened 10 years ago

ykryshchuk commented 10 years ago

This has to be done most likely as a separate module (processor, like we have processors for different products). The topology processing is not a mandatory function of any configuration server, thus the functionality has to be pluggable. Ideally, other processors have to reuse the topology rocessor stylesheets. That implies, that topology processor must be deliverable as a optional package for configuration server.

Using the pluggable processors and their stylesheets has to be designed properly on configuration server level. That includes classpath resolution (to reuse classes from one processor in other processors) and stylesheets resolution (in order to import the templates between processors).

Currently the external processors may reuse "core" classes and stylesheets, but this is currently done as a quick-hack. We need a concept of dependencies between processors and their resources. The new documentation whould describe the idea and should specify the requirements for processors packaging.

Afterwards, the existing processors and core resources have to be re-factored to satisfy the specification.

The next simple steps are:

This solution may affect another issue #4

ykryshchuk commented 10 years ago

one more important item to mention is a ConfigServer ClassLoader #12 , which is actually responsible for loading/sharing classes and resources between the processors.