Commit 7424a5fc authored by acoburn's avatar acoburn
Browse files

update names idmapper -> idiomatic

parent 7b0750af
......@@ -26,9 +26,9 @@ Each of these projects can be deployed in an OSGi container. For example using
command from its shell:
feature:repo-add mvn:edu.amherst.acdc/acrepo-karaf/LATEST/xml/features
feature:install acrepo-idmapper
feature:install acrepo-idmapper-pgsql
feature:install acrepo-mint
feature:install acrepo-idiomatic
feature:install acrepo-idiomatic-pgsql
feature:install acrepo-mint-service
Or by copying any of the compiled bundles into `$KARAF_HOME/deploy`.
......
......@@ -19,7 +19,7 @@ This project can be deployed in an OSGi container. For example using
command from its shell:
feature:repo-add mvn:edu.amherst.acdc/repository-services/LATEST/xml/features
feature:install acrepo-idmapper-pgsql
feature:install acrepo-idiomatic-pgsql
Or by copying the compiled bundle into `$KARAF_HOME/deploy`.
......
......@@ -19,7 +19,7 @@ This project can be deployed in an OSGi container. For example using
command from its shell:
feature:repo-add mvn:edu.amherst.acdc/repository-services/LATEST/xml/features
feature:install acrepo-idmapper
feature:install acrepo-idiomatic
Or by copying the compiled bundle into `$KARAF_HOME/deploy`.
......@@ -27,7 +27,7 @@ Configuration
-------------
The application can be configured by creating the following configuration
file `$KARAF_HOME/etc/edu.amherst.acdc.idmapper.cfg`. The following values
file `$KARAF_HOME/etc/edu.amherst.acdc.idiomatic.cfg`. The following values
are available for configuration:
In the event of failure, the maximum number of times a redelivery will be attempted.
......
......@@ -66,7 +66,7 @@ public class EventRouter extends RouteBuilder {
from("direct:event")
.routeId("IdMappingEventRouter")
.log(LoggingLevel.INFO, "edu.amherst.acdc.idmapper",
.log(LoggingLevel.INFO, "edu.amherst.acdc.idiomatic",
"IdMapping Event: ${headers[org.fcrepo.jms.identifier]}")
.to("fcrepo:localhost:8080/rest?preferOmit=PreferContainment")
.split().xtokenize("//{{id.property}}", 'i', ns)
......@@ -88,19 +88,19 @@ public class EventRouter extends RouteBuilder {
*/
from("direct:update")
.routeId("IdMappingUpdateRouter")
.to("sql:UPDATE idmapper SET fedora=:#fedora WHERE public=:#public")
.to("sql:UPDATE uris SET fedora=:#fedora WHERE public=:#public")
.filter(simple("${body} == 0"))
.to("sql:INSERT INTO idmapper (fedora, public) VALUES (:#fedora, :#public)");
.to("sql:INSERT INTO uris (fedora, public) VALUES (:#fedora, :#public)");
from("direct:get")
.routeId("IdMappingFetchRouter")
.log("${headers}")
.to("sql:SELECT fedora FROM idmapper WHERE public=:#public");
.to("sql:SELECT fedora FROM uris WHERE public=:#public");
from("direct:delete")
.routeId("IdMappingDeleteRouter")
.log("${headers}")
.to("sql:DELETE FROM idmapper WHERE public=:#public");
.to("sql:DELETE FROM uris WHERE public=:#public");
}
}
......@@ -7,7 +7,7 @@
</encoder>
</appender>
<logger name="edu.amherst.acdc.idmapper" additivity="false" level="INFO">
<logger name="edu.amherst.acdc.idiomatic" additivity="false" level="INFO">
<appender-ref ref="STDOUT"/>
</logger>
<logger name="org.apache.camel" additivity="false" level="INFO">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment