aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LICENSE.TXT1
-rw-r--r--docs/offeredapis/serviceCatalog/apiServiceCatalog.plantuml4
-rw-r--r--docs/offeredapis/serviceCatalog/asciiDoc.adoc6
-rw-r--r--docs/offeredapis/serviceCatalog/documentation.html5
-rw-r--r--docs/offeredapis/serviceCatalog/markDown.md4
-rw-r--r--docs/offeredapis/serviceInventory/apiServiceInventory.plantuml4
-rw-r--r--docs/offeredapis/serviceInventory/asciiDoc.adoc6
-rw-r--r--docs/offeredapis/serviceInventory/documentation.html5
-rw-r--r--docs/offeredapis/serviceInventory/markDown.md4
-rw-r--r--docs/offeredapis/serviceOrder/apiServiceOrder.plantuml4
-rw-r--r--docs/offeredapis/serviceOrder/asciiDoc.adoc6
-rw-r--r--docs/offeredapis/serviceOrder/documentation.html5
-rw-r--r--docs/offeredapis/serviceOrder/markDown.md4
-rw-r--r--docs/offeredapis/swaggers/serviceCatalog_1_0_0.yaml4
-rw-r--r--docs/offeredapis/swaggers/serviceInventory_1_0_0.yaml4
-rw-r--r--docs/offeredapis/swaggers/serviceOrder_1_0_0.yaml4
-rw-r--r--pom.xml20
-rw-r--r--restclient/onap.http16
-rw-r--r--restclient/serviceOrder.http16
-rw-r--r--src/main/resources/application-docker.properties16
-rw-r--r--src/main/resources/application-localhost.properties16
-rw-r--r--src/main/resources/application.properties16
-rw-r--r--src/test/resources/application.properties16
23 files changed, 183 insertions, 3 deletions
diff --git a/LICENSE.TXT b/LICENSE.TXT
index 6c885dd..38ee766 100644
--- a/LICENSE.TXT
+++ b/LICENSE.TXT
@@ -1,4 +1,3 @@
-
Copyright (c) 2017 Orange. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/docs/offeredapis/serviceCatalog/apiServiceCatalog.plantuml b/docs/offeredapis/serviceCatalog/apiServiceCatalog.plantuml
index 8483238..96e8164 100644
--- a/docs/offeredapis/serviceCatalog/apiServiceCatalog.plantuml
+++ b/docs/offeredapis/serviceCatalog/apiServiceCatalog.plantuml
@@ -1,3 +1,7 @@
+/' This work is licensed under a Creative Commons Attribution 4.0 International License.
+ http://creativecommons.org/licenses/by/4.0
+ Copyright 2018 Orange'/
+
@startuml
enum LifecycleStatusValues {
diff --git a/docs/offeredapis/serviceCatalog/asciiDoc.adoc b/docs/offeredapis/serviceCatalog/asciiDoc.adoc
index 327f239..c5185bd 100644
--- a/docs/offeredapis/serviceCatalog/asciiDoc.adoc
+++ b/docs/offeredapis/serviceCatalog/asciiDoc.adoc
@@ -1,3 +1,9 @@
+////
+This work is licensed under a Creative Commons Attribution 4.0 International License.
+http://creativecommons.org/licenses/by/4.0
+Copyright 2018 Orange
+////
+
= API ServiceCatalog
diff --git a/docs/offeredapis/serviceCatalog/documentation.html b/docs/offeredapis/serviceCatalog/documentation.html
index b1ea44a..c81c1d8 100644
--- a/docs/offeredapis/serviceCatalog/documentation.html
+++ b/docs/offeredapis/serviceCatalog/documentation.html
@@ -1,3 +1,8 @@
+<!--
+This work is licensed under a Creative Commons Attribution 4.0 International License.
+http://creativecommons.org/licenses/by/4.0
+Copyright 2018 Orange
+-->
<!DOCTYPE html>
<html lang="en">
<head>
diff --git a/docs/offeredapis/serviceCatalog/markDown.md b/docs/offeredapis/serviceCatalog/markDown.md
index 4d066c3..22d062e 100644
--- a/docs/offeredapis/serviceCatalog/markDown.md
+++ b/docs/offeredapis/serviceCatalog/markDown.md
@@ -1,3 +1,7 @@
+# This work is licensed under a Creative Commons Attribution 4.0 International License.
+# http://creativecommons.org/licenses/by/4.0
+# Copyright 2018 Orange
+
# API ServiceCatalog
diff --git a/docs/offeredapis/serviceInventory/apiServiceInventory.plantuml b/docs/offeredapis/serviceInventory/apiServiceInventory.plantuml
index 447f3fe..a7ecc66 100644
--- a/docs/offeredapis/serviceInventory/apiServiceInventory.plantuml
+++ b/docs/offeredapis/serviceInventory/apiServiceInventory.plantuml
@@ -1,3 +1,7 @@
+/' This work is licensed under a Creative Commons Attribution 4.0 International License.
+ http://creativecommons.org/licenses/by/4.0
+ Copyright 2018 Orange'/
+
@startuml
enum stateValues {
diff --git a/docs/offeredapis/serviceInventory/asciiDoc.adoc b/docs/offeredapis/serviceInventory/asciiDoc.adoc
index c6f51c4..548a6a9 100644
--- a/docs/offeredapis/serviceInventory/asciiDoc.adoc
+++ b/docs/offeredapis/serviceInventory/asciiDoc.adoc
@@ -1,3 +1,9 @@
+////
+This work is licensed under a Creative Commons Attribution 4.0 International License.
+http://creativecommons.org/licenses/by/4.0
+Copyright 2018 Orange
+////
+
= API ServiceInventory
diff --git a/docs/offeredapis/serviceInventory/documentation.html b/docs/offeredapis/serviceInventory/documentation.html
index 905fa1b..a55605a 100644
--- a/docs/offeredapis/serviceInventory/documentation.html
+++ b/docs/offeredapis/serviceInventory/documentation.html
@@ -1,3 +1,8 @@
+<!--
+This work is licensed under a Creative Commons Attribution 4.0 International License.
+http://creativecommons.org/licenses/by/4.0
+Copyright 2018 Orange
+-->
<!DOCTYPE html>
<html lang="en">
<head>
diff --git a/docs/offeredapis/serviceInventory/markDown.md b/docs/offeredapis/serviceInventory/markDown.md
index 3b02751..223c13b 100644
--- a/docs/offeredapis/serviceInventory/markDown.md
+++ b/docs/offeredapis/serviceInventory/markDown.md
@@ -1,3 +1,7 @@
+# This work is licensed under a Creative Commons Attribution 4.0 International License.
+# http://creativecommons.org/licenses/by/4.0
+# Copyright 2018 Orange
+
# API ServiceInventory
diff --git a/docs/offeredapis/serviceOrder/apiServiceOrder.plantuml b/docs/offeredapis/serviceOrder/apiServiceOrder.plantuml
index 3199855..eb78af2 100644
--- a/docs/offeredapis/serviceOrder/apiServiceOrder.plantuml
+++ b/docs/offeredapis/serviceOrder/apiServiceOrder.plantuml
@@ -1,3 +1,7 @@
+/' This work is licensed under a Creative Commons Attribution 4.0 International License.
+ http://creativecommons.org/licenses/by/4.0
+ Copyright 2018 Orange'/
+
@startuml
enum ActionType {
diff --git a/docs/offeredapis/serviceOrder/asciiDoc.adoc b/docs/offeredapis/serviceOrder/asciiDoc.adoc
index 4a29548..29da92f 100644
--- a/docs/offeredapis/serviceOrder/asciiDoc.adoc
+++ b/docs/offeredapis/serviceOrder/asciiDoc.adoc
@@ -1,3 +1,9 @@
+////
+This work is licensed under a Creative Commons Attribution 4.0 International License.
+http://creativecommons.org/licenses/by/4.0
+Copyright 2018 Orange
+////
+
= API ServiceOrder
diff --git a/docs/offeredapis/serviceOrder/documentation.html b/docs/offeredapis/serviceOrder/documentation.html
index 0983ed9..09732b5 100644
--- a/docs/offeredapis/serviceOrder/documentation.html
+++ b/docs/offeredapis/serviceOrder/documentation.html
@@ -1,3 +1,8 @@
+<!--
+This work is licensed under a Creative Commons Attribution 4.0 International License.
+http://creativecommons.org/licenses/by/4.0
+Copyright 2018 Orange
+-->
<!DOCTYPE html>
<html lang="en">
<head>
diff --git a/docs/offeredapis/serviceOrder/markDown.md b/docs/offeredapis/serviceOrder/markDown.md
index 5ee40cf..b47779b 100644
--- a/docs/offeredapis/serviceOrder/markDown.md
+++ b/docs/offeredapis/serviceOrder/markDown.md
@@ -1,3 +1,7 @@
+# This work is licensed under a Creative Commons Attribution 4.0 International License.
+# http://creativecommons.org/licenses/by/4.0
+# Copyright 2018 Orange
+
# API ServiceOrder
diff --git a/docs/offeredapis/swaggers/serviceCatalog_1_0_0.yaml b/docs/offeredapis/swaggers/serviceCatalog_1_0_0.yaml
index 95e62fa..ab6eaa9 100644
--- a/docs/offeredapis/swaggers/serviceCatalog_1_0_0.yaml
+++ b/docs/offeredapis/swaggers/serviceCatalog_1_0_0.yaml
@@ -1,3 +1,7 @@
+# This work is licensed under a Creative Commons Attribution 4.0 International License.
+# http://creativecommons.org/licenses/by/4.0
+# Copyright 2018 Orange
+
swagger: "2.0"
info:
description: "serviceCatalog API designed for ONAP Beijing Release.\nThis API is\
diff --git a/docs/offeredapis/swaggers/serviceInventory_1_0_0.yaml b/docs/offeredapis/swaggers/serviceInventory_1_0_0.yaml
index 99af226..c4a169e 100644
--- a/docs/offeredapis/swaggers/serviceInventory_1_0_0.yaml
+++ b/docs/offeredapis/swaggers/serviceInventory_1_0_0.yaml
@@ -1,3 +1,7 @@
+# This work is licensed under a Creative Commons Attribution 4.0 International License.
+# http://creativecommons.org/licenses/by/4.0
+# Copyright 2018 Orange
+
swagger: "2.0"
info:
description: "serviceInventory API designed for ONAP Beijing Release.\nThis API\
diff --git a/docs/offeredapis/swaggers/serviceOrder_1_0_0.yaml b/docs/offeredapis/swaggers/serviceOrder_1_0_0.yaml
index 9d26cd3..edb5089 100644
--- a/docs/offeredapis/swaggers/serviceOrder_1_0_0.yaml
+++ b/docs/offeredapis/swaggers/serviceOrder_1_0_0.yaml
@@ -1,3 +1,7 @@
+# This work is licensed under a Creative Commons Attribution 4.0 International License.
+# http://creativecommons.org/licenses/by/4.0
+# Copyright 2018 Orange
+
swagger: "2.0"
info:
description: "serviceOrder API designed for ONAP Beijing Release.\nThis API is build\
diff --git a/pom.xml b/pom.xml
index d0ef619..c96aaf9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,6 +72,19 @@
</repository>
</repositories>
+ <distributionManagement>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>Release Repository</name>
+ <url>${nexusproxy}/${releaseNexusPath}</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>Snapshot Repository</name>
+ <url>${nexusproxy}/${snapshotNexusPath}</url>
+ </snapshotRepository>
+ </distributionManagement>
+
<licenses>
<license>
<name>Apache2</name>
@@ -267,12 +280,15 @@
<configuration>
<header>LICENSE.TXT</header>
<includes>
- <include>src/main/java/**</include>
- <include>src/test/java/**</include>
+ <include>restclient/**</include>
+ <include>src/**</include>
<include>pom.xml</include>
</includes>
<skipExistingHeaders>true</skipExistingHeaders>
<skip>false</skip>
+ <mapping>
+ <http>SCRIPT_STYLE</http>
+ </mapping>
</configuration>
<executions>
<execution>
diff --git a/restclient/onap.http b/restclient/onap.http
index cbec294..846df6d 100644
--- a/restclient/onap.http
+++ b/restclient/onap.http
@@ -1,3 +1,19 @@
+#
+# Copyright (c) 2017 Orange. 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.
+#
+
## SDC Get catalog service list
diff --git a/restclient/serviceOrder.http b/restclient/serviceOrder.http
index c8c6905..f6d69b9 100644
--- a/restclient/serviceOrder.http
+++ b/restclient/serviceOrder.http
@@ -1,3 +1,19 @@
+#
+# Copyright (c) 2017 Orange. 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.
+#
+
### Create REJECTED
POST {{serviceOrder.url}}/serviceOrder
?fields=id,state,description,relatedParty.id,toto
diff --git a/src/main/resources/application-docker.properties b/src/main/resources/application-docker.properties
index 01070d4..4a2a15e 100644
--- a/src/main/resources/application-docker.properties
+++ b/src/main/resources/application-docker.properties
@@ -1,3 +1,19 @@
+#
+# Copyright (c) 2017 Orange. 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.
+#
+
# LOGGING
logging.level.org.onap.nbi=INFO
diff --git a/src/main/resources/application-localhost.properties b/src/main/resources/application-localhost.properties
index 6a210a7..8470a93 100644
--- a/src/main/resources/application-localhost.properties
+++ b/src/main/resources/application-localhost.properties
@@ -1,3 +1,19 @@
+#
+# Copyright (c) 2017 Orange. 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.
+#
+
# LOGGING
logging.level.org.onap.nbi=INFO
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 61f2d0c..4917ece 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,3 +1,19 @@
+#
+# Copyright (c) 2017 Orange. 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.
+#
+
# SERVER
server.contextPath=/nbi/api/v1
server.port = 8080
diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties
index 793da56..743f438 100644
--- a/src/test/resources/application.properties
+++ b/src/test/resources/application.properties
@@ -1,3 +1,19 @@
+#
+# Copyright (c) 2017 Orange. 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.
+#
+
# SERVER
server.contextPath=/nbi/api/v1
server.port = 8080