diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2020-02-21 16:15:59 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2020-02-21 16:15:59 +0800 |
commit | 25570aff58210b55c4581b0a0659a643522284fe (patch) | |
tree | c6f1a8afba84ad407ae4ff7cc74d1d7765a18922 /mso-api-handlers/mso-api-handler-infra | |
parent | 8017827345ee6d9e3d1015879e191c5fad3a4257 (diff) |
Modify JerseyConfig
Issue-ID: SO-2368
Add Register for OrchestrationTask
Change-Id: If57a9fca62e90616fef6d23b0f6b1561265db0f3
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra')
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/JerseyConfiguration.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/JerseyConfiguration.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/JerseyConfiguration.java index b7288e4c91..0afc272b0a 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/JerseyConfiguration.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/JerseyConfiguration.java @@ -92,6 +92,7 @@ public class JerseyConfiguration extends ResourceConfig { register(NoRecipeExceptionMapper.class); register(RequestConflictMapper.class); register(WorkflowEngineConnectionMapper.class); + register(OrchestrationTasks.class); // this registration seems to be needed to get predictable // execution behavior for the above JSON Exception Mappers register(com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider.class); |