BAXTER-IT / yurconf

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

Define the mechanism to provide the ObjectModel by Processors #16

Open ykryshchuk opened 10 years ago

ykryshchuk commented 10 years ago

In addition to the confguration rendered by processors it should be a way to catch the configuration on client side and convert it to Java objects.

Instead of parsing the text configuration Yurconf Client API can unmarshal it into the objects.

Need to create the example on Demo processor to show simple case.

ykryshchuk commented 10 years ago

It can be a single maven project that provides multiple artifacts:

ykryshchuk commented 10 years ago

Added general code to processor parent pom. The om artifact is created from the resources specified by processor pom. The jar file gets included into linux packages and appears in corresponding library directories. A versionless link is added as well.

Client applications may include the artifact as dependency using the classifier element, like in this example:

<dependency>
   <groupId>org.yurconf</groupId>
   <artifactId>yurconf-demo-processor</artifactId>
   <version>2.0</version>
   <classifier>om</classifier>
</dependency>
ykryshchuk commented 10 years ago

still wrong packaging. need a way to install only the client package

ykryshchuk commented 10 years ago

Configuration Processors Parent POM has been refactored in a way that it declares following artifacts to be created: