From f67e79c2b98414e4b44559f6cf8f4b4c8f753241 Mon Sep 17 00:00:00 2001 From: "Arul.Nambi" Date: Wed, 13 Sep 2017 13:41:45 -0400 Subject: [PATCH] Renaming openecomp to onap Issue-ID: AAI-208 Change-Id: Idd1004d8fd4c9dd32792f6f85549929dbf46876b Signed-off-by: Arul.Nambi --- pom.xml | 4 +- pom_license.xml | 52 +++++++++++++--------- .../GlobalInlineMessageBar.jsx | 25 +---------- test/components/dateRange.test.js | 11 ++--- test/components/dateRangeSelector.test.js | 11 ++--- test/components/inlineMessage.test.js | 11 ++--- test/components/notificationReducer.test.js | 11 ++--- test/components/toggleButtonGroupReducer.test.js | 11 ++--- .../autoCompleteSearchBar.test.js | 11 ++--- .../autoCompleteSearchBarActions.test.js | 11 ++--- .../autoCompleteSearchBarReducer.test.js | 11 ++--- .../autoCompleteSearchBarTestConstants.js | 11 ++--- test/tierSupport/tierSupport.test.js | 11 ++--- test/utils/MockRest.js | 11 ++--- .../vnfSearchVisualizations.test.js | 11 ++--- .../vnfSearchVisualizationsReducer.test.js | 11 ++--- tools/webpack/config-json-loader/index.js | 11 ++--- 17 files changed, 91 insertions(+), 144 deletions(-) diff --git a/pom.xml b/pom.xml index d70c5f9..b4ce7fa 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ 4.0.0 - org.openecomp.aai + org.onap.aai sparky-fe war 1.0.0-SNAPSHOT @@ -104,7 +104,7 @@ - + ecomp-releases diff --git a/pom_license.xml b/pom_license.xml index 40bf42b..b07678c 100644 --- a/pom_license.xml +++ b/pom_license.xml @@ -35,7 +35,7 @@ - ${nexusTarget} + ${nexusTarget} @@ -43,39 +43,51 @@ - - com.mycila - license-maven-plugin - 3.0 + + com.mycila + license-maven-plugin + 3.0 - -
LICENSE
+ +
LICENSE
resources/scss/bootstrap/** resources/scss/bootstrap-cust/** + .idea/** + dist/** + node_modules/** + .npmrc/** + test/coverage/** + .vscode/** + node/** + target/** - - src/**/*.js + + src/**/*.js src/**/*.jsx src/**/*.html + test/**/*.js + test/**/*.jsx + test/**/*.html + tools/**/*.js *.js *.xml resources/scss/**/*.scss - + SLASHSTAR_STYLE JAVADOC_STYLE -
- - - - format - - process-sources - - -
+ + + + + format + + process-sources + + +
diff --git a/src/app/GlobalInlineMessageBar/GlobalInlineMessageBar.jsx b/src/app/GlobalInlineMessageBar/GlobalInlineMessageBar.jsx index 076b328..3b2c7da 100644 --- a/src/app/GlobalInlineMessageBar/GlobalInlineMessageBar.jsx +++ b/src/app/GlobalInlineMessageBar/GlobalInlineMessageBar.jsx @@ -20,30 +20,7 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -/* - * ============LICENSE_START=================================================== - * SPARKY (AAI UI service) - * ============================================================================ - * Copyright © 2017 AT&T Intellectual Property. - * Copyright © 2017 Amdocs - * 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===================================================== - * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. - */ + import {connect} from 'react-redux'; import React, {Component} from 'react'; diff --git a/test/components/dateRange.test.js b/test/components/dateRange.test.js index 07ae2b5..d142624 100644 --- a/test/components/dateRange.test.js +++ b/test/components/dateRange.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import React from 'react'; import TestUtils from 'react-dom/lib/ReactTestUtils'; import {Provider} from 'react-redux'; diff --git a/test/components/dateRangeSelector.test.js b/test/components/dateRangeSelector.test.js index e78de48..fd578b1 100644 --- a/test/components/dateRangeSelector.test.js +++ b/test/components/dateRangeSelector.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import React from "react"; import TestUtils from "react-dom/lib/ReactTestUtils"; import {Provider} from "react-redux"; diff --git a/test/components/inlineMessage.test.js b/test/components/inlineMessage.test.js index 4bfd1a4..1e31295 100644 --- a/test/components/inlineMessage.test.js +++ b/test/components/inlineMessage.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import { expect } from 'chai'; import React from 'react'; import TestUtils from 'react-dom/lib/ReactTestUtils'; diff --git a/test/components/notificationReducer.test.js b/test/components/notificationReducer.test.js index 37d5c94..7a2d1ee 100644 --- a/test/components/notificationReducer.test.js +++ b/test/components/notificationReducer.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import { expect } from 'chai'; import NotificationConstants from 'generic-components/notifications/NotificationConstants.js'; import reducer from 'generic-components/notifications/NotificationReducer.js'; diff --git a/test/components/toggleButtonGroupReducer.test.js b/test/components/toggleButtonGroupReducer.test.js index d5ce6f9..864ac7e 100644 --- a/test/components/toggleButtonGroupReducer.test.js +++ b/test/components/toggleButtonGroupReducer.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import { expect } from 'chai'; import {BUTTON_TOGGLED} from 'generic-components/toggleButtonGroup/ToggleButtonGroupConstants.js'; import reducer from 'generic-components/toggleButtonGroup/ToggleButtonGroupReducer.js'; diff --git a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js index d56c44b..d95977d 100644 --- a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js +++ b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import {expect, deep} from 'chai'; import React from 'react'; import {Provider} from 'react-redux'; diff --git a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js index 13cfd63..0b03dbf 100644 --- a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js +++ b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import {expect, deep} from "chai"; import React from "react"; import {Provider} from "react-redux"; diff --git a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js index f3f1c19..89b17e9 100644 --- a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js +++ b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import {expect} from 'chai'; import React from 'react'; import {Provider} from 'react-redux'; diff --git a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarTestConstants.js b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarTestConstants.js index f8fd893..daf8bb1 100644 --- a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarTestConstants.js +++ b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarTestConstants.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - const validResponseJsonForRequestFromFetchWithHitsType1 = { "took": 5, "timed_out": false, diff --git a/test/tierSupport/tierSupport.test.js b/test/tierSupport/tierSupport.test.js index b7ec343..8535a06 100644 --- a/test/tierSupport/tierSupport.test.js +++ b/test/tierSupport/tierSupport.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import React from 'react'; import {Provider} from 'react-redux'; diff --git a/test/utils/MockRest.js b/test/utils/MockRest.js index f40b120..6d99633 100644 --- a/test/utils/MockRest.js +++ b/test/utils/MockRest.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - const queue = { fetch: [], put: [], diff --git a/test/vnfSearch/vnfSearchVisualizations/vnfSearchVisualizations.test.js b/test/vnfSearch/vnfSearchVisualizations/vnfSearchVisualizations.test.js index 0905d35..c3aeb91 100644 --- a/test/vnfSearch/vnfSearchVisualizations/vnfSearchVisualizations.test.js +++ b/test/vnfSearch/vnfSearchVisualizations/vnfSearchVisualizations.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import React from 'react'; import TestUtils from 'react-dom/lib/ReactTestUtils'; import {storeCreator} from 'app/AppStore.js'; diff --git a/test/vnfSearch/vnfSearchVisualizations/vnfSearchVisualizationsReducer.test.js b/test/vnfSearch/vnfSearchVisualizations/vnfSearchVisualizationsReducer.test.js index e146f11..325daf9 100644 --- a/test/vnfSearch/vnfSearchVisualizations/vnfSearchVisualizationsReducer.test.js +++ b/test/vnfSearch/vnfSearchVisualizations/vnfSearchVisualizationsReducer.test.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - import React from 'react'; import { expect } from 'chai'; import reducer from 'app/vnfSearch/vnfSearchVisualizations/VnfSearchVisualizationsReducer.js'; diff --git a/tools/webpack/config-json-loader/index.js b/tools/webpack/config-json-loader/index.js index d7d6317..7c7369a 100644 --- a/tools/webpack/config-json-loader/index.js +++ b/tools/webpack/config-json-loader/index.js @@ -1,16 +1,15 @@ /* * ============LICENSE_START======================================================= - * SPARKY (AAI UI service) + * org.onap.aai * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * Copyright © 2017 Amdocs - * 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 + * 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, @@ -19,10 +18,8 @@ * limitations under the License. * ============LICENSE_END========================================================= * - * ECOMP and OpenECOMP are trademarks - * and service marks of AT&T Intellectual Property. + * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ - module.exports = function(content) { var config = JSON.parse(content); var build = process.env.BUILD_NUMBER || '0'; -- 2.16.6