summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react-lib
diff options
context:
space:
mode:
Diffstat (limited to 'gui-clamp/ui-react-lib')
-rw-r--r--gui-clamp/ui-react-lib/libExportExclusions.dat4
-rw-r--r--gui-clamp/ui-react-lib/libIndex.js70
-rw-r--r--gui-clamp/ui-react-lib/package.json58
-rw-r--r--gui-clamp/ui-react-lib/rollup.config.js48
4 files changed, 0 insertions, 180 deletions
diff --git a/gui-clamp/ui-react-lib/libExportExclusions.dat b/gui-clamp/ui-react-lib/libExportExclusions.dat
deleted file mode 100644
index 7194fc2..0000000
--- a/gui-clamp/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/gui-clamp/ui-react-lib/libIndex.js b/gui-clamp/ui-react-lib/libIndex.js
deleted file mode 100644
index 9cd8e9d..0000000
--- a/gui-clamp/ui-react-lib/libIndex.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2019 AT&T Intellectual Property. All rights
- * reserved.
- * Modifications Copyright (C) 2021 Nordix Foundation.
- * ================================================================================
- * 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.
- *
- * SPDX-License-Identifier: Apache-2.0
- * ============LICENSE_END=========================================================
- */
-
-export { default as CsvToJson } from '../ui-react/src/utils/CsvToJson';
-export { default as CreateLoopModal } from '../ui-react/src/components/dialogs/Loop/CreateLoopModal';
-export { default as DeployLoopModal } from '../ui-react/src/components/dialogs/Loop/DeployLoopModal';
-export { default as LoopActionService } from '../ui-react/src/api/LoopActionService';
-export { default as LoopCache } from '../ui-react/src/api/LoopCache';
-export { default as LoopLogs } from '../ui-react/src/components/loop_viewer/logs/LoopLogs';
-export { default as LoopPropertiesModal } from '../ui-react/src/components/dialogs/Loop/LoopPropertiesModal';
-export { default as LoopService } from '../ui-react/src/api/LoopService';
-export { default as PolicyService } from '../ui-react/src/api/PolicyService';
-export { default as LoopStatus } from '../ui-react/src/components/loop_viewer/status/LoopStatus';
-export { default as LoopUI } from '../ui-react/src/LoopUI';
-export { default as ManageDictionaries } from '../ui-react/src/components/dialogs/ManageDictionaries/ManageDictionaries';
-export { default as MenuBar } from '../ui-react/src/components/menu/MenuBar';
-export { default as ModifyLoopModal } from '../ui-react/src/components/dialogs/Loop/ModifyLoopModal';
-export { default as NotFound } from '../ui-react/src/NotFound';
-export { default as OnapConstants } from '../ui-react/src/utils/OnapConstants';
-export { default as OnapUtils } from '../ui-react/src/utils/OnapUtils';
-export { default as OpenLoopModal } from '../ui-react/src/components/dialogs/Loop/OpenLoopModal';
-export { default as PerformActions } from '../ui-react/src/components/dialogs/PerformActions';
-export { default as PolicyModal } from '../ui-react/src/components/dialogs/Policy/PolicyModal';
-export { default as ToscaViewer } from '../ui-react/src/components/dialogs/Policy/ToscaViewer';
-export { default as PolicyEditor } from '../ui-react/src/components/dialogs/Policy/PolicyEditor';
-export { default as PolicyToscaService } from '../ui-react/src/api/PolicyToscaService';
-export { default as RefreshStatus } from '../ui-react/src/components/dialogs/RefreshStatus';
-export { default as SvgGenerator } from '../ui-react/src/components/loop_viewer/svg/SvgGenerator';
-export { default as TemplateService } from '../ui-react/src/api/TemplateService';
-export { default as UserInfoModal } from '../ui-react/src/components/dialogs/UserInfoModal';
-export { default as UserService } from '../ui-react/src/api/UserService';
-export { default as ViewLoopTemplatesModal } from '../ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal';
-export { default as ViewAllPolicies } from '../ui-react/src/components/dialogs/Policy/ViewAllPolicies';
-export { default as PolicyDeploymentEditor } from '../ui-react/src/components/dialogs/Policy/PolicyDeploymentEditor';
-export { default as PoliciesTreeViewer } from '../ui-react/src/components/dialogs/Policy/PoliciesTreeViewer';
-export { default as PolicyToscaFileSelector } from '../ui-react/src/components/dialogs/Policy/PolicyToscaFileSelector';
-export { default as MonitorInstantiation } from '../ui-react/src/components/dialogs/ACM/MonitorInstantiation';
-export { default as InstantiationItem } from '../ui-react/src/components/dialogs/ACM/InstantiationItem';
-export { default as InstantiationElements } from '../ui-react/src/components/dialogs/ACM/InstantiationElements';
-export { default as InstantiationElementItem } from '../ui-react/src/components/dialogs/ACM/InstantiationElementItem';
-export { default as InstancePropertiesModal } from '../ui-react/src/components/dialogs/ACM/InstancePropertiesModal';
-export { default as InstantiationManagementModal } from '../ui-react/src/components/dialogs/ACM/InstantiationManagementModal';
-export { default as ChangeOrderStateModal } from '../ui-react/src/components/dialogs/ACM/ChangeOrderStateModal';
-export { default as InstantiationOrderStateChangeItem } from '../ui-react/src/components/dialogs/ACM/InstantiationOrderStateChangeItem';
-export { default as ACMService } from '../ui-react/src/api/ACMService';
-export { default as GetLocalToscaFileForUpload } from '../ui-react/src/components/dialogs/ACM/GetLocalToscaFileForUpload';
-export { default as ReadAndConvertYaml } from '../ui-react/src/components/dialogs/ACM/ReadAndConvertYaml';
-export { default as UploadToscaFile } from '../ui-react/src/components/dialogs/ACM/UploadToscaFile';
-export { default as GetToscaTemplate } from '../ui-react/src/components/dialogs/ACM/GetToscaTemplate';
diff --git a/gui-clamp/ui-react-lib/package.json b/gui-clamp/ui-react-lib/package.json
deleted file mode 100644
index d8fce1d..0000000
--- a/gui-clamp/ui-react-lib/package.json
+++ /dev/null
@@ -1,58 +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": {
- "@fortawesome/fontawesome-free": "5.15.3",
- "@json-editor/json-editor": "2.5.4",
- "@material-ui/core": "4.11.4",
- "@material-ui/icons": "4.11.2",
- "@material-ui/lab": "4.0.0-alpha.58",
- "@material-ui/pickers": "3.3.10",
- "bootstrap-css-only": "4.4.1",
- "js-yaml": "4.1.0",
- "material-table": "1.69.3",
- "react": "17.0.2",
- "react-bootstrap": "1.6.1",
- "react-dom": "17.0.2",
- "react-router-dom": "5.2.0",
- "react-scripts": "4.0.3",
- "react-select": "4.3.1",
- "styled-components": "5.3.0",
- "rollup": "2.52.7"
- },
- "devDependencies": {
- "@babel/cli": "7.14.5",
- "@babel/core": "7.14.6",
- "@babel/helper-plugin-utils": "7.14.5",
- "@babel/plugin-external-helpers": "7.14.5",
- "@babel/plugin-proposal-class-properties": "7.14.5",
- "@babel/plugin-transform-runtime": "7.14.5",
- "@babel/preset-env": "7.14.7",
- "@babel/preset-react": "7.14.5",
- "rollup": "1.29.1",
- "@rollup/plugin-commonjs": "19.0.0",
- "@rollup/plugin-image": "2.0.6",
- "@rollup/plugin-node-resolve": "13.0.0",
- "@rollup/plugin-replace": "2.4.2",
- "@rollup/plugin-url": "6.0.0",
- "@svgr/rollup": "5.5.0",
- "babel-plugin-external-helpers": "6.22.0",
- "rollup-plugin-babel": "4.3.3",
- "rollup-plugin-peer-deps-external": "2.2.4",
- "rollup-plugin-postcss": "4.0.0"
- }
-}
diff --git a/gui-clamp/ui-react-lib/rollup.config.js b/gui-clamp/ui-react-lib/rollup.config.js
deleted file mode 100644
index c671779..0000000
--- a/gui-clamp/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'] })
- ]
-}