From 898021ecd9d3d49d652bf1210ee0712783476b42 Mon Sep 17 00:00:00 2001 From: Sudarshan Kumar Date: Wed, 27 May 2020 15:58:08 +0530 Subject: Removed ngapp and old sql scripts Removed ngapp and old sql scripts Issue-ID: PORTAL-912 Change-Id: If3035559a21aebbe4f218e2d7dc63453775e00c2 Signed-off-by: Sudarshan Kumar --- .../db-scripts/EcompSdkDDLMySql_1707_OS.sql | 12 -- .../db-scripts/EcompSdkDDLMySql_1710_OS.sql | 12 -- .../db-scripts/EcompSdkDMLMySql_1707_OS.sql | 39 ----- .../db-scripts/EcompSdkDMLMySql_1710_OS.sql | 39 ----- .../EcompSdkMySql_Rollback_1707_to_1610.2_OS.sql | 159 -------------------- .../EcompSdkMySql_Upgrade_1610.2_to_1707_OS.sql | 162 --------------------- ecomp-sdk/epsdk-app-os/ngapp/.editorconfig | 13 -- ecomp-sdk/epsdk-app-os/ngapp/.gitignore | 14 -- ecomp-sdk/epsdk-app-os/ngapp/.travis.yml | 14 -- ecomp-sdk/epsdk-app-os/ngapp/angular.json | 147 ------------------- ecomp-sdk/epsdk-app-os/ngapp/package.json | 71 --------- .../ngapp/src/app/app-routing.module.ts | 53 ------- .../epsdk-app-os/ngapp/src/app/app.component.html | 1 - .../epsdk-app-os/ngapp/src/app/app.component.scss | 37 ----- .../ngapp/src/app/app.component.spec.ts | 68 --------- .../epsdk-app-os/ngapp/src/app/app.component.ts | 51 ------- .../epsdk-app-os/ngapp/src/app/app.module.spec.ts | 13 -- ecomp-sdk/epsdk-app-os/ngapp/src/app/app.module.ts | 66 --------- .../ngapp/src/app/layout/layout-routing.module.ts | 57 -------- .../epsdk-app-os/ngapp/src/app/material-module.ts | 98 ------------- .../ngapp/src/app/pages/pages-routing.module.ts | 39 ----- .../ngapp/src/environments/environment.prod.ts | 3 - .../ngapp/src/environments/environment.ts | 44 ------ ecomp-sdk/epsdk-app-os/ngapp/src/favicon.ico | Bin 5430 -> 0 bytes ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js | 52 ------- ecomp-sdk/epsdk-app-os/ngapp/src/main.ts | 12 -- ecomp-sdk/epsdk-app-os/ngapp/src/ngwelcome.html | 55 ------- ecomp-sdk/epsdk-app-os/ngapp/src/polyfills.ts | 65 --------- ecomp-sdk/epsdk-app-os/ngapp/src/test.ts | 32 ---- ecomp-sdk/epsdk-app-os/ngapp/src/tsconfig.app.json | 11 -- .../epsdk-app-os/ngapp/src/tsconfig.spec.json | 18 --- ecomp-sdk/epsdk-app-os/ngapp/src/typings.d.ts | 5 - ecomp-sdk/epsdk-app-os/ngapp/tsconfig.json | 22 --- ecomp-sdk/epsdk-app-os/ngapp/tslint.json | 143 ------------------ 34 files changed, 1627 deletions(-) delete mode 100644 ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDDLMySql_1707_OS.sql delete mode 100644 ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDDLMySql_1710_OS.sql delete mode 100644 ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDMLMySql_1707_OS.sql delete mode 100644 ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDMLMySql_1710_OS.sql delete mode 100644 ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkMySql_Rollback_1707_to_1610.2_OS.sql delete mode 100644 ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkMySql_Upgrade_1610.2_to_1707_OS.sql delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/.editorconfig delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/.gitignore delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/.travis.yml delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/angular.json delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/package.json delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/app/app-routing.module.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.html delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.scss delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.spec.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/app/app.module.spec.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/app/app.module.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/app/layout/layout-routing.module.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/app/material-module.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/pages-routing.module.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.prod.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/favicon.ico delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/main.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/ngwelcome.html delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/polyfills.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/test.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/tsconfig.app.json delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/tsconfig.spec.json delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/src/typings.d.ts delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/tsconfig.json delete mode 100644 ecomp-sdk/epsdk-app-os/ngapp/tslint.json (limited to 'ecomp-sdk/epsdk-app-os') diff --git a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDDLMySql_1707_OS.sql b/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDDLMySql_1707_OS.sql deleted file mode 100644 index 1b1ce059..00000000 --- a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDDLMySql_1707_OS.sql +++ /dev/null @@ -1,12 +0,0 @@ --- --------------------------------------------------------------------------------------------------------------- --- This script adds tables for the 1707 OPEN-SOURCE version of the ECOMP SDK application database. --- The DDL 1707 COMMON script must be executed first! --- --------------------------------------------------------------------------------------------------------------- - -SET FOREIGN_KEY_CHECKS=1; - -USE ecomp_sdk; - --- No additional tables required at this time - -commit; diff --git a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDDLMySql_1710_OS.sql b/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDDLMySql_1710_OS.sql deleted file mode 100644 index 1b1ce059..00000000 --- a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDDLMySql_1710_OS.sql +++ /dev/null @@ -1,12 +0,0 @@ --- --------------------------------------------------------------------------------------------------------------- --- This script adds tables for the 1707 OPEN-SOURCE version of the ECOMP SDK application database. --- The DDL 1707 COMMON script must be executed first! --- --------------------------------------------------------------------------------------------------------------- - -SET FOREIGN_KEY_CHECKS=1; - -USE ecomp_sdk; - --- No additional tables required at this time - -commit; diff --git a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDMLMySql_1707_OS.sql b/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDMLMySql_1707_OS.sql deleted file mode 100644 index 1c4a926a..00000000 --- a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDMLMySql_1707_OS.sql +++ /dev/null @@ -1,39 +0,0 @@ --- --------------------------------------------------------------------------------------------------------------- --- This script populates tables in the 1707 OPEN-SOURCE version of the ECOMP SDK application database. --- The DML 1707 COMMON script must be executed first! --- --------------------------------------------------------------------------------------------------------------- - -SET FOREIGN_KEY_CHECKS=1; -USE ecomp_sdk; - --- fn_menu -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (1, 'Root', NULL, 10, NULL, 'menu_home', 'N', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); -- we need even though it's inactive -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (5000, 'Sample Pages', 1, 30, 'sample.htm', 'menu_sample', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-documents-book'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (2, 'Home', 1, 10, 'welcome.htm', 'menu_home', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-building-home'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (8, 'Reports', 1, 40, 'report.htm', 'menu_reports', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-misc-piechart'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (9, 'Profile', 1, 90, 'userProfile', 'menu_profile', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-people-oneperson'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (10, 'Admin', 1, 110, 'role_list.htm', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-content-star'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (84, 'All Reports', 8, 50, 'report', 'menu_reports', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/reports.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) values (87, 'Create Reports', 8, 120, 'report#/report_wizard', 'menu_reports', 'Y', NULL, 'r_action=report.create', NULL, NULL, 'APP', 'N', NULL); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) values (88, 'Sample Dashboard', 8, 130, 'report_dashboard', 'menu_reports', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (89, 'Import', 8, 140, 'report#/report_import', 'menu_reports', 'N', null, null, null, null, 'APP', 'N', null); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (94, 'Self', 9, 40,'userProfile#/self_profile', 'menu_profile', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/profile.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (101, 'Roles', 10, 20, 'admin#/admin', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/users.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (102, 'Role Functions', 10, 30, 'admin#/role_function_list', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (105, 'Cache Admin', 10, 40, 'admin#/jcs_admin', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/cache.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (108, 'Usage', 10, 80, 'admin#/usage_list', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/users.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (121, 'Collaboration', 5000, 100, 'samplePage#/collaborate_list', 'menu_sample', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/bubble.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (930, 'Search', 9, 15, 'userProfile', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/search_profile.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (150022, 'Menus', 10, 60, 'admin#/admin_menu_edit', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (150038,'Notebook',5000,135,'samplePage#/notebook','menu_sample','Y',NULL,NULL,NULL,NULL,'APP','N',NULL); - --- fn_user -Insert into fn_user (USER_ID,ORG_ID,MANAGER_ID,FIRST_NAME,MIDDLE_NAME,LAST_NAME,PHONE,FAX,CELLULAR,EMAIL,ADDRESS_ID,ALERT_METHOD_CD,HRID,ORG_USER_ID,ORG_CODE,LOGIN_ID,LOGIN_PWD,LAST_LOGIN_DATE,ACTIVE_YN,CREATED_ID,CREATED_DATE,MODIFIED_ID,MODIFIED_DATE,IS_INTERNAL_YN,ADDRESS_LINE_1,ADDRESS_LINE_2,CITY,STATE_CD,ZIP_CODE,COUNTRY_CD,LOCATION_CLLI,ORG_MANAGER_USERID,COMPANY,DEPARTMENT_NAME,JOB_TITLE,TIMEZONE,DEPARTMENT,BUSINESS_UNIT,BUSINESS_UNIT_NAME,COST_CENTER,FIN_LOC_CODE,SILO_STATUS) values (1,null,null,'Demo',null,'User',null,null,null,'demo@email.com',null,null,null,'demo',null,'demo','demo',str_to_date('24-OCT-16','%d-%M-%Y'),'Y',null,str_to_date('17-OCT-16','%d-%M-%Y'),1,str_to_date('24-OCT-16','%d-%M-%Y'),'N',null,null,null,'NJ',null,'US',null,null,null,null,null,10,null,null,null,null,null,null); - --- fn_app -Insert into fn_app (APP_ID,APP_NAME,APP_IMAGE_URL,APP_DESCRIPTION,APP_NOTES,APP_URL,APP_ALTERNATE_URL,APP_REST_ENDPOINT,ML_APP_NAME,ML_APP_ADMIN_ID,MOTS_ID,APP_PASSWORD,OPEN,ENABLED,THUMBNAIL,APP_USERNAME,UEB_KEY,UEB_SECRET,UEB_TOPIC_NAME) VALUES (1,'Default',null,'Some Default Description','Some Default Note',null,null,null,'ECPP','?','1','okYTaDrhzibcbGVq5mjkVQ==','N','N',null,'Default',null,null,'ECOMP-PORTAL-INBOX'); - --- fn_user_role -Insert into fn_user_role (USER_ID,ROLE_ID,PRIORITY,APP_ID) values (1,1,null,1); - -commit; diff --git a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDMLMySql_1710_OS.sql b/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDMLMySql_1710_OS.sql deleted file mode 100644 index 460da4b2..00000000 --- a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkDMLMySql_1710_OS.sql +++ /dev/null @@ -1,39 +0,0 @@ --- --------------------------------------------------------------------------------------------------------------- --- This script populates tables in the 1707 OPEN-SOURCE version of the ECOMP SDK application database. --- The DML 1707 COMMON script must be executed first! --- --------------------------------------------------------------------------------------------------------------- - -SET FOREIGN_KEY_CHECKS=1; -USE ecomp_sdk; - --- fn_menu -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (1, 'Root', NULL, 10, NULL, 'menu_home', 'N', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); -- we need even though it's inactive -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (5000, 'Sample Pages', 1, 30, 'sample.htm', 'menu_sample', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-documents-book'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (2, 'Home', 1, 10, 'welcome.htm', 'menu_home', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-building-home'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (8, 'Reports', 1, 40, 'report.htm', 'menu_reports', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-misc-piechart'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (9, 'Profile', 1, 90, 'userProfile', 'menu_profile', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-people-oneperson'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (10, 'Admin', 1, 110, 'role_list.htm', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-content-star'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (84, 'All Reports', 8, 50, 'report', 'menu_reports', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/reports.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) values (87, 'Create Reports', 8, 120, 'report#/report_wizard', 'menu_reports', 'Y', NULL, 'r_action=report.create', NULL, NULL, 'APP', 'N', NULL); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) values (88, 'Sample Dashboard', 8, 130, 'report_dashboard', 'menu_reports', 'N', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (89, 'Import', 8, 140, 'report#/report_import', 'menu_reports', 'N', null, null, null, null, 'APP', 'N', null); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (94, 'Self', 9, 40,'userProfile#/self_profile', 'menu_profile', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/profile.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (101, 'Roles', 10, 20, 'admin#/admin', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/users.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (102, 'Role Functions', 10, 30, 'admin#/role_function_list', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (105, 'Cache Admin', 10, 40, 'admin#/jcs_admin', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/cache.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (108, 'Usage', 10, 80, 'admin#/usage_list', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/users.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (121, 'Collaboration', 5000, 100, 'samplePage#/collaborate_list', 'menu_sample', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/bubble.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (930, 'Search', 9, 15, 'userProfile', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/search_profile.png'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (150022, 'Menus', 10, 60, 'admin#/admin_menu_edit', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (150038,'Notebook',5000,135,'samplePage#/notebook','menu_sample','Y',NULL,NULL,NULL,NULL,'APP','N',NULL); - --- fn_user -Insert into fn_user (USER_ID,ORG_ID,MANAGER_ID,FIRST_NAME,MIDDLE_NAME,LAST_NAME,PHONE,FAX,CELLULAR,EMAIL,ADDRESS_ID,ALERT_METHOD_CD,HRID,ORG_USER_ID,ORG_CODE,LOGIN_ID,LOGIN_PWD,LAST_LOGIN_DATE,ACTIVE_YN,CREATED_ID,CREATED_DATE,MODIFIED_ID,MODIFIED_DATE,IS_INTERNAL_YN,ADDRESS_LINE_1,ADDRESS_LINE_2,CITY,STATE_CD,ZIP_CODE,COUNTRY_CD,LOCATION_CLLI,ORG_MANAGER_USERID,COMPANY,DEPARTMENT_NAME,JOB_TITLE,TIMEZONE,DEPARTMENT,BUSINESS_UNIT,BUSINESS_UNIT_NAME,COST_CENTER,FIN_LOC_CODE,SILO_STATUS) values (1,null,null,'Demo',null,'User',null,null,null,'demo@email.com',null,null,null,'demo',null,'demo','demo',str_to_date('24-OCT-16','%d-%M-%Y'),'Y',null,str_to_date('17-OCT-16','%d-%M-%Y'),1,str_to_date('24-OCT-16','%d-%M-%Y'),'N',null,null,null,'NJ',null,'US',null,null,null,null,null,10,null,null,null,null,null,null); - --- fn_app -Insert into fn_app (APP_ID,APP_NAME,APP_IMAGE_URL,APP_DESCRIPTION,APP_NOTES,APP_URL,APP_ALTERNATE_URL,APP_REST_ENDPOINT,ML_APP_NAME,ML_APP_ADMIN_ID,MOTS_ID,APP_PASSWORD,OPEN,ENABLED,THUMBNAIL,APP_USERNAME,UEB_KEY,UEB_SECRET,UEB_TOPIC_NAME) VALUES (1,'Default',null,'Some Default Description','Some Default Note',null,null,null,'ECPP','?','1','okYTaDrhzibcbGVq5mjkVQ==','N','N',null,'Default',null,null,'ECOMP-PORTAL-INBOX'); - --- fn_user_role -Insert into fn_user_role (USER_ID,ROLE_ID,PRIORITY,APP_ID) values (1,1,null,1); - -commit; diff --git a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkMySql_Rollback_1707_to_1610.2_OS.sql b/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkMySql_Rollback_1707_to_1610.2_OS.sql deleted file mode 100644 index ce3565f6..00000000 --- a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkMySql_Rollback_1707_to_1610.2_OS.sql +++ /dev/null @@ -1,159 +0,0 @@ --- --------------------------------------------------------------------------------------------------------------- --- This rollback script is for the OpenSource ECOMP SDK App database from version 1707 to 1610.2. --- change size on 3 name columns from fn_user for the Opensource version --- changed DS1 icon names to DS2 icon names --- removed unnecessary fn_menu entries, updated fn_menu actions; changes the schema name from ecomp_sdk to ecomp_sdk_os_os --- --------------------------------------------------------------------------------------------------------------- -SET FOREIGN_KEY_CHECKS=1; -CREATE DATABASE IF NOT EXISTS ecomp_sdk_os; - -rename table ecomp_sdk.cr_favorite_reports to ecomp_sdk_os.cr_favorite_reports; -rename table ecomp_sdk.cr_filehist_log to ecomp_sdk_os.cr_filehist_log; -rename table ecomp_sdk.cr_folder to ecomp_sdk_os.cr_folder; -rename table ecomp_sdk.cr_folder_access to ecomp_sdk_os.cr_folder_access; -rename table ecomp_sdk.cr_hist_user_map to ecomp_sdk_os.cr_hist_user_map; -rename table ecomp_sdk.cr_lu_file_type to ecomp_sdk_os.cr_lu_file_type; -rename table ecomp_sdk.cr_raptor_action_img to ecomp_sdk_os.cr_raptor_action_img; -rename table ecomp_sdk.cr_raptor_pdf_img to ecomp_sdk_os.cr_raptor_pdf_img; -rename table ecomp_sdk.cr_remote_schema_info to ecomp_sdk_os.cr_remote_schema_info; -rename table ecomp_sdk.cr_report to ecomp_sdk_os.cr_report; -rename table ecomp_sdk.cr_report_access to ecomp_sdk_os.cr_report_access; -rename table ecomp_sdk.cr_report_dwnld_log to ecomp_sdk_os.cr_report_dwnld_log; -rename table ecomp_sdk.cr_report_email_sent_log to ecomp_sdk_os.cr_report_email_sent_log; -rename table ecomp_sdk.cr_report_file_history to ecomp_sdk_os.cr_report_file_history; -rename table ecomp_sdk.cr_report_log to ecomp_sdk_os.cr_report_log; -rename table ecomp_sdk.cr_report_schedule to ecomp_sdk_os.cr_report_schedule; -rename table ecomp_sdk.cr_report_schedule_users to ecomp_sdk_os.cr_report_schedule_users; -rename table ecomp_sdk.cr_report_template_map to ecomp_sdk_os.cr_report_template_map; -rename table ecomp_sdk.cr_schedule_activity_log to ecomp_sdk_os.cr_schedule_activity_log; -rename table ecomp_sdk.cr_table_join to ecomp_sdk_os.cr_table_join; -rename table ecomp_sdk.cr_table_role to ecomp_sdk_os.cr_table_role; -rename table ecomp_sdk.cr_table_source to ecomp_sdk_os.cr_table_source; -rename table ecomp_sdk.fn_lu_timezone to ecomp_sdk_os.fn_lu_timezone; -rename table ecomp_sdk.fn_user to ecomp_sdk_os.fn_user; -rename table ecomp_sdk.fn_role to ecomp_sdk_os.fn_role; -rename table ecomp_sdk.fn_audit_action to ecomp_sdk_os.fn_audit_action; -rename table ecomp_sdk.fn_audit_action_log to ecomp_sdk_os.fn_audit_action_log; -rename table ecomp_sdk.fn_lu_activity to ecomp_sdk_os.fn_lu_activity; -rename table ecomp_sdk.fn_audit_log to ecomp_sdk_os.fn_audit_log; -rename table ecomp_sdk.fn_broadcast_message to ecomp_sdk_os.fn_broadcast_message; -rename table ecomp_sdk.fn_chat_logs to ecomp_sdk_os.fn_chat_logs; -rename table ecomp_sdk.fn_chat_room to ecomp_sdk_os.fn_chat_room; -rename table ecomp_sdk.fn_chat_users to ecomp_sdk_os.fn_chat_users; -rename table ecomp_sdk.fn_datasource to ecomp_sdk_os.fn_datasource; -rename table ecomp_sdk.fn_function to ecomp_sdk_os.fn_function; -rename table ecomp_sdk.fn_lu_alert_method to ecomp_sdk_os.fn_lu_alert_method; -rename table ecomp_sdk.fn_lu_broadcast_site to ecomp_sdk_os.fn_lu_broadcast_site; -rename table ecomp_sdk.fn_lu_menu_set to ecomp_sdk_os.fn_lu_menu_set; -rename table ecomp_sdk.fn_lu_priority to ecomp_sdk_os.fn_lu_priority; -rename table ecomp_sdk.fn_lu_role_type to ecomp_sdk_os.fn_lu_role_type; -rename table ecomp_sdk.fn_lu_tab_set to ecomp_sdk_os.fn_lu_tab_set; -rename table ecomp_sdk.fn_lu_message_location to ecomp_sdk_os.fn_lu_message_location; -rename table ecomp_sdk.fn_menu to ecomp_sdk_os.fn_menu; -rename table ecomp_sdk.fn_org to ecomp_sdk_os.fn_org; -rename table ecomp_sdk.fn_restricted_url to ecomp_sdk_os.fn_restricted_url; -rename table ecomp_sdk.fn_role_composite to ecomp_sdk_os.fn_role_composite; -rename table ecomp_sdk.fn_role_function to ecomp_sdk_os.fn_role_function; -rename table ecomp_sdk.fn_tab to ecomp_sdk_os.fn_tab; -rename table ecomp_sdk.fn_tab_selected to ecomp_sdk_os.fn_tab_selected; -rename table ecomp_sdk.fn_user_pseudo_role to ecomp_sdk_os.fn_user_pseudo_role; -rename table ecomp_sdk.fn_user_role to ecomp_sdk_os.fn_user_role; -rename table ecomp_sdk.schema_info to ecomp_sdk_os.schema_info; -rename table ecomp_sdk.fn_app to ecomp_sdk_os.fn_app; -rename table ecomp_sdk.fn_workflow to ecomp_sdk_os.fn_workflow; -rename table ecomp_sdk.fn_schedule_workflows to ecomp_sdk_os.fn_schedule_workflows; -rename table ecomp_sdk.demo_bar_chart to ecomp_sdk_os.demo_bar_chart; -rename table ecomp_sdk.demo_bar_chart_inter to ecomp_sdk_os.demo_bar_chart_inter; -rename table ecomp_sdk.demo_line_chart to ecomp_sdk_os.demo_line_chart; -rename table ecomp_sdk.demo_pie_chart to ecomp_sdk_os.demo_pie_chart; -rename table ecomp_sdk.demo_util_chart to ecomp_sdk_os.demo_util_chart; -rename table ecomp_sdk.demo_scatter_chart to ecomp_sdk_os.demo_scatter_chart; -rename table ecomp_sdk.demo_scatter_plot to ecomp_sdk_os.demo_scatter_plot; -rename table ecomp_sdk.fn_qz_job_details to ecomp_sdk_os.fn_qz_job_details; -rename table ecomp_sdk.fn_qz_triggers to ecomp_sdk_os.fn_qz_triggers; -rename table ecomp_sdk.fn_qz_simple_triggers to ecomp_sdk_os.fn_qz_simple_triggers; -rename table ecomp_sdk.fn_qz_cron_triggers to ecomp_sdk_os.fn_qz_cron_triggers; -rename table ecomp_sdk.fn_qz_simprop_triggers to ecomp_sdk_os.fn_qz_simprop_triggers; -rename table ecomp_sdk.fn_qz_blob_triggers to ecomp_sdk_os.fn_qz_blob_triggers; -rename table ecomp_sdk.fn_qz_calendars to ecomp_sdk_os.fn_qz_calendars; -rename table ecomp_sdk.fn_qz_paused_trigger_grps to ecomp_sdk_os.fn_qz_paused_trigger_grps; -rename table ecomp_sdk.fn_qz_fired_triggers to ecomp_sdk_os.fn_qz_fired_triggers; -rename table ecomp_sdk.fn_qz_scheduler_state to ecomp_sdk_os.fn_qz_scheduler_state; -rename table ecomp_sdk.fn_qz_locks to ecomp_sdk_os.fn_qz_locks; -rename table ecomp_sdk.rcloudinvocation to ecomp_sdk_os.rcloudinvocation; -rename table ecomp_sdk.rcloudnotebook to ecomp_sdk_os.rcloudnotebook; - -USE ecomp_sdk_os; - --- --- NAME: V_URL_ACCESS; TYPE: VIEW --- -CREATE VIEW v_url_access AS - SELECT DISTINCT M.ACTION AS URL, - M.FUNCTION_CD - FROM FN_MENU M - WHERE (M.ACTION IS NOT NULL) -UNION - SELECT DISTINCT T.ACTION AS URL, - T.FUNCTION_CD - FROM FN_TAB T - WHERE (T.ACTION IS NOT NULL) -UNION - SELECT R.RESTRICTED_URL AS URL, - R.FUNCTION_CD - FROM FN_RESTRICTED_URL R; - -update fn_menu -set image_src = 'ion-home' -where menu_id = 2 and label = 'Home'; - -update fn_menu -set image_src = 'ion-android-apps' -where menu_id = 5000 and label = 'Sample Pages'; - -update fn_menu -set image_src = 'ion-ios-paper' -where menu_id = 8 and label = 'Reports'; - -update fn_menu -set image_src = 'ion-person' -where menu_id = 9 and label = 'Profile'; - -update fn_menu -set image_src = 'ion-gear-a' -where menu_id = 10 and label = 'Admin'; - -update fn_menu -set action = 'collaborate_list.htm' -where menu_id = 121 and label = 'Collaboration'; - -update fn_menu -set action = 'notebook.htm' -where menu_id = 150038 and label = 'Notebook'; - -update fn_menu -set action = 'admin' -where menu_id = 101 and label = 'Roles'; - -update fn_menu -set action = 'report_wizard.htm?r_action=report.create' -where menu_id = 87 and label = 'Create Reports'; - -delete from fn_menu -where menu_id = 150022 and label = 'Menus'; - -delete from fn_menu -where menu_id = 89 and label = 'Import'; - -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (13, 'Application Logout', 1, 130, 'app_logout.htm', 'menu_logout', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-sign-out'); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (92, 'Import User', 9, 30, null, 'menu_profile_import', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (103, 'Broadcast Messages', 10, 50, 'admin#/broadcast_list', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', '/static/fusion/images/bubble.png'); - -alter table fn_user - CHANGE COLUMN FIRST_NAME FIRST_NAME VARCHAR(25) NULL DEFAULT NULL , - CHANGE COLUMN MIDDLE_NAME MIDDLE_NAME VARCHAR(25) NULL DEFAULT NULL , - CHANGE COLUMN LAST_NAME LAST_NAME VARCHAR(25) NULL DEFAULT NULL; - -drop schema ecomp_sdk; - -commit; diff --git a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkMySql_Upgrade_1610.2_to_1707_OS.sql b/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkMySql_Upgrade_1610.2_to_1707_OS.sql deleted file mode 100644 index c45ad9c5..00000000 --- a/ecomp-sdk/epsdk-app-os/db-scripts/EcompSdkMySql_Upgrade_1610.2_to_1707_OS.sql +++ /dev/null @@ -1,162 +0,0 @@ --- --------------------------------------------------------------------------------------------------------------- --- This script upgrades the OpenSource ECOMP SDK App database from version 1610.2 to 1707. --- change size on 3 name columns from fn_user for the Opensource version --- changed DS1 icon names to DS2 icon names --- removed unnecessary fn_menu entries, updated fn_menu actions; changes the schema name from ecomp_sdk_os to ecomp_sdk --- --------------------------------------------------------------------------------------------------------------- - -SET FOREIGN_KEY_CHECKS=1; -CREATE DATABASE IF NOT EXISTS ecomp_sdk; - -rename table ecomp_sdk_os.cr_favorite_reports to ecomp_sdk.cr_favorite_reports; -rename table ecomp_sdk_os.cr_filehist_log to ecomp_sdk.cr_filehist_log; -rename table ecomp_sdk_os.cr_folder to ecomp_sdk.cr_folder; -rename table ecomp_sdk_os.cr_folder_access to ecomp_sdk.cr_folder_access; -rename table ecomp_sdk_os.cr_hist_user_map to ecomp_sdk.cr_hist_user_map; -rename table ecomp_sdk_os.cr_lu_file_type to ecomp_sdk.cr_lu_file_type; -rename table ecomp_sdk_os.cr_raptor_action_img to ecomp_sdk.cr_raptor_action_img; -rename table ecomp_sdk_os.cr_raptor_pdf_img to ecomp_sdk.cr_raptor_pdf_img; -rename table ecomp_sdk_os.cr_remote_schema_info to ecomp_sdk.cr_remote_schema_info; -rename table ecomp_sdk_os.cr_report to ecomp_sdk.cr_report; -rename table ecomp_sdk_os.cr_report_access to ecomp_sdk.cr_report_access; -rename table ecomp_sdk_os.cr_report_dwnld_log to ecomp_sdk.cr_report_dwnld_log; -rename table ecomp_sdk_os.cr_report_email_sent_log to ecomp_sdk.cr_report_email_sent_log; -rename table ecomp_sdk_os.cr_report_file_history to ecomp_sdk.cr_report_file_history; -rename table ecomp_sdk_os.cr_report_log to ecomp_sdk.cr_report_log; -rename table ecomp_sdk_os.cr_report_schedule to ecomp_sdk.cr_report_schedule; -rename table ecomp_sdk_os.cr_report_schedule_users to ecomp_sdk.cr_report_schedule_users; -rename table ecomp_sdk_os.cr_report_template_map to ecomp_sdk.cr_report_template_map; -rename table ecomp_sdk_os.cr_schedule_activity_log to ecomp_sdk.cr_schedule_activity_log; -rename table ecomp_sdk_os.cr_table_join to ecomp_sdk.cr_table_join; -rename table ecomp_sdk_os.cr_table_role to ecomp_sdk.cr_table_role; -rename table ecomp_sdk_os.cr_table_source to ecomp_sdk.cr_table_source; -rename table ecomp_sdk_os.fn_lu_timezone to ecomp_sdk.fn_lu_timezone; -rename table ecomp_sdk_os.fn_user to ecomp_sdk.fn_user; -rename table ecomp_sdk_os.fn_role to ecomp_sdk.fn_role; -rename table ecomp_sdk_os.fn_audit_action to ecomp_sdk.fn_audit_action; -rename table ecomp_sdk_os.fn_audit_action_log to ecomp_sdk.fn_audit_action_log; -rename table ecomp_sdk_os.fn_lu_activity to ecomp_sdk.fn_lu_activity; -rename table ecomp_sdk_os.fn_audit_log to ecomp_sdk.fn_audit_log; -rename table ecomp_sdk_os.fn_broadcast_message to ecomp_sdk.fn_broadcast_message; -rename table ecomp_sdk_os.fn_chat_logs to ecomp_sdk.fn_chat_logs; -rename table ecomp_sdk_os.fn_chat_room to ecomp_sdk.fn_chat_room; -rename table ecomp_sdk_os.fn_chat_users to ecomp_sdk.fn_chat_users; -rename table ecomp_sdk_os.fn_datasource to ecomp_sdk.fn_datasource; -rename table ecomp_sdk_os.fn_function to ecomp_sdk.fn_function; -rename table ecomp_sdk_os.fn_lu_alert_method to ecomp_sdk.fn_lu_alert_method; -rename table ecomp_sdk_os.fn_lu_broadcast_site to ecomp_sdk.fn_lu_broadcast_site; -rename table ecomp_sdk_os.fn_lu_menu_set to ecomp_sdk.fn_lu_menu_set; -rename table ecomp_sdk_os.fn_lu_priority to ecomp_sdk.fn_lu_priority; -rename table ecomp_sdk_os.fn_lu_role_type to ecomp_sdk.fn_lu_role_type; -rename table ecomp_sdk_os.fn_lu_tab_set to ecomp_sdk.fn_lu_tab_set; -rename table ecomp_sdk_os.fn_lu_message_location to ecomp_sdk.fn_lu_message_location; -rename table ecomp_sdk_os.fn_menu to ecomp_sdk.fn_menu; -rename table ecomp_sdk_os.fn_org to ecomp_sdk.fn_org; -rename table ecomp_sdk_os.fn_restricted_url to ecomp_sdk.fn_restricted_url; -rename table ecomp_sdk_os.fn_role_composite to ecomp_sdk.fn_role_composite; -rename table ecomp_sdk_os.fn_role_function to ecomp_sdk.fn_role_function; -rename table ecomp_sdk_os.fn_tab to ecomp_sdk.fn_tab; -rename table ecomp_sdk_os.fn_tab_selected to ecomp_sdk.fn_tab_selected; -rename table ecomp_sdk_os.fn_user_pseudo_role to ecomp_sdk.fn_user_pseudo_role; -rename table ecomp_sdk_os.fn_user_role to ecomp_sdk.fn_user_role; -rename table ecomp_sdk_os.schema_info to ecomp_sdk.schema_info; -rename table ecomp_sdk_os.fn_app to ecomp_sdk.fn_app; -rename table ecomp_sdk_os.fn_workflow to ecomp_sdk.fn_workflow; -rename table ecomp_sdk_os.fn_schedule_workflows to ecomp_sdk.fn_schedule_workflows; -rename table ecomp_sdk_os.demo_bar_chart to ecomp_sdk.demo_bar_chart; -rename table ecomp_sdk_os.demo_bar_chart_inter to ecomp_sdk.demo_bar_chart_inter; -rename table ecomp_sdk_os.demo_line_chart to ecomp_sdk.demo_line_chart; -rename table ecomp_sdk_os.demo_pie_chart to ecomp_sdk.demo_pie_chart; -rename table ecomp_sdk_os.demo_util_chart to ecomp_sdk.demo_util_chart; -rename table ecomp_sdk_os.demo_scatter_chart to ecomp_sdk.demo_scatter_chart; -rename table ecomp_sdk_os.demo_scatter_plot to ecomp_sdk.demo_scatter_plot; -rename table ecomp_sdk_os.fn_qz_job_details to ecomp_sdk.fn_qz_job_details; -rename table ecomp_sdk_os.fn_qz_triggers to ecomp_sdk.fn_qz_triggers; -rename table ecomp_sdk_os.fn_qz_simple_triggers to ecomp_sdk.fn_qz_simple_triggers; -rename table ecomp_sdk_os.fn_qz_cron_triggers to ecomp_sdk.fn_qz_cron_triggers; -rename table ecomp_sdk_os.fn_qz_simprop_triggers to ecomp_sdk.fn_qz_simprop_triggers; -rename table ecomp_sdk_os.fn_qz_blob_triggers to ecomp_sdk.fn_qz_blob_triggers; -rename table ecomp_sdk_os.fn_qz_calendars to ecomp_sdk.fn_qz_calendars; -rename table ecomp_sdk_os.fn_qz_paused_trigger_grps to ecomp_sdk.fn_qz_paused_trigger_grps; -rename table ecomp_sdk_os.fn_qz_fired_triggers to ecomp_sdk.fn_qz_fired_triggers; -rename table ecomp_sdk_os.fn_qz_scheduler_state to ecomp_sdk.fn_qz_scheduler_state; -rename table ecomp_sdk_os.fn_qz_locks to ecomp_sdk.fn_qz_locks; -rename table ecomp_sdk_os.rcloudinvocation to ecomp_sdk.rcloudinvocation; -rename table ecomp_sdk_os.rcloudnotebook to ecomp_sdk.rcloudnotebook; - -USE ecomp_sdk; - --- --- NAME: V_URL_ACCESS; TYPE: VIEW --- -CREATE VIEW v_url_access AS - SELECT DISTINCT M.ACTION AS URL, - M.FUNCTION_CD - FROM FN_MENU M - WHERE (M.ACTION IS NOT NULL) -UNION - SELECT DISTINCT T.ACTION AS URL, - T.FUNCTION_CD - FROM FN_TAB T - WHERE (T.ACTION IS NOT NULL) -UNION - SELECT R.RESTRICTED_URL AS URL, - R.FUNCTION_CD - FROM FN_RESTRICTED_URL R; - -update fn_menu -set image_src = 'icon-building-home' -where menu_id = 2 and label = 'Home'; - -update fn_menu -set image_src = 'icon-documents-book' -where menu_id = 5000 and label = 'Sample Pages'; - -update fn_menu -set image_src = 'icon-misc-piechart' -where menu_id = 8 and label = 'Reports'; - -update fn_menu -set image_src = 'icon-people-oneperson' -where menu_id = 9 and label = 'Profile'; - -update fn_menu -set image_src = 'icon-content-star' -where menu_id = 10 and label = 'Admin'; - -update fn_menu -set action = 'samplePage#/collaborate_list' -where menu_id = 121 and label = 'Collaboration'; - -update fn_menu -set action = 'samplePage#/notebook' -where menu_id = 150038 and label = 'Notebook'; - -update fn_menu -set action = 'admin#/admin' -where menu_id = 101 and label = 'Roles'; - -update fn_menu -set action ='report#/report_wizard' -where menu_id = 87 and label = 'Create Reports'; - -delete from fn_menu -where menu_id = 13 and label = 'Application Logout'; - -delete from fn_menu -where menu_id = 92 and label = 'Import User'; - -delete from fn_menu -where menu_id = 103 and label = 'Broadcast Messages'; - -alter table fn_user - CHANGE COLUMN FIRST_NAME FIRST_NAME VARCHAR(50) NULL DEFAULT NULL , - CHANGE COLUMN MIDDLE_NAME MIDDLE_NAME VARCHAR(50) NULL DEFAULT NULL , - CHANGE COLUMN LAST_NAME LAST_NAME VARCHAR(50) NULL DEFAULT NULL; - -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (89, 'Import', 8, 140, 'report#/report_import', 'menu_reports', 'Y', null, null, null, null, 'APP', 'N', null); -INSERT INTO fn_menu (MENU_ID, LABEL, PARENT_ID, SORT_ORDER, ACTION, FUNCTION_CD, ACTIVE_YN, SERVLET, QUERY_STRING, EXTERNAL_URL, TARGET, MENU_SET_CD, SEPARATOR_YN, IMAGE_SRC) VALUES (150022, 'Menus', 10, 60, 'admin#/admin_menu_edit', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); - -drop schema ecomp_sdk_os; - -commit; diff --git a/ecomp-sdk/epsdk-app-os/ngapp/.editorconfig b/ecomp-sdk/epsdk-app-os/ngapp/.editorconfig deleted file mode 100644 index 9b735217..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# Editor configuration, see http://editorconfig.org -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 4 -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -max_line_length = off -trim_trailing_whitespace = false diff --git a/ecomp-sdk/epsdk-app-os/ngapp/.gitignore b/ecomp-sdk/epsdk-app-os/ngapp/.gitignore deleted file mode 100644 index f270f9ff..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -dist -dist/* -node_modules -node_modules/* -abs-components-bc/* -!abs-components-bc/styles/ -e2e -src/styles -src/assets -src/app/* -!src/app/pages -!src/app/pages/** -!src/app/*.* -!src/app/layout/layout-routing.module.js \ No newline at end of file diff --git a/ecomp-sdk/epsdk-app-os/ngapp/.travis.yml b/ecomp-sdk/epsdk-app-os/ngapp/.travis.yml deleted file mode 100644 index ab9dc2a2..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: node_js -node_js: - - '9' - - '10' - -install: - - npm install - -script: - - npm run test-ci - -cache: - directories: - - node_modules diff --git a/ecomp-sdk/epsdk-app-os/ngapp/angular.json b/ecomp-sdk/epsdk-app-os/ngapp/angular.json deleted file mode 100644 index eb75c816..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/angular.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "$schema": "./node_modules/@angular/cli/lib/config/schema.json", - "version": 1, - "newProjectRoot": "projects", - "projects": { - "ngapp": { - "root": "", - "sourceRoot": "src", - "projectType": "application", - "prefix": "app", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:browser", - "options": { - "baseHref": "/epsdk-app-os/", - "outputPath": "dist", - "index": "src/ngwelcome.html", - "main": "src/main.ts", - "tsConfig": "src/tsconfig.app.json", - "polyfills": "src/polyfills.ts", - "assets": [ - "src/assets", - "src/favicon.ico" - ], - "styles": [ - "src/styles/app.scss", - "node_modules/ionicons/dist/scss/ionicons.scss" - ], - "scripts": [] - }, - "configurations": { - "production": { - "fileReplacements": [ - { - "replace": "src/environments/environment.ts", - "with": "src/environments/environment.prod.ts" - } - ], - "optimization": true, - "outputHashing": "all", - "sourceMap": false, - "extractCss": true, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, - "budgets": [ - { - "type": "initial", - "maximumWarning": "2mb", - "maximumError": "5mb" - } - ] - } - } - }, - "serve": { - "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "baseHref": "/epsdk-app-os/", - "browserTarget": "ngapp:build" - }, - "configurations": { - "production": { - "browserTarget": "ngapp:build:production" - } - } - }, - "extract-i18n": { - "builder": "@angular-devkit/build-angular:extract-i18n", - "options": { - "browserTarget": "ngapp:build" - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "src/test.ts", - "polyfills": "src/polyfills.ts", - "tsConfig": "src/tsconfig.spec.json", - "karmaConfig": "src/karma.conf.js", - "scripts": [ - ], - "styles": [ - "src/styles/app.scss" - ], - "assets": [ - "src/assets", - "src/favicon.ico" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/tsconfig.app.json", - "src/tsconfig.spec.json" - ], - "exclude": [ - "**/node_modules/**" - ] - } - } - } - }, - "ngapp-e2e": { - "root": "e2e/", - "projectType": "application", - "prefix": "", - "architect": { - "e2e": { - "builder": "@angular-devkit/build-angular:protractor", - "options": { - "protractorConfig": "e2e/protractor.conf.js", - "devServerTarget": "ngapp:serve" - }, - "configurations": { - "production": { - "devServerTarget": "ngapp:serve:production" - } - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": "e2e/tsconfig.e2e.json", - "exclude": [ - "**/node_modules/**" - ] - } - } - } - } - }, - "defaultProject": "ngapp", - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "styleext": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } - } -} \ No newline at end of file diff --git a/ecomp-sdk/epsdk-app-os/ngapp/package.json b/ecomp-sdk/epsdk-app-os/ngapp/package.json deleted file mode 100644 index 95879586..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/package.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "name": "portal-sdk-ng", - "version": "7.0.0", - "scripts": { - "ng": "ng", - "start": "ng serve --host www.sdk.onap.org --port 8200 --open", - "build": "ng build", - "test": "ng test --watch=false --code-coverage --browsers=ChromeHeadless", - "lint": "ng lint", - "e2e": "ng e2e", - "sonar": "sonar-scanner" - }, - "private": true, - "dependencies": { - "@angular/animations": "~7.0.0", - "@angular/cdk": "~7.0.0", - "@angular/common": "^7.0.0", - "@angular/compiler": "~7.0.0", - "@angular/core": "~7.0.0", - "@angular/forms": "~7.0.0", - "@angular/http": "~7.0.0", - "@angular/material": "~7.0.0", - "@angular/platform-browser": "~7.0.0", - "@angular/platform-browser-dynamic": "~7.0.0", - "@angular/router": "~7.0.0", - "@ng-bootstrap/ng-bootstrap": "4.2.1", - "@ngx-translate/core": "11.0.1", - "@ngx-translate/http-loader": "4.0.0", - "angular-google-charts": "^0.1.6", - "angular-gridster2": "^8.2.0", - "angular-tag-cloud-module": "^3.8.1", - "chart.js": "^2.8.0", - "core-js": "^2.5.4", - "d3": "^4.0.0", - "d3-scale": "^3.1.0", - "font-awesome": "^4.7.0", - "ionicons": "^4.6.2", - "lodash-es": "^4.17.10", - "ng2-smart-table": "^1.5.0", - "ng6-o2-chart": "^0.4.0", - "ngx-cookie-service": "^2.3.0", - "portalsdk-tag-lib": "file:portalsdk-tag-lib-0.0.1.tgz", - "rxjs": "~6.3.3", - "rxjs-compat": "^6.5.2", - "sonar-scanner": "^3.1.0", - "tslib": "^1.9.0", - "zone.js": "~0.8.26" - }, - "devDependencies": { - "@angular-devkit/build-angular": "^0.10.0", - "@angular/cli": "~7.0.6", - "@angular/compiler-cli": "~7.0.0", - "@angular/language-service": "~7.0.0", - "@types/jasmine": "~2.8.8", - "@types/jasminewd2": "~2.0.3", - "@types/node": "~8.9.4", - "codelyzer": "~4.5.0", - "jasmine-core": "~2.99.1", - "jasmine-spec-reporter": "~4.2.1", - "karma": "~3.0.0", - "karma-chrome-launcher": "~2.2.0", - "karma-coverage-istanbul-reporter": "~2.0.1", - "karma-jasmine": "~1.1.2", - "karma-jasmine-html-reporter": "^0.2.2", - "protractor": "~5.4.0", - "puppeteer": "^2.1.1", - "ts-node": "~7.0.0", - "tslint": "~5.11.0", - "typescript": "~3.1.6" - } -} diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app-routing.module.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/app/app-routing.module.ts deleted file mode 100644 index 4de2ea84..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app-routing.module.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * ============LICENSE_START========================================== - * ONAP Portal SDK - * =================================================================== - * Copyright © 2019 AT&T Intellectual Property. All rights reserved. - * =================================================================== - * - * Unless otherwise specified, all software contained herein is licensed - * under the Apache License, Version 2.0 (the "License"); - * you may not use this software 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. - * - * Unless otherwise specified, all documentation contained herein is licensed - * under the Creative Commons License, Attribution 4.0 Intl. (the "License"); - * you may not use this documentation except in compliance with the License. - * You may obtain a copy of the License at - * - * https://creativecommons.org/licenses/by/4.0/ - * - * Unless required by applicable law or agreed to in writing, documentation - * 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. - * - * ============LICENSE_END============================================ - * - * - */ -import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router'; - -const routes: Routes = [ - { path: 'v2', loadChildren: () => import('./layout/layout.module').then(m => m.LayoutModule) }, - { path: 'error', loadChildren: () => import('./server-error/server-error.module').then(m => m.ServerErrorModule) }, - { path: 'access-denied', loadChildren: () => import('./access-denied/access-denied.module').then(m => m.AccessDeniedModule) }, - { path: 'not-found', loadChildren: () => import('./not-found/not-found.module').then(m => m.NotFoundModule) }, - { path: '**', redirectTo: 'not-found' } -]; - -@NgModule({ - imports: [RouterModule.forRoot(routes)], - exports: [RouterModule] -}) -export class AppRoutingModule {} diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.html b/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.html deleted file mode 100644 index 0680b43f..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.scss b/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.scss deleted file mode 100644 index 8cacac55..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.scss +++ /dev/null @@ -1,37 +0,0 @@ -/* - * ============LICENSE_START========================================== - * ONAP Portal SDK - * =================================================================== - * Copyright © 2019 AT&T Intellectual Property. All rights reserved. - * =================================================================== - * - * Unless otherwise specified, all software contained herein is licensed - * under the Apache License, Version 2.0 (the "License"); - * you may not use this software 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. - * - * Unless otherwise specified, all documentation contained herein is licensed - * under the Creative Commons License, Attribution 4.0 Intl. (the "License"); - * you may not use this documentation except in compliance with the License. - * You may obtain a copy of the License at - * - * https://creativecommons.org/licenses/by/4.0/ - * - * Unless required by applicable law or agreed to in writing, documentation - * 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. - * - * ============LICENSE_END============================================ - * - * - */ \ No newline at end of file diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.spec.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.spec.ts deleted file mode 100644 index 42dab6ea..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.spec.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* - * ============LICENSE_START========================================== - * ONAP Portal SDK - * =================================================================== - * Copyright © 2019 AT&T Intellectual Property. All rights reserved. - * =================================================================== - * - * Unless otherwise specified, all software contained herein is licensed - * under the Apache License, Version 2.0 (the "License"); - * you may not use this software 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. - * - * Unless otherwise specified, all documentation contained herein is licensed - * under the Creative Commons License, Attribution 4.0 Intl. (the "License"); - * you may not use this documentation except in compliance with the License. - * You may obtain a copy of the License at - * - * https://creativecommons.org/licenses/by/4.0/ - * - * Unless required by applicable law or agreed to in writing, documentation - * 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. - * - * ============LICENSE_END============================================ - * - * - */ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; -import { APP_BASE_HREF } from '@angular/common'; - -import { AppComponent } from './app.component'; -import { AppModule } from './app.module'; - -describe('AppComponent', () => { - let component: AppComponent; - let fixture: ComponentFixture; - - beforeEach( - async(() => { - TestBed.configureTestingModule({ - imports: [AppModule], - providers: [ - { provide: APP_BASE_HREF, useValue: '/' }, - ] - }).compileComponents(); - }) - ); - - beforeEach(() => { - fixture = TestBed.createComponent(AppComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.ts deleted file mode 100644 index 472404a9..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.component.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* - * ============LICENSE_START========================================== - * ONAP Portal SDK - * =================================================================== - * Copyright © 2019 AT&T Intellectual Property. All rights reserved. - * =================================================================== - * - * Unless otherwise specified, all software contained herein is licensed - * under the Apache License, Version 2.0 (the "License"); - * you may not use this software 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. - * - * Unless otherwise specified, all documentation contained herein is licensed - * under the Creative Commons License, Attribution 4.0 Intl. (the "License"); - * you may not use this documentation except in compliance with the License. - * You may obtain a copy of the License at - * - * https://creativecommons.org/licenses/by/4.0/ - * - * Unless required by applicable law or agreed to in writing, documentation - * 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. - * - * ============LICENSE_END============================================ - * - * - */ -import { Component, OnInit } from '@angular/core'; - -@Component({ - selector: 'app-root', - templateUrl: './app.component.html', - styleUrls: ['./app.component.scss'] -}) -export class AppComponent implements OnInit { - constructor() { - } - - ngOnInit() { - } -} diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.module.spec.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.module.spec.ts deleted file mode 100644 index 376189d6..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.module.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AppModule } from './app.module'; - -describe('AppModule', () => { - let appModule: AppModule; - - beforeEach(() => { - appModule = new AppModule(); - }); - - it('should create an instance', () => { - expect(appModule).toBeTruthy(); - }); -}); diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.module.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.module.ts deleted file mode 100644 index a86ea759..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/app.module.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * ============LICENSE_START========================================== - * ONAP Portal SDK - * =================================================================== - * Copyright © 2019 AT&T Intellectual Property. All rights reserved. - * =================================================================== - * - * Unless otherwise specified, all software contained herein is licensed - * under the Apache License, Version 2.0 (the "License"); - * you may not use this software 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. - * - * Unless otherwise specified, all documentation contained herein is licensed - * under the Creative Commons License, Attribution 4.0 Intl. (the "License"); - * you may not use this documentation except in compliance with the License. - * You may obtain a copy of the License at - * - * https://creativecommons.org/licenses/by/4.0/ - * - * Unless required by applicable law or agreed to in writing, documentation - * 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. - * - * ============LICENSE_END============================================ - * - * - */ -import { CommonModule } from '@angular/common'; -import { HttpClientModule } from '@angular/common/http'; -import { NgModule } from '@angular/core'; -import { BrowserModule } from '@angular/platform-browser'; -import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; -import {FormsModule, ReactiveFormsModule} from '@angular/forms'; -import {MatNativeDateModule} from '@angular/material/core'; - -import { SidebarService } from './shared/services/index'; -import { AppRoutingModule } from './app-routing.module'; -import { AppComponent } from './app.component'; -import { UserService } from './shared/services/user/user.service'; - -@NgModule({ - imports: [ - CommonModule, - BrowserModule, - BrowserAnimationsModule, - HttpClientModule, - AppRoutingModule, - FormsModule, - MatNativeDateModule, - ReactiveFormsModule, - ], - declarations: [AppComponent], - providers: [SidebarService,UserService], - bootstrap: [AppComponent] -}) -export class AppModule {} diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/layout/layout-routing.module.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/app/layout/layout-routing.module.ts deleted file mode 100644 index 5d39bb94..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/layout/layout-routing.module.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* - * ============LICENSE_START========================================== - * ONAP Portal SDK - * =================================================================== - * Copyright © 2019 AT&T Intellectual Property. All rights reserved. - * =================================================================== - * - * Unless otherwise specified, all software contained herein is licensed - * under the Apache License, Version 2.0 (the "License"); - * you may not use this software 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. - * - * Unless otherwise specified, all documentation contained herein is licensed - * under the Creative Commons License, Attribution 4.0 Intl. (the "License"); - * you may not use this documentation except in compliance with the License. - * You may obtain a copy of the License at - * - * https://creativecommons.org/licenses/by/4.0/ - * - * Unless required by applicable law or agreed to in writing, documentation - * 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. - * - * ============LICENSE_END============================================ - * - * - */ -import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router'; -import { LayoutComponent } from './layout.component'; - -const routes: Routes = [ - { - path: '', - component: LayoutComponent, - children: [ - { path: '', loadChildren: () => import('../pages/pages.module').then(m => m.PagesModule) }, - - ] - } -]; - -@NgModule({ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule] -}) -export class LayoutRoutingModule {} diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/material-module.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/app/material-module.ts deleted file mode 100644 index aa960f39..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/material-module.ts +++ /dev/null @@ -1,98 +0,0 @@ -import {NgModule} from '@angular/core'; -import {A11yModule} from '@angular/cdk/a11y'; -import {DragDropModule} from '@angular/cdk/drag-drop'; -import {PortalModule} from '@angular/cdk/portal'; -import {ScrollingModule} from '@angular/cdk/scrolling'; -import {CdkStepperModule} from '@angular/cdk/stepper'; -import {CdkTableModule} from '@angular/cdk/table'; -import {CdkTreeModule} from '@angular/cdk/tree'; -import {MatAutocompleteModule} from '@angular/material/autocomplete'; -import {MatBadgeModule} from '@angular/material/badge'; -import {MatBottomSheetModule} from '@angular/material/bottom-sheet'; -import {MatButtonModule} from '@angular/material/button'; -import {MatButtonToggleModule} from '@angular/material/button-toggle'; -import {MatCardModule} from '@angular/material/card'; -import {MatCheckboxModule} from '@angular/material/checkbox'; -import {MatChipsModule} from '@angular/material/chips'; -import {MatStepperModule} from '@angular/material/stepper'; -import {MatDatepickerModule} from '@angular/material/datepicker'; -import {MatDialogModule} from '@angular/material/dialog'; -import {MatDividerModule} from '@angular/material/divider'; -import {MatExpansionModule} from '@angular/material/expansion'; -import {MatFormFieldModule} from '@angular/material'; -import {MatGridListModule} from '@angular/material/grid-list'; -import {MatIconModule} from '@angular/material/icon'; -import {MatInputModule} from '@angular/material/input'; -import {MatListModule} from '@angular/material/list'; -import {MatMenuModule} from '@angular/material/menu'; -import {MatNativeDateModule, MatRippleModule} from '@angular/material/core'; -import {MatPaginatorModule} from '@angular/material/paginator'; -import {MatProgressBarModule} from '@angular/material/progress-bar'; -import {MatProgressSpinnerModule} from '@angular/material/progress-spinner'; -import {MatRadioModule} from '@angular/material/radio'; -import {MatSelectModule} from '@angular/material/select'; -import {MatSidenavModule} from '@angular/material/sidenav'; -import {MatSliderModule} from '@angular/material/slider'; -import {MatSlideToggleModule} from '@angular/material/slide-toggle'; -import {MatSnackBarModule} from '@angular/material/snack-bar'; -import {MatSortModule} from '@angular/material/sort'; -import {MatTableModule} from '@angular/material/table'; -import {MatTabsModule} from '@angular/material/tabs'; -import {MatToolbarModule} from '@angular/material/toolbar'; -import {MatTooltipModule} from '@angular/material/tooltip'; -import {MatTreeModule} from '@angular/material/tree'; - - -@NgModule({ - exports: [ - A11yModule, - CdkStepperModule, - CdkTableModule, - CdkTreeModule, - DragDropModule, - MatAutocompleteModule, - MatBadgeModule, - MatBottomSheetModule, - MatButtonModule, - MatButtonToggleModule, - MatCardModule, - MatCheckboxModule, - MatChipsModule, - MatStepperModule, - MatDatepickerModule, - MatDialogModule, - MatDividerModule, - MatExpansionModule, - MatFormFieldModule, - MatGridListModule, - MatIconModule, - MatInputModule, - MatListModule, - MatMenuModule, - MatNativeDateModule, - MatPaginatorModule, - MatProgressBarModule, - MatProgressSpinnerModule, - MatRadioModule, - MatRippleModule, - MatSelectModule, - MatSidenavModule, - MatSliderModule, - MatSlideToggleModule, - MatSnackBarModule, - MatSortModule, - MatTableModule, - MatTabsModule, - MatToolbarModule, - MatTooltipModule, - MatTreeModule, - PortalModule, - ScrollingModule, - ] -}) -export class MaterialModule {} - - -/** Copyright 2019 Google Inc. All Rights Reserved. - Use of this source code is governed by an MIT-style license that - can be found in the LICENSE file at http://angular.io/license */ \ No newline at end of file diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/pages-routing.module.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/pages-routing.module.ts deleted file mode 100644 index 3439f8c9..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/pages-routing.module.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { NgModule } from '@angular/core'; -import { Routes, RouterModule, ActivatedRoute } from '@angular/router'; -import { RoleFunctionsComponent } from './admin/role-functions/role-functions.component'; -import { UsageComponent } from './admin/usage/usage.component'; -import { CacheAdminComponent } from './admin/cache-admin/cache-admin.component'; -import { RolesComponent } from './admin/roles/roles.component'; -import { MenusComponent } from './admin/menus/menus.component'; -import { SearchComponent } from './ext/profile/search/search.component'; -import { SelfComponent } from './ext/profile/self/self.component'; -import { ReportComponent } from './analytics/Report_List/Report/report.component'; -import { RunReportComponent } from './analytics/Report_List/Report/run/run-report/run-report.component'; -import { HeaderTabsWrapperComponent } from './analytics/Report_List/header-tabs-wrapper-component/header-tabs-wrapper.component'; -import { RunReportFormFieldsComponent } from './analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component'; -import { WelcomeDashboardComponent } from './welcome-dashboard/welcome-dashboard.component'; - - - - -const routes: Routes = [ - { path: 'admin/role_function_list', component: RoleFunctionsComponent }, - { path: 'admin/usage_list', component : UsageComponent}, - { path: 'admin/cache_admin', component :CacheAdminComponent}, - { path: 'admin/admin', component :RolesComponent}, - { path: 'admin/admin_menu_edit', component :MenusComponent}, - { path: 'userProfile', component :SearchComponent}, - { path: 'userProfile/self_profile', component:SelfComponent}, - { path: 'report-list', component:ReportComponent}, - { path: 'create', component: HeaderTabsWrapperComponent}, - { path: 'reports/:reportMode/:reportId', component: HeaderTabsWrapperComponent}, - { path: 'run/:reportId', component: RunReportComponent}, - { path: 'run/:reportId/:queryParameters', component: RunReportFormFieldsComponent}, - { path: 'welcome', component :WelcomeDashboardComponent} -]; - -@NgModule({ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule] -}) -export class PagesRoutingModule { } diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.prod.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.prod.ts deleted file mode 100644 index 3612073b..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.prod.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const environment = { - production: true -}; diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.ts deleted file mode 100644 index 294d41e9..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.ts +++ /dev/null @@ -1,44 +0,0 @@ -// This file can be replaced during build by using the `fileReplacements` array. -// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. -// The list of file replacements can be found in `angular.json`. - -export const environment = { - production: false, - baseUrl: 'http://www.sdk.onap.org:8080/epsdk-app-os/', - roleFunctionList: 'http://www.sdk.onap.org:8080/epsdk-app-os/get_role_functions', - addRoleFunction: 'http://www.sdk.onap.org:8080/epsdk-app-os/role_function_list/addRoleFunction', - usageList: 'http://www.sdk.onap.org:8080/epsdk-app-os/get_usage_list', - cachedRegions: 'http://www.sdk.onap.org:8080/epsdk-app-os/get_regions', - getRole:'http://www.sdk.onap.org:8080/epsdk-app-os/get_role', - getFnMenuItems:'http://www.sdk.onap.org:8080/epsdk-app-os/admin_fn_menu', - updateFnMenuItem:'http://www.sdk.onap.org:8080/epsdk-app-os/admin_fn_menu/updateFnMenu.htm', - getFunctionCdList:'http://www.sdk.onap.org:8080/epsdk-app-os/admin_fn_menu/get_function_cd_list', - getParentList:'http://www.sdk.onap.org:8080/epsdk-app-os/admin_fn_menu/get_parent_list', - getUserPagination:'http://www.sdk.onap.org:8080/epsdk-app-os/get_user_pagination?pageNum=0&viewPerPage=0', - deleteRole:'http://www.sdk.onap.org:8080/epsdk-app-os/role_list/removeRole', - getTopMenu:'http://www.sdk.onap.org:8080/epsdk-app-os/get_topMenuInfo', - deleteRoleFunction:'http://www.sdk.onap.org:8080/epsdk-app-os/role_function_list/removeRoleFunction', - deleteMenu:'http://www.sdk.onap.org:8080/epsdk-app-os/admin_fn_menu/removeMenuItem.htm', - getRegion:'http://www.sdk.onap.org:8080/epsdk-app-os/jcs_admin/showRegionDetails', - postSearch:'http://www.sdk.onap.org:8080/epsdk-app-os/post_search/search', - importSearch:'http://www.sdk.onap.org:8080/epsdk-app-os/post_search/process', - getPostProfile:'http://www.sdk.onap.org:8080/epsdk-app-os/post_search_sample', - getSelfProfile:'http://www.sdk.onap.org:8080/epsdk-app-os/get_self_profile', - removeUserRole:'http://www.sdk.onap.org:8080/epsdk-app-os/profile/removeRole', - addUserRole:'http://www.sdk.onap.org:8080/epsdk-app-os/profile/addNewRole', - saveProfile :'http://www.sdk.onap.org:8080/epsdk-app-os/profile/saveProfile', - getFunctionalMenuStaticDetail :'http:/www.sdk.onap.org:8080/epsdk-app-os/get_topMenuInfo', - getLeftMenu :'http://www.sdk.onap.org:8080/epsdk-app-os/get_menu', - removeRoleFunction:'http://www.sdk.onap.org:8080/epsdk-app-os/role/removeRoleFunction.htm?role_id=', - saveRole:'http://www.sdk.onap.org:8080/epsdk-app-os/role/saveRole.htm?role_id=', - toggleProfileActive: 'http://www.sdk.onap.org:8080/epsdk-app-os/profile/toggleProfileActive?profile_id=' -}; - -/* - * For easier debugging in development mode, you can import the following file - * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. - * - * This import should be commented out in production mode because it will have a negative impact - * on performance if an error is thrown. - */ -// import 'zone.js/dist/zone-error'; // Included with Angular CLI. diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/favicon.ico b/ecomp-sdk/epsdk-app-os/ngapp/src/favicon.ico deleted file mode 100644 index 8081c7ce..00000000 Binary files a/ecomp-sdk/epsdk-app-os/ngapp/src/favicon.ico and /dev/null differ diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js b/ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js deleted file mode 100644 index a3c65a50..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js +++ /dev/null @@ -1,52 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -process.env.CHROME_BIN = require('puppeteer').executablePath() -module.exports = function (config) { - const defaults = { - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage-istanbul-reporter'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - coverageIstanbulReporter: { - dir: require('path').join(__dirname, '../coverage'), - reports: ['html', 'lcovonly'], - fixWebpackSourcePaths: true - }, - angularCli: { - environment: 'dev' - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['ChromeHeadless'], - singleRun: false, - } - - if (process.env.TEST_CI) { - Object.assign(defaults, { - autoWatch: false, - browsers: ['ChromeHeadlessNoSandbox'], - singleRun: true, - customLaunchers: { - ChromeHeadlessNoSandbox: { - base: 'ChromeHeadless', - flags: ['--no-sandbox'] - } - }, - browserNoActivityTimeout: 60000, - }) - } - - config.set(defaults) -}; diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/main.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/main.ts deleted file mode 100644 index c7b673cf..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/main.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { enableProdMode } from '@angular/core'; -import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; - -import { AppModule } from './app/app.module'; -import { environment } from './environments/environment'; - -if (environment.production) { - enableProdMode(); -} - -platformBrowserDynamic().bootstrapModule(AppModule) - .catch(err => console.error(err)); diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/ngwelcome.html b/ecomp-sdk/epsdk-app-os/ngapp/src/ngwelcome.html deleted file mode 100644 index d290b96f..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/ngwelcome.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - Portal SDK - - - - - - - - - - - - diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/polyfills.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/polyfills.ts deleted file mode 100644 index b21ecc3c..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/polyfills.ts +++ /dev/null @@ -1,65 +0,0 @@ -/** - * This file includes polyfills needed by Angular and is loaded before the app. - * You can add your own extra polyfills to this file. - * - * This file is divided into 2 sections: - * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. - * 2. Application imports. Files imported after ZoneJS that should be loaded before your main - * file. - * - * The current setup is for so-called "evergreen" browsers; the last versions of browsers that - * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), - * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. - * - * Learn more in https://angular.io/guide/browser-support - */ - -/*************************************************************************************************** -* BROWSER POLYFILLS -*/ - - -/** - * If the application will be indexed by Google Search, the following is required. - * Googlebot uses a renderer based on Chrome 41. - * https://developers.google.com/search/docs/guides/rendering - **/ -// import 'core-js/es6/array'; - -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ -// import 'classlist.js'; // Run `npm install --save classlist.js`. - -/** IE10 and IE11 requires the following for the Reflect API. */ -import 'core-js/es6/reflect'; -import 'core-js/es7/reflect'; - -/** - * Web Animations `@angular/platform-browser/animations` - * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. - * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). - **/ -// import 'web-animations-js'; // Run `npm install --save web-animations-js`. - -/** - * By default, zone.js will patch all possible macroTask and DomEvents - * user can disable parts of macroTask/DomEvents patch by setting following flags - */ - - // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame - // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick - // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames - - /* - * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js - * with the following flag, it will bypass `zone.js` patch for IE/Edge - */ -// (window as any).__Zone_enable_cross_context_check = true; - -/*************************************************************************************************** - * Zone JS is required by default for Angular itself. - */ -import 'zone.js/dist/zone'; // Included with Angular CLI. - -/*************************************************************************************************** - * APPLICATION IMPORTS - */ diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/test.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/test.ts deleted file mode 100644 index cd612eeb..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/test.ts +++ /dev/null @@ -1,32 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js/dist/long-stack-trace-zone'; -import 'zone.js/dist/proxy.js'; -import 'zone.js/dist/sync-test'; -import 'zone.js/dist/jasmine-patch'; -import 'zone.js/dist/async-test'; -import 'zone.js/dist/fake-async-test'; -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any. -declare const __karma__: any; -declare const require: any; - -// Prevent Karma from running prematurely. -__karma__.loaded = function () {}; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); -// Then we find all the tests. -const context = require.context('./', true, /\.spec\.ts$/); -// And load the modules. -context.keys().map(context); -// Finally, start Karma to run the tests. -__karma__.start(); diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/tsconfig.app.json b/ecomp-sdk/epsdk-app-os/ngapp/src/tsconfig.app.json deleted file mode 100644 index 190fd300..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/tsconfig.app.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "outDir": "../out-tsc/app", - "types": [] - }, - "exclude": [ - "test.ts", - "**/*.spec.ts" - ] -} diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/tsconfig.spec.json b/ecomp-sdk/epsdk-app-os/ngapp/src/tsconfig.spec.json deleted file mode 100644 index de773363..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/tsconfig.spec.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "outDir": "../out-tsc/spec", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "test.ts", - "polyfills.ts" - ], - "include": [ - "**/*.spec.ts", - "**/*.d.ts" - ] -} diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/typings.d.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/typings.d.ts deleted file mode 100644 index 403b22fe..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/typings.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* SystemJS module definition */ -declare var module: NodeModule; -interface NodeModule { - id: string; -} diff --git a/ecomp-sdk/epsdk-app-os/ngapp/tsconfig.json b/ecomp-sdk/epsdk-app-os/ngapp/tsconfig.json deleted file mode 100644 index 7b911dac..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "baseUrl": "./", - "importHelpers": true, - "outDir": "./dist/out-tsc", - "sourceMap": true, - "declaration": false, - "module": "esnext", - "moduleResolution": "node", - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "target": "es5", - "typeRoots": [ - "node_modules/@types" - ], - "lib": [ - "es2018", - "dom" - ] - } -} diff --git a/ecomp-sdk/epsdk-app-os/ngapp/tslint.json b/ecomp-sdk/epsdk-app-os/ngapp/tslint.json deleted file mode 100644 index 9c8cc389..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/tslint.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "rulesDirectory": [ - "node_modules/codelyzer" - ], - "rules": { - "arrow-return-shorthand": true, - "callable-types": true, - "class-name": true, - "comment-format": [ - true, - "check-space" - ], - "curly": true, - "deprecation": { - "severity": "warn" - }, - "eofline": true, - "forin": true, - "import-blacklist": [ - true, - "rxjs/Rx" - ], - "import-spacing": true, - "indent": [ - true, - "spaces" - ], - "interface-over-type-literal": true, - "label-position": true, - "max-line-length": [ - true, - 140 - ], - "member-access": false, - "member-ordering": [ - true, - { - "order": [ - "static-field", - "instance-field", - "static-method", - "instance-method" - ] - } - ], - "no-arg": true, - "no-bitwise": true, - "no-console": [ - true, - "debug", - "info", - "time", - "timeEnd", - "trace" - ], - "no-construct": true, - "no-debugger": true, - "no-duplicate-super": true, - "no-empty": false, - "no-empty-interface": true, - "no-eval": true, - "no-inferrable-types": [ - true, - "ignore-params" - ], - "no-misused-new": true, - "no-non-null-assertion": true, - "no-redundant-jsdoc": true, - "no-shadowed-variable": true, - "no-string-literal": false, - "no-string-throw": true, - "no-switch-case-fall-through": true, - "no-trailing-whitespace": true, - "no-unnecessary-initializer": true, - "no-unused-expression": true, - "no-use-before-declare": true, - "no-var-keyword": true, - "object-literal-sort-keys": false, - "one-line": [ - true, - "check-open-brace", - "check-catch", - "check-else", - "check-whitespace" - ], - "prefer-const": true, - "quotemark": [ - true, - "single" - ], - "radix": true, - "semicolon": [ - true, - "always" - ], - "triple-equals": [ - true, - "allow-null-check" - ], - "typedef-whitespace": [ - true, - { - "call-signature": "nospace", - "index-signature": "nospace", - "parameter": "nospace", - "property-declaration": "nospace", - "variable-declaration": "nospace" - } - ], - "unified-signatures": true, - "variable-name": false, - "whitespace": [ - true, - "check-branch", - "check-decl", - "check-operator", - "check-separator", - "check-type" - ], - "directive-selector": [ - true, - "attribute", - "app", - "camelCase" - ], - "component-selector": [ - true, - "element", - "app", - "kebab-case" - ], - "no-output-on-prefix": true, - "no-inputs-metadata-property": true, - "no-outputs-metadata-property": true, - "no-host-metadata-property": true, - "no-input-rename": true, - "no-output-rename": true, - "use-lifecycle-interface": true, - "use-pipe-transform-interface": true, - "component-class-suffix": true, - "directive-class-suffix": true - } -} -- cgit 1.2.3-korg