From 073cc188efe9abb4c010cf674e34e2cf46ef1c52 Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Mon, 31 Jul 2017 08:47:35 +0000 Subject: [POLICY-73] replace openecomp for policy-engine Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing Signed-off-by: Pamela Dragosh --- .../src/main/webapp/WEB-INF/conf/system.properties | 72 -- .../src/main/webapp/WEB-INF/defs/definitions.xml | 14 - .../webapp/WEB-INF/fusion/conf/fusion.properties | 32 - .../main/webapp/WEB-INF/fusion/jsp/ds2/footer.jsp | 17 - .../main/webapp/WEB-INF/fusion/jsp/ds2/header.jsp | 1 - .../webapp/WEB-INF/fusion/jsp/ds2/left-menu.jsp | 778 --------------------- .../fusion/orm/RNoteBookIntegration.hbm.xml | 44 -- ECOMP-SDK-APP/src/main/webapp/WEB-INF/index.jsp | 24 - .../src/main/webapp/WEB-INF/jsp/login.jsp | 113 --- .../src/main/webapp/WEB-INF/jsp/login_external.jsp | 117 ---- ECOMP-SDK-APP/src/main/webapp/WEB-INF/web.xml | 17 - 11 files changed, 1229 deletions(-) delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/conf/system.properties delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/defs/definitions.xml delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/conf/fusion.properties delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/footer.jsp delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/header.jsp delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/left-menu.jsp delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/orm/RNoteBookIntegration.hbm.xml delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/index.jsp delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/jsp/login.jsp delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/jsp/login_external.jsp delete mode 100644 ECOMP-SDK-APP/src/main/webapp/WEB-INF/web.xml (limited to 'ECOMP-SDK-APP/src/main/webapp/WEB-INF') diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/conf/system.properties b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/conf/system.properties deleted file mode 100644 index 6c65eaf52..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/conf/system.properties +++ /dev/null @@ -1,72 +0,0 @@ -# Properties read by ECOMP Core library, ecompSDK-core.jar - -########################################################################## -# The following properties should NOT be changed by partner applications. -########################################################################## - -application_user_id = 30000 -post_default_role_id = 16 -clustered = true - -#Enable Fusion Mobile capabilities for the application -mobile_enable = false - -# Cache config file is needed on the classpath -cache_config_file_path = /WEB-INF/classes/cache.ccf -cache_switch = 199 -cache_load_on_startup = false - -user_name = fullName -decryption_key = AGLDdG4D04BKm2IxIWEr8o== - -########################################################################## -# The following properties MAY require changes by partner applications. -########################################################################## -#Mysql -db.driver = com.mysql.jdbc.Driver -db.connectionURL = jdbc:mysql://localhost:3306/ecomp_sdk -db.userName = policy_user -db.password = policy_user -db.hib.dialect = org.hibernate.dialect.MySQLDialect -db.min_pool_size = 5 -db.max_pool_size = 10 -hb.dialect = org.hibernate.dialect.MySQLDialect -# SQL statements are logged to stdout -hb.show_sql = true -hb.idle_connection_test_period = 3600 - -app_display_name = EP SDK App -files_path = /tmp - -#element map files -element_map_file_path = /tmp -element_map_icon_path = app/fusionapp/icons/ - -#Cron Schedules have 6 required fields and 1 optional field: -# Seconds Minutes Hours Day-of-Month Month Day-of-Week Year -log_cron = 0 0/1 * * * ?; -mylogins_feed_cron = 0 0/60 * * * ?; -#sessiontimeout_feed_cron = 0 * * * * ? * -my_login_feed_output_dir = /tmp/MyLogins - -# ECOMP Portal Shared Context REST API URL -ecomp_shared_context_rest_url= todo_shared_context_url - -# Link shown in Help menu -contact_us_link = todo_Contact_link - -# Camunda cockpit link -camunda_cockpit_link = todo_camunda_link -# An Unique 128-bit value defined to identify a specific version -# of an application deployed on a specific virtual machine. -# This value must be generated and updated by the application -# which is using the ECOMP SDK at the time of its deployment. -# Online Unique UUID generator - https://www.uuidgenerator.net/ -instance_uuid=8da691c9-987d-43ed-a358-00ac2f35685d - -# R Cloud feature -guard_notebook_url=todo_guard_url - -# Application base URL has the host and app context only; a proper prefix of the on-boarded URL. -# Only required for applications using WebJunction or FE/BE separation. For example: -# app_base_url = todo_App_base_url diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/defs/definitions.xml b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/defs/definitions.xml deleted file mode 100644 index b2391b562..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/defs/definitions.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/conf/fusion.properties b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/conf/fusion.properties deleted file mode 100644 index 7140d35fb..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/conf/fusion.properties +++ /dev/null @@ -1,32 +0,0 @@ -# login settings -login_method_backdoor = backdoor -login_method_attribute_name = login_method -login_method_csp = csp - -#login message -login.error.hrid.empty = Login failed, please contact system administrator. -login.error.hrid.not-found = User not found, please contact system administrator. -login.error.user.inactive = Account is disabled, please contact system administrator. - -# User Session settings -user_attribute_name = user -roles_attribute_name = roles -role_functions_attribute_name = role_functions -authentication_mechanism = BOTH -role_function_list = role_function_list - -# Import-user LDAP settings -post_initial_context_factory = com.sun.jndi.ldap.LdapCtxFactory -post_provider_url = ldap://ldap.mycompany.com:389 -post_security_principal = ou=people,o=mycompany,c=us -post_max_result_size = 499 - -# menu settings -menu_query_name = menuData -application_menu_set_name = APP -application_menu_attribute_name = applicationMenuData -business_direct_menu_set_name = BD -business_direct_menu_attribute_name = businessDirectMenuData - -# Role settings -sys_admin_role_id = 1 diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/footer.jsp b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/footer.jsp deleted file mode 100644 index 3374b75ff..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/footer.jsp +++ /dev/null @@ -1,17 +0,0 @@ - - - - -
-
- -
-
\ No newline at end of file diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/header.jsp b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/header.jsp deleted file mode 100644 index 94213a2a3..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/header.jsp +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/left-menu.jsp b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/left-menu.jsp deleted file mode 100644 index cbf7f8ad5..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/jsp/ds2/left-menu.jsp +++ /dev/null @@ -1,778 +0,0 @@ -<%-- - ================================================================================ - eCOMP Portal SDK - ================================================================================ - Copyright (C) 2017 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. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ================================================================================ - --%> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> -<%@ page isELIgnored="false"%> -<%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%> -<%@ page import="org.openecomp.portalsdk.core.onboarding.util.PortalApiProperties"%> -<%@ page import="org.openecomp.portalsdk.core.onboarding.util.PortalApiConstants"%> -<%@ page import="org.openecomp.portalsdk.core.domain.MenuData"%> - - - - - - - - - - - -" /> -" /> - -<% - String contactUsLink = SystemProperties.getProperty(SystemProperties.CONTACT_US_LINK); - String redirectUrl = PortalApiProperties.getProperty(PortalApiConstants.ECOMP_REDIRECT_URL); - String portalUrl = redirectUrl.substring(0, redirectUrl.lastIndexOf('/')) + "/process_csp"; - String getAccessLink = redirectUrl.substring(0, redirectUrl.lastIndexOf('/')) + "/get_access"; -%> - - - - - - -<%@include file="/WEB-INF/fusion/jsp/ebz/loginSnippet.html" %> - -
-
- -
-
-
- - -
-
-
-
-
  • - - ECOMP Portal -
  • -
    -
    - -
    -
    - - -
    - - -
    -
    -
    -
  • - Unable to load menus -
  • -
    - -
    -
  • -
    - - -
    -
  • -
  •  
  • -
    - -
    -
    -
    -
    -
    -
    -
    - -
    -
    - - - -     {{app_name}} - -
    -
    -
    -
    - - - - - -
    -
    -
    -
    -
    -
    -
    -
    - - \ No newline at end of file diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/orm/RNoteBookIntegration.hbm.xml b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/orm/RNoteBookIntegration.hbm.xml deleted file mode 100644 index 6638b4bc7..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/fusion/orm/RNoteBookIntegration.hbm.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/index.jsp b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/index.jsp deleted file mode 100644 index f6030c979..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/index.jsp +++ /dev/null @@ -1,24 +0,0 @@ -<%-- - ================================================================================ - eCOMP Portal SDK - ================================================================================ - Copyright (C) 2017 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. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ================================================================================ - --%> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> - -<%-- Redirected because we can't set the welcome page to a virtual URL. --%> -<%-- Forward to the intended start page to reduce frustration for new users. --%> - diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/jsp/login.jsp b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/jsp/login.jsp deleted file mode 100644 index 09320356c..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/jsp/login.jsp +++ /dev/null @@ -1,113 +0,0 @@ -<%-- - ================================================================================ - ECOMP Portal SDK - ================================================================================ - Copyright (C) 2017 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. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ================================================================================ ---%> -<%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%> - -<% - // Name is defined by app; do not throw if missing - final String appDisplayName = SystemProperties.containsProperty(SystemProperties.APP_DISPLAY_NAME) - ? SystemProperties.getProperty(SystemProperties.APP_DISPLAY_NAME) - : SystemProperties.APP_DISPLAY_NAME; -%> - - - - - - - Login - - - - -
    -
    -
    ${model.error}
    -
    -
    -
    -
    -
    -
    - - - diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/jsp/login_external.jsp b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/jsp/login_external.jsp deleted file mode 100644 index 9d099bf0e..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/jsp/login_external.jsp +++ /dev/null @@ -1,117 +0,0 @@ -<%-- - ================================================================================ - ECOMP Portal SDK - ================================================================================ - Copyright (C) 2017 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. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ================================================================================ ---%> -<%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%> - -<% - // Name is defined by app; do not throw if missing - final String appDisplayName = SystemProperties.containsProperty(SystemProperties.APP_DISPLAY_NAME) - ? SystemProperties.getProperty(SystemProperties.APP_DISPLAY_NAME) - : SystemProperties.APP_DISPLAY_NAME; -%> - - - - - - - - - - - -
    -
    -
    ${model.error}
    -
    -
    -
    -
    -
    -
    - - - diff --git a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/web.xml b/ECOMP-SDK-APP/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index 0290f1fc8..000000000 --- a/ECOMP-SDK-APP/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - ecomp-sdk-app-os - - - - - - 7 - COOKIE - - - \ No newline at end of file -- cgit 1.2.3-korg