From 0e71c977b6d64bcd08258602ed3360319d9ca57c Mon Sep 17 00:00:00 2001 From: xdurvak Date: Mon, 3 Jul 2017 11:00:40 +0530 Subject: [PATCH] added copyright headers to the source code (#72) --- CHANGELOG.md | 3 +++ build.gradle | 16 +++++++++++++++- publish-cli/build.gradle | 14 ++++++++++++++ publish-cli/settings.gradle | 14 ++++++++++++++ .../ericsson/eiffel/remrem/publish/cli/CLI.java | 14 ++++++++++++++ .../eiffel/remrem/publish/cli/CLIExitCodes.java | 14 ++++++++++++++ .../eiffel/remrem/publish/cli/CliOptions.java | 14 ++++++++++++++ .../publish/cli/HandleMessageBusException.java | 14 ++++++++++++++ .../remrem/publish/cli/CliOptionsUnitTests.java | 14 ++++++++++++++ .../eiffel/remrem/publish/cli/CliUnitTests.java | 14 ++++++++++++++ publish-common/build.gradle | 14 ++++++++++++++ publish-common/settings.gradle | 13 +++++++++++++ .../remrem/publish/config/PropertiesConfig.java | 14 ++++++++++++++ .../publish/config/SpringLoggingInitializer.java | 14 ++++++++++++++ .../remrem/publish/config/SwaggerConfig.java | 14 ++++++++++++++ .../remrem/publish/helper/PublishUtils.java | 14 ++++++++++++++ .../publish/helper/RMQBeanConnectionFactory.java | 14 ++++++++++++++ .../eiffel/remrem/publish/helper/RMQHelper.java | 14 ++++++++++++++ .../remrem/publish/service/MessageService.java | 14 ++++++++++++++ .../publish/service/MessageServiceRMQImpl.java | 14 ++++++++++++++ .../publish/service/PublishResultItem.java | 14 ++++++++++++++ .../remrem/publish/service/SendResult.java | 14 ++++++++++++++ .../remrem/publish/helper/RMQHelperUnitTest.java | 14 ++++++++++++++ .../src/test/java/test/config/FakeConfig.java | 14 ++++++++++++++ publish-service/build.gradle | 14 ++++++++++++++ publish-service/settings.gradle | 14 ++++++++++++++ .../publish/config/TestSecurityConfig.java | 14 ++++++++++++++ .../ProducerControllerIntegrationTest.java | 14 ++++++++++++++ .../com/ericsson/eiffel/remrem/publish/App.java | 14 ++++++++++++++ .../publish/controller/ProducerController.java | 14 ++++++++++++++ .../service/MessageServiceRMQImplUnitTest.java | 14 ++++++++++++++ settings.gradle | 14 ++++++++++++++ 32 files changed, 437 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25cb042a..f664ad08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.3.8 +- Added copyright headers to the source code. + ## 0.3.7 - Updated remrem-shared version to 0.3.2 to support base64 encryption functionality for Ldap manager password. diff --git a/build.gradle b/build.gradle index b734e697..2d341d21 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ buildscript { repositories { mavenCentral() @@ -46,7 +60,7 @@ subprojects { apply plugin: 'java' //Latest version for publish - version = "0.3.7" + version = "0.3.8" //Declare where to find the dependencies of project here repositories { diff --git a/publish-cli/build.gradle b/publish-cli/build.gradle index b2179317..a283bf65 100644 --- a/publish-cli/build.gradle +++ b/publish-cli/build.gradle @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ apply plugin: 'application' //To create executable CLI jar diff --git a/publish-cli/settings.gradle b/publish-cli/settings.gradle index fe78d3bf..5297ca12 100644 --- a/publish-cli/settings.gradle +++ b/publish-cli/settings.gradle @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ //Include the subproject in the root project include 'publish-common' rootProject.name = 'publish-cli' diff --git a/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CLI.java b/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CLI.java index 77690289..c9dc0f84 100644 --- a/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CLI.java +++ b/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CLI.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.cli; import java.io.BufferedReader; diff --git a/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CLIExitCodes.java b/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CLIExitCodes.java index 5f200cd8..234585c5 100644 --- a/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CLIExitCodes.java +++ b/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CLIExitCodes.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.cli; import org.apache.commons.cli.MissingOptionException; diff --git a/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CliOptions.java b/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CliOptions.java index cdbbcd9e..fa836e6b 100644 --- a/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CliOptions.java +++ b/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/CliOptions.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.cli; import java.util.ArrayList; diff --git a/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/HandleMessageBusException.java b/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/HandleMessageBusException.java index 9b9c1c4b..0d584a4a 100644 --- a/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/HandleMessageBusException.java +++ b/publish-cli/src/main/java/com/ericsson/eiffel/remrem/publish/cli/HandleMessageBusException.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.cli; @SuppressWarnings("serial") diff --git a/publish-cli/src/test/java/com/ericsson/eiffel/remrem/publish/cli/CliOptionsUnitTests.java b/publish-cli/src/test/java/com/ericsson/eiffel/remrem/publish/cli/CliOptionsUnitTests.java index b73c85bf..d870eade 100644 --- a/publish-cli/src/test/java/com/ericsson/eiffel/remrem/publish/cli/CliOptionsUnitTests.java +++ b/publish-cli/src/test/java/com/ericsson/eiffel/remrem/publish/cli/CliOptionsUnitTests.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.cli; import static org.junit.Assert.assertTrue; diff --git a/publish-cli/src/test/java/com/ericsson/eiffel/remrem/publish/cli/CliUnitTests.java b/publish-cli/src/test/java/com/ericsson/eiffel/remrem/publish/cli/CliUnitTests.java index c329a764..61fb3479 100644 --- a/publish-cli/src/test/java/com/ericsson/eiffel/remrem/publish/cli/CliUnitTests.java +++ b/publish-cli/src/test/java/com/ericsson/eiffel/remrem/publish/cli/CliUnitTests.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.cli; import static org.junit.Assert.assertTrue; diff --git a/publish-common/build.gradle b/publish-common/build.gradle index 35cd9540..f378aa1f 100644 --- a/publish-common/build.gradle +++ b/publish-common/build.gradle @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ //This task is used for spring boot repackaging bootRepackage{ enabled = false diff --git a/publish-common/settings.gradle b/publish-common/settings.gradle index d6f4b46c..cd2ec5bd 100644 --- a/publish-common/settings.gradle +++ b/publish-common/settings.gradle @@ -1,2 +1,15 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ rootProject.name = 'publish-common' diff --git a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/PropertiesConfig.java b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/PropertiesConfig.java index 036d3f67..ffffae5d 100644 --- a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/PropertiesConfig.java +++ b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/PropertiesConfig.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.config; public class PropertiesConfig { diff --git a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/SpringLoggingInitializer.java b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/SpringLoggingInitializer.java index b8cc8ed8..959b92f6 100644 --- a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/SpringLoggingInitializer.java +++ b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/SpringLoggingInitializer.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.config; import org.slf4j.LoggerFactory; diff --git a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/SwaggerConfig.java b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/SwaggerConfig.java index ba47d129..4a5da022 100644 --- a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/SwaggerConfig.java +++ b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/config/SwaggerConfig.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.config; import org.springframework.context.annotation.Bean; diff --git a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/PublishUtils.java b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/PublishUtils.java index ab4897b7..e033a0f4 100644 --- a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/PublishUtils.java +++ b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/PublishUtils.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.helper; import org.apache.commons.lang3.StringUtils; diff --git a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/RMQBeanConnectionFactory.java b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/RMQBeanConnectionFactory.java index 90806574..4f52ae40 100644 --- a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/RMQBeanConnectionFactory.java +++ b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/RMQBeanConnectionFactory.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.helper; import org.springframework.stereotype.Component; diff --git a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/RMQHelper.java b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/RMQHelper.java index be50ec0b..a7c8137e 100644 --- a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/RMQHelper.java +++ b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/helper/RMQHelper.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.helper; diff --git a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/MessageService.java b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/MessageService.java index c9f9580a..4a132f67 100644 --- a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/MessageService.java +++ b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/MessageService.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.service; diff --git a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/MessageServiceRMQImpl.java b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/MessageServiceRMQImpl.java index f63e76b7..30585c7e 100644 --- a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/MessageServiceRMQImpl.java +++ b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/MessageServiceRMQImpl.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.service; import java.io.IOException; diff --git a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/PublishResultItem.java b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/PublishResultItem.java index 617943c0..dee53181 100644 --- a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/PublishResultItem.java +++ b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/PublishResultItem.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.service; import com.google.gson.JsonObject; diff --git a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/SendResult.java b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/SendResult.java index 873a2d0d..812720b3 100644 --- a/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/SendResult.java +++ b/publish-common/src/main/java/com/ericsson/eiffel/remrem/publish/service/SendResult.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.service; import java.util.List; diff --git a/publish-common/src/test/java/com/ericsson/eiffel/remrem/publish/helper/RMQHelperUnitTest.java b/publish-common/src/test/java/com/ericsson/eiffel/remrem/publish/helper/RMQHelperUnitTest.java index d9e0e72b..6157f23b 100644 --- a/publish-common/src/test/java/com/ericsson/eiffel/remrem/publish/helper/RMQHelperUnitTest.java +++ b/publish-common/src/test/java/com/ericsson/eiffel/remrem/publish/helper/RMQHelperUnitTest.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.helper; import static org.junit.Assert.*; diff --git a/publish-common/src/test/java/test/config/FakeConfig.java b/publish-common/src/test/java/test/config/FakeConfig.java index c8b2d9d4..671d2a28 100644 --- a/publish-common/src/test/java/test/config/FakeConfig.java +++ b/publish-common/src/test/java/test/config/FakeConfig.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package test.config; import org.springframework.context.annotation.Configuration; diff --git a/publish-service/build.gradle b/publish-service/build.gradle index 8720eb7e..2049e48b 100644 --- a/publish-service/build.gradle +++ b/publish-service/build.gradle @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ plugins { id 'war' id 'jacoco' // provides code coverage metrics for Java code via integration with Jacoco diff --git a/publish-service/settings.gradle b/publish-service/settings.gradle index 254f9433..89c4d5c6 100644 --- a/publish-service/settings.gradle +++ b/publish-service/settings.gradle @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ //Include the subproject in the root project include 'publish-common' rootProject.name = 'publish-service' diff --git a/publish-service/src/integration-test/java/com/ericsson/eiffel/remrem/publish/config/TestSecurityConfig.java b/publish-service/src/integration-test/java/com/ericsson/eiffel/remrem/publish/config/TestSecurityConfig.java index 29e72f9d..119ebf30 100644 --- a/publish-service/src/integration-test/java/com/ericsson/eiffel/remrem/publish/config/TestSecurityConfig.java +++ b/publish-service/src/integration-test/java/com/ericsson/eiffel/remrem/publish/config/TestSecurityConfig.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.config; import org.springframework.context.annotation.Configuration; diff --git a/publish-service/src/integration-test/java/com/ericsson/eiffel/remrem/publish/controller/ProducerControllerIntegrationTest.java b/publish-service/src/integration-test/java/com/ericsson/eiffel/remrem/publish/controller/ProducerControllerIntegrationTest.java index b7a9f3fd..79da30bc 100644 --- a/publish-service/src/integration-test/java/com/ericsson/eiffel/remrem/publish/controller/ProducerControllerIntegrationTest.java +++ b/publish-service/src/integration-test/java/com/ericsson/eiffel/remrem/publish/controller/ProducerControllerIntegrationTest.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.controller; import static com.jayway.restassured.RestAssured.given; diff --git a/publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/App.java b/publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/App.java index cd9f88ba..c1ffe59f 100644 --- a/publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/App.java +++ b/publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/App.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish; import org.springframework.boot.Banner; diff --git a/publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/controller/ProducerController.java b/publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/controller/ProducerController.java index 3ca5cc65..cce3d1af 100644 --- a/publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/controller/ProducerController.java +++ b/publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/controller/ProducerController.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.controller; import org.slf4j.LoggerFactory; diff --git a/publish-service/src/test/java/com/ericsson/eiffel/remrem/publish/service/MessageServiceRMQImplUnitTest.java b/publish-service/src/test/java/com/ericsson/eiffel/remrem/publish/service/MessageServiceRMQImplUnitTest.java index 61bdd8e6..179c0c75 100644 --- a/publish-service/src/test/java/com/ericsson/eiffel/remrem/publish/service/MessageServiceRMQImplUnitTest.java +++ b/publish-service/src/test/java/com/ericsson/eiffel/remrem/publish/service/MessageServiceRMQImplUnitTest.java @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ package com.ericsson.eiffel.remrem.publish.service; import static org.junit.Assert.assertEquals; diff --git a/settings.gradle b/settings.gradle index 0d6ba26f..4bafaf86 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,17 @@ +/* + Copyright 2017 Ericsson AB. + For a full list of individual contributors, please see the commit history. + 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. +*/ //Include the subprojects in root project include 'publish-cli' include 'publish-service'