summaryrefslogtreecommitdiffstats
path: root/wfenginemgrservice/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'wfenginemgrservice/src/main')
-rw-r--r--wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowApp.java4
-rw-r--r--wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowAppConfig.java6
2 files changed, 9 insertions, 1 deletions
diff --git a/wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowApp.java b/wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowApp.java
index 23f6ac6..d5fcb59 100644
--- a/wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowApp.java
+++ b/wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowApp.java
@@ -34,9 +34,11 @@ public class WorkflowApp extends Application<WorkflowAppConfig> {
@Override
public void run(WorkflowAppConfig configuration, Environment environment) throws Exception {
- // TODO Auto-generated method stub
+
environment.jersey().register(MultiPartFeature.class);
+ environment.jersey().packages("org.onap.workflow.resources");
+
Config.setWorkflowAppConfig(configuration);
}
}
diff --git a/wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowAppConfig.java b/wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowAppConfig.java
index 71985cc..f874bad 100644
--- a/wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowAppConfig.java
+++ b/wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowAppConfig.java
@@ -40,4 +40,10 @@ public class WorkflowAppConfig extends Configuration {
public MsbClientConfig getMsbClientConfig() {
return msbClientConfig;
}
+
+ public void setMsbClientConfig(MsbClientConfig msbClientConfig) {
+ this.msbClientConfig = msbClientConfig;
+ }
+
+
}