improve dashboard UI
[portal/ric-dashboard.git] / webapp-backend / src / main / java / org / oransc / ric / portal / dashboard / DashboardConstants.java
index bb093cd..6f02a22 100644 (file)
@@ -2,7 +2,7 @@
  * ========================LICENSE_START=================================
  * O-RAN-SC
  * %%
- * Copyright (C) 2019 AT&T Intellectual Property and Nokia
+ * Copyright (C) 2019 AT&T Intellectual Property
  * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,12 +26,13 @@ public abstract class DashboardConstants {
        }
 
        public static final String ENDPOINT_PREFIX = "/api";
-
-       public static final String LOGIN_PAGE = "/login.html";
-
+       // Spring path parameters
+       public static final String RIC_INSTANCE_KEY = "ric";
        // Factor out method names used in multiple controllers
        public static final String VERSION_METHOD = "version";
-
+       // Apps with metric panels
+       public static final String APP_NAME_AC = "AC";
+       public static final String APP_NAME_MC = "MC";
        // The role names are defined by ONAP Portal.
        // The prefix "ROLE_" is required by Spring.
        // These are used in Java code annotations that require constants.