aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/ui-react-lib
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2022-02-07 17:03:19 +0000
committerFrancesco Fiora <francesco.fiora@est.tech>2022-02-11 11:20:06 +0000
commit90c824632523aa5994536185073188da43c3c0f9 (patch)
treee3453fd277232ee4ff1e1ae6e3e4c8511ce1d36a /runtime/ui-react-lib
parentc97a6c0428998103906472725d34b9951a0ff559 (diff)
Remove Clamp GUI from Clamp Repo
Remove Clamp GUI code from CLAMP repo, as this is moved to a common policy GUI repo Issue-ID: POLICY-3358 Change-Id: Idcdc60086c448e1de0b00626337b51b599a8d08d Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'runtime/ui-react-lib')
-rw-r--r--runtime/ui-react-lib/libExportExclusions.dat4
-rwxr-xr-xruntime/ui-react-lib/libIndex.js56
-rwxr-xr-xruntime/ui-react-lib/package.json54
-rwxr-xr-xruntime/ui-react-lib/rollup.config.js48
4 files changed, 0 insertions, 162 deletions
diff --git a/runtime/ui-react-lib/libExportExclusions.dat b/runtime/ui-react-lib/libExportExclusions.dat
deleted file mode 100644
index 7194fc2ad..000000000
--- a/runtime/ui-react-lib/libExportExclusions.dat
+++ /dev/null
@@ -1,4 +0,0 @@
-./src/theme/globalStyle.js
-./src/index.js
-./src/setupTests.js
-./src/OnapClamp.js
diff --git a/runtime/ui-react-lib/libIndex.js b/runtime/ui-react-lib/libIndex.js
deleted file mode 100755
index 75d1bc9df..000000000
--- a/runtime/ui-react-lib/libIndex.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2019 AT&T Intellectual Property. All rights
- * reserved.
- * ================================================================================
- * 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.
- * ============LICENSE_END============================================
- * ===================================================================
- *
- */
-
-export { default as CsvToJson } from './src/utils/CsvToJson';
-export { default as CreateLoopModal } from './src/components/dialogs/Loop/CreateLoopModal';
-export { default as DeployLoopModal } from './src/components/dialogs/Loop/DeployLoopModal';
-export { default as LoopActionService } from './src/api/LoopActionService';
-export { default as LoopCache } from './src/api/LoopCache';
-export { default as LoopLogs } from './src/components/loop_viewer/logs/LoopLogs';
-export { default as LoopPropertiesModal } from './src/components/dialogs/Loop/LoopPropertiesModal';
-export { default as LoopService } from './src/api/LoopService';
-export { default as PolicyService } from './src/api/PolicyService';
-export { default as LoopStatus } from './src/components/loop_viewer/status/LoopStatus';
-export { default as LoopUI } from './src/LoopUI';
-export { default as ManageDictionaries } from './src/components/dialogs/ManageDictionaries/ManageDictionaries';
-export { default as MenuBar } from './src/components/menu/MenuBar';
-export { default as ModifyLoopModal } from './src/components/dialogs/Loop/ModifyLoopModal';
-export { default as NotFound } from './src/NotFound';
-export { default as OnapConstants } from './src/utils/OnapConstants';
-export { default as OnapUtils } from './src/utils/OnapUtils';
-export { default as OpenLoopModal } from './src/components/dialogs/Loop/OpenLoopModal';
-export { default as PerformActions } from './src/components/dialogs/PerformActions';
-export { default as PolicyModal } from './src/components/dialogs/Policy/PolicyModal';
-export { default as ToscaViewer } from './src/components/dialogs/Policy/ToscaViewer';
-export { default as PolicyEditor } from './src/components/dialogs/Policy/PolicyEditor';
-export { default as PolicyToscaService } from './src/api/PolicyToscaService';
-export { default as RefreshStatus } from './src/components/dialogs/RefreshStatus';
-export { default as SvgGenerator } from './src/components/loop_viewer/svg/SvgGenerator';
-export { default as TemplateService } from './src/api/TemplateService';
-export { default as UserInfoModal } from './src/components/dialogs/UserInfoModal';
-export { default as UserService } from './src/api/UserService';
-export { default as ViewLoopTemplatesModal } from './src/components/dialogs/Tosca/ViewLoopTemplatesModal';
-export { default as ViewAllPolicies } from './src/components/dialogs/Policy/ViewAllPolicies';
-export { default as PolicyDeploymentEditor } from './src/components/dialogs/Policy/PolicyDeploymentEditor';
-export { default as PoliciesTreeViewer } from './src/components/dialogs/Policy/PoliciesTreeViewer';
-export { default as PolicyToscaFileSelector } from './src/components/dialogs/Policy/PolicyToscaFileSelector'; \ No newline at end of file
diff --git a/runtime/ui-react-lib/package.json b/runtime/ui-react-lib/package.json
deleted file mode 100755
index b1efe2f8e..000000000
--- a/runtime/ui-react-lib/package.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- "name": "onap-policy-clamp-ui-lib",
- "version": "${project.version}",
- "description": "ONAP Policy Clamp UI Library",
- "author": "ONAP Policy Team",
- "license": "Apache-2.0",
- "publishConfig": {
- "registry": "${npm.publish.url}"
- },
- "main": "dist/index.js",
- "module": "dist/esindex.js",
- "scripts": {
- "build": "rollup -c"
- },
- "files": [
- "dist"
- ],
- "peerDependencies": {
- "@json-editor/json-editor": "1.4.0-beta.0",
- "@material-ui/core": "4.6.0",
- "@material-ui/icons": "4.5.1",
- "bootstrap-css-only": "4.3.1",
- "material-table": "1.53.0",
- "react": "16.9.0",
- "react-bootstrap": "1.0.0-beta.14",
- "react-dom": "16.9.0",
- "react-router-dom": "5.0.1",
- "react-scripts": "3.1.1",
- "react-select": "3.0.8",
- "rollup": "^1.29.1",
- "styled-components": "4.3.2"
- },
- "devDependencies": {
- "@babel/cli": "7.7.5",
- "@babel/core": "7.7.5",
- "@babel/helper-plugin-utils": "7.0.0",
- "@babel/plugin-external-helpers": "^7.7.4",
- "@babel/plugin-proposal-class-properties": "7.5.5",
- "@babel/plugin-transform-runtime": "7.7.6",
- "@babel/preset-env": "7.5.5",
- "@babel/preset-react": "7.0.0",
- "rollup": "1.29.1",
- "@rollup/plugin-commonjs": "^11.0.1",
- "@rollup/plugin-image": "2.0.0",
- "@rollup/plugin-node-resolve": "7.0.0",
- "@rollup/plugin-replace": "2.2.1",
- "@rollup/plugin-url": "4.0.0",
- "@svgr/rollup": "5.1.0",
- "babel-plugin-external-helpers": "6.22.0",
- "rollup-plugin-babel": "4.3.3",
- "rollup-plugin-peer-deps-external": "2.2.0",
- "rollup-plugin-postcss": "2.0.3"
- }
-}
diff --git a/runtime/ui-react-lib/rollup.config.js b/runtime/ui-react-lib/rollup.config.js
deleted file mode 100755
index c671779c0..000000000
--- a/runtime/ui-react-lib/rollup.config.js
+++ /dev/null
@@ -1,48 +0,0 @@
-import babel from 'rollup-plugin-babel'
-import commonjs from '@rollup/plugin-commonjs'
-import postcss from 'rollup-plugin-postcss'
-import resolve from '@rollup/plugin-node-resolve'
-import external from 'rollup-plugin-peer-deps-external'
-import img from '@rollup/plugin-image'
-
-import pkg from './package.json'
-
-export default {
- input: './libIndex.js',
- output: [
- {
- file: pkg.main,
- format: 'cjs',
- sourcemap: true
- },
- {
- file: pkg.module,
- format: 'es',
- sourcemap: true
- }
- ],
- plugins: [
- img(),
- external(),
- postcss({
- modules: true
- }),
- babel({
- exclude: 'node_modules/**',
- presets: [
-
- "@babel/preset-env", {},
- "@babel/preset-react", {}
- ],
- plugins: [
- [
- "@babel/plugin-proposal-class-properties",
- {
- "loose": true
- }
- ]
- ]
- }),
- resolve({ preferBuiltins: true, mainFields: ['browser'] })
- ]
-}