diff options
author | 2017-08-09 10:33:38 +0800 | |
---|---|---|
committer | 2017-08-09 10:33:38 +0800 | |
commit | 4120fc2a4448afdff8474f725f9c1d57f51ebe8f (patch) | |
tree | fc1a95c973e46efa11ac64ea6b71bf525a726034 /wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowApp.java | |
parent | c0604184b2aa8cff924ca783ec6b36f1f5988775 (diff) |
added test code
Change-Id: I238e18501bcf8abe61add65c0383a44b3c7a8cbc
Signed-off-by: Zhaoxing <meng.zhaoxing1@zte.com.cn>
Diffstat (limited to 'wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowApp.java')
-rw-r--r-- | wfenginemgrservice/src/main/java/org/onap/workflow/WorkflowApp.java | 4 |
1 files changed, 3 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); } } |