Skip to content
dclemenzi edited this page Apr 25, 2018 · 2 revisions

This implementation connects to the REST API.

Artifact

<artifact>
    <groupId>com.incadencecorp.coalesce.framework.persistance</groupId>
    <artifactId>persister-rest</artifactId>
    <version>...</version>
</artifact>

Blueprint Example

Feature

persister-rest-feature

Bean

<bean id="persister" 
    class="com.incadencecorp.coalesce.framework.persistance.rest.impl.RESTPersisterImpl">
    <argument>
        <map>
            <entry key="com.incadencecorp.coalesce.persister.rest.template.url" value="http://localhost:8181/cxf/data/templates" />
            <entry key="com.incadencecorp.coalesce.persister.rest.entity.url" value="http://localhost:8181/cxf/data/entity" />
            <entry key="com.incadencecorp.coalesce.persister.rest.search.url" value="http://localhost:8181/cxf/data/search" />
        </map> 
    </argument>
</bean>
Clone this wiki locally