Commit 75e4e499 authored by acoburn's avatar acoburn
Browse files

Disable API-X by default

This disables the loading of API-X extensions by default.
parent 82b39507
......@@ -13,6 +13,6 @@ rest.host=localhost
fits.endpoint=http://localhost:8080/fits/examine
# API-X configuration
extension.load=true
extension.load=false
extension.load.uri=http://apix/services//apix:load
extension.load.maximumRedeliveries=60
......@@ -17,7 +17,7 @@
<cm:property name="rest.host" value="localhost"/>
<cm:property name="rest.port" value="9106"/>
<cm:property name="fits.endpoint" value="http://localhost:8080/fits/examine"/>
<cm:property name="extension.load" value="true" />
<cm:property name="extension.load" value="false" />
<cm:property name="extension.load.uri" value="http://apix/services//apix:load" />
<cm:property name="extension.load.maximumRedeliveries" value="60" />
</cm:default-properties>
......
......@@ -16,6 +16,6 @@ fcrepo.authUsername=
fcrepo.authPassword=
# API-X configuration
extension.load=true
extension.load=false
extension.load.uri=http://apix/services//apix:load
extension.load.maximumRedeliveries=60
......@@ -19,7 +19,7 @@
<cm:property name="convert.path" value="convert"/>
<cm:property name="valid.formats" value="jpeg,jp2,tiff"/>
<cm:property name="default.format" value="jpeg"/>
<cm:property name="extension.load" value="true" />
<cm:property name="extension.load" value="false" />
<cm:property name="extension.load.uri" value="http://apix/services//apix:load" />
<cm:property name="extension.load.maximumRedeliveries" value="60" />
</cm:default-properties>
......
......@@ -23,6 +23,6 @@ rest.host=localhost
cache.timeout=86400
# API-X configuration
extension.load=true
extension.load=false
extension.load.uri=http://apix/services//apix:load
extension.load.maximumRedeliveries=60
......@@ -22,7 +22,7 @@
<cm:property name="rest.host" value="localhost"/>
<cm:property name="rest.port" value="9086"/>
<cm:property name="cache.timeout" value="86400"/>
<cm:property name="extension.load" value="true" />
<cm:property name="extension.load" value="false" />
<cm:property name="extension.load.uri" value="http://apix/services//apix:load" />
<cm:property name="extension.load.maximumRedeliveries" value="60" />
</cm:default-properties>
......
......@@ -12,6 +12,6 @@ fcrepo.authUsername=
fcrepo.authPassword=
# API-X configuration
extension.load=true
extension.load=false
extension.load.uri=http://apix/services//apix:load
extension.load.maximumRedeliveries=60
......@@ -17,7 +17,7 @@
<cm:property name="fcrepo.baseUrl" value="http://localhost:8080/fcrepo/rest"/>
<cm:property name="fcrepo.authUsername" value=""/>
<cm:property name="fcrepo.authPassword" value=""/>
<cm:property name="extension.load" value="true" />
<cm:property name="extension.load" value="false" />
<cm:property name="extension.load.uri" value="http://apix/services//apix:load" />
<cm:property name="extension.load.maximumRedeliveries" value="60" />
</cm:default-properties>
......
......@@ -12,6 +12,6 @@ fcrepo.authUsername=
fcrepo.authPassword=
# API-X configuration
extension.load=true
extension.load=false
extension.load.uri=http://apix/services//apix:load
extension.load.maximumRedeliveries=60
......@@ -17,7 +17,7 @@
<cm:property name="fcrepo.baseUrl" value="http://localhost:8080/fcrepo/rest"/>
<cm:property name="fcrepo.authUsername" value=""/>
<cm:property name="fcrepo.authPassword" value=""/>
<cm:property name="extension.load" value="true" />
<cm:property name="extension.load" value="false" />
<cm:property name="extension.load.uri" value="http://apix/services//apix:load" />
<cm:property name="extension.load.maximumRedeliveries" value="60" />
</cm:default-properties>
......
......@@ -13,6 +13,6 @@ mods.xslt=edu/amherst/acdc/exts/serialize/xml/rdf2mods.xsl
dc.xslt=edu/amherst/acdc/exts/serialize/xml/rdf2dc.xsl
# API-X configuration
extension.load=true
extension.load=false
extension.load.uri=http://apix/services//apix:load
extension.load.maximumRedeliveries=60
......@@ -18,7 +18,7 @@
<cm:property name="fcrepo.baseUrl" value="http://localhost:8080/fcrepo/rest"/>
<cm:property name="fcrepo.authUsername" value=""/>
<cm:property name="fcrepo.authPassword" value=""/>
<cm:property name="extension.load" value="true" />
<cm:property name="extension.load" value="false" />
<cm:property name="extension.load.uri" value="http://apix/services//apix:load" />
<cm:property name="extension.load.maximumRedeliveries" value="60" />
</cm:default-properties>
......
......@@ -19,6 +19,6 @@ mustache.templateUri=edu/amherst/acdc/exts/template/template.mustache
ldpath.serviceUrl=http://localhost:9086/ldpath
# API-X configuration
extension.load=true
extension.load=false
extension.load.uri=http://apix/services//apix:load
extension.load.maximumRedeliveries=60
......@@ -18,7 +18,7 @@
<cm:property name="mustache.templateUri" value="edu/amherst/acdc/exts/template/template.mustache"/>
<cm:property name="mustache.contentType" value="text/html"/>
<cm:property name="ldpath.serviceUrl" value="http://localhost:9086/ldpath"/>
<cm:property name="extension.load" value="true" />
<cm:property name="extension.load" value="false" />
<cm:property name="extension.load.uri" value="http://apix/services//apix:load" />
<cm:property name="extension.load.maximumRedeliveries" value="60" />
</cm:default-properties>
......
......@@ -97,7 +97,6 @@ public class AcrepoExtsSerializeXmlIT extends AbstractOSGiIT {
editConfigurationFilePut("etc/org.apache.karaf.shell.cfg", "sshPort", sshPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.serialize.xml.cfg", "fcrepo.baseUrl", fcrepoBaseUrl),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.serialize.xml.cfg", "rest.port", metadataServicePort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.serialize.xml.cfg", "extension.load", "false")
};
}
......
......@@ -88,7 +88,6 @@ public class AcrepoFitsIT extends AbstractOSGiIT {
editConfigurationFilePut("etc/org.apache.karaf.shell.cfg", "sshPort", sshPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.fits.cfg", "fcrepo.baseUrl", fcrepoBaseUrl),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.fits.cfg", "rest.port", fitsServicePort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.fits.cfg", "extension.load", "false")
};
}
......
......@@ -95,7 +95,6 @@ public class AcrepoOreIT extends AbstractOSGiIT {
editConfigurationFilePut("etc/org.apache.karaf.shell.cfg", "sshPort", sshPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.ore.cfg", "fcrepo.baseUrl", fcrepoBaseUrl),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.ore.cfg", "rest.port", oreExtPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.ore.cfg", "extension.load", "false")
};
}
......
......@@ -95,7 +95,6 @@ public class AcrepoPcdmIT extends AbstractOSGiIT {
editConfigurationFilePut("etc/org.apache.karaf.shell.cfg", "sshPort", sshPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.pcdm.cfg", "fcrepo.baseUrl", fcrepoBaseUrl),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.pcdm.cfg", "rest.port", pcdmExtPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.pcdm.cfg", "extension.load", "false")
};
}
......
......@@ -107,19 +107,12 @@ public class AcrepoServicesIT extends AbstractOSGiIT {
"acrepo-services-pcdm"),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.fits.cfg", "rest.port", fitsPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.fits.cfg", "extension.load", "false"),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.image.cfg", "rest.port", imagePort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.image.cfg", "extension.load", "false"),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.ldpath.cfg", "rest.port", ldpathPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.ldpath.cfg", "extension.load", "false"),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.ore.cfg", "rest.port", orePort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.ore.cfg", "extension.load", "false"),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.pcdm.cfg", "rest.port", pcdmPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.pcdm.cfg", "extension.load", "false"),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.serialize.xml.cfg", "rest.port", metadataPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.serialize.cfg", "extension.load", "false"),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.template.cfg", "rest.port", templatePort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.template.cfg", "extension.load", "false"),
editConfigurationFilePut("etc/org.apache.karaf.management.cfg", "rmiRegistryPort", rmiRegistryPort),
editConfigurationFilePut("etc/org.apache.karaf.management.cfg", "rmiServerPort", rmiServerPort),
editConfigurationFilePut("etc/org.apache.karaf.shell.cfg", "sshPort", sshPort)
......
......@@ -95,8 +95,6 @@ public class AcrepoTemplateIT extends AbstractOSGiIT {
editConfigurationFilePut("etc/org.apache.karaf.management.cfg", "rmiServerPort", rmiServerPort),
editConfigurationFilePut("etc/org.apache.karaf.shell.cfg", "sshPort", sshPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.ldpath.cfg", "rest.port", ldpathPort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.ldpath.cfg", "extension.load", "false"),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.template.cfg", "extension.load", "false"),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.template.cfg", "fcrepo.baseUrl", fcrepoBaseUrl),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.template.cfg", "rest.port", templateServicePort),
editConfigurationFilePut("etc/edu.amherst.acdc.exts.template.cfg", "ldpath.serviceUrl",
......
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