aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-server
diff options
context:
space:
mode:
authorYuanHu <yuan.hu1@zte.com.cn>2018-02-13 15:24:09 +0800
committerYuanHu <yuan.hu1@zte.com.cn>2018-02-13 15:24:09 +0800
commit6c1ec540bba87cd5ee2ce478d0f2a2c053d7444a (patch)
treee0a4abf3a01b2ee0a2fcbde7adab205058871892 /sdc-workflow-designer-server
parent23ade91cd5c18af93a6fc529f003b124fb6d0a6a (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')
-rw-r--r--sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/WorkflowDesignerApp.java3
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