From bc114b17c8a0cff6a0e150dcacc9bbcc475d3319 Mon Sep 17 00:00:00 2001 From: Matthieu Geerebaert Date: Mon, 2 Sep 2019 15:59:16 +0200 Subject: Improve license scan result Update pom.xml with new extension for mvn license:check and license:format Change-Id: Ib3fb1334178f4e4700b84c59f4a2af928b8f6207 Issue-ID: EXTAPI-306 Signed-off-by: MatthieuGeerebaert --- src/test/java/joe.jpage | 10 ---------- .../karatetest/features/00--ServiceCatalog.feature | 14 ++++++++++++++ .../karatetest/features/01--ServiceInventory.feature | 14 ++++++++++++++ .../karatetest/features/02--ServiceOrder.feature | 14 ++++++++++++++ .../resources/karatetest/features/03--Subscriber.feature | 14 ++++++++++++++ .../karatetest/features/04--StatusRessourceTest.feature | 16 ++++++++++++++++ .../features/05--ListenerResourceTestTarget.feature | 14 ++++++++++++++ 7 files changed, 86 insertions(+), 10 deletions(-) delete mode 100644 src/test/java/joe.jpage (limited to 'src') diff --git a/src/test/java/joe.jpage b/src/test/java/joe.jpage deleted file mode 100644 index 0e28672..0000000 --- a/src/test/java/joe.jpage +++ /dev/null @@ -1,10 +0,0 @@ -java.io.File file = new java.io.File("/home/user/Source/starck-xsl/spec.json"); -String jsonStr = org.apache.commons.io.FileUtils.readFileToString(file); - -System.out.println(jsonStr); - -org.json.JSONObject json = new org.json.JSONObject(jsonStr); -String xml = org.json.XML.toString(json); - -System.out.println(xml); - diff --git a/src/test/resources/karatetest/features/00--ServiceCatalog.feature b/src/test/resources/karatetest/features/00--ServiceCatalog.feature index 38807e2..728d3c8 100644 --- a/src/test/resources/karatetest/features/00--ServiceCatalog.feature +++ b/src/test/resources/karatetest/features/00--ServiceCatalog.feature @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Orange +# +# 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.swagger: "2.0" + # new feature # Tags: optional diff --git a/src/test/resources/karatetest/features/01--ServiceInventory.feature b/src/test/resources/karatetest/features/01--ServiceInventory.feature index eacbf2f..106d623 100644 --- a/src/test/resources/karatetest/features/01--ServiceInventory.feature +++ b/src/test/resources/karatetest/features/01--ServiceInventory.feature @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Orange +# +# 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.swagger: "2.0" + # new feature # Tags: optional diff --git a/src/test/resources/karatetest/features/02--ServiceOrder.feature b/src/test/resources/karatetest/features/02--ServiceOrder.feature index 4b4891d..b827381 100644 --- a/src/test/resources/karatetest/features/02--ServiceOrder.feature +++ b/src/test/resources/karatetest/features/02--ServiceOrder.feature @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Orange +# +# 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.swagger: "2.0" + # new feature # Tags: optional diff --git a/src/test/resources/karatetest/features/03--Subscriber.feature b/src/test/resources/karatetest/features/03--Subscriber.feature index 1d9bfdf..94aed0d 100644 --- a/src/test/resources/karatetest/features/03--Subscriber.feature +++ b/src/test/resources/karatetest/features/03--Subscriber.feature @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Orange +# +# 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.swagger: "2.0" + # new feature # Tags: optional diff --git a/src/test/resources/karatetest/features/04--StatusRessourceTest.feature b/src/test/resources/karatetest/features/04--StatusRessourceTest.feature index a21b9b3..fdcc138 100644 --- a/src/test/resources/karatetest/features/04--StatusRessourceTest.feature +++ b/src/test/resources/karatetest/features/04--StatusRessourceTest.feature @@ -1,3 +1,19 @@ +# +# Copyright (c) 2018 Orange +# +# 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. +# + # new feature # Tags: optional diff --git a/src/test/resources/karatetest/features/05--ListenerResourceTestTarget.feature b/src/test/resources/karatetest/features/05--ListenerResourceTestTarget.feature index a42f9b7..52cc91f 100644 --- a/src/test/resources/karatetest/features/05--ListenerResourceTestTarget.feature +++ b/src/test/resources/karatetest/features/05--ListenerResourceTestTarget.feature @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Orange +# +# 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.swagger: "2.0" + # new feature # Tags: optional -- cgit 1.2.3-korg