diff options
author | 2018-02-13 15:24:09 +0800 | |
---|---|---|
committer | 2018-02-13 15:24:09 +0800 | |
commit | 6c1ec540bba87cd5ee2ce478d0f2a2c053d7444a (patch) | |
tree | e0a4abf3a01b2ee0a2fcbde7adab205058871892 /sdc-workflow-designer-server/src | |
parent | 23ade91cd5c18af93a6fc529f003b124fb6d0a6a (diff) |
Integrate UI Resources into dropwizard.
Use AssetsBundle to integrate UI resources into dropwizard.
Issue-ID: SDC-408
Change-Id: I987de3683c8d9beabf3e947cd3b830072f3c95cd
Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-server/src')
-rw-r--r-- | sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/WorkflowDesignerApp.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/WorkflowDesignerApp.java b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/WorkflowDesignerApp.java index da40796b..1e289057 100644 --- a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/WorkflowDesignerApp.java +++ b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/WorkflowDesignerApp.java @@ -44,6 +44,9 @@ public class WorkflowDesignerApp extends Application<WorkflowDesignerConfigurati @Override public void initialize(Bootstrap<WorkflowDesignerConfiguration> bootstrap) { bootstrap.addBundle(new AssetsBundle("/api-doc", "/api-doc", "index.html", "api-doc")); + bootstrap.addBundle(new AssetsBundle("/workflow-modeler", "/workflow-modeler", "index.html", + "workflow-modeler")); + bootstrap.addBundle(new AssetsBundle("/workflow-modeler", "/", "index.html", "ng")); } @Override |