From e0addf5b588a1244f9679becd90999dfcb4c3a94 Mon Sep 17 00:00:00 2001 From: "ITSERVICES\\rb7147" Date: Tue, 25 Apr 2017 11:46:00 -0400 Subject: Policy 1707 commit to LF Change-Id: Ibe6f01d92f9a434c040abb05d5386e89d675ae65 Signed-off-by: ITSERVICES\rb7147 --- .../src/main/webapp/WEB-INF/conf/system.properties | 72 +++++++++++++++++++ .../src/main/webapp/WEB-INF/defs/definitions.xml | 22 ++++++ .../webapp/WEB-INF/fusion/conf/fusion.properties | 66 ++++++++++++++++++ .../fusion/orm/RNoteBookIntegration.hbm.xml | 44 ++++++++++++ POLICY-SDK-APP/src/main/webapp/WEB-INF/index.jsp | 24 +++++++ .../src/main/webapp/WEB-INF/jsp/login.jsp | 80 ++++++++++++++++++++++ POLICY-SDK-APP/src/main/webapp/WEB-INF/web.xml | 17 +++++ 7 files changed, 325 insertions(+) create mode 100644 POLICY-SDK-APP/src/main/webapp/WEB-INF/conf/system.properties create mode 100644 POLICY-SDK-APP/src/main/webapp/WEB-INF/defs/definitions.xml create mode 100644 POLICY-SDK-APP/src/main/webapp/WEB-INF/fusion/conf/fusion.properties create mode 100644 POLICY-SDK-APP/src/main/webapp/WEB-INF/fusion/orm/RNoteBookIntegration.hbm.xml create mode 100644 POLICY-SDK-APP/src/main/webapp/WEB-INF/index.jsp create mode 100644 POLICY-SDK-APP/src/main/webapp/WEB-INF/jsp/login.jsp create mode 100644 POLICY-SDK-APP/src/main/webapp/WEB-INF/web.xml (limited to 'POLICY-SDK-APP/src/main/webapp/WEB-INF') diff --git a/POLICY-SDK-APP/src/main/webapp/WEB-INF/conf/system.properties b/POLICY-SDK-APP/src/main/webapp/WEB-INF/conf/system.properties new file mode 100644 index 000000000..cc0b602cc --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/WEB-INF/conf/system.properties @@ -0,0 +1,72 @@ +# 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/ecompsdk1707 +db.userName = root +db.password = +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_add_Shared_context_rest_url + +# Link shown in Help menu +contact_us_link = todo_Add_contact_link + +# Camunda cockpit link +camunda_cockpit_link = todo_Add_camunda_cockpit_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_Add_guard_notebook_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_add_base_url diff --git a/POLICY-SDK-APP/src/main/webapp/WEB-INF/defs/definitions.xml b/POLICY-SDK-APP/src/main/webapp/WEB-INF/defs/definitions.xml new file mode 100644 index 000000000..8fbcd5af4 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/WEB-INF/defs/definitions.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/POLICY-SDK-APP/src/main/webapp/WEB-INF/fusion/conf/fusion.properties b/POLICY-SDK-APP/src/main/webapp/WEB-INF/fusion/conf/fusion.properties new file mode 100644 index 000000000..415d517c0 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/WEB-INF/fusion/conf/fusion.properties @@ -0,0 +1,66 @@ +# domain settings +#domain_class_location = com.att.fusion.domain. + +# validator settings +#default_error_message = Default error message + +# login settings +login_method_csp = csp +login_method_web_junction = web_junction +login_method_backdoor = backdoor +login_method_attribute_name = login_method + +#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. + +# CSP settings +csp_cookie_name = attESSec +csp_gate_keeper_data_key = MgmtSysCtr +csp_gate_keeper_prod_key = PROD +csp_login_url = todo_Add_logon_url +csp_logout_url = todo_Add_logout_url + +authentication_mechanism = BOTH + +#csp_gate_keeper_prod_key = DEVL +user_attribute_name = user + +# Web Junction settings +#web_junction_user_id_header_name = iv-user + +# User Session settings +#user_attribute_name = user +roles_attribute_name = roles +role_functions_attribute_name = role_functions +#client_device_attribute_name = client_device +#client_device_emulation = false +#client_device_type_to_emulate = com.att.fusion.web.clientdevice.mobile.IPhoneDevice + +# POST settings +post_initial_context_factory = com.sun.jndi.ldap.LdapCtxFactory +post_provider_url = todo_Add_post_provider_url +post_security_principal = todo_Add_security_principal +post_max_result_size = 499 + +# menu settings +menu_query_name = menuData +#menu_properties_file_location = /WEB-INF/fusion/menu/ +application_menu_set_name = APP +application_menu_attribute_name = applicationMenuData +#application_menu_properties_name = menu.properties +business_direct_menu_set_name = BD +#business_direct_menu_properties_name = bd.menu.properties +business_direct_menu_attribute_name = businessDirectMenuData + +# RAPTOR config settings +#raptor_config_file_path = /WEB-INF/conf/ + +# Role settings +sys_admin_role_id = 1 +#sys_admin_role_function_delete_from_ui = true + +# Profile Search settings +#profile_search_report_id=181 +#callable_profile_search_report_id=386 diff --git a/POLICY-SDK-APP/src/main/webapp/WEB-INF/fusion/orm/RNoteBookIntegration.hbm.xml b/POLICY-SDK-APP/src/main/webapp/WEB-INF/fusion/orm/RNoteBookIntegration.hbm.xml new file mode 100644 index 000000000..6638b4bc7 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/WEB-INF/fusion/orm/RNoteBookIntegration.hbm.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/POLICY-SDK-APP/src/main/webapp/WEB-INF/index.jsp b/POLICY-SDK-APP/src/main/webapp/WEB-INF/index.jsp new file mode 100644 index 000000000..f6030c979 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/WEB-INF/index.jsp @@ -0,0 +1,24 @@ +<%-- + ================================================================================ + 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/POLICY-SDK-APP/src/main/webapp/WEB-INF/jsp/login.jsp b/POLICY-SDK-APP/src/main/webapp/WEB-INF/jsp/login.jsp new file mode 100644 index 000000000..6e63b1256 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/WEB-INF/jsp/login.jsp @@ -0,0 +1,80 @@ +<%-- + ================================================================================ + 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 uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@ page import="org.openecomp.portalsdk.core.util.SystemProperties" %> + +" /> + + + + + + Login + + + + + + + + + + + +
+
+
+
+ +
+
+ +

ECOMP Portal

+ + +
+
+ + +
+
+                + +
+
+
+






+ +
+ + \ No newline at end of file diff --git a/POLICY-SDK-APP/src/main/webapp/WEB-INF/web.xml b/POLICY-SDK-APP/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..0290f1fc8 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,17 @@ + + + + ecomp-sdk-app-os + + + + + + 7 + COOKIE + + + \ No newline at end of file -- cgit 1.2.3-korg