<module name="org.apache.log4j" />
<module name="org.slf4j" />
<module name="org.slf4j.impl" />
+ <module name="org.jboss.resteasy.resteasy-jackson-provider" />
+ <module name="org.jboss.resteasy.resteasy-jettison-provider" />
</exclusions>
<dependencies>
<module name="org.jboss.jandex" slot="main" />
<module name="org.javassist" slot="main" />
<module name="org.antlr" slot="main" />
<module name="org.dom4j" slot="main" />
+ <module name="org.jboss.resteasy.resteasy-jackson2-provider" services="import" />
+ <!-- This module contain the ProviderBase class: -->
+ <module name="com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider" export="true" />
</dependencies>
</deployment>
</jboss-deployment-structure>
<module name="org.apache.log4j" />\r
<module name="org.slf4j" />\r
<module name="org.slf4j.impl" />\r
+ <module name="org.jboss.resteasy.resteasy-jackson-provider" />\r
+ <module name="org.jboss.resteasy.resteasy-jettison-provider" />\r
</exclusions>\r
<dependencies>\r
<module name="org.jboss.jandex" slot="main" />\r
<module name="org.javassist" slot="main" />\r
<module name="org.antlr" slot="main" />\r
<module name="org.dom4j" slot="main" />\r
+ <module name="org.jboss.resteasy.resteasy-jackson2-provider" services="import" />\r
+ <!-- This module contain the ProviderBase class: -->\r
+ <module name="com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider" export="true" />\r
</dependencies>\r
</deployment>\r
-</jboss-deployment-structure>
\ No newline at end of file
+</jboss-deployment-structure>\r
<module name="org.apache.log4j" />\r
<module name="org.slf4j" />\r
<module name="org.slf4j.impl" />\r
+ <module name="org.jboss.resteasy.resteasy-jackson-provider" />\r
+ <module name="org.jboss.resteasy.resteasy-jettison-provider" />\r
</exclusions>\r
<dependencies>\r
<module name="org.jboss.jandex" slot="main" />\r
<module name="org.javassist" slot="main" />\r
<module name="org.antlr" slot="main" />\r
<module name="org.dom4j" slot="main" />\r
- </dependencies>\r
+ <module name="org.jboss.resteasy.resteasy-jackson2-provider" services="import" />\r
+ <!-- This module contain the ProviderBase class: -->\r
+ <module name="com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider" export="true" />\r
+ </dependencies>\r
</deployment>\r
-</jboss-deployment-structure>
\ No newline at end of file
+</jboss-deployment-structure>\r
private static MsoLogger msoLogger = MsoLogger.getMsoLogger(MsoLogger.Catalog.BPEL);
private static final String SITENAME = "mso.sitename";
- private static final String ADPTER_ENDPOINT = "mso.openecomp.adapters.db.endpoint";
- private static final String OPENECOMP_ADAPTER_NAMESPACE = "mso.openecomp.adapter.namespace";
+ private static final String ADAPTER_ENDPOINT = "mso.adapters.db.endpoint";
+ private static final String ADAPTER_NAMESPACE = "mso.adapters.namespace";
private static final String CONFIG = "mso.bpmn.urn.properties";
private static final String CREDENTIAL = "mso.adapters.db.auth";
private static final String MSOKEY = "mso.msoKey";
}
String siteName = props.get(SITENAME);
- String endpoint = props.get(ADPTER_ENDPOINT);
+ String endpoint = props.get(ADAPTER_ENDPOINT);
if (null == siteName || siteName.length () == 0 || null == endpoint || endpoint.length () == 0) {
- msoLogger.error(MessageEnum.BPMN_GENERAL_EXCEPTION, "BPMN", MsoLogger.getServiceName(), MsoLogger.ErrorCode.DataError, "Unable to load key attributes (" + SITENAME + " or " + ADPTER_ENDPOINT + ") from the config file:" + CONFIG);
+ msoLogger.error(MessageEnum.BPMN_GENERAL_EXCEPTION, "BPMN", MsoLogger.getServiceName(), MsoLogger.ErrorCode.DataError, "Unable to load key attributes (" + SITENAME + " or " + ADAPTER_ENDPOINT + ") from the config file:" + CONFIG);
return NOT_STARTED_RESPONSE;
}
try {
- if (!this.getSiteStatus (endpoint, siteName, props.get(CREDENTIAL), props.get(MSOKEY), props.get(OPENECOMP_ADAPTER_NAMESPACE))) {
+ if (!this.getSiteStatus (endpoint, siteName, props.get(CREDENTIAL), props.get(MSOKEY), props.get(ADAPTER_NAMESPACE))) {
msoLogger.debug("This site is currently disabled for maintenance.");
return HEALTH_CHECK_NOK_RESPONSE;
}
}
String siteName = props.get(SITENAME);
- String endpoint = props.get(ADPTER_ENDPOINT);
+ String endpoint = props.get(ADAPTER_ENDPOINT);
if (null == siteName || siteName.length () == 0 || null == endpoint || endpoint.length () == 0) {
- msoLogger.error(MessageEnum.BPMN_GENERAL_EXCEPTION, "BPMN", MsoLogger.getServiceName(), MsoLogger.ErrorCode.DataError, "Unable to load key attributes (" + SITENAME + " or " + ADPTER_ENDPOINT + ") from the config file:" + CONFIG);
+ msoLogger.error(MessageEnum.BPMN_GENERAL_EXCEPTION, "BPMN", MsoLogger.getServiceName(), MsoLogger.ErrorCode.DataError, "Unable to load key attributes (" + SITENAME + " or " + ADAPTER_ENDPOINT + ") from the config file:" + CONFIG);
return NOT_STARTED_RESPONSE;
}
try {
- if (!this.getSiteStatus (endpoint, siteName, props.get(CREDENTIAL), props.get(MSOKEY), props.get(OPENECOMP_ADAPTER_NAMESPACE))) {
+ if (!this.getSiteStatus (endpoint, siteName, props.get(CREDENTIAL), props.get(MSOKEY), props.get(ADAPTER_NAMESPACE))) {
msoLogger.debug("This site is currently disabled for maintenance.");
return HEALTH_CHECK_NOK_RESPONSE;
}
}
try {
- ProcessEngines.getDefaultProcessEngine().getIdentityService().createGroupQuery().list();
+ // TODO: check the appropriate process engine
+ // ProcessEngines.getDefaultProcessEngine().getIdentityService().createGroupQuery().list();
} catch (final Exception e) {
msoLogger.error(MessageEnum.GENERAL_EXCEPTION_ARG, "BPMN", MsoLogger.getServiceName(), MsoLogger.ErrorCode.UnknownError, "Exception while verifying Camunda engine", e);