diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicConsumeAction.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicConsumeAction.java index a18514b60..2a3e69d52 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicConsumeAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicConsumeAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.durationValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicGetAction.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicGetAction.java index 122e8198a..80e20c6ff 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicGetAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicGetAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.amqp.utils.AmqpUtils.convertMapLongStringToString; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicPublishAction.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicPublishAction.java index 92d526ca9..e70eafc90 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicPublishAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpBasicPublishAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notBlankStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpCleanQueuesAction.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpCleanQueuesAction.java index d52158130..9f6e981aa 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpCleanQueuesAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpCleanQueuesAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notEmptyListValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpCreateBoundTemporaryQueueAction.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpCreateBoundTemporaryQueueAction.java index 3828bad10..d0e0a7452 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpCreateBoundTemporaryQueueAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpCreateBoundTemporaryQueueAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notBlankStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpDeleteQueueAction.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpDeleteQueueAction.java index d0ba32d07..e0bb60168 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpDeleteQueueAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpDeleteQueueAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notBlankStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpUnbindQueueAction.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpUnbindQueueAction.java index 48c1eb2c3..cacdd9eee 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpUnbindQueueAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/AmqpUnbindQueueAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notBlankStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/ConnectionFactoryFactory.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/ConnectionFactoryFactory.java index 7932c5c79..c71c4da04 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/ConnectionFactoryFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/ConnectionFactoryFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.common.SecurityUtils.buildSslContext; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/QpidServerStartAction.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/QpidServerStartAction.java index e8a3ee6ee..49b7c680f 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/QpidServerStartAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/QpidServerStartAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import com.chutneytesting.action.spi.FinallyAction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/QpidServerStopAction.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/QpidServerStopAction.java index 7df648421..3c11de973 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/QpidServerStopAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/QpidServerStopAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.spi.validation.Validator.getErrorsFrom; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/consumer/ConsumerSupervisor.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/consumer/ConsumerSupervisor.java index 5f34a5e37..db1bada85 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/consumer/ConsumerSupervisor.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/consumer/ConsumerSupervisor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp.consumer; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/consumer/QueueingConsumer.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/consumer/QueueingConsumer.java index 1e0ac506d..5ad681290 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/consumer/QueueingConsumer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/consumer/QueueingConsumer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp.consumer; import static com.chutneytesting.action.amqp.utils.AmqpUtils.convertMapLongStringToString; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/utils/AmqpUtils.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/utils/AmqpUtils.java index bc8c02ee6..b58fd818e 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/utils/AmqpUtils.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/utils/AmqpUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp.utils; import com.rabbitmq.client.LongString; diff --git a/action-impl/src/main/java/com/chutneytesting/action/amqp/utils/JsonPathEvaluator.java b/action-impl/src/main/java/com/chutneytesting/action/amqp/utils/JsonPathEvaluator.java index 03814d755..152624670 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/amqp/utils/JsonPathEvaluator.java +++ b/action-impl/src/main/java/com/chutneytesting/action/amqp/utils/JsonPathEvaluator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp.utils; import static java.util.Spliterators.spliterator; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/AssertAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/AssertAction.java index acfa9a364..d69ad3824 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/AssertAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/AssertAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notEmptyListValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/CompareAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/CompareAction.java index 55696f562..ebfb00d46 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/CompareAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/CompareAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import com.chutneytesting.action.assertion.compare.CompareActionFactory; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonAssertAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonAssertAction.java index 3b0670934..d1964e518 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonAssertAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonAssertAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notBlankStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonCompareAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonCompareAction.java index bf2f87f47..d6f5e0468 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonCompareAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonCompareAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static com.chutneytesting.action.common.JsonUtils.lenientEqual; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonValidationAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonValidationAction.java index f78f4cbab..6e937509e 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonValidationAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/JsonValidationAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static com.chutneytesting.action.spi.validation.Validator.getErrorsFrom; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/StringAssert.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/StringAssert.java index cb2ce2d03..97c692511 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/StringAssert.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/StringAssert.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import com.chutneytesting.action.spi.Action; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/XmlAssertAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/XmlAssertAction.java index 6f38e1c20..24c93cbad 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/XmlAssertAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/XmlAssertAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notBlankStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/XsdValidationAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/XsdValidationAction.java index 9ab69f950..6b560fe1c 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/XsdValidationAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/XsdValidationAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notBlankStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/AbstractCompareNumberAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/AbstractCompareNumberAction.java index 215ae0c47..35431e0a7 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/AbstractCompareNumberAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/AbstractCompareNumberAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; import com.chutneytesting.action.spi.ActionExecutionResult; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareActionFactory.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareActionFactory.java index 50b918aee..b7ce8cddd 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareActionFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareActionFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; public class CompareActionFactory { diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareContainsAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareContainsAction.java index b6cfee87c..4982cb48b 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareContainsAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareContainsAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; import com.chutneytesting.action.spi.ActionExecutionResult; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareEqualsAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareEqualsAction.java index 0b088fddf..39ca9878c 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareEqualsAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareEqualsAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; import com.chutneytesting.action.spi.ActionExecutionResult; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareExecutor.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareExecutor.java index bb3f988c3..29d14fc28 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareExecutor.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareExecutor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; import com.chutneytesting.action.spi.ActionExecutionResult; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareGreaterThanAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareGreaterThanAction.java index d5de3f814..cde7bbfb9 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareGreaterThanAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareGreaterThanAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; import java.util.function.BiFunction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareLessThanAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareLessThanAction.java index 9c0198b6d..5a5b2abe7 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareLessThanAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareLessThanAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; import java.util.function.BiFunction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareNotContainsAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareNotContainsAction.java index dab60e223..c311ebc31 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareNotContainsAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareNotContainsAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; import com.chutneytesting.action.spi.ActionExecutionResult; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareNotEqualsAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareNotEqualsAction.java index a6571e80a..7f1020f0c 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareNotEqualsAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/CompareNotEqualsAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; import com.chutneytesting.action.spi.ActionExecutionResult; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/NoCompareAction.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/NoCompareAction.java index d601fbb1a..65e59ff47 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/NoCompareAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/NoCompareAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; import com.chutneytesting.action.spi.ActionExecutionResult; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/Parser.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/Parser.java index 0d3458b4d..35dd59653 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/Parser.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/compare/Parser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.compare; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/AfterDateAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/AfterDateAsserter.java index d27442d87..42c2ede83 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/AfterDateAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/AfterDateAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/BeforeDateAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/BeforeDateAsserter.java index 9982af4c2..053170542 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/BeforeDateAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/BeforeDateAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/ContainsAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/ContainsAsserter.java index 1774291eb..8a39fa7db 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/ContainsAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/ContainsAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/EqualDateAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/EqualDateAsserter.java index d8e0f4a50..108332a30 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/EqualDateAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/EqualDateAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/GreaterThanAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/GreaterThanAsserter.java index 4cfa8f265..3e2732f10 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/GreaterThanAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/GreaterThanAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/IsEmptyAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/IsEmptyAsserter.java index 15250a867..d0ae7c826 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/IsEmptyAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/IsEmptyAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/IsNullAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/IsNullAsserter.java index e3d6e19fd..40c8ba4ca 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/IsNullAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/IsNullAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/LenientEqualAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/LenientEqualAsserter.java index 9567ba5a5..d4f292ffa 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/LenientEqualAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/LenientEqualAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import static com.chutneytesting.action.common.JsonUtils.lenientEqual; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/LessThanAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/LessThanAsserter.java index 16f0e689d..e62a3a3b3 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/LessThanAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/LessThanAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/MatchesStringAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/MatchesStringAsserter.java index 7e5f82d6a..7d4c75021 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/MatchesStringAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/MatchesStringAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/NotNullAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/NotNullAsserter.java index 00d38ba8c..5e6219413 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/NotNullAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/NotNullAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/PlaceholderAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/PlaceholderAsserter.java index 80e6f3506..d747ea562 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/PlaceholderAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/PlaceholderAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/PlaceholderAsserterUtils.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/PlaceholderAsserterUtils.java index e281e3657..6b5e279ac 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/PlaceholderAsserterUtils.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/PlaceholderAsserterUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import java.util.ArrayList; diff --git a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/ValueArrayAsserter.java b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/ValueArrayAsserter.java index f433f89eb..75df254a9 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/ValueArrayAsserter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/assertion/placeholder/ValueArrayAsserter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion.placeholder; import static java.util.Optional.ofNullable; diff --git a/action-impl/src/main/java/com/chutneytesting/action/common/JsonUtils.java b/action-impl/src/main/java/com/chutneytesting/action/common/JsonUtils.java index 732562063..1099ec5d2 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/common/JsonUtils.java +++ b/action-impl/src/main/java/com/chutneytesting/action/common/JsonUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.common; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/common/LSInputImpl.java b/action-impl/src/main/java/com/chutneytesting/action/common/LSInputImpl.java index daa8b3198..93afaf4e1 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/common/LSInputImpl.java +++ b/action-impl/src/main/java/com/chutneytesting/action/common/LSInputImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.common; import java.io.InputStream; diff --git a/action-impl/src/main/java/com/chutneytesting/action/common/ResourceResolver.java b/action-impl/src/main/java/com/chutneytesting/action/common/ResourceResolver.java index dd797e20b..07b374332 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/common/ResourceResolver.java +++ b/action-impl/src/main/java/com/chutneytesting/action/common/ResourceResolver.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.common; import com.chutneytesting.action.assertion.XsdValidationAction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/common/SecurityUtils.java b/action-impl/src/main/java/com/chutneytesting/action/common/SecurityUtils.java index 58401e47e..fde19271a 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/common/SecurityUtils.java +++ b/action-impl/src/main/java/com/chutneytesting/action/common/SecurityUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.common; import com.chutneytesting.action.spi.injectable.Target; diff --git a/action-impl/src/main/java/com/chutneytesting/action/common/XmlUtils.java b/action-impl/src/main/java/com/chutneytesting/action/common/XmlUtils.java index 06709853c..c907093e8 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/common/XmlUtils.java +++ b/action-impl/src/main/java/com/chutneytesting/action/common/XmlUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.common; import com.google.common.base.Ascii; diff --git a/action-impl/src/main/java/com/chutneytesting/action/context/ContextPutAction.java b/action-impl/src/main/java/com/chutneytesting/action/context/ContextPutAction.java index 624f8962a..1cb5ad130 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/context/ContextPutAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/context/ContextPutAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.context; import static java.util.Collections.emptyMap; diff --git a/action-impl/src/main/java/com/chutneytesting/action/context/DebugAction.java b/action-impl/src/main/java/com/chutneytesting/action/context/DebugAction.java index d7ac9bfc3..f33d86036 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/context/DebugAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/context/DebugAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.context; import com.chutneytesting.action.spi.Action; diff --git a/action-impl/src/main/java/com/chutneytesting/action/context/FailAction.java b/action-impl/src/main/java/com/chutneytesting/action/context/FailAction.java index 1c2f3e625..0cadf58c1 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/context/FailAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/context/FailAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.context; import com.chutneytesting.action.spi.Action; diff --git a/action-impl/src/main/java/com/chutneytesting/action/context/FinalAction.java b/action-impl/src/main/java/com/chutneytesting/action/context/FinalAction.java index a0fed24bf..c5e53b9e0 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/context/FinalAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/context/FinalAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.context; import static com.chutneytesting.action.spi.ActionExecutionResult.ok; diff --git a/action-impl/src/main/java/com/chutneytesting/action/context/SleepAction.java b/action-impl/src/main/java/com/chutneytesting/action/context/SleepAction.java index 00870d7f7..caaee1947 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/context/SleepAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/context/SleepAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.context; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.durationValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/context/SuccessAction.java b/action-impl/src/main/java/com/chutneytesting/action/context/SuccessAction.java index 65d93873c..7eb3ff985 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/context/SuccessAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/context/SuccessAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.context; import com.chutneytesting.action.spi.Action; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/ClasspathFunctions.java b/action-impl/src/main/java/com/chutneytesting/action/function/ClasspathFunctions.java index 0b85aa562..5e5c0951b 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/ClasspathFunctions.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/ClasspathFunctions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import static java.util.Optional.ofNullable; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/DateTimeFunctions.java b/action-impl/src/main/java/com/chutneytesting/action/function/DateTimeFunctions.java index 8c17c9f9c..c82c37af0 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/DateTimeFunctions.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/DateTimeFunctions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import com.chutneytesting.action.spi.SpelFunction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/EscapeFunctions.java b/action-impl/src/main/java/com/chutneytesting/action/function/EscapeFunctions.java index 2683dba8a..31042d1a3 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/EscapeFunctions.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/EscapeFunctions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import com.chutneytesting.action.spi.SpelFunction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/Generate.java b/action-impl/src/main/java/com/chutneytesting/action/function/Generate.java index 84e0553f4..5cd1282a4 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/Generate.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/Generate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import java.io.BufferedOutputStream; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/GenerateFunction.java b/action-impl/src/main/java/com/chutneytesting/action/function/GenerateFunction.java index c9b575d5a..b7bb901db 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/GenerateFunction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/GenerateFunction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import com.chutneytesting.action.spi.SpelFunction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/JsonFunctions.java b/action-impl/src/main/java/com/chutneytesting/action/function/JsonFunctions.java index 3a389a42d..6ce01b2d5 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/JsonFunctions.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/JsonFunctions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import static java.util.Objects.requireNonNull; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/NetworkFunctions.java b/action-impl/src/main/java/com/chutneytesting/action/function/NetworkFunctions.java index 0f7597565..6565cf683 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/NetworkFunctions.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/NetworkFunctions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import static com.chutneytesting.tools.SocketUtils.findAvailableTcpPort; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/NullableFunction.java b/action-impl/src/main/java/com/chutneytesting/action/function/NullableFunction.java index 6e3055442..5ebac8ec1 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/NullableFunction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/NullableFunction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import com.chutneytesting.action.spi.SpelFunction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/SoapFunction.java b/action-impl/src/main/java/com/chutneytesting/action/function/SoapFunction.java index 6ca8a10cc..2bffe06ec 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/SoapFunction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/SoapFunction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import com.chutneytesting.action.spi.SpelFunction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/StringFunction.java b/action-impl/src/main/java/com/chutneytesting/action/function/StringFunction.java index bc17ca730..9291222d8 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/StringFunction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/StringFunction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import com.chutneytesting.action.spi.SpelFunction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/function/XPathFunction.java b/action-impl/src/main/java/com/chutneytesting/action/function/XPathFunction.java index ab186059e..bc1818916 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/function/XPathFunction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/function/XPathFunction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import com.chutneytesting.action.common.XmlUtils; diff --git a/action-impl/src/main/java/com/chutneytesting/action/groovy/GroovyAction.java b/action-impl/src/main/java/com/chutneytesting/action/groovy/GroovyAction.java index 9e39b812b..355a09551 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/groovy/GroovyAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/groovy/GroovyAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.groovy; import static com.chutneytesting.action.spi.validation.Validator.getErrorsFrom; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/HttpActionHelper.java b/action-impl/src/main/java/com/chutneytesting/action/http/HttpActionHelper.java index 12ba42a7c..a8e47e4fa 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/HttpActionHelper.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/HttpActionHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.durationValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/HttpDeleteAction.java b/action-impl/src/main/java/com/chutneytesting/action/http/HttpDeleteAction.java index fe14e28e6..78bccda4b 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/HttpDeleteAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/HttpDeleteAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.chutneytesting.action.http.HttpActionHelper.httpCommonValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/HttpGetAction.java b/action-impl/src/main/java/com/chutneytesting/action/http/HttpGetAction.java index 5d5443a2d..f809bbb92 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/HttpGetAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/HttpGetAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.chutneytesting.action.http.HttpActionHelper.httpCommonValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/HttpPatchAction.java b/action-impl/src/main/java/com/chutneytesting/action/http/HttpPatchAction.java index c58e0adb3..d345bf108 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/HttpPatchAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/HttpPatchAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.chutneytesting.action.http.HttpActionHelper.httpCommonValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/HttpPostAction.java b/action-impl/src/main/java/com/chutneytesting/action/http/HttpPostAction.java index f0acafcd5..a6fbaba94 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/HttpPostAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/HttpPostAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.chutneytesting.action.http.HttpActionHelper.httpCommonValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/HttpPutAction.java b/action-impl/src/main/java/com/chutneytesting/action/http/HttpPutAction.java index 6bfe5342a..05b279d4b 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/HttpPutAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/HttpPutAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.chutneytesting.action.http.HttpActionHelper.httpCommonValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/HttpSoapAction.java b/action-impl/src/main/java/com/chutneytesting/action/http/HttpSoapAction.java index 28e152c3c..80e5aa34f 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/HttpSoapAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/HttpSoapAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.chutneytesting.action.function.SoapFunction.soapInsertWSUsernameToken; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/HttpsListenerAction.java b/action-impl/src/main/java/com/chutneytesting/action/http/HttpsListenerAction.java index ece832296..bfecad35c 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/HttpsListenerAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/HttpsListenerAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import com.chutneytesting.action.spi.Action; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/HttpsServerStartAction.java b/action-impl/src/main/java/com/chutneytesting/action/http/HttpsServerStartAction.java index 55ca8a71d..7293c307e 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/HttpsServerStartAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/HttpsServerStartAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/HttpsServerStopAction.java b/action-impl/src/main/java/com/chutneytesting/action/http/HttpsServerStopAction.java index 0df458a45..688b40a80 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/HttpsServerStopAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/HttpsServerStopAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.chutneytesting.action.spi.validation.Validator.getErrorsFrom; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpAction.java b/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpAction.java index f4417810f..c1e114260 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http.domain; import com.chutneytesting.action.spi.ActionExecutionResult; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpClient.java b/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpClient.java index c98b4a208..b2b52c76e 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpClient.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http.domain; import org.springframework.http.HttpEntity; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpClientFactory.java b/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpClientFactory.java index 302f15736..d843321fa 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpClientFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/domain/HttpClientFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http.domain; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/function/WireMockFunction.java b/action-impl/src/main/java/com/chutneytesting/action/http/function/WireMockFunction.java index 00118fca5..892cb66d3 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/function/WireMockFunction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/function/WireMockFunction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http.function; import static java.util.stream.Collectors.toMap; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/jackson/WireMockServerSerializer.java b/action-impl/src/main/java/com/chutneytesting/action/http/jackson/WireMockServerSerializer.java index 95fc06c7e..886bbdca1 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/jackson/WireMockServerSerializer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/jackson/WireMockServerSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http.jackson; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/action-impl/src/main/java/com/chutneytesting/action/http/jackson/WiremockModule.java b/action-impl/src/main/java/com/chutneytesting/action/http/jackson/WiremockModule.java index 5c87d2b82..f35accd0b 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/http/jackson/WiremockModule.java +++ b/action-impl/src/main/java/com/chutneytesting/action/http/jackson/WiremockModule.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http.jackson; import com.fasterxml.jackson.databind.module.SimpleModule; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaActionParameter.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaActionParameter.java index e078b2a29..674af1b1e 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaActionParameter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaActionParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; public class JakartaActionParameter { diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaBrokerStartAction.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaBrokerStartAction.java index eb58fcfa4..84b5830d2 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaBrokerStartAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaBrokerStartAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; import com.chutneytesting.action.spi.Action; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaBrokerStopAction.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaBrokerStopAction.java index a622270f1..dfcb62d31 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaBrokerStopAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaBrokerStopAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; import static com.chutneytesting.action.spi.validation.Validator.getErrorsFrom; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaCleanQueueAction.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaCleanQueueAction.java index 904b31466..4a9bca5c6 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaCleanQueueAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaCleanQueueAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; import static com.chutneytesting.action.jakarta.JakartaActionParameter.DESTINATION; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaConnectionFactory.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaConnectionFactory.java index 1946a7412..3a531d715 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaConnectionFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaConnectionFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; import static com.chutneytesting.tools.ThrowingFunction.toUnchecked; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaListenerAction.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaListenerAction.java index 456235359..c38b6ba7e 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaListenerAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaListenerAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; import static com.chutneytesting.action.jakarta.JakartaActionParameter.DESTINATION; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaSenderAction.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaSenderAction.java index 6a23825ac..0f281ab01 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaSenderAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/JakartaSenderAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notBlankStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/UncheckedJakartaException.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/UncheckedJakartaException.java index 5bd3c79dc..43ca78dd2 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/UncheckedJakartaException.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/UncheckedJakartaException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; @SuppressWarnings("serial") diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/Consumer.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/Consumer.java index b1662c017..697a15216 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/Consumer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/Consumer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer; import jakarta.jms.JMSException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/ConsumerFactory.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/ConsumerFactory.java index caff9ef4a..07106a95c 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/ConsumerFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/ConsumerFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer; import static com.chutneytesting.action.spi.time.Duration.parseToMs; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/SelectedMessageConsumer.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/SelectedMessageConsumer.java index f76bb32d2..2529cfb50 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/SelectedMessageConsumer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/SelectedMessageConsumer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer; import com.chutneytesting.action.jakarta.consumer.bodySelector.BodySelector; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/SimpleMessageConsumer.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/SimpleMessageConsumer.java index a5338d5a3..42b611f30 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/SimpleMessageConsumer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/SimpleMessageConsumer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer; import jakarta.jms.JMSException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelector.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelector.java index 3e9e64141..6c26f4b96 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelector.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelector.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer.bodySelector; import jakarta.jms.Message; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorFactory.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorFactory.java index 808087260..b01ae095a 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer.bodySelector; import java.util.Arrays; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorParser.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorParser.java index 00165f914..f239dd739 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorParser.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer.bodySelector; import java.util.Optional; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/TextMessageBodySelector.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/TextMessageBodySelector.java index 962e5bb8f..84a676e02 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/TextMessageBodySelector.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/TextMessageBodySelector.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer.bodySelector; import jakarta.jms.JMSException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/XpathBodySelectorParser.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/XpathBodySelectorParser.java index f29865859..59eb0d7c5 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/XpathBodySelectorParser.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/consumer/bodySelector/XpathBodySelectorParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer.bodySelector; import com.chutneytesting.action.common.XmlUtils; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/domain/XmlContent.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/domain/XmlContent.java index f344a73f5..22db13544 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/domain/XmlContent.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/domain/XmlContent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.domain; import com.google.common.base.Ascii; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/jackson/ActiveMQModule.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/jackson/ActiveMQModule.java index 67c7902be..3170bd095 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/jackson/ActiveMQModule.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/jackson/ActiveMQModule.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.jackson; import com.fasterxml.jackson.databind.module.SimpleModule; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jakarta/jackson/ActiveMQServerSerializer.java b/action-impl/src/main/java/com/chutneytesting/action/jakarta/jackson/ActiveMQServerSerializer.java index d15a9ca63..9f0fdd3e0 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jakarta/jackson/ActiveMQServerSerializer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jakarta/jackson/ActiveMQServerSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.jackson; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsActionParameter.java b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsActionParameter.java index 5e8502a7b..d0e6bda9a 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsActionParameter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsActionParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; public class JmsActionParameter { diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsBrokerStartAction.java b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsBrokerStartAction.java index b7f95f8cf..d2c983188 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsBrokerStartAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsBrokerStartAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import com.chutneytesting.action.spi.FinallyAction; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsBrokerStopAction.java b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsBrokerStopAction.java index 8cfb9be93..0c2b095e4 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsBrokerStopAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsBrokerStopAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import static com.chutneytesting.action.spi.validation.Validator.getErrorsFrom; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsCleanQueueAction.java b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsCleanQueueAction.java index b410d6f81..c56cdac9a 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsCleanQueueAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsCleanQueueAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import static com.chutneytesting.action.jms.JmsActionParameter.DESTINATION; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsConnectionFactory.java b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsConnectionFactory.java index 8e31beff5..d3a8da8f2 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsConnectionFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsConnectionFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import static com.chutneytesting.tools.ThrowingFunction.toUnchecked; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsListenerAction.java b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsListenerAction.java index eaf2bd252..2b6b2c0d3 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsListenerAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsListenerAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import static com.chutneytesting.action.jms.JmsActionParameter.DESTINATION; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsSenderAction.java b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsSenderAction.java index 6513946f6..59b063e92 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/JmsSenderAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/JmsSenderAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notBlankStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/UncheckedJmsException.java b/action-impl/src/main/java/com/chutneytesting/action/jms/UncheckedJmsException.java index 52ded826d..816945059 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/UncheckedJmsException.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/UncheckedJmsException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; @SuppressWarnings("serial") diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/Consumer.java b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/Consumer.java index 10bc26ac0..eca8fab3e 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/Consumer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/Consumer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer; import javax.jms.JMSException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/ConsumerFactory.java b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/ConsumerFactory.java index 0333042e3..5736f703a 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/ConsumerFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/ConsumerFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer; import static com.chutneytesting.action.spi.time.Duration.parseToMs; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/SelectedMessageConsumer.java b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/SelectedMessageConsumer.java index 7110616e6..8c72e181d 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/SelectedMessageConsumer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/SelectedMessageConsumer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer; import com.chutneytesting.action.jms.consumer.bodySelector.BodySelector; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/SimpleMessageConsumer.java b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/SimpleMessageConsumer.java index 66f7fbfde..156b88b12 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/SimpleMessageConsumer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/SimpleMessageConsumer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer; import javax.jms.JMSException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelector.java b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelector.java index 870c3fcb1..9752883f0 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelector.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelector.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer.bodySelector; import javax.jms.Message; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorFactory.java b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorFactory.java index 0e5ac2d98..b2c7c2a7b 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer.bodySelector; import java.util.Arrays; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorParser.java b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorParser.java index b6941fb60..c2685b5f6 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorParser.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer.bodySelector; import java.util.Optional; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/TextMessageBodySelector.java b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/TextMessageBodySelector.java index 6640dbbc3..85f2972cb 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/TextMessageBodySelector.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/TextMessageBodySelector.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer.bodySelector; import javax.jms.JMSException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/XpathBodySelectorParser.java b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/XpathBodySelectorParser.java index 77050de6d..e774e196f 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/XpathBodySelectorParser.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/consumer/bodySelector/XpathBodySelectorParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer.bodySelector; import com.chutneytesting.action.common.XmlUtils; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/domain/XmlContent.java b/action-impl/src/main/java/com/chutneytesting/action/jms/domain/XmlContent.java index afcb939c0..2b8791637 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/domain/XmlContent.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/domain/XmlContent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.domain; import com.google.common.base.Ascii; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/jackson/BrokerMQModule.java b/action-impl/src/main/java/com/chutneytesting/action/jms/jackson/BrokerMQModule.java index 2a5e369bd..e1e5b43e9 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/jackson/BrokerMQModule.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/jackson/BrokerMQModule.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.jackson; import com.fasterxml.jackson.databind.module.SimpleModule; diff --git a/action-impl/src/main/java/com/chutneytesting/action/jms/jackson/BrokerServiceSerializer.java b/action-impl/src/main/java/com/chutneytesting/action/jms/jackson/BrokerServiceSerializer.java index 09ea0a6b0..905bc53f4 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/jms/jackson/BrokerServiceSerializer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/jms/jackson/BrokerServiceSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.jackson; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/action-impl/src/main/java/com/chutneytesting/action/kafka/ChutneyKafkaProducerFactory.java b/action-impl/src/main/java/com/chutneytesting/action/kafka/ChutneyKafkaProducerFactory.java index 2b4db25d9..e27de0901 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/kafka/ChutneyKafkaProducerFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/kafka/ChutneyKafkaProducerFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka; import static com.chutneytesting.action.kafka.KafkaClientFactoryHelper.resolveBootStrapServerConfig; diff --git a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBasicConsumeAction.java b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBasicConsumeAction.java index 04c68aebd..57983c7c0 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBasicConsumeAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBasicConsumeAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.durationValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBasicPublishAction.java b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBasicPublishAction.java index 0654860dc..46e86e671 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBasicPublishAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBasicPublishAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notBlankStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBrokerStartAction.java b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBrokerStartAction.java index 3088a0a74..cfd249d38 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBrokerStartAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBrokerStartAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka; import static java.util.Collections.emptyList; diff --git a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBrokerStopAction.java b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBrokerStopAction.java index 116df5dfb..afa7c326d 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBrokerStopAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaBrokerStopAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka; import static com.chutneytesting.action.spi.validation.Validator.getErrorsFrom; diff --git a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaClientFactoryHelper.java b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaClientFactoryHelper.java index 7b16b973b..79d3731f6 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaClientFactoryHelper.java +++ b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaClientFactoryHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka; import static java.util.Optional.of; diff --git a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaConsumerFactoryFactory.java b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaConsumerFactoryFactory.java index 233dafbbd..dab371f06 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaConsumerFactoryFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/kafka/KafkaConsumerFactoryFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka; import static com.chutneytesting.action.kafka.KafkaClientFactoryHelper.resolveBootStrapServerConfig; diff --git a/action-impl/src/main/java/com/chutneytesting/action/kafka/jackson/EmbeddedKafkaBrokerSerializer.java b/action-impl/src/main/java/com/chutneytesting/action/kafka/jackson/EmbeddedKafkaBrokerSerializer.java index b815f83f6..4f98139bc 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/kafka/jackson/EmbeddedKafkaBrokerSerializer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/kafka/jackson/EmbeddedKafkaBrokerSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka.jackson; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/action-impl/src/main/java/com/chutneytesting/action/kafka/jackson/KafkaModule.java b/action-impl/src/main/java/com/chutneytesting/action/kafka/jackson/KafkaModule.java index c00c3ff5e..c5c997481 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/kafka/jackson/KafkaModule.java +++ b/action-impl/src/main/java/com/chutneytesting/action/kafka/jackson/KafkaModule.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka.jackson; import com.fasterxml.jackson.databind.module.SimpleModule; diff --git a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerActionHelper.java b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerActionHelper.java index fef10ccb5..b2bdcb8bb 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerActionHelper.java +++ b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerActionHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.spi.validation.Validator.of; diff --git a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerCounterAction.java b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerCounterAction.java index c661e8e81..cabb987e2 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerCounterAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerCounterAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerActionHelper.doubleStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerFunctions.java b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerFunctions.java index af21cb7a3..86ec0f865 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerFunctions.java +++ b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerFunctions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static io.micrometer.core.instrument.Metrics.globalRegistry; diff --git a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerGaugeAction.java b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerGaugeAction.java index 155e3f7e9..488b28aad 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerGaugeAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerGaugeAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerActionHelper.toOutputs; diff --git a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerSummaryAction.java b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerSummaryAction.java index f03212e7a..08cd05a5b 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerSummaryAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerSummaryAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerActionHelper.doubleStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerAction.java b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerAction.java index a162fb57b..dbc052552 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerActionHelper.durationStringValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerStartAction.java b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerStartAction.java index 257a5df08..7ae437e06 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerStartAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerStartAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerActionHelper.toOutputs; diff --git a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerStopAction.java b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerStopAction.java index 7f426287d..51053bd73 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerStopAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/micrometer/MicrometerTimerStopAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerActionHelper.logTimerState; diff --git a/action-impl/src/main/java/com/chutneytesting/action/mongo/DefaultMongoDatabaseFactory.java b/action-impl/src/main/java/com/chutneytesting/action/mongo/DefaultMongoDatabaseFactory.java index 2a7f97b37..35fb2a3a3 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/mongo/DefaultMongoDatabaseFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/mongo/DefaultMongoDatabaseFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import com.chutneytesting.action.common.SecurityUtils; diff --git a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoActionValidatorsUtils.java b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoActionValidatorsUtils.java index 55cb4ff8e..f30a21e32 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoActionValidatorsUtils.java +++ b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoActionValidatorsUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.targetValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoCountAction.java b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoCountAction.java index 91cd946db..613556406 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoCountAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoCountAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import static com.chutneytesting.action.mongo.MongoActionValidatorsUtils.mongoTargetValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoDatabaseFactory.java b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoDatabaseFactory.java index 8922fe3c1..ceee45f00 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoDatabaseFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoDatabaseFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import com.chutneytesting.action.spi.injectable.Target; diff --git a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoDeleteAction.java b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoDeleteAction.java index 88f77378c..512e07c60 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoDeleteAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoDeleteAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import static com.chutneytesting.action.mongo.MongoActionValidatorsUtils.mongoTargetValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoFindAction.java b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoFindAction.java index f330f4d70..d80dcb8f4 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoFindAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoFindAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import static com.chutneytesting.action.mongo.MongoActionValidatorsUtils.mongoTargetValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoInsertAction.java b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoInsertAction.java index c363ce4bb..8085e4cf7 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoInsertAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoInsertAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import static com.chutneytesting.action.mongo.MongoActionValidatorsUtils.mongoTargetValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoListAction.java b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoListAction.java index 30f5e9c52..782711e29 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoListAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoListAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import static com.chutneytesting.action.mongo.MongoActionValidatorsUtils.mongoTargetValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoUpdateAction.java b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoUpdateAction.java index a1880a64b..c675419b5 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoUpdateAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/mongo/MongoUpdateAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import static com.chutneytesting.action.mongo.MongoActionValidatorsUtils.mongoTargetValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusAccountingAction.java b/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusAccountingAction.java index 7d8c94767..b86f5a7db 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusAccountingAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusAccountingAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.radius; import static com.chutneytesting.action.radius.RadiusHelper.createRadiusClient; diff --git a/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusAuthenticateAction.java b/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusAuthenticateAction.java index 2d3c82508..f9197b134 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusAuthenticateAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusAuthenticateAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.radius; import static com.chutneytesting.action.radius.RadiusHelper.createRadiusClient; diff --git a/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusHelper.java b/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusHelper.java index af3dbbf04..da7f7abf5 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusHelper.java +++ b/action-impl/src/main/java/com/chutneytesting/action/radius/RadiusHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.radius; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.targetPropertiesNotBlankValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumAction.java index a4050ea9b..ca4f6fb4b 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import com.chutneytesting.action.spi.Action; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumClickAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumClickAction.java index 0cf20bed1..85713b64d 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumClickAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumClickAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.BY; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumCloseAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumCloseAction.java index e81362234..415767650 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumCloseAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumCloseAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.WEBDRIVER; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumFindBehavior.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumFindBehavior.java index 8f178ecd7..f87306671 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumFindBehavior.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumFindBehavior.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetAction.java index 55ca41b2d..edaea3e62 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.SELECTOR; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetAttributeAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetAttributeAction.java index c4f91731b..29c6817a3 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetAttributeAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetAttributeAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.BY; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetTextAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetTextAction.java index 32809ed80..7d493c17f 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetTextAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumGetTextAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.BY; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumHoverThenClickAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumHoverThenClickAction.java index b2684b078..ab628d694 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumHoverThenClickAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumHoverThenClickAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.BY; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumQuitAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumQuitAction.java index 759f2de2b..7db052c12 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumQuitAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumQuitAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.WEBDRIVER; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumScreenShotAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumScreenShotAction.java index ead5a14c5..ea26f8d7a 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumScreenShotAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumScreenShotAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.WEBDRIVER; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumScrollToAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumScrollToAction.java index 6bec30ba4..daf2bf95a 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumScrollToAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumScrollToAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.BY; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSendKeysAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSendKeysAction.java index 3b302c529..20ca9a0be 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSendKeysAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSendKeysAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.BY; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSetBrowserSizeAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSetBrowserSizeAction.java index d4a43c181..bdd1566f7 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSetBrowserSizeAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSetBrowserSizeAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.WEBDRIVER; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSwitchToAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSwitchToAction.java index cb71bc674..a297f408d 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSwitchToAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumSwitchToAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.BY; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumWaitAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumWaitAction.java index a7a59afc2..9599253cb 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumWaitAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/SeleniumWaitAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.BY; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/AbstractSeleniumDriverInitAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/AbstractSeleniumDriverInitAction.java index 3c39479bc..db7fa0363 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/AbstractSeleniumDriverInitAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/AbstractSeleniumDriverInitAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium.driver; import static com.chutneytesting.action.spi.validation.Validator.getErrorsFrom; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumChromeDriverInitAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumChromeDriverInitAction.java index fe53195f6..9dbafb0f2 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumChromeDriverInitAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumChromeDriverInitAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium.driver; import static java.util.Collections.emptyList; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumFirefoxDriverInitAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumFirefoxDriverInitAction.java index d1fb20a14..4ad360287 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumFirefoxDriverInitAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumFirefoxDriverInitAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium.driver; import static java.util.Collections.emptyMap; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumGenericDriverInitAction.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumGenericDriverInitAction.java index f6d5c4b99..56db6de68 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumGenericDriverInitAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/driver/SeleniumGenericDriverInitAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium.driver; import com.chutneytesting.action.spi.injectable.FinallyActionRegistry; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/jackson/SeleniumModule.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/jackson/SeleniumModule.java index 7c7ace8b4..328085525 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/jackson/SeleniumModule.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/jackson/SeleniumModule.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium.jackson; import com.fasterxml.jackson.databind.module.SimpleModule; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/jackson/WebDriverSerializer.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/jackson/WebDriverSerializer.java index 9386118f3..379a3f474 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/jackson/WebDriverSerializer.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/jackson/WebDriverSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium.jackson; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/action-impl/src/main/java/com/chutneytesting/action/selenium/parameter/SeleniumActionActionParameter.java b/action-impl/src/main/java/com/chutneytesting/action/selenium/parameter/SeleniumActionActionParameter.java index 40f8052a9..08c8e2572 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/selenium/parameter/SeleniumActionActionParameter.java +++ b/action-impl/src/main/java/com/chutneytesting/action/selenium/parameter/SeleniumActionActionParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium.parameter; public class SeleniumActionActionParameter { diff --git a/action-impl/src/main/java/com/chutneytesting/action/sql/SqlAction.java b/action-impl/src/main/java/com/chutneytesting/action/sql/SqlAction.java index fd3fbc08e..5e7da8f39 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/sql/SqlAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/sql/SqlAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notEmptyListValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/sql/core/Cell.java b/action-impl/src/main/java/com/chutneytesting/action/sql/core/Cell.java index 432e61847..fab5e3e54 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/sql/core/Cell.java +++ b/action-impl/src/main/java/com/chutneytesting/action/sql/core/Cell.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; import java.util.Objects; diff --git a/action-impl/src/main/java/com/chutneytesting/action/sql/core/Column.java b/action-impl/src/main/java/com/chutneytesting/action/sql/core/Column.java index 1701beef6..90e938096 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/sql/core/Column.java +++ b/action-impl/src/main/java/com/chutneytesting/action/sql/core/Column.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; import java.util.Objects; diff --git a/action-impl/src/main/java/com/chutneytesting/action/sql/core/DefaultSqlClientFactory.java b/action-impl/src/main/java/com/chutneytesting/action/sql/core/DefaultSqlClientFactory.java index 3fae24f92..5ec863c03 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/sql/core/DefaultSqlClientFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/sql/core/DefaultSqlClientFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; import com.chutneytesting.action.spi.injectable.Target; diff --git a/action-impl/src/main/java/com/chutneytesting/action/sql/core/NonOptimizedQueryException.java b/action-impl/src/main/java/com/chutneytesting/action/sql/core/NonOptimizedQueryException.java index addf13162..1fcff7131 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/sql/core/NonOptimizedQueryException.java +++ b/action-impl/src/main/java/com/chutneytesting/action/sql/core/NonOptimizedQueryException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; public class NonOptimizedQueryException extends RuntimeException { diff --git a/action-impl/src/main/java/com/chutneytesting/action/sql/core/Records.java b/action-impl/src/main/java/com/chutneytesting/action/sql/core/Records.java index 362780970..fc67300c2 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/sql/core/Records.java +++ b/action-impl/src/main/java/com/chutneytesting/action/sql/core/Records.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; import static java.util.stream.Collectors.toList; diff --git a/action-impl/src/main/java/com/chutneytesting/action/sql/core/Row.java b/action-impl/src/main/java/com/chutneytesting/action/sql/core/Row.java index 2100a6d2c..6311a4f25 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/sql/core/Row.java +++ b/action-impl/src/main/java/com/chutneytesting/action/sql/core/Row.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; import static java.util.stream.Collectors.toMap; diff --git a/action-impl/src/main/java/com/chutneytesting/action/sql/core/Rows.java b/action-impl/src/main/java/com/chutneytesting/action/sql/core/Rows.java index d73d85d00..00007afa1 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/sql/core/Rows.java +++ b/action-impl/src/main/java/com/chutneytesting/action/sql/core/Rows.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; import static java.util.stream.Collectors.toList; diff --git a/action-impl/src/main/java/com/chutneytesting/action/sql/core/SqlClient.java b/action-impl/src/main/java/com/chutneytesting/action/sql/core/SqlClient.java index c8f6cffd5..f82509d99 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/sql/core/SqlClient.java +++ b/action-impl/src/main/java/com/chutneytesting/action/sql/core/SqlClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; import static com.chutneytesting.tools.ChutneyMemoryInfo.hasEnoughAvailableMemory; diff --git a/action-impl/src/main/java/com/chutneytesting/action/sql/core/SqlClientFactory.java b/action-impl/src/main/java/com/chutneytesting/action/sql/core/SqlClientFactory.java index cf22add49..22e6d6539 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/sql/core/SqlClientFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/sql/core/SqlClientFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/Connection.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/Connection.java index 9c6656b88..1131a8615 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/Connection.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/Connection.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/ScpDownloadAction.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/ScpDownloadAction.java index 25e3b60ba..0ccdc64b7 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/ScpDownloadAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/ScpDownloadAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.durationValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/ScpUploadAction.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/ScpUploadAction.java index 890d41e73..95b0ea16e 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/ScpUploadAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/ScpUploadAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.durationValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpDownloadAction.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpDownloadAction.java index 20dec393d..d042793f5 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpDownloadAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpDownloadAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.durationValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpFileInfoAction.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpFileInfoAction.java index 7ec61b903..d6dd76ebe 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpFileInfoAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpFileInfoAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.durationValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpListDirAction.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpListDirAction.java index a3add5375..43d2ca95d 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpListDirAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpListDirAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.durationValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpUploadAction.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpUploadAction.java index 5794ce444..79b583909 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpUploadAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/SftpUploadAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.durationValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/SshClientAction.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/SshClientAction.java index 5807f1f48..06d97e563 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/SshClientAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/SshClientAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static com.chutneytesting.action.spi.validation.ActionValidatorsUtils.notEmptyListValidation; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/SshClientFactory.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/SshClientFactory.java index f4d19dad7..f934550ff 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/SshClientFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/SshClientFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static java.util.Collections.singletonList; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/SshServerStartAction.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/SshServerStartAction.java index 4f014f115..045cf3268 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/SshServerStartAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/SshServerStartAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static java.util.Collections.emptyList; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/SshServerStopAction.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/SshServerStopAction.java index 83d8301bd..5e4bfb0d9 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/SshServerStopAction.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/SshServerStopAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import com.chutneytesting.action.spi.Action; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/scp/ScpClient.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/scp/ScpClient.java index fb1c68db4..83d90e27f 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/scp/ScpClient.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/scp/ScpClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.scp; import java.io.IOException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/scp/ScpClientImpl.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/scp/ScpClientImpl.java index f3d9b5765..9118e359a 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/scp/ScpClientImpl.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/scp/ScpClientImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.scp; import com.chutneytesting.action.spi.injectable.Target; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sftp/ChutneySftpClient.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sftp/ChutneySftpClient.java index f35be5249..f02635c87 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sftp/ChutneySftpClient.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sftp/ChutneySftpClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sftp; import java.io.IOException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sftp/SftpClientImpl.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sftp/SftpClientImpl.java index 8cd709336..60ce06d3c 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sftp/SftpClientImpl.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sftp/SftpClientImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sftp; import static java.time.LocalDateTime.ofInstant; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/ChutneyCommandFactory.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/ChutneyCommandFactory.java index 8c0bd4392..34c96bbda 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/ChutneyCommandFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/ChutneyCommandFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sshd; import java.io.IOException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/Command.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/Command.java index 82fc6eb88..627ae68bb 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/Command.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/Command.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sshd; import java.io.IOException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/NoShellFactory.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/NoShellFactory.java index 7b107ee9d..dba4e8bee 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/NoShellFactory.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/NoShellFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sshd; import java.io.IOException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/SshServerMock.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/SshServerMock.java index bf02db682..567164bba 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/SshServerMock.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshd/SshServerMock.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sshd; import static java.util.Collections.unmodifiableList; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/Command.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/Command.java index ae7d4b609..8185faf46 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/Command.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/Command.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sshj; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/CommandResult.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/CommandResult.java index 209dec97c..7871773a4 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/CommandResult.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/CommandResult.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sshj; import com.google.common.base.MoreObjects; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/Commands.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/Commands.java index b18b925ac..f2f46fa91 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/Commands.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/Commands.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sshj; import static java.util.Collections.emptyList; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/SshClient.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/SshClient.java index 41769bad7..3ea681da7 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/SshClient.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/SshClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sshj; import java.io.IOException; diff --git a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/SshJClient.java b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/SshJClient.java index b00c1d51e..538874258 100644 --- a/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/SshJClient.java +++ b/action-impl/src/main/java/com/chutneytesting/action/ssh/sshj/SshJClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.sshj; import static java.util.Collections.emptyList; diff --git a/action-impl/src/test/java/com/chutneytesting/action/TestActionsConfiguration.java b/action-impl/src/test/java/com/chutneytesting/action/TestActionsConfiguration.java index 75bf4a146..88b45a6ed 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/TestActionsConfiguration.java +++ b/action-impl/src/test/java/com/chutneytesting/action/TestActionsConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action; import static java.util.Optional.ofNullable; diff --git a/action-impl/src/test/java/com/chutneytesting/action/TestFinallyActionRegistry.java b/action-impl/src/test/java/com/chutneytesting/action/TestFinallyActionRegistry.java index b33e3ff8c..111689233 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/TestFinallyActionRegistry.java +++ b/action-impl/src/test/java/com/chutneytesting/action/TestFinallyActionRegistry.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action; import com.chutneytesting.action.spi.FinallyAction; diff --git a/action-impl/src/test/java/com/chutneytesting/action/TestLogger.java b/action-impl/src/test/java/com/chutneytesting/action/TestLogger.java index 0ac08571a..684a5f8f1 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/TestLogger.java +++ b/action-impl/src/test/java/com/chutneytesting/action/TestLogger.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/action-impl/src/test/java/com/chutneytesting/action/TestTarget.java b/action-impl/src/test/java/com/chutneytesting/action/TestTarget.java index 6cc645e69..9e8f757f8 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/TestTarget.java +++ b/action-impl/src/test/java/com/chutneytesting/action/TestTarget.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action; import static java.util.Optional.ofNullable; diff --git a/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpActionsTest.java b/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpActionsTest.java index 684b2e7f3..5c825bd65 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpActionsTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpActionsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpBasicConsumeActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpBasicConsumeActionTest.java index b71f0436e..0555f24ea 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpBasicConsumeActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpBasicConsumeActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.amqp.AmqpActionsTest.mockConnectionFactory; diff --git a/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpBasicGetActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpBasicGetActionTest.java index 0ae203728..681fb0cbc 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpBasicGetActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/amqp/AmqpBasicGetActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static com.chutneytesting.action.amqp.AmqpActionsTest.mockConnectionFactory; diff --git a/action-impl/src/test/java/com/chutneytesting/action/amqp/ConnectionFactoryFactoryTest.java b/action-impl/src/test/java/com/chutneytesting/action/amqp/ConnectionFactoryFactoryTest.java index 200a8eeab..c1f862354 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/amqp/ConnectionFactoryFactoryTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/amqp/ConnectionFactoryFactoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/amqp/QpidServerStartActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/amqp/QpidServerStartActionTest.java index 540d4d17b..f1e0fdfae 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/amqp/QpidServerStartActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/amqp/QpidServerStartActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/amqp/consumer/ConsumerSupervisorTest.java b/action-impl/src/test/java/com/chutneytesting/action/amqp/consumer/ConsumerSupervisorTest.java index a8a49c2ae..2b3386e73 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/amqp/consumer/ConsumerSupervisorTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/amqp/consumer/ConsumerSupervisorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.amqp.consumer; diff --git a/action-impl/src/test/java/com/chutneytesting/action/assertion/AssertActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/assertion/AssertActionTest.java index 593e5f13d..52cecc527 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/assertion/AssertActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/assertion/AssertActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Failure; diff --git a/action-impl/src/test/java/com/chutneytesting/action/assertion/CompareActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/assertion/CompareActionTest.java index 614cca174..6cde71acb 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/assertion/CompareActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/assertion/CompareActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonAssertActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonAssertActionTest.java index 26a143975..047de057d 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonAssertActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonAssertActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Failure; diff --git a/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonCompareActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonCompareActionTest.java index c74a06681..649f7ed20 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonCompareActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonCompareActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Failure; diff --git a/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonValidationActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonValidationActionTest.java index 504b91811..000f20b57 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonValidationActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/assertion/JsonValidationActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/assertion/XmlAssertActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/assertion/XmlAssertActionTest.java index f99a0f07a..b69cafabe 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/assertion/XmlAssertActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/assertion/XmlAssertActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Failure; diff --git a/action-impl/src/test/java/com/chutneytesting/action/assertion/XsdValidationActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/assertion/XsdValidationActionTest.java index 4bb8ea1f4..5e68896e0 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/assertion/XsdValidationActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/assertion/XsdValidationActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.assertion; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/common/SecurityUtilsTest.java b/action-impl/src/test/java/com/chutneytesting/action/common/SecurityUtilsTest.java index f018d2ad1..b3c0fb09c 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/common/SecurityUtilsTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/common/SecurityUtilsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.common; import static com.chutneytesting.action.common.SecurityUtils.configureKeyStore; diff --git a/action-impl/src/test/java/com/chutneytesting/action/context/ContextPutActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/context/ContextPutActionTest.java index d3c85e83a..ae78bfef8 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/context/ContextPutActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/context/ContextPutActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.context; import static org.mockito.ArgumentMatchers.any; diff --git a/action-impl/src/test/java/com/chutneytesting/action/context/DebugActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/context/DebugActionTest.java index 66c576859..2c9498a79 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/context/DebugActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/context/DebugActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.context; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/context/FinalActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/context/FinalActionTest.java index 0b211b232..48304a741 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/context/FinalActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/context/FinalActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.context; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/function/DateTimeFunctionsTest.java b/action-impl/src/test/java/com/chutneytesting/action/function/DateTimeFunctionsTest.java index c459c3dd2..226e6c398 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/function/DateTimeFunctionsTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/function/DateTimeFunctionsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; diff --git a/action-impl/src/test/java/com/chutneytesting/action/function/GenerateFunctionTest.java b/action-impl/src/test/java/com/chutneytesting/action/function/GenerateFunctionTest.java index 02073354b..77e7d2d0e 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/function/GenerateFunctionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/function/GenerateFunctionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import static com.chutneytesting.action.function.Generate.DEFAULT_FILE_SIZE; diff --git a/action-impl/src/test/java/com/chutneytesting/action/function/JsonFunctionsTest.java b/action-impl/src/test/java/com/chutneytesting/action/function/JsonFunctionsTest.java index 85b4d16ce..143e75d3f 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/function/JsonFunctionsTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/function/JsonFunctionsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import static java.util.Collections.emptyMap; diff --git a/action-impl/src/test/java/com/chutneytesting/action/function/NetworkFunctionsTest.java b/action-impl/src/test/java/com/chutneytesting/action/function/NetworkFunctionsTest.java index f5f1d5959..81337a53f 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/function/NetworkFunctionsTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/function/NetworkFunctionsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/function/StringFunctionTest.java b/action-impl/src/test/java/com/chutneytesting/action/function/StringFunctionTest.java index 6b6d31f1e..763d79423 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/function/StringFunctionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/function/StringFunctionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import org.assertj.core.api.Assertions; diff --git a/action-impl/src/test/java/com/chutneytesting/action/function/XPathFunctionTest.java b/action-impl/src/test/java/com/chutneytesting/action/function/XPathFunctionTest.java index ad88cc256..87061e005 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/function/XPathFunctionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/function/XPathFunctionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.function; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/groovy/GroovyActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/groovy/GroovyActionTest.java index b029bae0a..0c4f9407b 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/groovy/GroovyActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/groovy/GroovyActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.groovy; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/http/HttpActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/http/HttpActionTest.java index c60072929..930f3181a 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/http/HttpActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/http/HttpActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; diff --git a/action-impl/src/test/java/com/chutneytesting/action/http/HttpsListenerActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/http/HttpsListenerActionTest.java index 8ac2c174f..f7f9846c3 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/http/HttpsListenerActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/http/HttpsListenerActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Failure; diff --git a/action-impl/src/test/java/com/chutneytesting/action/http/HttpsServerStartActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/http/HttpsServerStartActionTest.java index 1922496b8..8ed13cbbd 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/http/HttpsServerStartActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/http/HttpsServerStartActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.http; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Success; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/ActiveMQTestSupport.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/ActiveMQTestSupport.java index e8b2574c0..eb429f877 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/ActiveMQTestSupport.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/ActiveMQTestSupport.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaCleanQueueActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaCleanQueueActionTest.java index 9599b0e33..d018fd943 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaCleanQueueActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaCleanQueueActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; import static org.mockito.ArgumentMatchers.any; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaListenerActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaListenerActionTest.java index 9e9efbc24..57f4ebd52 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaListenerActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaListenerActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaSenderActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaSenderActionTest.java index 23df590f5..21a4f3103 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaSenderActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaSenderActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; import static java.util.Collections.emptyMap; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaSenderActionWithActiveMqIntegrationTest.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaSenderActionWithActiveMqIntegrationTest.java index 5fa893cd6..ae8a5f4b5 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaSenderActionWithActiveMqIntegrationTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/JakartaSenderActionWithActiveMqIntegrationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Success; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/ConsumerFactoryTest.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/ConsumerFactoryTest.java index d6976b328..dcf383dc3 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/ConsumerFactoryTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/ConsumerFactoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/SelectedMessageConsumerTest.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/SelectedMessageConsumerTest.java index 9e643efef..be4cf70de 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/SelectedMessageConsumerTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/SelectedMessageConsumerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/SimpleMessageConsumerTest.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/SimpleMessageConsumerTest.java index e20100cdc..2d68e4fe5 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/SimpleMessageConsumerTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/SimpleMessageConsumerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorFactoryTest.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorFactoryTest.java index 8dce1ba4c..b43ba179a 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorFactoryTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/bodySelector/BodySelectorFactoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer.bodySelector; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/bodySelector/XpathBodySelectorParserTest.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/bodySelector/XpathBodySelectorParserTest.java index d0524a2be..4aa606698 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/bodySelector/XpathBodySelectorParserTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/consumer/bodySelector/XpathBodySelectorParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.consumer.bodySelector; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jakarta/domain/XmlContentTest.java b/action-impl/src/test/java/com/chutneytesting/action/jakarta/domain/XmlContentTest.java index 9f10e69ca..195ffd970 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jakarta/domain/XmlContentTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jakarta/domain/XmlContentTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jakarta.domain; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/ActiveMQTestSupport.java b/action-impl/src/test/java/com/chutneytesting/action/jms/ActiveMQTestSupport.java index 18da5a8e7..30f201992 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/ActiveMQTestSupport.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/ActiveMQTestSupport.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import java.security.KeyStore; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/JmsCleanQueueActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/jms/JmsCleanQueueActionTest.java index 377fa9933..d80202399 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/JmsCleanQueueActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/JmsCleanQueueActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import static org.mockito.ArgumentMatchers.any; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/JmsListenerActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/jms/JmsListenerActionTest.java index bfbae8cb9..368946307 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/JmsListenerActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/JmsListenerActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/JmsSenderActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/jms/JmsSenderActionTest.java index 920957ffb..abf92d015 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/JmsSenderActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/JmsSenderActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import static java.util.Collections.emptyMap; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/JmsSenderActionWithActiveMqIntegrationTest.java b/action-impl/src/test/java/com/chutneytesting/action/jms/JmsSenderActionWithActiveMqIntegrationTest.java index 6c2febf06..4131041be 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/JmsSenderActionWithActiveMqIntegrationTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/JmsSenderActionWithActiveMqIntegrationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Success; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/ConsumerFactoryTest.java b/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/ConsumerFactoryTest.java index 730e9fd13..55ea55cee 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/ConsumerFactoryTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/ConsumerFactoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/SelectedMessageConsumerTest.java b/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/SelectedMessageConsumerTest.java index 7ad3d0b5a..66dc55af1 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/SelectedMessageConsumerTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/SelectedMessageConsumerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/SimpleMessageConsumerTest.java b/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/SimpleMessageConsumerTest.java index 1331c4905..47a903315 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/SimpleMessageConsumerTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/SimpleMessageConsumerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorFactoryTest.java b/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorFactoryTest.java index 1ac3de6aa..8d28a5d35 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorFactoryTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/bodySelector/BodySelectorFactoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer.bodySelector; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/bodySelector/XpathBodySelectorParserTest.java b/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/bodySelector/XpathBodySelectorParserTest.java index f814f7900..bba9eb398 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/bodySelector/XpathBodySelectorParserTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/consumer/bodySelector/XpathBodySelectorParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.consumer.bodySelector; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/jms/domain/XmlContentTest.java b/action-impl/src/test/java/com/chutneytesting/action/jms/domain/XmlContentTest.java index 798824266..90dfed800 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/jms/domain/XmlContentTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/jms/domain/XmlContentTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.jms.domain; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaBasicConsumeActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaBasicConsumeActionTest.java index 500e954e5..ecdc0cbf8 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaBasicConsumeActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaBasicConsumeActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka; import static com.chutneytesting.action.kafka.KafkaBasicConsumeAction.OUTPUT_BODY; diff --git a/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaBasicPublishActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaBasicPublishActionTest.java index 3564ca0c0..ff3a8095e 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaBasicPublishActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaBasicPublishActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Failure; diff --git a/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaConsumerFactoryFactoryTest.java b/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaConsumerFactoryFactoryTest.java index 231d66a09..bf48b4795 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaConsumerFactoryFactoryTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/kafka/KafkaConsumerFactoryFactoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.kafka; import static java.util.Collections.emptyMap; diff --git a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerActionTestHelper.java b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerActionTestHelper.java index 29ecb2f31..9dd288268 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerActionTestHelper.java +++ b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerActionTestHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Success; diff --git a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerCounterActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerCounterActionTest.java index cb9449c7c..b78628a37 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerCounterActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerCounterActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerCounterAction.OUTPUT_COUNTER; diff --git a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerFunctionsTest.java b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerFunctionsTest.java index fb12eadba..0379b4f4d 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerFunctionsTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerFunctionsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static io.micrometer.core.instrument.Metrics.globalRegistry; diff --git a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerGaugeActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerGaugeActionTest.java index bd57aea81..39f42e5e9 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerGaugeActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerGaugeActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerGaugeAction.OUTPUT_GAUGE; diff --git a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerSummaryActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerSummaryActionTest.java index 6f70f5f83..9813d3f63 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerSummaryActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerSummaryActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerSummaryAction.OUTPUT_SUMMARY; diff --git a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerActionTest.java index a3e4bc847..7133d0546 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerActionTestHelper.assertSuccessAndOutputObjectType; diff --git a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerStartActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerStartActionTest.java index 897cbb79f..120f10265 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerStartActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerStartActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerActionTestHelper.assertSuccessAndOutputObjectType; diff --git a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerStopActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerStopActionTest.java index 57eeba7c2..0581dbfb9 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerStopActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/micrometer/MicrometerTimerStopActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.micrometer; import static com.chutneytesting.action.micrometer.MicrometerActionTestHelper.assertSuccessAndOutputObjectType; diff --git a/action-impl/src/test/java/com/chutneytesting/action/mongo/DefaultMongoDatabaseFactoryTest.java b/action-impl/src/test/java/com/chutneytesting/action/mongo/DefaultMongoDatabaseFactoryTest.java index cd10a70f0..5d97fa54e 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/mongo/DefaultMongoDatabaseFactoryTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/mongo/DefaultMongoDatabaseFactoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/mongo/MongoActionsTest.java b/action-impl/src/test/java/com/chutneytesting/action/mongo/MongoActionsTest.java index a56abe974..7f73bebd6 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/mongo/MongoActionsTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/mongo/MongoActionsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.mongo; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/radius/RadiusActionsTest.java b/action-impl/src/test/java/com/chutneytesting/action/radius/RadiusActionsTest.java index 7d5a1cf47..f9cbc161d 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/radius/RadiusActionsTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/radius/RadiusActionsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.radius; diff --git a/action-impl/src/test/java/com/chutneytesting/action/selenium/SeleniumTest.java b/action-impl/src/test/java/com/chutneytesting/action/selenium/SeleniumTest.java index 63a0aadf4..f5912a5f6 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/selenium/SeleniumTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/selenium/SeleniumTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium; import static com.chutneytesting.action.selenium.parameter.SeleniumActionActionParameter.WEBDRIVER; diff --git a/action-impl/src/test/java/com/chutneytesting/action/selenium/driver/SeleniumDriverInitActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/selenium/driver/SeleniumDriverInitActionTest.java index f926ca570..2f960d0b6 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/selenium/driver/SeleniumDriverInitActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/selenium/driver/SeleniumDriverInitActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.selenium.driver; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/sql/SqlActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/sql/SqlActionTest.java index 356adc904..a3507c0ee 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/sql/SqlActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/sql/SqlActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/sql/core/RecordsTest.java b/action-impl/src/test/java/com/chutneytesting/action/sql/core/RecordsTest.java index 2b696deb6..c147890e6 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/sql/core/RecordsTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/sql/core/RecordsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; import static java.util.Arrays.asList; diff --git a/action-impl/src/test/java/com/chutneytesting/action/sql/core/SqlClientTest.java b/action-impl/src/test/java/com/chutneytesting/action/sql/core/SqlClientTest.java index 85ceb0ff2..9a7b42049 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/sql/core/SqlClientTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/sql/core/SqlClientTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.sql.core; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-impl/src/test/java/com/chutneytesting/action/ssh/ScpActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/ssh/ScpActionTest.java index ef8204697..8de4cc999 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/ssh/ScpActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/ssh/ScpActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Success; diff --git a/action-impl/src/test/java/com/chutneytesting/action/ssh/SftpActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/ssh/SftpActionTest.java index 866e28c75..5c2ac7ca7 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/ssh/SftpActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/ssh/SftpActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Success; diff --git a/action-impl/src/test/java/com/chutneytesting/action/ssh/SshClientActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/ssh/SshClientActionTest.java index be940f7bb..3fc351726 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/ssh/SshClientActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/ssh/SshClientActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static com.chutneytesting.action.spi.ActionExecutionResult.Status.Failure; diff --git a/action-impl/src/test/java/com/chutneytesting/action/ssh/SshServerActionTest.java b/action-impl/src/test/java/com/chutneytesting/action/ssh/SshServerActionTest.java index 97e1754e5..6c448b11f 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/ssh/SshServerActionTest.java +++ b/action-impl/src/test/java/com/chutneytesting/action/ssh/SshServerActionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh; import static java.util.Collections.singletonList; diff --git a/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/FakeServerSsh.java b/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/FakeServerSsh.java index 6690e4593..bf3340732 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/FakeServerSsh.java +++ b/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/FakeServerSsh.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.fakes; import static java.util.Collections.singletonList; diff --git a/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/FakeTargetInfo.java b/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/FakeTargetInfo.java index 97142d23d..fb5496406 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/FakeTargetInfo.java +++ b/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/FakeTargetInfo.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.fakes; import static java.util.Optional.ofNullable; diff --git a/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/HardcodedTarget.java b/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/HardcodedTarget.java index 266e59d3f..661eee776 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/HardcodedTarget.java +++ b/action-impl/src/test/java/com/chutneytesting/action/ssh/fakes/HardcodedTarget.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.ssh.fakes; import static java.util.Collections.unmodifiableMap; diff --git a/action-impl/src/test/java/com/chutneytesting/action/tools/WaitUtils.java b/action-impl/src/test/java/com/chutneytesting/action/tools/WaitUtils.java index 187e222df..16bcf3c03 100644 --- a/action-impl/src/test/java/com/chutneytesting/action/tools/WaitUtils.java +++ b/action-impl/src/test/java/com/chutneytesting/action/tools/WaitUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.tools; import java.util.concurrent.TimeUnit; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/Action.java b/action-spi/src/main/java/com/chutneytesting/action/spi/Action.java index 22ec0551d..60dcdc71b 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/Action.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/Action.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi; import java.util.Collections; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/ActionExecutionResult.java b/action-spi/src/main/java/com/chutneytesting/action/spi/ActionExecutionResult.java index 068d943f3..46283468c 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/ActionExecutionResult.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/ActionExecutionResult.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi; import java.util.Collections; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/FinallyAction.java b/action-spi/src/main/java/com/chutneytesting/action/spi/FinallyAction.java index 0dfcfd9e0..5d9f3d2d4 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/FinallyAction.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/FinallyAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi; import static java.util.Collections.unmodifiableMap; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/SpelFunction.java b/action-spi/src/main/java/com/chutneytesting/action/spi/SpelFunction.java index 553047938..fc4b174c7 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/SpelFunction.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/SpelFunction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi; import java.lang.annotation.ElementType; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/ActionsConfiguration.java b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/ActionsConfiguration.java index 0fa51c52d..306ef6707 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/ActionsConfiguration.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/ActionsConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.injectable; public interface ActionsConfiguration { diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/FinallyActionRegistry.java b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/FinallyActionRegistry.java index 9593797bd..09667f216 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/FinallyActionRegistry.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/FinallyActionRegistry.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.injectable; import com.chutneytesting.action.spi.FinallyAction; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Input.java b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Input.java index d7e420c47..ed9cbe241 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Input.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Input.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.injectable; import com.chutneytesting.action.spi.Action; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Logger.java b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Logger.java index dcab0f5a7..80612009f 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Logger.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Logger.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.injectable; public interface Logger { diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/StepDefinitionSpi.java b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/StepDefinitionSpi.java index ad02f2a49..19fe31477 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/StepDefinitionSpi.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/StepDefinitionSpi.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.injectable; import java.util.Map; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Target.java b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Target.java index 45937a84d..df5792ff9 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Target.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/injectable/Target.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.injectable; import java.net.URI; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/time/Duration.java b/action-spi/src/main/java/com/chutneytesting/action/spi/time/Duration.java index 19c3f30fd..87dfa57cc 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/time/Duration.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/time/Duration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.time; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationParser.java b/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationParser.java index 1cd02f69d..c9be30796 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationParser.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.time; import java.util.Optional; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationUnit.java b/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationUnit.java index d881f5014..8ee67b05e 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationUnit.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationUnit.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.time; import java.util.Arrays; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationWithUnitParser.java b/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationWithUnitParser.java index 04ca127ab..91c881e9b 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationWithUnitParser.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/time/DurationWithUnitParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.time; import java.util.Optional; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/time/UntilHourDurationParser.java b/action-spi/src/main/java/com/chutneytesting/action/spi/time/UntilHourDurationParser.java index d1a73f67e..60e22cc54 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/time/UntilHourDurationParser.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/time/UntilHourDurationParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.time; import java.time.Clock; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/validation/ActionValidatorsUtils.java b/action-spi/src/main/java/com/chutneytesting/action/spi/validation/ActionValidatorsUtils.java index 6297107bf..9197c76d1 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/validation/ActionValidatorsUtils.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/validation/ActionValidatorsUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.validation; import static com.chutneytesting.action.spi.validation.Validator.of; diff --git a/action-spi/src/main/java/com/chutneytesting/action/spi/validation/Validator.java b/action-spi/src/main/java/com/chutneytesting/action/spi/validation/Validator.java index b526c9917..769e00f1c 100644 --- a/action-spi/src/main/java/com/chutneytesting/action/spi/validation/Validator.java +++ b/action-spi/src/main/java/com/chutneytesting/action/spi/validation/Validator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.validation; import java.util.ArrayList; diff --git a/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationTest.java b/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationTest.java index 59455b150..7c7e679fa 100644 --- a/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationTest.java +++ b/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.time; import static org.assertj.core.api.Assertions.assertThatExceptionOfType; diff --git a/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationUnitTest.java b/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationUnitTest.java index 4e13d1d29..c74663e49 100644 --- a/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationUnitTest.java +++ b/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationUnitTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.time; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationWithUnitParserTest.java b/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationWithUnitParserTest.java index e1ff59102..6f118303c 100644 --- a/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationWithUnitParserTest.java +++ b/action-spi/src/test/java/com/chutneytesting/action/spi/time/DurationWithUnitParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.time; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-spi/src/test/java/com/chutneytesting/action/spi/time/UntilHourDurationParserTest.java b/action-spi/src/test/java/com/chutneytesting/action/spi/time/UntilHourDurationParserTest.java index 5d1c634f8..4a3988554 100644 --- a/action-spi/src/test/java/com/chutneytesting/action/spi/time/UntilHourDurationParserTest.java +++ b/action-spi/src/test/java/com/chutneytesting/action/spi/time/UntilHourDurationParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.time; import static org.assertj.core.api.Assertions.assertThat; diff --git a/action-spi/src/test/java/com/chutneytesting/action/spi/validation/ValidatorTest.java b/action-spi/src/test/java/com/chutneytesting/action/spi/validation/ValidatorTest.java index 62f3b8333..342397ef3 100644 --- a/action-spi/src/test/java/com/chutneytesting/action/spi/validation/ValidatorTest.java +++ b/action-spi/src/test/java/com/chutneytesting/action/spi/validation/ValidatorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.spi.validation; import static java.util.Collections.emptyList; diff --git a/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/AfterAll.java b/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/AfterAll.java index b6a6a6542..5f997512a 100644 --- a/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/AfterAll.java +++ b/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/AfterAll.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.api; import java.lang.annotation.ElementType; diff --git a/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/BeforeAll.java b/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/BeforeAll.java index ef0e502c3..1f18efec3 100644 --- a/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/BeforeAll.java +++ b/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/BeforeAll.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.api; import java.lang.annotation.ElementType; diff --git a/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/Chutney.java b/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/Chutney.java index 53ba8cfd9..8d1576ab5 100644 --- a/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/Chutney.java +++ b/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/Chutney.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.api; import java.lang.annotation.ElementType; diff --git a/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/EnvironmentService.java b/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/EnvironmentService.java index 06f41bf0b..05d67717b 100644 --- a/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/EnvironmentService.java +++ b/chutney-junit/api/src/main/java/com/chutneytesting/junit/api/EnvironmentService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.api; import com.chutneytesting.environment.api.dto.EnvironmentDto; diff --git a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyEngineDescriptor.java b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyEngineDescriptor.java index 3c1d4b963..84be9e520 100644 --- a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyEngineDescriptor.java +++ b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyEngineDescriptor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.engine; import static java.util.Optional.ofNullable; diff --git a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyEngineExecutionContext.java b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyEngineExecutionContext.java index 3cc85c901..e1ba53af9 100644 --- a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyEngineExecutionContext.java +++ b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyEngineExecutionContext.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.engine; import com.chutneytesting.ExecutionConfiguration; diff --git a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyTestEngine.java b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyTestEngine.java index 05ff8357e..ae94f0939 100644 --- a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyTestEngine.java +++ b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ChutneyTestEngine.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.engine; import com.chutneytesting.environment.EnvironmentConfiguration; diff --git a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/DiscoverySelectorResolver.java b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/DiscoverySelectorResolver.java index 821571d70..f91d6f516 100644 --- a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/DiscoverySelectorResolver.java +++ b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/DiscoverySelectorResolver.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.engine; import static java.util.stream.Collectors.toList; diff --git a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/EnvironmentServiceImpl.java b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/EnvironmentServiceImpl.java index bb811de81..ba3984388 100644 --- a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/EnvironmentServiceImpl.java +++ b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/EnvironmentServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.engine; import com.chutneytesting.environment.api.EnvironmentApi; diff --git a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/FeatureDescriptor.java b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/FeatureDescriptor.java index 9446e0174..e9c84a5dd 100644 --- a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/FeatureDescriptor.java +++ b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/FeatureDescriptor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.engine; import com.chutneytesting.engine.api.execution.StatusDto; diff --git a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ScenarioDescriptor.java b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ScenarioDescriptor.java index 651d4762c..6ce89277d 100644 --- a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ScenarioDescriptor.java +++ b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/ScenarioDescriptor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.engine; import static com.fasterxml.jackson.databind.SerializationFeature.FAIL_ON_EMPTY_BEANS; diff --git a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/SystemEnvConfigurationParameters.java b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/SystemEnvConfigurationParameters.java index 491095f72..14e4c3dd9 100644 --- a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/SystemEnvConfigurationParameters.java +++ b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/SystemEnvConfigurationParameters.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.engine; import static java.util.Optional.ofNullable; diff --git a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/jackson/ChutneyModule.java b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/jackson/ChutneyModule.java index 5ba56c1b6..1122172f1 100644 --- a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/jackson/ChutneyModule.java +++ b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/jackson/ChutneyModule.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.engine.jackson; import com.chutneytesting.engine.api.execution.StepExecutionReportDto; diff --git a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/jackson/StepExecutionReportSerializer.java b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/jackson/StepExecutionReportSerializer.java index 6e8ff134a..44768d190 100644 --- a/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/jackson/StepExecutionReportSerializer.java +++ b/chutney-junit/engine/src/main/java/com/chutneytesting/junit/engine/jackson/StepExecutionReportSerializer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.junit.engine.jackson; import com.chutneytesting.engine.api.execution.StatusDto; diff --git a/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/ChutneyEngineDescriptorTest.java b/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/ChutneyEngineDescriptorTest.java index ca7d49cc1..95fa57455 100644 --- a/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/ChutneyEngineDescriptorTest.java +++ b/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/ChutneyEngineDescriptorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.com.chutneytesting.junit.engine; import static org.mockito.Mockito.mock; diff --git a/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/ChutneyTestEngineTest.java b/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/ChutneyTestEngineTest.java index 8cf0a3608..cf3ca33e4 100644 --- a/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/ChutneyTestEngineTest.java +++ b/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/ChutneyTestEngineTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.com.chutneytesting.junit.engine; import static com.chutneytesting.junit.engine.ChutneyTestEngine.CHUTNEY_JUNIT_ENGINE_ID; diff --git a/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/DiscoverySelectorResolverTest.java b/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/DiscoverySelectorResolverTest.java index a17bb13da..e50d81e95 100644 --- a/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/DiscoverySelectorResolverTest.java +++ b/chutney-junit/engine/src/test/java/test/com/chutneytesting/junit/engine/DiscoverySelectorResolverTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.com.chutneytesting.junit.engine; import static com.chutneytesting.junit.engine.DiscoverySelectorResolver.FEATURE_SEGMENT_TYPE; diff --git a/chutney-junit/engine/src/test/java/test/other/ChutneyAnnotation.java b/chutney-junit/engine/src/test/java/test/other/ChutneyAnnotation.java index fb4b2ef92..9d4d6ed8b 100644 --- a/chutney-junit/engine/src/test/java/test/other/ChutneyAnnotation.java +++ b/chutney-junit/engine/src/test/java/test/other/ChutneyAnnotation.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.other; import com.chutneytesting.junit.api.AfterAll; diff --git a/engine/src/main/java/com/chutneytesting/EngineActionsConfiguration.java b/engine/src/main/java/com/chutneytesting/EngineActionsConfiguration.java index d27b41894..1d7fbe84b 100644 --- a/engine/src/main/java/com/chutneytesting/EngineActionsConfiguration.java +++ b/engine/src/main/java/com/chutneytesting/EngineActionsConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import static java.util.Optional.ofNullable; diff --git a/engine/src/main/java/com/chutneytesting/ExecutionConfiguration.java b/engine/src/main/java/com/chutneytesting/ExecutionConfiguration.java index eae463876..8c1f59305 100644 --- a/engine/src/main/java/com/chutneytesting/ExecutionConfiguration.java +++ b/engine/src/main/java/com/chutneytesting/ExecutionConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import static com.chutneytesting.tools.Streams.identity; diff --git a/engine/src/main/java/com/chutneytesting/action/api/ActionController.java b/engine/src/main/java/com/chutneytesting/action/api/ActionController.java index ab1698f4b..77a13c05d 100644 --- a/engine/src/main/java/com/chutneytesting/action/api/ActionController.java +++ b/engine/src/main/java/com/chutneytesting/action/api/ActionController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.api; import java.util.List; diff --git a/engine/src/main/java/com/chutneytesting/action/api/ActionDto.java b/engine/src/main/java/com/chutneytesting/action/api/ActionDto.java index f735b6701..5037e5064 100644 --- a/engine/src/main/java/com/chutneytesting/action/api/ActionDto.java +++ b/engine/src/main/java/com/chutneytesting/action/api/ActionDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.api; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/engine/src/main/java/com/chutneytesting/action/api/ActionNotFoundException.java b/engine/src/main/java/com/chutneytesting/action/api/ActionNotFoundException.java index 563ed823b..955cbad0d 100644 --- a/engine/src/main/java/com/chutneytesting/action/api/ActionNotFoundException.java +++ b/engine/src/main/java/com/chutneytesting/action/api/ActionNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.api; class ActionNotFoundException extends RuntimeException { diff --git a/engine/src/main/java/com/chutneytesting/action/api/ActionTemplateMapper.java b/engine/src/main/java/com/chutneytesting/action/api/ActionTemplateMapper.java index 5d68bc7c5..0d1696e16 100644 --- a/engine/src/main/java/com/chutneytesting/action/api/ActionTemplateMapper.java +++ b/engine/src/main/java/com/chutneytesting/action/api/ActionTemplateMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.api; import static java.util.stream.Collectors.partitioningBy; diff --git a/engine/src/main/java/com/chutneytesting/action/api/EmbeddedActionEngine.java b/engine/src/main/java/com/chutneytesting/action/api/EmbeddedActionEngine.java index 70365908a..1b2323d20 100644 --- a/engine/src/main/java/com/chutneytesting/action/api/EmbeddedActionEngine.java +++ b/engine/src/main/java/com/chutneytesting/action/api/EmbeddedActionEngine.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.api; import com.chutneytesting.action.domain.ActionTemplateRegistry; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/ActionInstantiationFailureException.java b/engine/src/main/java/com/chutneytesting/action/domain/ActionInstantiationFailureException.java index 4e7ae5923..a7af8eeea 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/ActionInstantiationFailureException.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/ActionInstantiationFailureException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import java.util.List; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplate.java b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplate.java index 66c1046a1..b94920893 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplate.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import com.chutneytesting.action.domain.parameter.Parameter; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateLoader.java b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateLoader.java index d3d0e65a5..95608eefb 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateLoader.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateLoader.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import java.util.List; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateLoaders.java b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateLoaders.java index 5e962975e..b855bbf55 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateLoaders.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateLoaders.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import java.util.List; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateParser.java b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateParser.java index d635f7955..1eeb07b08 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateParser.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; /** diff --git a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateParserV2.java b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateParserV2.java index 19d9f1432..07dbbd560 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateParserV2.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateParserV2.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import com.chutneytesting.action.domain.parameter.Parameter; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateRegistry.java b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateRegistry.java index 67f56582e..fa351f0b2 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateRegistry.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateRegistry.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import com.chutneytesting.action.spi.Action; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateV2.java b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateV2.java index 54d4dd557..51653d061 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateV2.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/ActionTemplateV2.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import com.chutneytesting.action.domain.parameter.Parameter; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/DefaultActionTemplateRegistry.java b/engine/src/main/java/com/chutneytesting/action/domain/DefaultActionTemplateRegistry.java index aa5baa0c4..eec97ede5 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/DefaultActionTemplateRegistry.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/DefaultActionTemplateRegistry.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import java.util.Collection; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/ParsingError.java b/engine/src/main/java/com/chutneytesting/action/domain/ParsingError.java index a2e3a6563..3ce40107e 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/ParsingError.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/ParsingError.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; /** diff --git a/engine/src/main/java/com/chutneytesting/action/domain/ResultOrError.java b/engine/src/main/java/com/chutneytesting/action/domain/ResultOrError.java index 096fe8985..0325d852c 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/ResultOrError.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/ResultOrError.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; public class ResultOrError { diff --git a/engine/src/main/java/com/chutneytesting/action/domain/UnresolvableActionParameterException.java b/engine/src/main/java/com/chutneytesting/action/domain/UnresolvableActionParameterException.java index f7a63165e..1036fedea 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/UnresolvableActionParameterException.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/UnresolvableActionParameterException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import com.chutneytesting.action.domain.parameter.Parameter; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/parameter/AnnotationSet.java b/engine/src/main/java/com/chutneytesting/action/domain/parameter/AnnotationSet.java index fdc83359f..deb1e7866 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/parameter/AnnotationSet.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/parameter/AnnotationSet.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain.parameter; import java.lang.annotation.Annotation; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/parameter/Parameter.java b/engine/src/main/java/com/chutneytesting/action/domain/parameter/Parameter.java index 84ede9e8f..465267fb3 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/parameter/Parameter.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/parameter/Parameter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain.parameter; import java.lang.annotation.Annotation; diff --git a/engine/src/main/java/com/chutneytesting/action/domain/parameter/ParameterResolver.java b/engine/src/main/java/com/chutneytesting/action/domain/parameter/ParameterResolver.java index 20f7532fe..31e63f864 100644 --- a/engine/src/main/java/com/chutneytesting/action/domain/parameter/ParameterResolver.java +++ b/engine/src/main/java/com/chutneytesting/action/domain/parameter/ParameterResolver.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain.parameter; /** diff --git a/engine/src/main/java/com/chutneytesting/action/infra/DefaultActionTemplateLoader.java b/engine/src/main/java/com/chutneytesting/action/infra/DefaultActionTemplateLoader.java index 1ef7b63f1..6b605d1fa 100644 --- a/engine/src/main/java/com/chutneytesting/action/infra/DefaultActionTemplateLoader.java +++ b/engine/src/main/java/com/chutneytesting/action/infra/DefaultActionTemplateLoader.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.infra; import com.chutneytesting.action.domain.ParsingError; diff --git a/engine/src/main/java/com/chutneytesting/action/package-info.java b/engine/src/main/java/com/chutneytesting/action/package-info.java index c72c8cd90..38e0b4976 100644 --- a/engine/src/main/java/com/chutneytesting/action/package-info.java +++ b/engine/src/main/java/com/chutneytesting/action/package-info.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 API to manipulate Actions.
* This API makes diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/DatasetDto.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/DatasetDto.java index cc9f0825e..f53debdcc 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/DatasetDto.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/DatasetDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import java.util.Collections; diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/EmbeddedTestEngine.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/EmbeddedTestEngine.java index 1a7e80606..524fd9126 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/EmbeddedTestEngine.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/EmbeddedTestEngine.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import com.chutneytesting.action.spi.injectable.ActionsConfiguration; diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/ExecutionRequestDto.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/ExecutionRequestDto.java index b9831cb43..388ac3c46 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/ExecutionRequestDto.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/ExecutionRequestDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import com.chutneytesting.engine.api.execution.StepDefinitionDto.StepStrategyDefinitionDto; diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/HttpTestEngine.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/HttpTestEngine.java index 4f58eb8b1..c8c9a2a24 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/HttpTestEngine.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/HttpTestEngine.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import io.reactivex.rxjava3.core.Observable; diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/StatusDto.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/StatusDto.java index 0d97f1dda..5b2dfaa1d 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/StatusDto.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/StatusDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; public enum StatusDto { diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/StepDefinitionDto.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/StepDefinitionDto.java index 4d1e8204d..b49711a79 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/StepDefinitionDto.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/StepDefinitionDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import static java.util.Optional.ofNullable; diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/StepDefinitionMapper.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/StepDefinitionMapper.java index d840f9ca9..2d204391b 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/StepDefinitionMapper.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/StepDefinitionMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import static java.util.stream.Collectors.toList; diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/StepExecutionReportDto.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/StepExecutionReportDto.java index 395e4fab2..a4bfd2e98 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/StepExecutionReportDto.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/StepExecutionReportDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import java.time.Instant; diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/StepExecutionReportMapper.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/StepExecutionReportMapper.java index b47ec3b52..61ea3866a 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/StepExecutionReportMapper.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/StepExecutionReportMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import static java.util.Collections.EMPTY_MAP; diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/TargetExecutionDto.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/TargetExecutionDto.java index 9120d8d83..e2b3e85aa 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/TargetExecutionDto.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/TargetExecutionDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import com.chutneytesting.engine.domain.delegation.NamedHostAndPort; diff --git a/engine/src/main/java/com/chutneytesting/engine/api/execution/TestEngine.java b/engine/src/main/java/com/chutneytesting/engine/api/execution/TestEngine.java index 74473bbbc..f49d15172 100644 --- a/engine/src/main/java/com/chutneytesting/engine/api/execution/TestEngine.java +++ b/engine/src/main/java/com/chutneytesting/engine/api/execution/TestEngine.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import io.reactivex.rxjava3.core.Observable; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/CannotDelegateException.java b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/CannotDelegateException.java index 454cb3291..6a092bb0a 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/CannotDelegateException.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/CannotDelegateException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.delegation; @SuppressWarnings("serial") diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/ConnectionChecker.java b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/ConnectionChecker.java index fa10a8da8..2e0e21707 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/ConnectionChecker.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/ConnectionChecker.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.delegation; /** diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/DelegationClient.java b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/DelegationClient.java index 00b2c4f56..e0f25cab6 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/DelegationClient.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/DelegationClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.delegation; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/DelegationService.java b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/DelegationService.java index 4284ee1c1..0cd8a87a0 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/DelegationService.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/DelegationService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.delegation; import com.chutneytesting.engine.domain.environment.TargetImpl; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/NamedHostAndPort.java b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/NamedHostAndPort.java index 6f7bae3d1..86c84f7e6 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/NamedHostAndPort.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/NamedHostAndPort.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.delegation; import java.util.Objects; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/RemoteStepExecutor.java b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/RemoteStepExecutor.java index fab2795d9..f9961276c 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/delegation/RemoteStepExecutor.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/delegation/RemoteStepExecutor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.delegation; import com.chutneytesting.action.spi.injectable.Target; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/environment/TargetImpl.java b/engine/src/main/java/com/chutneytesting/engine/domain/environment/TargetImpl.java index 0a44d4e6d..186b4c2bb 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/environment/TargetImpl.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/environment/TargetImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.environment; import static java.util.Collections.emptyList; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/ExecutionEngine.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/ExecutionEngine.java index fa0b426a1..8459de685 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/ExecutionEngine.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/ExecutionEngine.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution; import com.chutneytesting.engine.domain.execution.engine.Dataset; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/ExecutionManager.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/ExecutionManager.java index 940443764..0f72d4c21 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/ExecutionManager.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/ExecutionManager.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution; import com.chutneytesting.engine.domain.execution.command.PauseExecutionCommand; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/RxBus.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/RxBus.java index 5c76fb4e1..c0064651a 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/RxBus.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/RxBus.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/ScenarioExecution.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/ScenarioExecution.java index 44de53474..b197c2076 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/ScenarioExecution.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/ScenarioExecution.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution; import com.chutneytesting.action.spi.FinallyAction; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/StepDefinition.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/StepDefinition.java index ad9ca62d9..9278e817d 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/StepDefinition.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/StepDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution; import static java.util.Objects.requireNonNull; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/StepDefinitionBuilder.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/StepDefinitionBuilder.java index f71bb5b56..4faf8e802 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/StepDefinitionBuilder.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/StepDefinitionBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution; import com.chutneytesting.action.spi.injectable.Target; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/PauseExecutionCommand.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/PauseExecutionCommand.java index fa73ef4de..7e11cdd37 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/PauseExecutionCommand.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/PauseExecutionCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.command; import com.chutneytesting.engine.domain.execution.event.Event; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/ResumeExecutionCommand.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/ResumeExecutionCommand.java index 498962fd4..1118d56ab 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/ResumeExecutionCommand.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/ResumeExecutionCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.command; import com.chutneytesting.engine.domain.execution.event.Event; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/StopExecutionCommand.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/StopExecutionCommand.java index 84edf1943..51fbd1df9 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/StopExecutionCommand.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/command/StopExecutionCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.command; import com.chutneytesting.engine.domain.execution.event.Event; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/Dataset.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/Dataset.java index 7966f3bd2..33afe8507 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/Dataset.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/Dataset.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine; import java.util.Collections; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/DefaultExecutionEngine.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/DefaultExecutionEngine.java index 8df0c10e5..9217988f5 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/DefaultExecutionEngine.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/DefaultExecutionEngine.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine; import static java.util.Collections.emptyMap; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/DefaultStepExecutor.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/DefaultStepExecutor.java index a95e8d3ae..13e679241 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/DefaultStepExecutor.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/DefaultStepExecutor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine; import static java.util.Optional.ofNullable; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/FinallyActionMapper.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/FinallyActionMapper.java index eedf5003a..0d0d30730 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/FinallyActionMapper.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/FinallyActionMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine; import static java.util.Collections.emptyMap; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/StepExecutor.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/StepExecutor.java index 0e17e2dbc..a8cf79b6d 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/StepExecutor.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/StepExecutor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine; import com.chutneytesting.action.spi.injectable.Target; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/EvaluationException.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/EvaluationException.java index a2d0d56cc..76b71a55e 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/EvaluationException.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/EvaluationException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.evaluation; @SuppressWarnings("serial") diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/StepDataEvaluator.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/StepDataEvaluator.java index 3937215e3..ef455618f 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/StepDataEvaluator.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/StepDataEvaluator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.evaluation; import static com.chutneytesting.engine.domain.execution.engine.evaluation.Strings.escapeForRegex; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/Strings.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/Strings.java index 4ff1ba1d0..6a0a6ecd6 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/Strings.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/evaluation/Strings.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.evaluation; import static java.util.Optional.ofNullable; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/ContextParameterResolver.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/ContextParameterResolver.java index 35b90050c..f603fd137 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/ContextParameterResolver.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/ContextParameterResolver.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.parameterResolver; import com.chutneytesting.action.domain.parameter.Parameter; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/DelegateLogger.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/DelegateLogger.java index 961a18014..a8e82d5e5 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/DelegateLogger.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/DelegateLogger.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.parameterResolver; import com.chutneytesting.action.spi.injectable.Logger; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputNameMandatoryException.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputNameMandatoryException.java index 4ed362294..37ff387a4 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputNameMandatoryException.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputNameMandatoryException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.parameterResolver; @SuppressWarnings("serial") diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputParameterResolver.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputParameterResolver.java index 76105fbfe..ee760ca7d 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputParameterResolver.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputParameterResolver.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.parameterResolver; import static java.util.Optional.ofNullable; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/TypedValueParameterResolver.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/TypedValueParameterResolver.java index a90579d2d..bf5452e8e 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/TypedValueParameterResolver.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/TypedValueParameterResolver.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.parameterResolver; import com.chutneytesting.action.domain.parameter.Parameter; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/scenario/ScenarioContext.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/scenario/ScenarioContext.java index 5fcf7b38b..ddc627d24 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/scenario/ScenarioContext.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/scenario/ScenarioContext.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.scenario; import java.util.Collection; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/scenario/ScenarioContextImpl.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/scenario/ScenarioContextImpl.java index a3dd910f2..f54afa02f 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/scenario/ScenarioContextImpl.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/scenario/ScenarioContextImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.scenario; import java.util.LinkedHashMap; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/step/Step.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/step/Step.java index 0aacf623b..f6ce49b8a 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/step/Step.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/step/Step.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.step; import static java.util.Collections.emptyList; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/step/StepState.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/step/StepState.java index f4db47587..9d0966d0e 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/step/StepState.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/engine/step/StepState.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.step; import static com.google.common.collect.Lists.newArrayList; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/evaluation/SpelFunctionCallback.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/evaluation/SpelFunctionCallback.java index 77fcbcbaa..95b014daa 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/evaluation/SpelFunctionCallback.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/evaluation/SpelFunctionCallback.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.evaluation; import com.chutneytesting.action.spi.SpelFunction; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/evaluation/SpelFunctions.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/evaluation/SpelFunctions.java index a5a4aaf91..2bd2ad6dd 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/evaluation/SpelFunctions.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/evaluation/SpelFunctions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.evaluation; import com.chutneytesting.action.spi.SpelFunction; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/BeginStepExecutionEvent.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/BeginStepExecutionEvent.java index 28948e94f..c0d7a4b8f 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/BeginStepExecutionEvent.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/BeginStepExecutionEvent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.event; import com.chutneytesting.engine.domain.execution.ScenarioExecution; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/EndScenarioExecutionEvent.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/EndScenarioExecutionEvent.java index 201c96dfa..6c4ff8ca3 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/EndScenarioExecutionEvent.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/EndScenarioExecutionEvent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.event; import com.chutneytesting.engine.domain.execution.ScenarioExecution; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/EndStepExecutionEvent.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/EndStepExecutionEvent.java index 9510b28af..6d2807947 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/EndStepExecutionEvent.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/EndStepExecutionEvent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.event; import com.chutneytesting.engine.domain.execution.ScenarioExecution; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/Event.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/Event.java index 4b460f3d2..681b9e8b0 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/Event.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/Event.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.event; public interface Event { diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/PauseStepExecutionEvent.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/PauseStepExecutionEvent.java index fdf2f5cb5..88df35bd3 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/PauseStepExecutionEvent.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/PauseStepExecutionEvent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.event; import com.chutneytesting.engine.domain.execution.ScenarioExecution; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/StartScenarioExecutionEvent.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/StartScenarioExecutionEvent.java index b5c936b9c..8ed5bad0c 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/StartScenarioExecutionEvent.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/event/StartScenarioExecutionEvent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.event; import com.chutneytesting.engine.domain.execution.ScenarioExecution; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/Status.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/Status.java index 390807133..15449651d 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/Status.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/Status.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.report; import com.google.common.collect.Ordering; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/StepExecutionReport.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/StepExecutionReport.java index 826b6922a..fcf70689e 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/StepExecutionReport.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/StepExecutionReport.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.report; import static java.util.Collections.emptyList; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/StepExecutionReportBuilder.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/StepExecutionReportBuilder.java index 784c94f95..19c325485 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/StepExecutionReportBuilder.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/report/StepExecutionReportBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.report; import static java.util.Collections.emptyList; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/DefaultStepExecutionStrategy.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/DefaultStepExecutionStrategy.java index ef6befccc..05428a3a7 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/DefaultStepExecutionStrategy.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/DefaultStepExecutionStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import com.chutneytesting.engine.domain.execution.ScenarioExecution; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/IfStrategy.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/IfStrategy.java index 532f1dbfe..9f5deb344 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/IfStrategy.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/IfStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import static com.chutneytesting.engine.domain.execution.report.Status.SUCCESS; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/RetryWithTimeOutStrategy.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/RetryWithTimeOutStrategy.java index 27693fd8e..e4fb4a664 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/RetryWithTimeOutStrategy.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/RetryWithTimeOutStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import com.chutneytesting.action.spi.time.Duration; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/SoftAssertStrategy.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/SoftAssertStrategy.java index a9a2b31b6..4598f6743 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/SoftAssertStrategy.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/SoftAssertStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import com.chutneytesting.engine.domain.execution.ScenarioExecution; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepExecutionStrategies.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepExecutionStrategies.java index cf41906c9..b0b01efd8 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepExecutionStrategies.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepExecutionStrategies.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import static java.util.Optional.ofNullable; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepExecutionStrategy.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepExecutionStrategy.java index 9edf78c1a..0610fca26 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepExecutionStrategy.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepExecutionStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import com.chutneytesting.engine.domain.execution.ScenarioExecution; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepIterationStrategy.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepIterationStrategy.java index 18a6c6371..c891667a9 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepIterationStrategy.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepIterationStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import static java.util.Collections.emptyList; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepStrategyDefinition.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepStrategyDefinition.java index 7a93e1c1d..2f7eab4fa 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepStrategyDefinition.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StepStrategyDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; public class StepStrategyDefinition { diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StrategyProperties.java b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StrategyProperties.java index ac64a3636..e92895fae 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StrategyProperties.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/execution/strategies/StrategyProperties.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import java.util.HashMap; diff --git a/engine/src/main/java/com/chutneytesting/engine/domain/report/Reporter.java b/engine/src/main/java/com/chutneytesting/engine/domain/report/Reporter.java index 9210f22c4..3dc243356 100644 --- a/engine/src/main/java/com/chutneytesting/engine/domain/report/Reporter.java +++ b/engine/src/main/java/com/chutneytesting/engine/domain/report/Reporter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.report; diff --git a/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/DatasetMapper.java b/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/DatasetMapper.java index 19d261b2c..5dcfb8414 100644 --- a/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/DatasetMapper.java +++ b/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/DatasetMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.infrastructure.delegation; import com.chutneytesting.engine.api.execution.DatasetDto; diff --git a/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/ExecutionRequestMapper.java b/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/ExecutionRequestMapper.java index 2f2c39335..707ceb04c 100644 --- a/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/ExecutionRequestMapper.java +++ b/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/ExecutionRequestMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.infrastructure.delegation; import com.chutneytesting.engine.api.execution.ExecutionRequestDto; diff --git a/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/HttpClient.java b/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/HttpClient.java index bf9069ca7..9ad18eb32 100644 --- a/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/HttpClient.java +++ b/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/HttpClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.infrastructure.delegation; import static com.chutneytesting.engine.api.execution.HttpTestEngine.EXECUTION_URL; diff --git a/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/StepExecutionReportMapper.java b/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/StepExecutionReportMapper.java index 36bf9a3a5..8f2a6a235 100644 --- a/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/StepExecutionReportMapper.java +++ b/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/StepExecutionReportMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.infrastructure.delegation; import com.chutneytesting.engine.api.execution.StatusDto; diff --git a/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/TcpConnectionChecker.java b/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/TcpConnectionChecker.java index 11a8fcf66..9c99fa150 100644 --- a/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/TcpConnectionChecker.java +++ b/engine/src/main/java/com/chutneytesting/engine/infrastructure/delegation/TcpConnectionChecker.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.infrastructure.delegation; import com.chutneytesting.engine.domain.delegation.ConnectionChecker; diff --git a/engine/src/test/java/com/chutneytesting/ExecutionConfigurationTest.java b/engine/src/test/java/com/chutneytesting/ExecutionConfigurationTest.java index 3aae8300e..35e7c6d07 100644 --- a/engine/src/test/java/com/chutneytesting/ExecutionConfigurationTest.java +++ b/engine/src/test/java/com/chutneytesting/ExecutionConfigurationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import static java.util.Collections.emptyMap; diff --git a/engine/src/test/java/com/chutneytesting/action/TestActionTemplateFactory.java b/engine/src/test/java/com/chutneytesting/action/TestActionTemplateFactory.java index 94df1bc21..78bb7b945 100644 --- a/engine/src/test/java/com/chutneytesting/action/TestActionTemplateFactory.java +++ b/engine/src/test/java/com/chutneytesting/action/TestActionTemplateFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action; import com.chutneytesting.action.domain.ActionInstantiationFailureException; diff --git a/engine/src/test/java/com/chutneytesting/action/TestActionTemplateHelper.java b/engine/src/test/java/com/chutneytesting/action/TestActionTemplateHelper.java index 67fa8f3f9..e3098cb8c 100644 --- a/engine/src/test/java/com/chutneytesting/action/TestActionTemplateHelper.java +++ b/engine/src/test/java/com/chutneytesting/action/TestActionTemplateHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action; import com.chutneytesting.action.domain.ActionTemplate; diff --git a/engine/src/test/java/com/chutneytesting/action/TypeBasedParameterResolver.java b/engine/src/test/java/com/chutneytesting/action/TypeBasedParameterResolver.java index 54c8bd9dc..9a6df38a4 100644 --- a/engine/src/test/java/com/chutneytesting/action/TypeBasedParameterResolver.java +++ b/engine/src/test/java/com/chutneytesting/action/TypeBasedParameterResolver.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action; import com.chutneytesting.action.domain.parameter.Parameter; diff --git a/engine/src/test/java/com/chutneytesting/action/api/ActionControllerTest.java b/engine/src/test/java/com/chutneytesting/action/api/ActionControllerTest.java index 1065d35ae..af6c4693a 100644 --- a/engine/src/test/java/com/chutneytesting/action/api/ActionControllerTest.java +++ b/engine/src/test/java/com/chutneytesting/action/api/ActionControllerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.api; import static com.chutneytesting.action.api.ActionController.BASE_URL; diff --git a/engine/src/test/java/com/chutneytesting/action/api/ActionTemplateMapperTest.java b/engine/src/test/java/com/chutneytesting/action/api/ActionTemplateMapperTest.java index 96c4249fd..8d36f7fd2 100644 --- a/engine/src/test/java/com/chutneytesting/action/api/ActionTemplateMapperTest.java +++ b/engine/src/test/java/com/chutneytesting/action/api/ActionTemplateMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.api; import static com.chutneytesting.action.TestActionTemplateHelper.mockActionTemplate; diff --git a/engine/src/test/java/com/chutneytesting/action/api/EmbeddedActionEngineTest.java b/engine/src/test/java/com/chutneytesting/action/api/EmbeddedActionEngineTest.java index 434e6e340..b7e40a28a 100644 --- a/engine/src/test/java/com/chutneytesting/action/api/EmbeddedActionEngineTest.java +++ b/engine/src/test/java/com/chutneytesting/action/api/EmbeddedActionEngineTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateLoadersTest.java b/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateLoadersTest.java index 087463ca7..8154f2a85 100644 --- a/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateLoadersTest.java +++ b/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateLoadersTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import static com.chutneytesting.action.TestActionTemplateFactory.buildActionTemplate; diff --git a/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateParserV2Test.java b/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateParserV2Test.java index 9426ab465..f2a99025e 100644 --- a/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateParserV2Test.java +++ b/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateParserV2Test.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import static org.assertj.core.api.Assertions.assertThat; diff --git a/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateV2Test.java b/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateV2Test.java index 47f5d6c5a..63b62de3a 100644 --- a/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateV2Test.java +++ b/engine/src/test/java/com/chutneytesting/action/domain/ActionTemplateV2Test.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import static org.assertj.core.api.Assertions.assertThat; diff --git a/engine/src/test/java/com/chutneytesting/action/domain/DefaultActionTemplateRegistryTest.java b/engine/src/test/java/com/chutneytesting/action/domain/DefaultActionTemplateRegistryTest.java index a4ef06c23..415603845 100644 --- a/engine/src/test/java/com/chutneytesting/action/domain/DefaultActionTemplateRegistryTest.java +++ b/engine/src/test/java/com/chutneytesting/action/domain/DefaultActionTemplateRegistryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.domain; import static com.chutneytesting.action.TestActionTemplateFactory.buildActionTemplate; diff --git a/engine/src/test/java/com/chutneytesting/action/infra/DefaultActionTemplateLoaderTest.java b/engine/src/test/java/com/chutneytesting/action/infra/DefaultActionTemplateLoaderTest.java index 0ef7ab597..1970ad367 100644 --- a/engine/src/test/java/com/chutneytesting/action/infra/DefaultActionTemplateLoaderTest.java +++ b/engine/src/test/java/com/chutneytesting/action/infra/DefaultActionTemplateLoaderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.action.infra; import static org.assertj.core.api.Assertions.assertThat; diff --git a/engine/src/test/java/com/chutneytesting/engine/api/execution/HttpTestEngineTest.java b/engine/src/test/java/com/chutneytesting/engine/api/execution/HttpTestEngineTest.java index a43316968..146e3907d 100644 --- a/engine/src/test/java/com/chutneytesting/engine/api/execution/HttpTestEngineTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/api/execution/HttpTestEngineTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.api.execution; import static com.chutneytesting.engine.api.execution.HttpTestEngine.EXECUTION_URL; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/delegation/DelegationServiceTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/delegation/DelegationServiceTest.java index 9377954dc..db632e9fc 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/delegation/DelegationServiceTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/delegation/DelegationServiceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.delegation; import static java.util.Optional.empty; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/delegation/RemoteStepExecutorTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/delegation/RemoteStepExecutorTest.java index b42089ab6..7806613f1 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/delegation/RemoteStepExecutorTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/delegation/RemoteStepExecutorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.delegation; import static java.util.Collections.emptyList; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/event/ExecutionManagerTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/event/ExecutionManagerTest.java index d798ed49d..52a94f86b 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/event/ExecutionManagerTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/event/ExecutionManagerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.event; import static java.util.concurrent.TimeUnit.SECONDS; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/StatusTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/StatusTest.java index 180fa9c06..5d0077f3f 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/StatusTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/StatusTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution; import static java.util.stream.Collectors.toList; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/TestActionTemplateLoader.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/TestActionTemplateLoader.java index 4ae0e16a1..60f3f5ace 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/TestActionTemplateLoader.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/TestActionTemplateLoader.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution; import com.chutneytesting.action.TestActionTemplateFactory.FailAction; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/DefaultExecutionEngineTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/DefaultExecutionEngineTest.java index 15b56fad5..7aff77eda 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/DefaultExecutionEngineTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/DefaultExecutionEngineTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine; import static com.chutneytesting.engine.domain.execution.ScenarioExecution.createScenarioExecution; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/DefaultStepExecutorTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/DefaultStepExecutorTest.java index 0e279b5da..b609bcfea 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/DefaultStepExecutorTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/DefaultStepExecutorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine; import static com.chutneytesting.action.spi.ActionExecutionResult.ok; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/FinallyActionMapperTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/FinallyActionMapperTest.java index d36e3b1b0..013c4398c 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/FinallyActionMapperTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/FinallyActionMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine; import static org.assertj.core.api.Assertions.assertThat; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/ScenarioExecutionTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/ScenarioExecutionTest.java index 261ffa3ba..2980c1993 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/ScenarioExecutionTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/ScenarioExecutionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine; import static com.chutneytesting.engine.domain.execution.RxBus.getInstance; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/evaluation/StepDataEvaluatorTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/evaluation/StepDataEvaluatorTest.java index 591fa0c20..6c217c9a8 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/evaluation/StepDataEvaluatorTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/evaluation/StepDataEvaluatorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.evaluation; import static org.assertj.core.api.Assertions.assertThat; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputParameterResolverTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputParameterResolverTest.java index 4ef80a96b..ef0dbc9d9 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputParameterResolverTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/InputParameterResolverTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.parameterResolver; import static java.util.Collections.emptyMap; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/SimpleObject.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/SimpleObject.java index 33c0cc10d..dc075de95 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/SimpleObject.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/parameterResolver/SimpleObject.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.parameterResolver; import com.chutneytesting.action.spi.injectable.Input; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/spelfunction/SpelFunctionCallbackTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/spelfunction/SpelFunctionCallbackTest.java index ffa373031..5ea2e7df8 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/spelfunction/SpelFunctionCallbackTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/spelfunction/SpelFunctionCallbackTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.spelfunction; import com.chutneytesting.engine.domain.execution.evaluation.SpelFunctionCallback; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/step/StepStateTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/step/StepStateTest.java index 156929d03..9210ddaee 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/step/StepStateTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/step/StepStateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.step; import static com.chutneytesting.tools.WaitUtils.awaitDuring; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/step/StepTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/step/StepTest.java index 543fb3e6d..0b399984b 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/step/StepTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/engine/step/StepTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.engine.step; import static com.chutneytesting.tools.WaitUtils.awaitDuring; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/DefaultStepExecutionStrategyTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/DefaultStepExecutionStrategyTest.java index ba0d9f1cf..b625911a5 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/DefaultStepExecutionStrategyTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/DefaultStepExecutionStrategyTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import static org.mockito.ArgumentMatchers.any; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/IfStrategyTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/IfStrategyTest.java index b8ff2f83a..66ce37a7c 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/IfStrategyTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/IfStrategyTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import static com.chutneytesting.engine.domain.execution.ScenarioExecution.createScenarioExecution; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/RetryWithTimeOutStrategyTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/RetryWithTimeOutStrategyTest.java index 54bb27354..0f17a3bee 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/RetryWithTimeOutStrategyTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/RetryWithTimeOutStrategyTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import static com.chutneytesting.engine.domain.execution.ScenarioExecution.createScenarioExecution; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/SoftAssertStrategyTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/SoftAssertStrategyTest.java index b29a26b6a..567ca18f7 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/SoftAssertStrategyTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/SoftAssertStrategyTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import static com.google.common.collect.Lists.newArrayList; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/StepIterationStrategyTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/StepIterationStrategyTest.java index 3c20b862b..8351baf0f 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/StepIterationStrategyTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/execution/strategies/StepIterationStrategyTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.execution.strategies; import static com.chutneytesting.engine.api.execution.StatusDto.SUCCESS; diff --git a/engine/src/test/java/com/chutneytesting/engine/domain/report/ReporterTest.java b/engine/src/test/java/com/chutneytesting/engine/domain/report/ReporterTest.java index 1be26eeb6..376b772d9 100644 --- a/engine/src/test/java/com/chutneytesting/engine/domain/report/ReporterTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/domain/report/ReporterTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.domain.report; import static com.chutneytesting.engine.domain.execution.report.Status.PAUSED; diff --git a/engine/src/test/java/com/chutneytesting/engine/infrastructure/delegation/HttpClientTest.java b/engine/src/test/java/com/chutneytesting/engine/infrastructure/delegation/HttpClientTest.java index 9c752b9eb..531e9f3a8 100644 --- a/engine/src/test/java/com/chutneytesting/engine/infrastructure/delegation/HttpClientTest.java +++ b/engine/src/test/java/com/chutneytesting/engine/infrastructure/delegation/HttpClientTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.engine.infrastructure.delegation; import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; diff --git a/engine/src/test/java/com/chutneytesting/tools/Jsons.java b/engine/src/test/java/com/chutneytesting/tools/Jsons.java index 3554b5713..3ceb16eda 100644 --- a/engine/src/test/java/com/chutneytesting/tools/Jsons.java +++ b/engine/src/test/java/com/chutneytesting/tools/Jsons.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/engine/src/test/java/com/chutneytesting/tools/TestFunctions.java b/engine/src/test/java/com/chutneytesting/tools/TestFunctions.java index 4ef1208a5..07c41385a 100644 --- a/engine/src/test/java/com/chutneytesting/tools/TestFunctions.java +++ b/engine/src/test/java/com/chutneytesting/tools/TestFunctions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import com.chutneytesting.action.spi.SpelFunction; diff --git a/engine/src/test/java/com/chutneytesting/tools/WaitUtils.java b/engine/src/test/java/com/chutneytesting/tools/WaitUtils.java index f453aa718..fa95d8685 100644 --- a/engine/src/test/java/com/chutneytesting/tools/WaitUtils.java +++ b/engine/src/test/java/com/chutneytesting/tools/WaitUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import java.util.concurrent.TimeUnit; diff --git a/environment/src/main/java/com/chutneytesting/environment/EnvironmentConfiguration.java b/environment/src/main/java/com/chutneytesting/environment/EnvironmentConfiguration.java index 96d2636f0..fcd599171 100644 --- a/environment/src/main/java/com/chutneytesting/environment/EnvironmentConfiguration.java +++ b/environment/src/main/java/com/chutneytesting/environment/EnvironmentConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment; import com.chutneytesting.environment.api.EmbeddedEnvironmentApi; diff --git a/environment/src/main/java/com/chutneytesting/environment/EnvironmentSpringConfiguration.java b/environment/src/main/java/com/chutneytesting/environment/EnvironmentSpringConfiguration.java index 6f2a6b385..8deb25d23 100644 --- a/environment/src/main/java/com/chutneytesting/environment/EnvironmentSpringConfiguration.java +++ b/environment/src/main/java/com/chutneytesting/environment/EnvironmentSpringConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment; import com.chutneytesting.environment.api.EmbeddedEnvironmentApi; diff --git a/environment/src/main/java/com/chutneytesting/environment/api/EmbeddedEnvironmentApi.java b/environment/src/main/java/com/chutneytesting/environment/api/EmbeddedEnvironmentApi.java index bdf1623e0..18c0cdc0c 100644 --- a/environment/src/main/java/com/chutneytesting/environment/api/EmbeddedEnvironmentApi.java +++ b/environment/src/main/java/com/chutneytesting/environment/api/EmbeddedEnvironmentApi.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.api; import static java.util.stream.Collectors.toList; diff --git a/environment/src/main/java/com/chutneytesting/environment/api/EnvironmentApi.java b/environment/src/main/java/com/chutneytesting/environment/api/EnvironmentApi.java index 9fe63378e..f67e96344 100644 --- a/environment/src/main/java/com/chutneytesting/environment/api/EnvironmentApi.java +++ b/environment/src/main/java/com/chutneytesting/environment/api/EnvironmentApi.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.api; import com.chutneytesting.environment.api.dto.EnvironmentDto; diff --git a/environment/src/main/java/com/chutneytesting/environment/api/EnvironmentRestExceptionHandler.java b/environment/src/main/java/com/chutneytesting/environment/api/EnvironmentRestExceptionHandler.java index 86d74a099..426a43774 100644 --- a/environment/src/main/java/com/chutneytesting/environment/api/EnvironmentRestExceptionHandler.java +++ b/environment/src/main/java/com/chutneytesting/environment/api/EnvironmentRestExceptionHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.api; import com.chutneytesting.environment.domain.exception.AlreadyExistingEnvironmentException; diff --git a/environment/src/main/java/com/chutneytesting/environment/api/HttpEnvironmentApi.java b/environment/src/main/java/com/chutneytesting/environment/api/HttpEnvironmentApi.java index eaa1da6ea..77f7bd0b3 100644 --- a/environment/src/main/java/com/chutneytesting/environment/api/HttpEnvironmentApi.java +++ b/environment/src/main/java/com/chutneytesting/environment/api/HttpEnvironmentApi.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.api; import com.chutneytesting.environment.api.dto.EnvironmentDto; diff --git a/environment/src/main/java/com/chutneytesting/environment/api/dto/EnvironmentDto.java b/environment/src/main/java/com/chutneytesting/environment/api/dto/EnvironmentDto.java index d52b2bd0a..3e3eec14a 100644 --- a/environment/src/main/java/com/chutneytesting/environment/api/dto/EnvironmentDto.java +++ b/environment/src/main/java/com/chutneytesting/environment/api/dto/EnvironmentDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.api.dto; import static java.util.Collections.emptyList; diff --git a/environment/src/main/java/com/chutneytesting/environment/api/dto/NoTargetDto.java b/environment/src/main/java/com/chutneytesting/environment/api/dto/NoTargetDto.java index e43bacf98..0d36cbcfc 100644 --- a/environment/src/main/java/com/chutneytesting/environment/api/dto/NoTargetDto.java +++ b/environment/src/main/java/com/chutneytesting/environment/api/dto/NoTargetDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.api.dto; public final class NoTargetDto { diff --git a/environment/src/main/java/com/chutneytesting/environment/api/dto/TargetDto.java b/environment/src/main/java/com/chutneytesting/environment/api/dto/TargetDto.java index 3421c599a..c471f9737 100644 --- a/environment/src/main/java/com/chutneytesting/environment/api/dto/TargetDto.java +++ b/environment/src/main/java/com/chutneytesting/environment/api/dto/TargetDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.api.dto; import static com.chutneytesting.tools.Entry.toEntrySet; diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/Environment.java b/environment/src/main/java/com/chutneytesting/environment/domain/Environment.java index bf79a4cb8..29e533a07 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/Environment.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/Environment.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain; import static java.util.Collections.emptySet; diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/EnvironmentRepository.java b/environment/src/main/java/com/chutneytesting/environment/domain/EnvironmentRepository.java index 8cd1746bd..cc2dcbd3c 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/EnvironmentRepository.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/EnvironmentRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain; import com.chutneytesting.environment.domain.exception.CannotDeleteEnvironmentException; diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/EnvironmentService.java b/environment/src/main/java/com/chutneytesting/environment/domain/EnvironmentService.java index 93b3c0138..e73f6e522 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/EnvironmentService.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/EnvironmentService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain; import com.chutneytesting.environment.domain.exception.AlreadyExistingEnvironmentException; diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/Target.java b/environment/src/main/java/com/chutneytesting/environment/domain/Target.java index fb9293592..f0f8f3fd3 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/Target.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/Target.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain; import static java.util.Collections.emptyMap; diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/TargetFilter.java b/environment/src/main/java/com/chutneytesting/environment/domain/TargetFilter.java index 37fc2969b..bdc8d1df2 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/TargetFilter.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/TargetFilter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain; public record TargetFilter(String name, String environment) { diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/exception/AlreadyExistingEnvironmentException.java b/environment/src/main/java/com/chutneytesting/environment/domain/exception/AlreadyExistingEnvironmentException.java index fe50cf4b0..97cf4edd1 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/exception/AlreadyExistingEnvironmentException.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/exception/AlreadyExistingEnvironmentException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain.exception; @SuppressWarnings("serial") diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/exception/AlreadyExistingTargetException.java b/environment/src/main/java/com/chutneytesting/environment/domain/exception/AlreadyExistingTargetException.java index 43db91125..2eb53d489 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/exception/AlreadyExistingTargetException.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/exception/AlreadyExistingTargetException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain.exception; @SuppressWarnings("serial") diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/exception/CannotDeleteEnvironmentException.java b/environment/src/main/java/com/chutneytesting/environment/domain/exception/CannotDeleteEnvironmentException.java index 89c0cf5d8..33a1834bc 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/exception/CannotDeleteEnvironmentException.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/exception/CannotDeleteEnvironmentException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain.exception; @SuppressWarnings("serial") diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/exception/EnvironmentNotFoundException.java b/environment/src/main/java/com/chutneytesting/environment/domain/exception/EnvironmentNotFoundException.java index 52c10a8ad..5fa940f20 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/exception/EnvironmentNotFoundException.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/exception/EnvironmentNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain.exception; @SuppressWarnings("serial") diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/exception/InvalidEnvironmentNameException.java b/environment/src/main/java/com/chutneytesting/environment/domain/exception/InvalidEnvironmentNameException.java index 9346510c3..32e32a70f 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/exception/InvalidEnvironmentNameException.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/exception/InvalidEnvironmentNameException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain.exception; @SuppressWarnings("serial") diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/exception/TargetAlreadyExistsException.java b/environment/src/main/java/com/chutneytesting/environment/domain/exception/TargetAlreadyExistsException.java index e6963bbe0..b6a5a9bfb 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/exception/TargetAlreadyExistsException.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/exception/TargetAlreadyExistsException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain.exception; public class TargetAlreadyExistsException extends RuntimeException { diff --git a/environment/src/main/java/com/chutneytesting/environment/domain/exception/TargetNotFoundException.java b/environment/src/main/java/com/chutneytesting/environment/domain/exception/TargetNotFoundException.java index 6a6724307..e34f6d776 100644 --- a/environment/src/main/java/com/chutneytesting/environment/domain/exception/TargetNotFoundException.java +++ b/environment/src/main/java/com/chutneytesting/environment/domain/exception/TargetNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain.exception; @SuppressWarnings("serial") diff --git a/environment/src/main/java/com/chutneytesting/environment/infra/EnvironmentBackupRepository.java b/environment/src/main/java/com/chutneytesting/environment/infra/EnvironmentBackupRepository.java index 915c64ecf..2b66d071a 100644 --- a/environment/src/main/java/com/chutneytesting/environment/infra/EnvironmentBackupRepository.java +++ b/environment/src/main/java/com/chutneytesting/environment/infra/EnvironmentBackupRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.infra; import com.chutneytesting.environment.api.EmbeddedEnvironmentApi; diff --git a/environment/src/main/java/com/chutneytesting/environment/infra/JsonEnvironment.java b/environment/src/main/java/com/chutneytesting/environment/infra/JsonEnvironment.java index ec366941f..1e9a5edb6 100644 --- a/environment/src/main/java/com/chutneytesting/environment/infra/JsonEnvironment.java +++ b/environment/src/main/java/com/chutneytesting/environment/infra/JsonEnvironment.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.infra; import static java.util.Collections.emptySet; diff --git a/environment/src/main/java/com/chutneytesting/environment/infra/JsonFilesEnvironmentRepository.java b/environment/src/main/java/com/chutneytesting/environment/infra/JsonFilesEnvironmentRepository.java index c1dc7e586..abd611767 100644 --- a/environment/src/main/java/com/chutneytesting/environment/infra/JsonFilesEnvironmentRepository.java +++ b/environment/src/main/java/com/chutneytesting/environment/infra/JsonFilesEnvironmentRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.infra; import static com.chutneytesting.tools.file.FileUtils.initFolder; diff --git a/environment/src/main/java/com/chutneytesting/environment/infra/JsonTarget.java b/environment/src/main/java/com/chutneytesting/environment/infra/JsonTarget.java index c2413fcf3..0e33421eb 100644 --- a/environment/src/main/java/com/chutneytesting/environment/infra/JsonTarget.java +++ b/environment/src/main/java/com/chutneytesting/environment/infra/JsonTarget.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.infra; import com.chutneytesting.environment.domain.Target; diff --git a/environment/src/main/java/com/chutneytesting/environment/infra/MigrateTargetSecurityExecutor.java b/environment/src/main/java/com/chutneytesting/environment/infra/MigrateTargetSecurityExecutor.java index 2b88effa2..58ea04fa7 100644 --- a/environment/src/main/java/com/chutneytesting/environment/infra/MigrateTargetSecurityExecutor.java +++ b/environment/src/main/java/com/chutneytesting/environment/infra/MigrateTargetSecurityExecutor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.infra; import static java.util.stream.Collectors.toList; diff --git a/environment/src/main/java/com/chutneytesting/environment/infra/TargetJsonDeserializer.java b/environment/src/main/java/com/chutneytesting/environment/infra/TargetJsonDeserializer.java index d45b92321..936ebf0f0 100644 --- a/environment/src/main/java/com/chutneytesting/environment/infra/TargetJsonDeserializer.java +++ b/environment/src/main/java/com/chutneytesting/environment/infra/TargetJsonDeserializer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.infra; import static java.util.Optional.ofNullable; diff --git a/environment/src/test/java/com/chutneytesting/environment/EnvironmentConfigurationTest.java b/environment/src/test/java/com/chutneytesting/environment/EnvironmentConfigurationTest.java index fa397891a..21f73cd76 100644 --- a/environment/src/test/java/com/chutneytesting/environment/EnvironmentConfigurationTest.java +++ b/environment/src/test/java/com/chutneytesting/environment/EnvironmentConfigurationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment; import static com.chutneytesting.environment.infra.MigrateTargetSecurityExecutorTest.copyToMigrateEnvTo; diff --git a/environment/src/test/java/com/chutneytesting/environment/EnvironmentSpringConfigurationTest.java b/environment/src/test/java/com/chutneytesting/environment/EnvironmentSpringConfigurationTest.java index eecc6569a..4df9d135d 100644 --- a/environment/src/test/java/com/chutneytesting/environment/EnvironmentSpringConfigurationTest.java +++ b/environment/src/test/java/com/chutneytesting/environment/EnvironmentSpringConfigurationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment; import static com.chutneytesting.environment.infra.MigrateTargetSecurityExecutorTest.copyToMigrateEnvTo; diff --git a/environment/src/test/java/com/chutneytesting/environment/api/HttpEnvironmentApiTest.java b/environment/src/test/java/com/chutneytesting/environment/api/HttpEnvironmentApiTest.java index 82eac8001..b80b95446 100644 --- a/environment/src/test/java/com/chutneytesting/environment/api/HttpEnvironmentApiTest.java +++ b/environment/src/test/java/com/chutneytesting/environment/api/HttpEnvironmentApiTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.api; import static java.util.Arrays.stream; diff --git a/environment/src/test/java/com/chutneytesting/environment/domain/EnvironmentServiceTest.java b/environment/src/test/java/com/chutneytesting/environment/domain/EnvironmentServiceTest.java index a95be2c18..48ee17bd3 100644 --- a/environment/src/test/java/com/chutneytesting/environment/domain/EnvironmentServiceTest.java +++ b/environment/src/test/java/com/chutneytesting/environment/domain/EnvironmentServiceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.domain; import static org.assertj.core.api.Assertions.assertThat; diff --git a/environment/src/test/java/com/chutneytesting/environment/infra/EnvironmentBackupRepositoryTest.java b/environment/src/test/java/com/chutneytesting/environment/infra/EnvironmentBackupRepositoryTest.java index 06584576b..0ea4a41b9 100644 --- a/environment/src/test/java/com/chutneytesting/environment/infra/EnvironmentBackupRepositoryTest.java +++ b/environment/src/test/java/com/chutneytesting/environment/infra/EnvironmentBackupRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.infra; import static org.assertj.core.api.Assertions.assertThat; diff --git a/environment/src/test/java/com/chutneytesting/environment/infra/EnvironmentRepositoryTest.java b/environment/src/test/java/com/chutneytesting/environment/infra/EnvironmentRepositoryTest.java index 114a7221f..cc287b5cf 100644 --- a/environment/src/test/java/com/chutneytesting/environment/infra/EnvironmentRepositoryTest.java +++ b/environment/src/test/java/com/chutneytesting/environment/infra/EnvironmentRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.infra; import static org.assertj.core.api.Assertions.assertThat; diff --git a/environment/src/test/java/com/chutneytesting/environment/infra/JsonFilesEnvironmentRepositoryTest.java b/environment/src/test/java/com/chutneytesting/environment/infra/JsonFilesEnvironmentRepositoryTest.java index 305e812f8..c1fd6754a 100644 --- a/environment/src/test/java/com/chutneytesting/environment/infra/JsonFilesEnvironmentRepositoryTest.java +++ b/environment/src/test/java/com/chutneytesting/environment/infra/JsonFilesEnvironmentRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.infra; import static org.assertj.core.api.Assertions.assertThat; diff --git a/environment/src/test/java/com/chutneytesting/environment/infra/MigrateTargetSecurityExecutorTest.java b/environment/src/test/java/com/chutneytesting/environment/infra/MigrateTargetSecurityExecutorTest.java index 8968e5de7..99400a904 100644 --- a/environment/src/test/java/com/chutneytesting/environment/infra/MigrateTargetSecurityExecutorTest.java +++ b/environment/src/test/java/com/chutneytesting/environment/infra/MigrateTargetSecurityExecutorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.environment.infra; import static org.assertj.core.api.Assertions.assertThat; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/GlacioAdapterConfiguration.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/GlacioAdapterConfiguration.java index 63d903647..d99a495a1 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/GlacioAdapterConfiguration.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/GlacioAdapterConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio; import static com.chutneytesting.glacio.util.GherkinLanguageFileReader.createLanguagesKeywords; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/api/ExecutionRequestMapper.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/api/ExecutionRequestMapper.java index e2c791a17..b110328ba 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/api/ExecutionRequestMapper.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/api/ExecutionRequestMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.api; import com.chutneytesting.engine.api.execution.DatasetDto; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/api/GlacioAdapter.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/api/GlacioAdapter.java index 66da33938..43c3a5790 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/api/GlacioAdapter.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/api/GlacioAdapter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.api; import static com.chutneytesting.glacio.domain.parser.ParsingContext.PARSING_CONTEXT_KEYS.ENVIRONMENT; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/ExecutableGlacioStepParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/ExecutableGlacioStepParser.java index 36fe0719d..77f834427 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/ExecutableGlacioStepParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/ExecutableGlacioStepParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; import static java.util.Collections.emptyList; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/GlacioStepParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/GlacioStepParser.java index 8d1fedd69..8e1ae37f7 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/GlacioStepParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/GlacioStepParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; import com.github.fridujo.glacio.model.Step; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/IParseExecutableStep.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/IParseExecutableStep.java index 4dc233a36..b6c6a05b9 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/IParseExecutableStep.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/IParseExecutableStep.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; import com.chutneytesting.engine.api.execution.StepDefinitionDto; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/ParsingContext.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/ParsingContext.java index a3ff1b303..737c6619d 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/ParsingContext.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/ParsingContext.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; import java.util.HashMap; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/StepFactory.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/StepFactory.java index 39abaff06..f7db73336 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/StepFactory.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/StepFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; import static java.util.Optional.ofNullable; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/business/BusinessGlacioStepParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/business/BusinessGlacioStepParser.java index 117a325cd..3b09875ea 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/business/BusinessGlacioStepParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/business/BusinessGlacioStepParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.business; import static java.util.Collections.emptyMap; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/business/IParseBusinessStep.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/business/IParseBusinessStep.java index 42a59e2db..fad750628 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/business/IParseBusinessStep.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/business/IParseBusinessStep.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.business; import com.chutneytesting.engine.api.execution.StepDefinitionDto; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/DefaultGlacioParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/DefaultGlacioParser.java index ad7bbe4f8..666bfb113 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/DefaultGlacioParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/DefaultGlacioParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable; import static java.util.Optional.ofNullable; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/EmptyParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/EmptyParser.java index 3a4fe0499..e17419b17 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/EmptyParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/EmptyParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.common; import static java.util.Collections.emptyMap; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/EntryStepParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/EntryStepParser.java index 0565f68bf..58c9947e4 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/EntryStepParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/EntryStepParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.common; import static java.util.Optional.empty; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/FilteredByKeywordsSubStepMapStepParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/FilteredByKeywordsSubStepMapStepParser.java index e8d4dcf3e..430560ae0 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/FilteredByKeywordsSubStepMapStepParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/FilteredByKeywordsSubStepMapStepParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.common; import com.chutneytesting.glacio.domain.parser.GlacioStepParser; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/TargetStepParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/TargetStepParser.java index 394948a92..dc33e2c67 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/TargetStepParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/common/TargetStepParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.common; import static com.chutneytesting.glacio.domain.parser.ParsingContext.PARSING_CONTEXT_KEYS.ENVIRONMENT; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioContextPutParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioContextPutParser.java index c5f7f8e5e..0283a114e 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioContextPutParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioContextPutParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.specific; import static java.util.Locale.ENGLISH; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioSleepParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioSleepParser.java index d1017ff95..3b3ff8e29 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioSleepParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioSleepParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.specific; import static java.util.Optional.ofNullable; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/IParseStrategy.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/IParseStrategy.java index 3da6f0638..f4e6a5dfd 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/IParseStrategy.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/IParseStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.strategy; import com.chutneytesting.engine.api.execution.StepDefinitionDto; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/NoStrategyParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/NoStrategyParser.java index b293bec11..ec0f380d8 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/NoStrategyParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/NoStrategyParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.strategy; import static java.util.Collections.emptyList; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategyParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategyParser.java index 50db45236..91e324e51 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategyParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategyParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.strategy; import static java.util.Optional.ofNullable; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategyRetryParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategyRetryParser.java index acfae71e1..06dde6c50 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategyRetryParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategyRetryParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.strategy; import static java.util.Optional.ofNullable; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategySoftAssertParser.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategySoftAssertParser.java index 2cac6f5fd..17551c93a 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategySoftAssertParser.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/strategy/StrategySoftAssertParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.strategy; import com.chutneytesting.engine.api.execution.StepDefinitionDto; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/util/ParserHelper.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/util/ParserHelper.java index 87b7b9afe..d968b3b01 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/util/ParserHelper.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/util/ParserHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.util; import com.github.fridujo.glacio.model.DataTable; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/util/ParsingTools.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/util/ParsingTools.java index df837f72b..16336e0f2 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/util/ParsingTools.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/domain/parser/util/ParsingTools.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.util; import com.github.fridujo.glacio.model.Step; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/util/GherkinLanguageFileReader.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/util/GherkinLanguageFileReader.java index 4568abb96..340e17d25 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/util/GherkinLanguageFileReader.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/util/GherkinLanguageFileReader.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.util; import java.io.IOException; diff --git a/glacio-adapter/src/main/java/com/chutneytesting/glacio/util/ParserClasspathReader.java b/glacio-adapter/src/main/java/com/chutneytesting/glacio/util/ParserClasspathReader.java index f5ba86dbc..9f85f749d 100644 --- a/glacio-adapter/src/main/java/com/chutneytesting/glacio/util/ParserClasspathReader.java +++ b/glacio-adapter/src/main/java/com/chutneytesting/glacio/util/ParserClasspathReader.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.util; import static com.chutneytesting.tools.Streams.identity; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/api/GlacioAdapterTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/api/GlacioAdapterTest.java index c2a4013c7..123fa43a5 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/api/GlacioAdapterTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/api/GlacioAdapterTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.api; import static com.chutneytesting.glacio.api.GlacioAdapter.DEFAULT_ENV; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/AnotherDebugParser.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/AnotherDebugParser.java index 43f12aaaa..b7c509bb4 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/AnotherDebugParser.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/AnotherDebugParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; import static java.util.Arrays.asList; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/DebugParser.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/DebugParser.java index aa60301ef..e4e517a8e 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/DebugParser.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/DebugParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; import static java.util.Arrays.asList; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/GlacioParserHelper.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/GlacioParserHelper.java index 8fcd2de77..4fe325c4e 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/GlacioParserHelper.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/GlacioParserHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; import static java.util.Collections.emptyList; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/NoGlacioParser.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/NoGlacioParser.java index c80af28cb..c1730a70f 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/NoGlacioParser.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/NoGlacioParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; public class NoGlacioParser { diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/StepFactoryTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/StepFactoryTest.java index dea1e92f2..8e16735b5 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/StepFactoryTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/StepFactoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; import static com.chutneytesting.glacio.domain.parser.ParsingContext.PARSING_CONTEXT_KEYS.ENVIRONMENT; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/SuccessParser.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/SuccessParser.java index f722e65dd..105ed6c23 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/SuccessParser.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/SuccessParser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser; import com.github.fridujo.glacio.model.Step; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/DefaultGlacioParserTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/DefaultGlacioParserTest.java index 756c7cc66..26191c79f 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/DefaultGlacioParserTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/DefaultGlacioParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.common; import static java.util.Collections.emptyList; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/EmptyParserTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/EmptyParserTest.java index 13c10b9c8..cbc5b9e96 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/EmptyParserTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/EmptyParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.common; import static com.chutneytesting.glacio.domain.parser.GlacioParserHelper.buildSimpleStepWithText; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/EntryStepParserTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/EntryStepParserTest.java index b59c3a7b6..2a04fab1a 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/EntryStepParserTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/EntryStepParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.common; import static java.util.Arrays.asList; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/FilteredByKeywordsSubStepMapStepParserTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/FilteredByKeywordsSubStepMapStepParserTest.java index d2f52d292..902082788 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/FilteredByKeywordsSubStepMapStepParserTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/FilteredByKeywordsSubStepMapStepParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.common; import static com.chutneytesting.glacio.domain.parser.ParsingContext.PARSING_CONTEXT_KEYS.ENVIRONMENT; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/StrategyParserTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/StrategyParserTest.java index 18e92fa1e..fee9589c4 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/StrategyParserTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/StrategyParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.common; import static java.util.Collections.emptyList; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/TargetStepParserTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/TargetStepParserTest.java index 8bc239eea..738ac36fc 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/TargetStepParserTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/common/TargetStepParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.common; import static com.chutneytesting.glacio.domain.parser.ParsingContext.PARSING_CONTEXT_KEYS.ENVIRONMENT; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioContextPutParserTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioContextPutParserTest.java index f5425844c..2dd142c00 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioContextPutParserTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioContextPutParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.specific; import static com.chutneytesting.glacio.domain.parser.GlacioParserHelper.buildDataTableStepWithText; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioSleepParserTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioSleepParserTest.java index 285f3f760..70fb3fe83 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioSleepParserTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/GlacioSleepParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.specific; import static com.chutneytesting.glacio.domain.parser.GlacioParserHelper.buildSimpleStepWithText; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/strategy/StrategyRetryParserTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/strategy/StrategyRetryParserTest.java index a98c04c76..f0ae6f549 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/strategy/StrategyRetryParserTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/domain/parser/executable/specific/strategy/StrategyRetryParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.domain.parser.executable.specific.strategy; import com.chutneytesting.engine.api.execution.StepDefinitionDto; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/util/GherkinLanguageFileReaderTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/util/GherkinLanguageFileReaderTest.java index b6ada6e06..4630491fb 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/util/GherkinLanguageFileReaderTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/util/GherkinLanguageFileReaderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.util; diff --git a/glacio-adapter/src/test/java/com/chutneytesting/glacio/util/ParserClasspathReaderTest.java b/glacio-adapter/src/test/java/com/chutneytesting/glacio/util/ParserClasspathReaderTest.java index c883045b2..e4f438409 100644 --- a/glacio-adapter/src/test/java/com/chutneytesting/glacio/util/ParserClasspathReaderTest.java +++ b/glacio-adapter/src/test/java/com/chutneytesting/glacio/util/ParserClasspathReaderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.glacio.util; diff --git a/glacio-adapter/src/test/java/integrationtest/EngineIntegrationTest.java b/glacio-adapter/src/test/java/integrationtest/EngineIntegrationTest.java index 7a866c472..6b872a193 100644 --- a/glacio-adapter/src/test/java/integrationtest/EngineIntegrationTest.java +++ b/glacio-adapter/src/test/java/integrationtest/EngineIntegrationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 integrationtest; import static com.chutneytesting.engine.api.execution.StatusDto.FAILURE; diff --git a/jira/src/main/java/com/chutneytesting/jira/JiraSpringConfiguration.java b/jira/src/main/java/com/chutneytesting/jira/JiraSpringConfiguration.java index 1b72afd35..9033ad301 100644 --- a/jira/src/main/java/com/chutneytesting/jira/JiraSpringConfiguration.java +++ b/jira/src/main/java/com/chutneytesting/jira/JiraSpringConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira; import com.chutneytesting.jira.api.JiraXrayEmbeddedApi; diff --git a/jira/src/main/java/com/chutneytesting/jira/api/JiraConfigurationDto.java b/jira/src/main/java/com/chutneytesting/jira/api/JiraConfigurationDto.java index 3a3ab910c..d360be380 100644 --- a/jira/src/main/java/com/chutneytesting/jira/api/JiraConfigurationDto.java +++ b/jira/src/main/java/com/chutneytesting/jira/api/JiraConfigurationDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.api; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/jira/src/main/java/com/chutneytesting/jira/api/JiraDto.java b/jira/src/main/java/com/chutneytesting/jira/api/JiraDto.java index a329e75af..50980409d 100644 --- a/jira/src/main/java/com/chutneytesting/jira/api/JiraDto.java +++ b/jira/src/main/java/com/chutneytesting/jira/api/JiraDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.api; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/jira/src/main/java/com/chutneytesting/jira/api/JiraModuleController.java b/jira/src/main/java/com/chutneytesting/jira/api/JiraModuleController.java index e2576e7b2..c17e2b658 100644 --- a/jira/src/main/java/com/chutneytesting/jira/api/JiraModuleController.java +++ b/jira/src/main/java/com/chutneytesting/jira/api/JiraModuleController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.api; import com.chutneytesting.jira.domain.JiraRepository; diff --git a/jira/src/main/java/com/chutneytesting/jira/api/JiraRestExceptionHandler.java b/jira/src/main/java/com/chutneytesting/jira/api/JiraRestExceptionHandler.java index e49b1d07f..3f060d3b9 100644 --- a/jira/src/main/java/com/chutneytesting/jira/api/JiraRestExceptionHandler.java +++ b/jira/src/main/java/com/chutneytesting/jira/api/JiraRestExceptionHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.api; import com.chutneytesting.jira.domain.exception.NoJiraConfigurationException; diff --git a/jira/src/main/java/com/chutneytesting/jira/api/JiraTestExecutionDto.java b/jira/src/main/java/com/chutneytesting/jira/api/JiraTestExecutionDto.java index 72ba65476..073168c17 100644 --- a/jira/src/main/java/com/chutneytesting/jira/api/JiraTestExecutionDto.java +++ b/jira/src/main/java/com/chutneytesting/jira/api/JiraTestExecutionDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.api; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/jira/src/main/java/com/chutneytesting/jira/api/JiraXrayEmbeddedApi.java b/jira/src/main/java/com/chutneytesting/jira/api/JiraXrayEmbeddedApi.java index 8eb4af52e..e30cecc5d 100644 --- a/jira/src/main/java/com/chutneytesting/jira/api/JiraXrayEmbeddedApi.java +++ b/jira/src/main/java/com/chutneytesting/jira/api/JiraXrayEmbeddedApi.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.api; import static org.apache.commons.lang3.StringUtils.isNotEmpty; diff --git a/jira/src/main/java/com/chutneytesting/jira/api/ReportForJira.java b/jira/src/main/java/com/chutneytesting/jira/api/ReportForJira.java index a38c6acf9..5281e0f4c 100644 --- a/jira/src/main/java/com/chutneytesting/jira/api/ReportForJira.java +++ b/jira/src/main/java/com/chutneytesting/jira/api/ReportForJira.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.api; import static java.util.Collections.emptyList; diff --git a/jira/src/main/java/com/chutneytesting/jira/domain/JiraRepository.java b/jira/src/main/java/com/chutneytesting/jira/domain/JiraRepository.java index a41f83416..37a088d29 100644 --- a/jira/src/main/java/com/chutneytesting/jira/domain/JiraRepository.java +++ b/jira/src/main/java/com/chutneytesting/jira/domain/JiraRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.domain; import java.nio.file.Path; diff --git a/jira/src/main/java/com/chutneytesting/jira/domain/JiraTargetConfiguration.java b/jira/src/main/java/com/chutneytesting/jira/domain/JiraTargetConfiguration.java index b28d66bde..400fbeb7d 100644 --- a/jira/src/main/java/com/chutneytesting/jira/domain/JiraTargetConfiguration.java +++ b/jira/src/main/java/com/chutneytesting/jira/domain/JiraTargetConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.domain; import org.apache.commons.lang3.StringUtils; diff --git a/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayApi.java b/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayApi.java index ebf40b911..495795695 100644 --- a/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayApi.java +++ b/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayApi.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.domain; import com.chutneytesting.jira.xrayapi.Xray; diff --git a/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayClientFactory.java b/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayClientFactory.java index d5878aa94..9940a9b70 100644 --- a/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayClientFactory.java +++ b/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayClientFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.domain; public interface JiraXrayClientFactory { diff --git a/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayService.java b/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayService.java index 26c33c2cc..b1c5dd817 100644 --- a/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayService.java +++ b/jira/src/main/java/com/chutneytesting/jira/domain/JiraXrayService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.domain; diff --git a/jira/src/main/java/com/chutneytesting/jira/domain/XrayStatus.java b/jira/src/main/java/com/chutneytesting/jira/domain/XrayStatus.java index 0387b3f28..bd3374c75 100644 --- a/jira/src/main/java/com/chutneytesting/jira/domain/XrayStatus.java +++ b/jira/src/main/java/com/chutneytesting/jira/domain/XrayStatus.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.domain; public enum XrayStatus { diff --git a/jira/src/main/java/com/chutneytesting/jira/domain/exception/NoJiraConfigurationException.java b/jira/src/main/java/com/chutneytesting/jira/domain/exception/NoJiraConfigurationException.java index 237475f13..359af599d 100644 --- a/jira/src/main/java/com/chutneytesting/jira/domain/exception/NoJiraConfigurationException.java +++ b/jira/src/main/java/com/chutneytesting/jira/domain/exception/NoJiraConfigurationException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.domain.exception; public class NoJiraConfigurationException extends RuntimeException { diff --git a/jira/src/main/java/com/chutneytesting/jira/infra/HttpJiraXrayImpl.java b/jira/src/main/java/com/chutneytesting/jira/infra/HttpJiraXrayImpl.java index 31905b5ee..f95198872 100644 --- a/jira/src/main/java/com/chutneytesting/jira/infra/HttpJiraXrayImpl.java +++ b/jira/src/main/java/com/chutneytesting/jira/infra/HttpJiraXrayImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.infra; import com.atlassian.jira.rest.client.api.JiraRestClient; diff --git a/jira/src/main/java/com/chutneytesting/jira/infra/JiraBackupRepository.java b/jira/src/main/java/com/chutneytesting/jira/infra/JiraBackupRepository.java index b0bd3cfb7..fef1750b5 100644 --- a/jira/src/main/java/com/chutneytesting/jira/infra/JiraBackupRepository.java +++ b/jira/src/main/java/com/chutneytesting/jira/infra/JiraBackupRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.infra; import static java.util.Optional.ofNullable; diff --git a/jira/src/main/java/com/chutneytesting/jira/infra/JiraFileRepository.java b/jira/src/main/java/com/chutneytesting/jira/infra/JiraFileRepository.java index 77ec9ccbc..55748cca2 100644 --- a/jira/src/main/java/com/chutneytesting/jira/infra/JiraFileRepository.java +++ b/jira/src/main/java/com/chutneytesting/jira/infra/JiraFileRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.infra; import static com.chutneytesting.tools.file.FileUtils.initFolder; diff --git a/jira/src/main/java/com/chutneytesting/jira/infra/JiraTargetConfigurationDto.java b/jira/src/main/java/com/chutneytesting/jira/infra/JiraTargetConfigurationDto.java index e5e3adc81..b01380503 100644 --- a/jira/src/main/java/com/chutneytesting/jira/infra/JiraTargetConfigurationDto.java +++ b/jira/src/main/java/com/chutneytesting/jira/infra/JiraTargetConfigurationDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.infra; public class JiraTargetConfigurationDto { diff --git a/jira/src/main/java/com/chutneytesting/jira/infra/JiraXrayFactoryImpl.java b/jira/src/main/java/com/chutneytesting/jira/infra/JiraXrayFactoryImpl.java index dab762749..23646e6bd 100644 --- a/jira/src/main/java/com/chutneytesting/jira/infra/JiraXrayFactoryImpl.java +++ b/jira/src/main/java/com/chutneytesting/jira/infra/JiraXrayFactoryImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.infra; import com.chutneytesting.jira.domain.JiraTargetConfiguration; diff --git a/jira/src/main/java/com/chutneytesting/jira/xrayapi/JiraIssueType.java b/jira/src/main/java/com/chutneytesting/jira/xrayapi/JiraIssueType.java index 7c02e618d..499243dc3 100644 --- a/jira/src/main/java/com/chutneytesting/jira/xrayapi/JiraIssueType.java +++ b/jira/src/main/java/com/chutneytesting/jira/xrayapi/JiraIssueType.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.xrayapi; public class JiraIssueType { diff --git a/jira/src/main/java/com/chutneytesting/jira/xrayapi/Xray.java b/jira/src/main/java/com/chutneytesting/jira/xrayapi/Xray.java index a72f6e4a9..795460a06 100644 --- a/jira/src/main/java/com/chutneytesting/jira/xrayapi/Xray.java +++ b/jira/src/main/java/com/chutneytesting/jira/xrayapi/Xray.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.xrayapi; import java.util.List; diff --git a/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayEvidence.java b/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayEvidence.java index 51c514873..2ee5b5605 100644 --- a/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayEvidence.java +++ b/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayEvidence.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.xrayapi; public class XrayEvidence { diff --git a/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayInfo.java b/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayInfo.java index 05247bfbb..953e77938 100644 --- a/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayInfo.java +++ b/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayInfo.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.xrayapi; import java.util.List; diff --git a/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayTest.java b/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayTest.java index bdacbce68..0160826c6 100644 --- a/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayTest.java +++ b/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.xrayapi; import java.util.List; diff --git a/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayTestExecTest.java b/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayTestExecTest.java index 1c5d505a4..d79e81961 100644 --- a/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayTestExecTest.java +++ b/jira/src/main/java/com/chutneytesting/jira/xrayapi/XrayTestExecTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.xrayapi; public class XrayTestExecTest { diff --git a/jira/src/main/java/javax/ws/rs/core/UriBuilder.java b/jira/src/main/java/javax/ws/rs/core/UriBuilder.java index 141866a21..6c9f51ddd 100644 --- a/jira/src/main/java/javax/ws/rs/core/UriBuilder.java +++ b/jira/src/main/java/javax/ws/rs/core/UriBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 javax.ws.rs.core; import java.net.URI; diff --git a/jira/src/test/java/com/chutneytesting/jira/api/JiraModuleControllerTest.java b/jira/src/test/java/com/chutneytesting/jira/api/JiraModuleControllerTest.java index f9cafb560..9177b790c 100644 --- a/jira/src/test/java/com/chutneytesting/jira/api/JiraModuleControllerTest.java +++ b/jira/src/test/java/com/chutneytesting/jira/api/JiraModuleControllerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.api; import static com.chutneytesting.jira.domain.XrayStatus.PASS; diff --git a/jira/src/test/java/com/chutneytesting/jira/api/JiraXrayEmbeddedApiTest.java b/jira/src/test/java/com/chutneytesting/jira/api/JiraXrayEmbeddedApiTest.java index 72d4f0552..386c926bb 100644 --- a/jira/src/test/java/com/chutneytesting/jira/api/JiraXrayEmbeddedApiTest.java +++ b/jira/src/test/java/com/chutneytesting/jira/api/JiraXrayEmbeddedApiTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.jira.api; import static com.chutneytesting.jira.domain.XrayStatus.FAIL; diff --git a/packaging/local-api-unsecure/src/main/java/com/chutneytesting/DBConfiguration.java b/packaging/local-api-unsecure/src/main/java/com/chutneytesting/DBConfiguration.java index eca5a65af..751ab7fbc 100644 --- a/packaging/local-api-unsecure/src/main/java/com/chutneytesting/DBConfiguration.java +++ b/packaging/local-api-unsecure/src/main/java/com/chutneytesting/DBConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import com.zaxxer.hikari.HikariConfig; diff --git a/packaging/local-api-unsecure/src/main/java/com/chutneytesting/SecurityConfiguration.java b/packaging/local-api-unsecure/src/main/java/com/chutneytesting/SecurityConfiguration.java index 6b95a1e61..3114bf471 100644 --- a/packaging/local-api-unsecure/src/main/java/com/chutneytesting/SecurityConfiguration.java +++ b/packaging/local-api-unsecure/src/main/java/com/chutneytesting/SecurityConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import com.chutneytesting.security.api.UserDto; diff --git a/packaging/local-dev/src/main/java/com/chutneytesting/DBConfiguration.java b/packaging/local-dev/src/main/java/com/chutneytesting/DBConfiguration.java index 8aad960c3..158a1b3b8 100644 --- a/packaging/local-dev/src/main/java/com/chutneytesting/DBConfiguration.java +++ b/packaging/local-dev/src/main/java/com/chutneytesting/DBConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import com.zaxxer.hikari.HikariConfig; diff --git a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapAttributesMapper.java b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapAttributesMapper.java index 52abd9c86..0afcb3a77 100644 --- a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapAttributesMapper.java +++ b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapAttributesMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.ldap; import static java.util.Optional.ofNullable; diff --git a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapAttributesProperties.java b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapAttributesProperties.java index 0ea7aba1e..ac057bc29 100644 --- a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapAttributesProperties.java +++ b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapAttributesProperties.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.ldap; public class LdapAttributesProperties { diff --git a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapConfiguration.java b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapConfiguration.java index 8b073a79e..3d5a80fa7 100644 --- a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapConfiguration.java +++ b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.ldap; import com.chutneytesting.security.api.UserDto; diff --git a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapSecurityConfiguration.java b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapSecurityConfiguration.java index 08d997bdf..d83e5a49f 100644 --- a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapSecurityConfiguration.java +++ b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapSecurityConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.ldap; import org.springframework.beans.factory.annotation.Autowired; diff --git a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapUserDetailsContextMapper.java b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapUserDetailsContextMapper.java index e62c60eaa..e8660f120 100644 --- a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapUserDetailsContextMapper.java +++ b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapUserDetailsContextMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.ldap; import java.util.Collection; diff --git a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapUserDetailsService.java b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapUserDetailsService.java index db31a441e..581f16230 100644 --- a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapUserDetailsService.java +++ b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/LdapUserDetailsService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.ldap; import static java.util.Optional.ofNullable; diff --git a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/ssl/ChutneyDirContextAuthenticationStrategy.java b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/ssl/ChutneyDirContextAuthenticationStrategy.java index c01580ab1..70f69dde7 100644 --- a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/ssl/ChutneyDirContextAuthenticationStrategy.java +++ b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/ssl/ChutneyDirContextAuthenticationStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.ldap.ssl; import java.util.Hashtable; diff --git a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/ssl/CustomSSLSocketFactory.java b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/ssl/CustomSSLSocketFactory.java index 164646fdc..a9cf89395 100644 --- a/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/ssl/CustomSSLSocketFactory.java +++ b/packaging/local-dev/src/main/java/com/chutneytesting/security/infra/ldap/ssl/CustomSSLSocketFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.ldap.ssl; import java.io.IOException; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/Backupable.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/Backupable.java index 95f1a668c..eb17a58e8 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/Backupable.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/Backupable.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.admin; import java.io.OutputStream; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/DatabaseAdminService.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/DatabaseAdminService.java index 5926ebe33..c9bc1b80c 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/DatabaseAdminService.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/DatabaseAdminService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.admin; import com.chutneytesting.server.core.domain.tools.PaginatedDto; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/SqlResult.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/SqlResult.java index 5e41c8be3..81adc8cb2 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/SqlResult.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/admin/SqlResult.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.admin; import java.util.List; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSet.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSet.java index d353f72b0..e367d4993 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSet.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSet.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.dataset; import static java.time.temporal.ChronoUnit.MILLIS; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetAlreadyExistException.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetAlreadyExistException.java index 2ad437bcc..000a09e4e 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetAlreadyExistException.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetAlreadyExistException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.dataset; public class DataSetAlreadyExistException extends RuntimeException { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetHistoryRepository.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetHistoryRepository.java index 2797b7f48..13fafddd4 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetHistoryRepository.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetHistoryRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.dataset; import java.util.Map; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetNotFoundException.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetNotFoundException.java index 991c6c4ae..0da2955ab 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetNotFoundException.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/dataset/DataSetNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.dataset; public class DataSetNotFoundException extends RuntimeException { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ExecutionRequest.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ExecutionRequest.java index fe332d666..159e474cf 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ExecutionRequest.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ExecutionRequest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution; import com.chutneytesting.server.core.domain.dataset.DataSet; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/FailedExecutionAttempt.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/FailedExecutionAttempt.java index 8ce150268..3de085a60 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/FailedExecutionAttempt.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/FailedExecutionAttempt.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution; public class FailedExecutionAttempt extends RuntimeException { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioConversionException.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioConversionException.java index e330b7ba0..3b60a3a18 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioConversionException.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioConversionException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution; @SuppressWarnings("serial") diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngine.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngine.java index a446b8659..4662756dc 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngine.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngine.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution; import com.chutneytesting.server.core.domain.execution.history.ExecutionHistory; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngineAsync.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngineAsync.java index 16a1ee04f..fa2e6fe89 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngineAsync.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngineAsync.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution; import static io.reactivex.rxjava3.schedulers.Schedulers.io; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioNotRunningException.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioNotRunningException.java index 4d4b3cdbd..956c66428 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioNotRunningException.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ScenarioNotRunningException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution; public class ScenarioNotRunningException extends RuntimeException { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ServerTestEngine.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ServerTestEngine.java index 9a48f9c96..cc35b77bb 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ServerTestEngine.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/ServerTestEngine.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution; import com.chutneytesting.server.core.domain.execution.report.StepExecutionReportCore; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/ExecutionHistory.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/ExecutionHistory.java index 9732abb7b..71d31bb89 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/ExecutionHistory.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/ExecutionHistory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.history; import com.chutneytesting.server.core.domain.execution.report.ServerReportStatus; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/ExecutionHistoryRepository.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/ExecutionHistoryRepository.java index e6e1bcd65..9ff0a5d43 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/ExecutionHistoryRepository.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/ExecutionHistoryRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.history; import com.chutneytesting.server.core.domain.execution.history.ExecutionHistory.ExecutionSummary; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/HavingReport.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/HavingReport.java index 58e3a2c69..4d15edb81 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/HavingReport.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/HavingReport.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.history; interface HavingReport { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/PurgeService.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/PurgeService.java index ee4bf4694..f3ea164fd 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/PurgeService.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/history/PurgeService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.history; import java.util.Set; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessor.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessor.java index 4b1452de7..51322aa14 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessor.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.processor; import com.chutneytesting.server.core.domain.execution.ExecutionRequest; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessors.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessors.java index 6d0445f74..a6461d0bd 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessors.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessors.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.processor; import com.chutneytesting.server.core.domain.execution.ExecutionRequest; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ReportNotFoundException.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ReportNotFoundException.java index 00eefd949..70ceecaa0 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ReportNotFoundException.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ReportNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.report; @SuppressWarnings("serial") diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ScenarioExecutionReport.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ScenarioExecutionReport.java index ae65063ec..90b260d0b 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ScenarioExecutionReport.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ScenarioExecutionReport.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.report; import java.util.Collections; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ServerReportStatus.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ServerReportStatus.java index 1dc5b606a..303b7508a 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ServerReportStatus.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/ServerReportStatus.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.report; import com.google.common.collect.Ordering; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/StepExecutionReportCore.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/StepExecutionReportCore.java index 673cf446a..61a952034 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/StepExecutionReportCore.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/StepExecutionReportCore.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.report; import com.chutneytesting.server.core.domain.tools.Default; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/StepExecutionReportCoreBuilder.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/StepExecutionReportCoreBuilder.java index d5bad979e..7e6f87b08 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/StepExecutionReportCoreBuilder.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/report/StepExecutionReportCoreBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.report; import static java.util.Collections.emptyList; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/state/ExecutionStateRepository.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/state/ExecutionStateRepository.java index 15e1b4ee4..34dd0f190 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/state/ExecutionStateRepository.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/state/ExecutionStateRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.state; import java.util.Optional; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/state/RunningScenarioState.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/state/RunningScenarioState.java index a56aad1d1..73db3d9d2 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/state/RunningScenarioState.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/execution/state/RunningScenarioState.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.state; import java.time.Instant; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/feature/Feature.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/feature/Feature.java index 328d280ac..a9fdcfe5b 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/feature/Feature.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/feature/Feature.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.feature; public interface Feature { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/globalvar/GlobalVarNotFoundException.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/globalvar/GlobalVarNotFoundException.java index 20cf10986..5e65e06a3 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/globalvar/GlobalVarNotFoundException.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/globalvar/GlobalVarNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.globalvar; public class GlobalVarNotFoundException extends RuntimeException { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/globalvar/GlobalvarRepository.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/globalvar/GlobalvarRepository.java index 04f540f94..7bdd85b31 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/globalvar/GlobalvarRepository.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/globalvar/GlobalvarRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.globalvar; import com.chutneytesting.server.core.domain.admin.Backupable; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/instrument/ChutneyMetrics.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/instrument/ChutneyMetrics.java index 93a5f5e99..7db61d7d1 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/instrument/ChutneyMetrics.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/instrument/ChutneyMetrics.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.instrument; import com.chutneytesting.server.core.domain.execution.history.ExecutionHistory; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/AggregatedRepository.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/AggregatedRepository.java index 917abb1c7..716e6f054 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/AggregatedRepository.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/AggregatedRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario; import java.util.List; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/AlreadyExistingScenarioException.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/AlreadyExistingScenarioException.java index a64af5c0e..1123108f0 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/AlreadyExistingScenarioException.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/AlreadyExistingScenarioException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario; @SuppressWarnings("serial") diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/ScenarioNotFoundException.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/ScenarioNotFoundException.java index 642bb5761..d9729c6cd 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/ScenarioNotFoundException.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/ScenarioNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario; @SuppressWarnings("serial") diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/ScenarioNotParsableException.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/ScenarioNotParsableException.java index 3a89fa476..dddd3d778 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/ScenarioNotParsableException.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/ScenarioNotParsableException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario; @SuppressWarnings("serial") diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCase.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCase.java index 15d2a088e..783b9def4 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCase.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCase.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario; import java.util.Map; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseMetadata.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseMetadata.java index 3dfbe14ca..eeebda515 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseMetadata.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseMetadata.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario; import java.time.Instant; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseMetadataImpl.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseMetadataImpl.java index 0bfe8a165..7fef6613f 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseMetadataImpl.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseMetadataImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario; import static java.util.Optional.ofNullable; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseRepository.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseRepository.java index a8e7b6747..655b7587f 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseRepository.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/TestCaseRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario; public interface TestCaseRepository extends AggregatedRepository { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/Campaign.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/Campaign.java index f93f43477..b336df75a 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/Campaign.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/Campaign.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario.campaign; import java.util.ArrayList; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignBuilder.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignBuilder.java index 20bc6d13f..6a18e391f 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignBuilder.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario.campaign; import java.util.List; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignExecution.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignExecution.java index 92aab571f..f41fcac83 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignExecution.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignExecution.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario.campaign; import static com.chutneytesting.server.core.domain.execution.report.ServerReportStatus.RUNNING; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignExecutionReportBuilder.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignExecutionReportBuilder.java index da51a9ffc..9388debbc 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignExecutionReportBuilder.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/CampaignExecutionReportBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario.campaign; import static java.util.Optional.ofNullable; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/ScenarioExecutionCampaign.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/ScenarioExecutionCampaign.java index 8c251be1c..b8495eac5 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/ScenarioExecutionCampaign.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/scenario/campaign/ScenarioExecutionCampaign.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.scenario.campaign; import com.chutneytesting.server.core.domain.execution.history.ExecutionHistory; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/Authorization.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/Authorization.java index ec5cf55fc..827a34ec2 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/Authorization.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/Authorization.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.security; public enum Authorization { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/Role.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/Role.java index 0c041af73..9a23e29dc 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/Role.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/Role.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.security; import static java.util.Collections.emptySet; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/RoleNotFoundException.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/RoleNotFoundException.java index f234bca03..3951cbd48 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/RoleNotFoundException.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/RoleNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.security; public class RoleNotFoundException extends RuntimeException { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/User.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/User.java index c546aa57c..24c607501 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/User.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/User.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.security; import static java.util.Optional.ofNullable; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/UserRoles.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/UserRoles.java index 775b652dc..218b7c46f 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/UserRoles.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/UserRoles.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.security; import static java.util.Collections.emptySet; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/UserService.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/UserService.java index 5ea043da0..7a4971527 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/security/UserService.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/security/UserService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.security; public interface UserService { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/Default.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/Default.java index eacac6c73..d373fbaee 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/Default.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/Default.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.tools; import java.lang.annotation.ElementType; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginatedDto.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginatedDto.java index 14a8d6f83..1e96adcf9 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginatedDto.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginatedDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.tools; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginationRequestParametersDto.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginationRequestParametersDto.java index 3fe2d602a..962f92ef2 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginationRequestParametersDto.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginationRequestParametersDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.tools; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginationRequestWrapperDto.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginationRequestWrapperDto.java index d49f61d6b..930788802 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginationRequestWrapperDto.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/PaginationRequestWrapperDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.tools; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/SortRequestParametersDto.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/SortRequestParametersDto.java index f5411f38d..d8ac7ec69 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/SortRequestParametersDto.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/SortRequestParametersDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.tools; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/SqlUtils.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/SqlUtils.java index f2c1eb21b..3aa68ff3a 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/SqlUtils.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/SqlUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.tools; public final class SqlUtils { diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/ZipUtils.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/ZipUtils.java index 43f425729..8196cee50 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/ZipUtils.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/ZipUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.tools; import static java.util.Objects.requireNonNull; diff --git a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/ui/KeyValue.java b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/ui/KeyValue.java index 8c535801a..e3bc3859f 100644 --- a/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/ui/KeyValue.java +++ b/server-core/src/main/java/com/chutneytesting/server/core/domain/tools/ui/KeyValue.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.tools.ui; import static java.util.Optional.ofNullable; diff --git a/server-core/src/test/java/com/chutneytesting/server/core/domain/dataset/DatasetTest.java b/server-core/src/test/java/com/chutneytesting/server/core/domain/dataset/DatasetTest.java index 101c48958..c905c3f5f 100644 --- a/server-core/src/test/java/com/chutneytesting/server/core/domain/dataset/DatasetTest.java +++ b/server-core/src/test/java/com/chutneytesting/server/core/domain/dataset/DatasetTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.dataset; import static java.util.Arrays.asList; diff --git a/server-core/src/test/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngineAsyncTest.java b/server-core/src/test/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngineAsyncTest.java index 77abb3a4c..ff9d5e248 100644 --- a/server-core/src/test/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngineAsyncTest.java +++ b/server-core/src/test/java/com/chutneytesting/server/core/domain/execution/ScenarioExecutionEngineAsyncTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution; diff --git a/server-core/src/test/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessorTest.java b/server-core/src/test/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessorTest.java index 415d5b3f6..9e45d156b 100644 --- a/server-core/src/test/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessorTest.java +++ b/server-core/src/test/java/com/chutneytesting/server/core/domain/execution/processor/TestCasePreProcessorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.execution.processor; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server-core/src/test/java/com/chutneytesting/server/core/domain/security/PropertyBasedTestingUtils.java b/server-core/src/test/java/com/chutneytesting/server/core/domain/security/PropertyBasedTestingUtils.java index 0ad9db1a7..45e4af8ae 100644 --- a/server-core/src/test/java/com/chutneytesting/server/core/domain/security/PropertyBasedTestingUtils.java +++ b/server-core/src/test/java/com/chutneytesting/server/core/domain/security/PropertyBasedTestingUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.security; import static java.util.stream.Collectors.toSet; diff --git a/server-core/src/test/java/com/chutneytesting/server/core/domain/security/RoleTest.java b/server-core/src/test/java/com/chutneytesting/server/core/domain/security/RoleTest.java index fdaffb7a6..4ec6b9939 100644 --- a/server-core/src/test/java/com/chutneytesting/server/core/domain/security/RoleTest.java +++ b/server-core/src/test/java/com/chutneytesting/server/core/domain/security/RoleTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.security; import static java.util.Collections.singleton; diff --git a/server-core/src/test/java/com/chutneytesting/server/core/domain/security/UserRolesTest.java b/server-core/src/test/java/com/chutneytesting/server/core/domain/security/UserRolesTest.java index cec8d45e9..72b086244 100644 --- a/server-core/src/test/java/com/chutneytesting/server/core/domain/security/UserRolesTest.java +++ b/server-core/src/test/java/com/chutneytesting/server/core/domain/security/UserRolesTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.security; import static com.chutneytesting.server.core.domain.security.User.userByRoleNamePredicate; diff --git a/server-core/src/test/java/com/chutneytesting/server/core/domain/security/UserTest.java b/server-core/src/test/java/com/chutneytesting/server/core/domain/security/UserTest.java index f1c560054..7e385a420 100644 --- a/server-core/src/test/java/com/chutneytesting/server/core/domain/security/UserTest.java +++ b/server-core/src/test/java/com/chutneytesting/server/core/domain/security/UserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.server.core.domain.security; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/main/java/com/chutneytesting/RestExceptionHandler.java b/server/src/main/java/com/chutneytesting/RestExceptionHandler.java index 48fff258f..483d8959f 100644 --- a/server/src/main/java/com/chutneytesting/RestExceptionHandler.java +++ b/server/src/main/java/com/chutneytesting/RestExceptionHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import com.chutneytesting.admin.domain.BackupNotFoundException; diff --git a/server/src/main/java/com/chutneytesting/SchedulingConfiguration.java b/server/src/main/java/com/chutneytesting/SchedulingConfiguration.java index b2c81a802..7595db493 100644 --- a/server/src/main/java/com/chutneytesting/SchedulingConfiguration.java +++ b/server/src/main/java/com/chutneytesting/SchedulingConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import static com.chutneytesting.ServerConfigurationValues.SCHEDULED_CAMPAIGNS_EXECUTOR_POOL_SIZE_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/ServerBootstrap.java b/server/src/main/java/com/chutneytesting/ServerBootstrap.java index e0ec9e3be..8f2263835 100644 --- a/server/src/main/java/com/chutneytesting/ServerBootstrap.java +++ b/server/src/main/java/com/chutneytesting/ServerBootstrap.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import com.chutneytesting.server.core.domain.execution.history.ExecutionHistoryRepository; diff --git a/server/src/main/java/com/chutneytesting/ServerConfiguration.java b/server/src/main/java/com/chutneytesting/ServerConfiguration.java index bf155b716..fec5017f5 100644 --- a/server/src/main/java/com/chutneytesting/ServerConfiguration.java +++ b/server/src/main/java/com/chutneytesting/ServerConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import static com.chutneytesting.ServerConfigurationValues.CAMPAIGNS_EXECUTOR_POOL_SIZE_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/ServerConfigurationValues.java b/server/src/main/java/com/chutneytesting/ServerConfigurationValues.java index 116af314b..51a17bf89 100644 --- a/server/src/main/java/com/chutneytesting/ServerConfigurationValues.java +++ b/server/src/main/java/com/chutneytesting/ServerConfigurationValues.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; public final class ServerConfigurationValues { diff --git a/server/src/main/java/com/chutneytesting/UndertowConfig.java b/server/src/main/java/com/chutneytesting/UndertowConfig.java index e4829023b..f926d8927 100644 --- a/server/src/main/java/com/chutneytesting/UndertowConfig.java +++ b/server/src/main/java/com/chutneytesting/UndertowConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import static com.chutneytesting.ServerConfigurationValues.SERVER_HTTP_INTERFACE_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/WebConfiguration.java b/server/src/main/java/com/chutneytesting/WebConfiguration.java index 04cfd508c..ea485bb0f 100644 --- a/server/src/main/java/com/chutneytesting/WebConfiguration.java +++ b/server/src/main/java/com/chutneytesting/WebConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import com.chutneytesting.tools.ui.MyMixInForIgnoreType; diff --git a/server/src/main/java/com/chutneytesting/admin/api/BackupController.java b/server/src/main/java/com/chutneytesting/admin/api/BackupController.java index 326e7956b..4812a8988 100644 --- a/server/src/main/java/com/chutneytesting/admin/api/BackupController.java +++ b/server/src/main/java/com/chutneytesting/admin/api/BackupController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.api; import static com.chutneytesting.admin.api.dto.BackupMapper.fromDto; diff --git a/server/src/main/java/com/chutneytesting/admin/api/DatabaseManagementController.java b/server/src/main/java/com/chutneytesting/admin/api/DatabaseManagementController.java index ea81269dd..d342c9778 100644 --- a/server/src/main/java/com/chutneytesting/admin/api/DatabaseManagementController.java +++ b/server/src/main/java/com/chutneytesting/admin/api/DatabaseManagementController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.api; import com.chutneytesting.server.core.domain.admin.DatabaseAdminService; diff --git a/server/src/main/java/com/chutneytesting/admin/api/InfoController.java b/server/src/main/java/com/chutneytesting/admin/api/InfoController.java index e7ac09e87..71cd59568 100644 --- a/server/src/main/java/com/chutneytesting/admin/api/InfoController.java +++ b/server/src/main/java/com/chutneytesting/admin/api/InfoController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.api; import static com.chutneytesting.ServerConfigurationValues.SERVER_INSTANCE_NAME_VALUE; diff --git a/server/src/main/java/com/chutneytesting/admin/api/ManifestInfoContributor.java b/server/src/main/java/com/chutneytesting/admin/api/ManifestInfoContributor.java index b32cb0d53..c919d3698 100644 --- a/server/src/main/java/com/chutneytesting/admin/api/ManifestInfoContributor.java +++ b/server/src/main/java/com/chutneytesting/admin/api/ManifestInfoContributor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.api; diff --git a/server/src/main/java/com/chutneytesting/admin/api/dto/BackupDto.java b/server/src/main/java/com/chutneytesting/admin/api/dto/BackupDto.java index 1b04d6ed7..0b90587c5 100644 --- a/server/src/main/java/com/chutneytesting/admin/api/dto/BackupDto.java +++ b/server/src/main/java/com/chutneytesting/admin/api/dto/BackupDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.api.dto; import java.time.LocalDateTime; diff --git a/server/src/main/java/com/chutneytesting/admin/api/dto/BackupMapper.java b/server/src/main/java/com/chutneytesting/admin/api/dto/BackupMapper.java index 91b749bd8..0f8e79fff 100644 --- a/server/src/main/java/com/chutneytesting/admin/api/dto/BackupMapper.java +++ b/server/src/main/java/com/chutneytesting/admin/api/dto/BackupMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.api.dto; import com.chutneytesting.admin.domain.Backup; diff --git a/server/src/main/java/com/chutneytesting/admin/domain/Backup.java b/server/src/main/java/com/chutneytesting/admin/domain/Backup.java index 74603a7d4..0da07996d 100644 --- a/server/src/main/java/com/chutneytesting/admin/domain/Backup.java +++ b/server/src/main/java/com/chutneytesting/admin/domain/Backup.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.domain; import java.time.LocalDateTime; diff --git a/server/src/main/java/com/chutneytesting/admin/domain/BackupNotFoundException.java b/server/src/main/java/com/chutneytesting/admin/domain/BackupNotFoundException.java index 63c04b2cb..494033406 100644 --- a/server/src/main/java/com/chutneytesting/admin/domain/BackupNotFoundException.java +++ b/server/src/main/java/com/chutneytesting/admin/domain/BackupNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.domain; @SuppressWarnings("serial") diff --git a/server/src/main/java/com/chutneytesting/admin/domain/BackupRepository.java b/server/src/main/java/com/chutneytesting/admin/domain/BackupRepository.java index cc6881888..5f3b3df92 100644 --- a/server/src/main/java/com/chutneytesting/admin/domain/BackupRepository.java +++ b/server/src/main/java/com/chutneytesting/admin/domain/BackupRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.domain; import java.io.IOException; diff --git a/server/src/main/java/com/chutneytesting/admin/infra/DatabaseAdminServiceImpl.java b/server/src/main/java/com/chutneytesting/admin/infra/DatabaseAdminServiceImpl.java index 93a94776d..52e8060a4 100644 --- a/server/src/main/java/com/chutneytesting/admin/infra/DatabaseAdminServiceImpl.java +++ b/server/src/main/java/com/chutneytesting/admin/infra/DatabaseAdminServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.infra; diff --git a/server/src/main/java/com/chutneytesting/admin/infra/FileSystemBackupRepository.java b/server/src/main/java/com/chutneytesting/admin/infra/FileSystemBackupRepository.java index 9b0f62e96..6436b9f7c 100644 --- a/server/src/main/java/com/chutneytesting/admin/infra/FileSystemBackupRepository.java +++ b/server/src/main/java/com/chutneytesting/admin/infra/FileSystemBackupRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.infra; import static com.chutneytesting.ServerConfigurationValues.CONFIGURATION_FOLDER_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/agent/NodeNetworkSpringConfiguration.java b/server/src/main/java/com/chutneytesting/agent/NodeNetworkSpringConfiguration.java index 79809a316..4be717594 100644 --- a/server/src/main/java/com/chutneytesting/agent/NodeNetworkSpringConfiguration.java +++ b/server/src/main/java/com/chutneytesting/agent/NodeNetworkSpringConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent; import static com.chutneytesting.ServerConfigurationValues.CONFIGURATION_FOLDER_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/agent/api/NoCurrentDescriptionException.java b/server/src/main/java/com/chutneytesting/agent/api/NoCurrentDescriptionException.java index 9bfdd6457..bc14f3f3e 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/NoCurrentDescriptionException.java +++ b/server/src/main/java/com/chutneytesting/agent/api/NoCurrentDescriptionException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api; @SuppressWarnings("serial") diff --git a/server/src/main/java/com/chutneytesting/agent/api/NodeNetworkController.java b/server/src/main/java/com/chutneytesting/agent/api/NodeNetworkController.java index 04041d6da..02efc2a8a 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/NodeNetworkController.java +++ b/server/src/main/java/com/chutneytesting/agent/api/NodeNetworkController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api; import com.chutneytesting.agent.api.dto.ExploreResultApiDto; diff --git a/server/src/main/java/com/chutneytesting/agent/api/dto/AgentApiDto.java b/server/src/main/java/com/chutneytesting/agent/api/dto/AgentApiDto.java index ec7bb238a..c54dfc4b9 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/dto/AgentApiDto.java +++ b/server/src/main/java/com/chutneytesting/agent/api/dto/AgentApiDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.dto; import com.chutneytesting.agent.domain.network.Agent; diff --git a/server/src/main/java/com/chutneytesting/agent/api/dto/AgentsGraphApiDto.java b/server/src/main/java/com/chutneytesting/agent/api/dto/AgentsGraphApiDto.java index 7c9a2a43b..697d761e4 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/dto/AgentsGraphApiDto.java +++ b/server/src/main/java/com/chutneytesting/agent/api/dto/AgentsGraphApiDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.dto; import com.chutneytesting.agent.domain.network.AgentGraph; diff --git a/server/src/main/java/com/chutneytesting/agent/api/dto/ExploreResultApiDto.java b/server/src/main/java/com/chutneytesting/agent/api/dto/ExploreResultApiDto.java index 1c26757b6..0bbc98134 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/dto/ExploreResultApiDto.java +++ b/server/src/main/java/com/chutneytesting/agent/api/dto/ExploreResultApiDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.dto; import java.util.LinkedHashSet; diff --git a/server/src/main/java/com/chutneytesting/agent/api/dto/NetworkConfigurationApiDto.java b/server/src/main/java/com/chutneytesting/agent/api/dto/NetworkConfigurationApiDto.java index 4ee5ce57a..259b6494c 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/dto/NetworkConfigurationApiDto.java +++ b/server/src/main/java/com/chutneytesting/agent/api/dto/NetworkConfigurationApiDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.dto; import com.chutneytesting.agent.domain.configure.NetworkConfiguration; diff --git a/server/src/main/java/com/chutneytesting/agent/api/dto/NetworkDescriptionApiDto.java b/server/src/main/java/com/chutneytesting/agent/api/dto/NetworkDescriptionApiDto.java index 68ed068ed..8989ca5f7 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/dto/NetworkDescriptionApiDto.java +++ b/server/src/main/java/com/chutneytesting/agent/api/dto/NetworkDescriptionApiDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.dto; import com.chutneytesting.agent.domain.network.NetworkDescription; diff --git a/server/src/main/java/com/chutneytesting/agent/api/dto/TargetIdEntity.java b/server/src/main/java/com/chutneytesting/agent/api/dto/TargetIdEntity.java index d1c6b58fc..b810386a0 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/dto/TargetIdEntity.java +++ b/server/src/main/java/com/chutneytesting/agent/api/dto/TargetIdEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.dto; public class TargetIdEntity { diff --git a/server/src/main/java/com/chutneytesting/agent/api/mapper/AgentGraphApiMapper.java b/server/src/main/java/com/chutneytesting/agent/api/mapper/AgentGraphApiMapper.java index 49794ff3f..6e4e58b00 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/mapper/AgentGraphApiMapper.java +++ b/server/src/main/java/com/chutneytesting/agent/api/mapper/AgentGraphApiMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.mapper; import com.chutneytesting.agent.api.dto.AgentApiDto; diff --git a/server/src/main/java/com/chutneytesting/agent/api/mapper/AgentInfoApiMapper.java b/server/src/main/java/com/chutneytesting/agent/api/mapper/AgentInfoApiMapper.java index e08c17096..946f63706 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/mapper/AgentInfoApiMapper.java +++ b/server/src/main/java/com/chutneytesting/agent/api/mapper/AgentInfoApiMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.mapper; import com.chutneytesting.agent.api.dto.NetworkConfigurationApiDto; diff --git a/server/src/main/java/com/chutneytesting/agent/api/mapper/EnvironmentApiMapper.java b/server/src/main/java/com/chutneytesting/agent/api/mapper/EnvironmentApiMapper.java index 6be0e0608..063ff8480 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/mapper/EnvironmentApiMapper.java +++ b/server/src/main/java/com/chutneytesting/agent/api/mapper/EnvironmentApiMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.mapper; import static java.util.stream.Collectors.toList; diff --git a/server/src/main/java/com/chutneytesting/agent/api/mapper/ExploreResultApiMapper.java b/server/src/main/java/com/chutneytesting/agent/api/mapper/ExploreResultApiMapper.java index 242ff2652..d9f8e5982 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/mapper/ExploreResultApiMapper.java +++ b/server/src/main/java/com/chutneytesting/agent/api/mapper/ExploreResultApiMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.mapper; import com.chutneytesting.agent.api.dto.ExploreResultApiDto; diff --git a/server/src/main/java/com/chutneytesting/agent/api/mapper/NetworkConfigurationApiMapper.java b/server/src/main/java/com/chutneytesting/agent/api/mapper/NetworkConfigurationApiMapper.java index d87e2bdde..16146b644 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/mapper/NetworkConfigurationApiMapper.java +++ b/server/src/main/java/com/chutneytesting/agent/api/mapper/NetworkConfigurationApiMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.mapper; import static java.util.stream.Collectors.toSet; diff --git a/server/src/main/java/com/chutneytesting/agent/api/mapper/NetworkDescriptionApiMapper.java b/server/src/main/java/com/chutneytesting/agent/api/mapper/NetworkDescriptionApiMapper.java index a8c2174d1..117831a4d 100644 --- a/server/src/main/java/com/chutneytesting/agent/api/mapper/NetworkDescriptionApiMapper.java +++ b/server/src/main/java/com/chutneytesting/agent/api/mapper/NetworkDescriptionApiMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.mapper; import com.chutneytesting.agent.api.dto.NetworkDescriptionApiDto; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/AgentClient.java b/server/src/main/java/com/chutneytesting/agent/domain/AgentClient.java index 681adb24a..d246a740e 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/AgentClient.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/AgentClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain; import com.chutneytesting.agent.domain.configure.ConfigurationState; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/TargetId.java b/server/src/main/java/com/chutneytesting/agent/domain/TargetId.java index d563d3d67..8e6a2cb2f 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/TargetId.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/TargetId.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain; import java.util.Objects; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/configure/ConfigurationState.java b/server/src/main/java/com/chutneytesting/agent/domain/configure/ConfigurationState.java index 6ad5cdcbb..edf5a2977 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/configure/ConfigurationState.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/configure/ConfigurationState.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.configure; public enum ConfigurationState { diff --git a/server/src/main/java/com/chutneytesting/agent/domain/configure/ConfigureService.java b/server/src/main/java/com/chutneytesting/agent/domain/configure/ConfigureService.java index fe4b1147d..b4be00ba0 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/configure/ConfigureService.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/configure/ConfigureService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.configure; import com.chutneytesting.agent.domain.explore.CurrentNetworkDescription; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/configure/Explorations.java b/server/src/main/java/com/chutneytesting/agent/domain/configure/Explorations.java index cad56cf54..c67b0d38d 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/configure/Explorations.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/configure/Explorations.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.configure; public interface Explorations { diff --git a/server/src/main/java/com/chutneytesting/agent/domain/configure/GetCurrentNetworkDescriptionService.java b/server/src/main/java/com/chutneytesting/agent/domain/configure/GetCurrentNetworkDescriptionService.java index 2446795b8..ebb2b8758 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/configure/GetCurrentNetworkDescriptionService.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/configure/GetCurrentNetworkDescriptionService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.configure; import com.chutneytesting.agent.domain.explore.CurrentNetworkDescription; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/configure/LocalServerIdentifier.java b/server/src/main/java/com/chutneytesting/agent/domain/configure/LocalServerIdentifier.java index 89d5657f9..140678c23 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/configure/LocalServerIdentifier.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/configure/LocalServerIdentifier.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.configure; import static java.util.Collections.emptyList; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/configure/NetworkConfiguration.java b/server/src/main/java/com/chutneytesting/agent/domain/configure/NetworkConfiguration.java index c8ba97175..ff753ecfa 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/configure/NetworkConfiguration.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/configure/NetworkConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.configure; import com.chutneytesting.engine.domain.delegation.NamedHostAndPort; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/explore/AgentId.java b/server/src/main/java/com/chutneytesting/agent/domain/explore/AgentId.java index 22f6e535c..9ab90e759 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/explore/AgentId.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/explore/AgentId.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.explore; import org.immutables.value.Value; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/explore/CurrentNetworkDescription.java b/server/src/main/java/com/chutneytesting/agent/domain/explore/CurrentNetworkDescription.java index d30df7fa0..bd5e8eca4 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/explore/CurrentNetworkDescription.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/explore/CurrentNetworkDescription.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.explore; import com.chutneytesting.agent.domain.network.NetworkDescription; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/explore/ExploreAgentsService.java b/server/src/main/java/com/chutneytesting/agent/domain/explore/ExploreAgentsService.java index 32b070a2e..9dbb7040c 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/explore/ExploreAgentsService.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/explore/ExploreAgentsService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.explore; import static com.chutneytesting.agent.domain.explore.ImmutableExploreResult.Links.of; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/explore/ExploreResult.java b/server/src/main/java/com/chutneytesting/agent/domain/explore/ExploreResult.java index 7193ffb7f..1f2dca7dc 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/explore/ExploreResult.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/explore/ExploreResult.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.explore; import com.chutneytesting.agent.domain.TargetId; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/explore/UndefinedPortException.java b/server/src/main/java/com/chutneytesting/agent/domain/explore/UndefinedPortException.java index fc0ad71b3..e338c2953 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/explore/UndefinedPortException.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/explore/UndefinedPortException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.explore; public class UndefinedPortException extends RuntimeException { diff --git a/server/src/main/java/com/chutneytesting/agent/domain/explore/UrlSlicer.java b/server/src/main/java/com/chutneytesting/agent/domain/explore/UrlSlicer.java index 8db2dfc3c..7853e916b 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/explore/UrlSlicer.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/explore/UrlSlicer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.explore; import static java.util.Optional.ofNullable; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/network/Agent.java b/server/src/main/java/com/chutneytesting/agent/domain/network/Agent.java index 07d79a693..7cdacdfd4 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/network/Agent.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/network/Agent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.network; import com.chutneytesting.agent.domain.TargetId; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/network/AgentGraph.java b/server/src/main/java/com/chutneytesting/agent/domain/network/AgentGraph.java index f63894fbe..ad04a3b46 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/network/AgentGraph.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/network/AgentGraph.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.network; import static java.util.stream.Collectors.toMap; diff --git a/server/src/main/java/com/chutneytesting/agent/domain/network/NetworkDescription.java b/server/src/main/java/com/chutneytesting/agent/domain/network/NetworkDescription.java index 21003ffb5..dbcbf613e 100644 --- a/server/src/main/java/com/chutneytesting/agent/domain/network/NetworkDescription.java +++ b/server/src/main/java/com/chutneytesting/agent/domain/network/NetworkDescription.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.network; import com.chutneytesting.agent.domain.configure.NetworkConfiguration; diff --git a/server/src/main/java/com/chutneytesting/agent/infra/HttpAgentClient.java b/server/src/main/java/com/chutneytesting/agent/infra/HttpAgentClient.java index e02e1936e..09a101eff 100644 --- a/server/src/main/java/com/chutneytesting/agent/infra/HttpAgentClient.java +++ b/server/src/main/java/com/chutneytesting/agent/infra/HttpAgentClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra; import static com.chutneytesting.agent.api.NodeNetworkController.EXPLORE_URL; diff --git a/server/src/main/java/com/chutneytesting/agent/infra/InMemoryExplorations.java b/server/src/main/java/com/chutneytesting/agent/infra/InMemoryExplorations.java index 96508592d..2bc3c40cf 100644 --- a/server/src/main/java/com/chutneytesting/agent/infra/InMemoryExplorations.java +++ b/server/src/main/java/com/chutneytesting/agent/infra/InMemoryExplorations.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra; import com.chutneytesting.agent.domain.configure.ConfigurationState; diff --git a/server/src/main/java/com/chutneytesting/agent/infra/TcpConnectionChecker.java b/server/src/main/java/com/chutneytesting/agent/infra/TcpConnectionChecker.java index 1be8c4256..e27bdb096 100644 --- a/server/src/main/java/com/chutneytesting/agent/infra/TcpConnectionChecker.java +++ b/server/src/main/java/com/chutneytesting/agent/infra/TcpConnectionChecker.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra; import static com.chutneytesting.ServerConfigurationValues.AGENT_NETWORK_CONNECTION_CHECK_TIMEOUT_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentForJsonFile.java b/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentForJsonFile.java index 598fe60fc..8f1c7aba9 100644 --- a/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentForJsonFile.java +++ b/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentForJsonFile.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra.storage; import java.util.List; diff --git a/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentNetworkForJsonFile.java b/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentNetworkForJsonFile.java index a4d5f6f37..001f2fce7 100644 --- a/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentNetworkForJsonFile.java +++ b/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentNetworkForJsonFile.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra.storage; import java.time.Instant; diff --git a/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentNetworkMapperJsonFileMapper.java b/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentNetworkMapperJsonFileMapper.java index 76e756774..5a0d3eaea 100644 --- a/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentNetworkMapperJsonFileMapper.java +++ b/server/src/main/java/com/chutneytesting/agent/infra/storage/AgentNetworkMapperJsonFileMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra.storage; import static java.util.Optional.ofNullable; diff --git a/server/src/main/java/com/chutneytesting/agent/infra/storage/JsonFileAgentNetworkDao.java b/server/src/main/java/com/chutneytesting/agent/infra/storage/JsonFileAgentNetworkDao.java index 49cf23237..638f4b624 100644 --- a/server/src/main/java/com/chutneytesting/agent/infra/storage/JsonFileAgentNetworkDao.java +++ b/server/src/main/java/com/chutneytesting/agent/infra/storage/JsonFileAgentNetworkDao.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra.storage; import static com.chutneytesting.tools.file.FileUtils.initFolder; diff --git a/server/src/main/java/com/chutneytesting/agent/infra/storage/JsonFileCurrentNetworkDescription.java b/server/src/main/java/com/chutneytesting/agent/infra/storage/JsonFileCurrentNetworkDescription.java index ac56e8a33..917871ffb 100644 --- a/server/src/main/java/com/chutneytesting/agent/infra/storage/JsonFileCurrentNetworkDescription.java +++ b/server/src/main/java/com/chutneytesting/agent/infra/storage/JsonFileCurrentNetworkDescription.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra.storage; import com.chutneytesting.agent.domain.configure.LocalServerIdentifier; diff --git a/server/src/main/java/com/chutneytesting/agent/infra/storage/TargetForJsonFile.java b/server/src/main/java/com/chutneytesting/agent/infra/storage/TargetForJsonFile.java index cd6da6435..0ac615221 100644 --- a/server/src/main/java/com/chutneytesting/agent/infra/storage/TargetForJsonFile.java +++ b/server/src/main/java/com/chutneytesting/agent/infra/storage/TargetForJsonFile.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra.storage; public class TargetForJsonFile { diff --git a/server/src/main/java/com/chutneytesting/campaign/api/CampaignController.java b/server/src/main/java/com/chutneytesting/campaign/api/CampaignController.java index 43fab31a5..22f1fe28b 100644 --- a/server/src/main/java/com/chutneytesting/campaign/api/CampaignController.java +++ b/server/src/main/java/com/chutneytesting/campaign/api/CampaignController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.api; import static com.chutneytesting.campaign.api.dto.CampaignMapper.fromDto; diff --git a/server/src/main/java/com/chutneytesting/campaign/api/ScheduleCampaignController.java b/server/src/main/java/com/chutneytesting/campaign/api/ScheduleCampaignController.java index 88308e5e8..df090b0d2 100644 --- a/server/src/main/java/com/chutneytesting/campaign/api/ScheduleCampaignController.java +++ b/server/src/main/java/com/chutneytesting/campaign/api/ScheduleCampaignController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.api; import static com.chutneytesting.campaign.domain.Frequency.toFrequency; diff --git a/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignDto.java b/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignDto.java index b115ad22d..38a1f0408 100644 --- a/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignDto.java +++ b/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.api.dto; import static java.util.Optional.ofNullable; diff --git a/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignExecutionReportDto.java b/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignExecutionReportDto.java index 75d855916..71a82728e 100644 --- a/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignExecutionReportDto.java +++ b/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignExecutionReportDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.api.dto; import com.chutneytesting.server.core.domain.execution.report.ServerReportStatus; diff --git a/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignExecutionReportMapper.java b/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignExecutionReportMapper.java index 50a0bd5a2..241c27d8b 100644 --- a/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignExecutionReportMapper.java +++ b/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignExecutionReportMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.api.dto; import com.chutneytesting.server.core.domain.scenario.campaign.CampaignExecution; diff --git a/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignMapper.java b/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignMapper.java index 088b66920..e66d7e8a6 100644 --- a/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignMapper.java +++ b/server/src/main/java/com/chutneytesting/campaign/api/dto/CampaignMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.api.dto; import static java.util.Collections.emptyList; diff --git a/server/src/main/java/com/chutneytesting/campaign/api/dto/ScenarioExecutionReportCampaignMapper.java b/server/src/main/java/com/chutneytesting/campaign/api/dto/ScenarioExecutionReportCampaignMapper.java index 1e7c89553..181b7fe03 100644 --- a/server/src/main/java/com/chutneytesting/campaign/api/dto/ScenarioExecutionReportCampaignMapper.java +++ b/server/src/main/java/com/chutneytesting/campaign/api/dto/ScenarioExecutionReportCampaignMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.api.dto; diff --git a/server/src/main/java/com/chutneytesting/campaign/api/dto/ScenarioExecutionReportOutlineDto.java b/server/src/main/java/com/chutneytesting/campaign/api/dto/ScenarioExecutionReportOutlineDto.java index fed3629b0..344f32a65 100644 --- a/server/src/main/java/com/chutneytesting/campaign/api/dto/ScenarioExecutionReportOutlineDto.java +++ b/server/src/main/java/com/chutneytesting/campaign/api/dto/ScenarioExecutionReportOutlineDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.api.dto; import com.chutneytesting.server.core.domain.execution.history.ExecutionHistory; diff --git a/server/src/main/java/com/chutneytesting/campaign/api/dto/SchedulingCampaignDto.java b/server/src/main/java/com/chutneytesting/campaign/api/dto/SchedulingCampaignDto.java index b07cf3f76..79f8dde00 100644 --- a/server/src/main/java/com/chutneytesting/campaign/api/dto/SchedulingCampaignDto.java +++ b/server/src/main/java/com/chutneytesting/campaign/api/dto/SchedulingCampaignDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.api.dto; diff --git a/server/src/main/java/com/chutneytesting/campaign/domain/CampaignExecutionRepository.java b/server/src/main/java/com/chutneytesting/campaign/domain/CampaignExecutionRepository.java index d802b978d..1800a41d1 100644 --- a/server/src/main/java/com/chutneytesting/campaign/domain/CampaignExecutionRepository.java +++ b/server/src/main/java/com/chutneytesting/campaign/domain/CampaignExecutionRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.domain; import com.chutneytesting.server.core.domain.scenario.campaign.CampaignExecution; diff --git a/server/src/main/java/com/chutneytesting/campaign/domain/CampaignNotFoundException.java b/server/src/main/java/com/chutneytesting/campaign/domain/CampaignNotFoundException.java index ae77c8be1..ae391f1a3 100644 --- a/server/src/main/java/com/chutneytesting/campaign/domain/CampaignNotFoundException.java +++ b/server/src/main/java/com/chutneytesting/campaign/domain/CampaignNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.domain; /** diff --git a/server/src/main/java/com/chutneytesting/campaign/domain/CampaignRepository.java b/server/src/main/java/com/chutneytesting/campaign/domain/CampaignRepository.java index 13b03c736..14444635b 100644 --- a/server/src/main/java/com/chutneytesting/campaign/domain/CampaignRepository.java +++ b/server/src/main/java/com/chutneytesting/campaign/domain/CampaignRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.domain; import com.chutneytesting.execution.domain.campaign.CampaignExecutionEngine; diff --git a/server/src/main/java/com/chutneytesting/campaign/domain/CampaignService.java b/server/src/main/java/com/chutneytesting/campaign/domain/CampaignService.java index 65f0fdb09..ff52e18ac 100644 --- a/server/src/main/java/com/chutneytesting/campaign/domain/CampaignService.java +++ b/server/src/main/java/com/chutneytesting/campaign/domain/CampaignService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.domain; import static java.util.stream.Collectors.toList; diff --git a/server/src/main/java/com/chutneytesting/campaign/domain/Frequency.java b/server/src/main/java/com/chutneytesting/campaign/domain/Frequency.java index 669d24ed3..8a6cbf590 100644 --- a/server/src/main/java/com/chutneytesting/campaign/domain/Frequency.java +++ b/server/src/main/java/com/chutneytesting/campaign/domain/Frequency.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.domain; public enum Frequency { diff --git a/server/src/main/java/com/chutneytesting/campaign/domain/PeriodicScheduledCampaign.java b/server/src/main/java/com/chutneytesting/campaign/domain/PeriodicScheduledCampaign.java index ea2e0095a..808c70f85 100644 --- a/server/src/main/java/com/chutneytesting/campaign/domain/PeriodicScheduledCampaign.java +++ b/server/src/main/java/com/chutneytesting/campaign/domain/PeriodicScheduledCampaign.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.domain; import java.time.LocalDateTime; diff --git a/server/src/main/java/com/chutneytesting/campaign/domain/PeriodicScheduledCampaignRepository.java b/server/src/main/java/com/chutneytesting/campaign/domain/PeriodicScheduledCampaignRepository.java index 02500c7ce..d7e6923ae 100644 --- a/server/src/main/java/com/chutneytesting/campaign/domain/PeriodicScheduledCampaignRepository.java +++ b/server/src/main/java/com/chutneytesting/campaign/domain/PeriodicScheduledCampaignRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.domain; import java.util.List; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/CampaignExecutionDBRepository.java b/server/src/main/java/com/chutneytesting/campaign/infra/CampaignExecutionDBRepository.java index 6d2fd5130..2d498dea2 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/CampaignExecutionDBRepository.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/CampaignExecutionDBRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; import com.chutneytesting.campaign.domain.CampaignExecutionRepository; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/CampaignExecutionJpaRepository.java b/server/src/main/java/com/chutneytesting/campaign/infra/CampaignExecutionJpaRepository.java index ecbba307f..e0db2d893 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/CampaignExecutionJpaRepository.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/CampaignExecutionJpaRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; import com.chutneytesting.campaign.infra.jpa.CampaignExecutionEntity; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/CampaignJpaRepository.java b/server/src/main/java/com/chutneytesting/campaign/infra/CampaignJpaRepository.java index fc7492f4a..c3e8c9490 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/CampaignJpaRepository.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/CampaignJpaRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; import com.chutneytesting.campaign.infra.jpa.CampaignEntity; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/CampaignScenarioJpaRepository.java b/server/src/main/java/com/chutneytesting/campaign/infra/CampaignScenarioJpaRepository.java index 9e5362368..d17bfe700 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/CampaignScenarioJpaRepository.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/CampaignScenarioJpaRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; import com.chutneytesting.campaign.infra.jpa.CampaignScenarioEntity; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/DatabaseCampaignRepository.java b/server/src/main/java/com/chutneytesting/campaign/infra/DatabaseCampaignRepository.java index 50f72dbda..b15850ce1 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/DatabaseCampaignRepository.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/DatabaseCampaignRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; import static com.google.common.base.Strings.isNullOrEmpty; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/SchedulingCampaignDto.java b/server/src/main/java/com/chutneytesting/campaign/infra/SchedulingCampaignDto.java index 215883fc2..ca9d41226 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/SchedulingCampaignDto.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/SchedulingCampaignDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; import java.time.LocalDateTime; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/SchedulingCampaignFileRepository.java b/server/src/main/java/com/chutneytesting/campaign/infra/SchedulingCampaignFileRepository.java index 2a59495a5..6cd40e2c7 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/SchedulingCampaignFileRepository.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/SchedulingCampaignFileRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; import static com.chutneytesting.ServerConfigurationValues.CONFIGURATION_FOLDER_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignEntity.java b/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignEntity.java index eff31c8d5..7fad67762 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignEntity.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra.jpa; import static java.util.Optional.ofNullable; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignExecutionEntity.java b/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignExecutionEntity.java index 8439796c0..13f997c93 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignExecutionEntity.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignExecutionEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra.jpa; import static java.util.Collections.emptyList; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignParameterEntity.java b/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignParameterEntity.java index 5e7e4dfac..b13382a54 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignParameterEntity.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignParameterEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra.jpa; import static java.util.stream.Collectors.toSet; diff --git a/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignScenarioEntity.java b/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignScenarioEntity.java index 3f18bc228..9855a6451 100644 --- a/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignScenarioEntity.java +++ b/server/src/main/java/com/chutneytesting/campaign/infra/jpa/CampaignScenarioEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra.jpa; import jakarta.persistence.Column; diff --git a/server/src/main/java/com/chutneytesting/dataset/api/DataSetController.java b/server/src/main/java/com/chutneytesting/dataset/api/DataSetController.java index 972727e1d..9132ae00b 100644 --- a/server/src/main/java/com/chutneytesting/dataset/api/DataSetController.java +++ b/server/src/main/java/com/chutneytesting/dataset/api/DataSetController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.api; import static com.chutneytesting.dataset.api.DataSetMapper.fromDto; diff --git a/server/src/main/java/com/chutneytesting/dataset/api/DataSetDto.java b/server/src/main/java/com/chutneytesting/dataset/api/DataSetDto.java index 93f5bbe9e..c5a81646b 100644 --- a/server/src/main/java/com/chutneytesting/dataset/api/DataSetDto.java +++ b/server/src/main/java/com/chutneytesting/dataset/api/DataSetDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.api; import static java.time.Instant.now; diff --git a/server/src/main/java/com/chutneytesting/dataset/api/DataSetMapper.java b/server/src/main/java/com/chutneytesting/dataset/api/DataSetMapper.java index 31e911269..c7aafa1f1 100644 --- a/server/src/main/java/com/chutneytesting/dataset/api/DataSetMapper.java +++ b/server/src/main/java/com/chutneytesting/dataset/api/DataSetMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.api; diff --git a/server/src/main/java/com/chutneytesting/dataset/domain/DataSetRepository.java b/server/src/main/java/com/chutneytesting/dataset/domain/DataSetRepository.java index afdcd0a69..cb03af231 100644 --- a/server/src/main/java/com/chutneytesting/dataset/domain/DataSetRepository.java +++ b/server/src/main/java/com/chutneytesting/dataset/domain/DataSetRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.domain; import com.chutneytesting.server.core.domain.dataset.DataSet; diff --git a/server/src/main/java/com/chutneytesting/dataset/domain/DatasetService.java b/server/src/main/java/com/chutneytesting/dataset/domain/DatasetService.java index df25afae7..f5475cb8b 100644 --- a/server/src/main/java/com/chutneytesting/dataset/domain/DatasetService.java +++ b/server/src/main/java/com/chutneytesting/dataset/domain/DatasetService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.domain; import static java.util.Optional.ofNullable; diff --git a/server/src/main/java/com/chutneytesting/dataset/infra/DatasetDto.java b/server/src/main/java/com/chutneytesting/dataset/infra/DatasetDto.java index 1417b8a20..22ee38992 100644 --- a/server/src/main/java/com/chutneytesting/dataset/infra/DatasetDto.java +++ b/server/src/main/java/com/chutneytesting/dataset/infra/DatasetDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.infra; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/server/src/main/java/com/chutneytesting/dataset/infra/DatasetMapper.java b/server/src/main/java/com/chutneytesting/dataset/infra/DatasetMapper.java index 6dd7fd8a7..657f3f073 100644 --- a/server/src/main/java/com/chutneytesting/dataset/infra/DatasetMapper.java +++ b/server/src/main/java/com/chutneytesting/dataset/infra/DatasetMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.infra; import com.chutneytesting.server.core.domain.dataset.DataSet; diff --git a/server/src/main/java/com/chutneytesting/dataset/infra/FileDatasetRepository.java b/server/src/main/java/com/chutneytesting/dataset/infra/FileDatasetRepository.java index adffd5eba..19317deaa 100644 --- a/server/src/main/java/com/chutneytesting/dataset/infra/FileDatasetRepository.java +++ b/server/src/main/java/com/chutneytesting/dataset/infra/FileDatasetRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.infra; import static com.chutneytesting.ServerConfigurationValues.CONFIGURATION_FOLDER_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/design/api/editionlock/TestCaseEditionController.java b/server/src/main/java/com/chutneytesting/design/api/editionlock/TestCaseEditionController.java index 7f2bf6a52..b7815dc73 100644 --- a/server/src/main/java/com/chutneytesting/design/api/editionlock/TestCaseEditionController.java +++ b/server/src/main/java/com/chutneytesting/design/api/editionlock/TestCaseEditionController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.api.editionlock; import static java.util.stream.Collectors.toList; diff --git a/server/src/main/java/com/chutneytesting/design/api/editionlock/TestCaseEditionDto.java b/server/src/main/java/com/chutneytesting/design/api/editionlock/TestCaseEditionDto.java index 46cb26f47..407b83257 100644 --- a/server/src/main/java/com/chutneytesting/design/api/editionlock/TestCaseEditionDto.java +++ b/server/src/main/java/com/chutneytesting/design/api/editionlock/TestCaseEditionDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.api.editionlock; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/server/src/main/java/com/chutneytesting/design/api/plugins/linkifier/LinkifierController.java b/server/src/main/java/com/chutneytesting/design/api/plugins/linkifier/LinkifierController.java index aa9235572..620a889a5 100644 --- a/server/src/main/java/com/chutneytesting/design/api/plugins/linkifier/LinkifierController.java +++ b/server/src/main/java/com/chutneytesting/design/api/plugins/linkifier/LinkifierController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.api.plugins.linkifier; import com.chutneytesting.design.domain.plugins.linkifier.Linkifier; diff --git a/server/src/main/java/com/chutneytesting/design/api/plugins/linkifier/LinkifierDto.java b/server/src/main/java/com/chutneytesting/design/api/plugins/linkifier/LinkifierDto.java index 0190d8a97..db43299d2 100644 --- a/server/src/main/java/com/chutneytesting/design/api/plugins/linkifier/LinkifierDto.java +++ b/server/src/main/java/com/chutneytesting/design/api/plugins/linkifier/LinkifierDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.api.plugins.linkifier; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEdition.java b/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEdition.java index 50e8153f0..97bfe5bb9 100644 --- a/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEdition.java +++ b/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEdition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.domain.editionlock; import static java.util.Objects.requireNonNull; diff --git a/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEditions.java b/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEditions.java index 23e7210e1..a24be278a 100644 --- a/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEditions.java +++ b/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEditions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.domain.editionlock; import static java.util.stream.Collectors.toList; diff --git a/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEditionsService.java b/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEditionsService.java index 3d87e3e0d..fd2468909 100644 --- a/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEditionsService.java +++ b/server/src/main/java/com/chutneytesting/design/domain/editionlock/TestCaseEditionsService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.domain.editionlock; import static com.chutneytesting.design.domain.editionlock.TestCaseEdition.byEditor; diff --git a/server/src/main/java/com/chutneytesting/design/domain/plugins/linkifier/Linkifier.java b/server/src/main/java/com/chutneytesting/design/domain/plugins/linkifier/Linkifier.java index 946868527..02716c8ce 100644 --- a/server/src/main/java/com/chutneytesting/design/domain/plugins/linkifier/Linkifier.java +++ b/server/src/main/java/com/chutneytesting/design/domain/plugins/linkifier/Linkifier.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.domain.plugins.linkifier; import java.util.Objects; diff --git a/server/src/main/java/com/chutneytesting/design/domain/plugins/linkifier/Linkifiers.java b/server/src/main/java/com/chutneytesting/design/domain/plugins/linkifier/Linkifiers.java index af449f087..a63b9bb74 100644 --- a/server/src/main/java/com/chutneytesting/design/domain/plugins/linkifier/Linkifiers.java +++ b/server/src/main/java/com/chutneytesting/design/domain/plugins/linkifier/Linkifiers.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.domain.plugins.linkifier; import java.util.List; diff --git a/server/src/main/java/com/chutneytesting/design/infra/storage/editionlock/TestCaseEditionsImpl.java b/server/src/main/java/com/chutneytesting/design/infra/storage/editionlock/TestCaseEditionsImpl.java index c799c5c71..27555dcb0 100644 --- a/server/src/main/java/com/chutneytesting/design/infra/storage/editionlock/TestCaseEditionsImpl.java +++ b/server/src/main/java/com/chutneytesting/design/infra/storage/editionlock/TestCaseEditionsImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.infra.storage.editionlock; import static com.chutneytesting.ServerConfigurationValues.EDITIONS_TTL_UNIT_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierDto.java b/server/src/main/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierDto.java index 3ad5c55ab..c96064cf0 100644 --- a/server/src/main/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierDto.java +++ b/server/src/main/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.infra.storage.plugins.linkifier; public class LinkifierDto { diff --git a/server/src/main/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierFileRepository.java b/server/src/main/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierFileRepository.java index 58e0c4ddc..d764817df 100644 --- a/server/src/main/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierFileRepository.java +++ b/server/src/main/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierFileRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.infra.storage.plugins.linkifier; import static com.chutneytesting.ServerConfigurationValues.CONFIGURATION_FOLDER_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionApiMapper.java b/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionApiMapper.java index 528befdef..070b544e0 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionApiMapper.java +++ b/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionApiMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import com.chutneytesting.server.core.domain.scenario.campaign.CampaignExecution; diff --git a/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionReportSummaryDto.java b/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionReportSummaryDto.java index affb59455..ce0bc7b1e 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionReportSummaryDto.java +++ b/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionReportSummaryDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import com.chutneytesting.server.core.domain.execution.report.ServerReportStatus; diff --git a/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionUiController.java b/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionUiController.java index 1d8faf1d3..3418e8873 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionUiController.java +++ b/server/src/main/java/com/chutneytesting/execution/api/CampaignExecutionUiController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import static com.chutneytesting.campaign.api.dto.CampaignExecutionReportMapper.toDto; diff --git a/server/src/main/java/com/chutneytesting/execution/api/ExecutionSummaryDto.java b/server/src/main/java/com/chutneytesting/execution/api/ExecutionSummaryDto.java index d268854fa..3e41ac5bb 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/ExecutionSummaryDto.java +++ b/server/src/main/java/com/chutneytesting/execution/api/ExecutionSummaryDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import com.chutneytesting.server.core.domain.execution.history.ExecutionHistory.Attached; diff --git a/server/src/main/java/com/chutneytesting/execution/api/IdeaRequest.java b/server/src/main/java/com/chutneytesting/execution/api/IdeaRequest.java index cd365e058..4eaab62bb 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/IdeaRequest.java +++ b/server/src/main/java/com/chutneytesting/execution/api/IdeaRequest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import java.util.Map; diff --git a/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionHistoryController.java b/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionHistoryController.java index 07499b7de..9f64eb9c8 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionHistoryController.java +++ b/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionHistoryController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import com.chutneytesting.server.core.domain.execution.history.ExecutionHistory; diff --git a/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportCoreMapper.java b/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportCoreMapper.java index 1f76a4701..64bed1ea3 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportCoreMapper.java +++ b/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportCoreMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import com.chutneytesting.server.core.domain.execution.report.ScenarioExecutionReport; diff --git a/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportDto.java b/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportDto.java index 370661529..652496d8e 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportDto.java +++ b/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import java.util.Map; diff --git a/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportMapper.java b/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportMapper.java index b71802fc0..d1cd557a1 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportMapper.java +++ b/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionReportMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import com.chutneytesting.server.core.domain.execution.report.ScenarioExecutionReport; diff --git a/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionUiController.java b/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionUiController.java index 98e66c189..d49f3caab 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionUiController.java +++ b/server/src/main/java/com/chutneytesting/execution/api/ScenarioExecutionUiController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import static java.util.Objects.requireNonNull; diff --git a/server/src/main/java/com/chutneytesting/execution/api/StepExecutionReportCoreDto.java b/server/src/main/java/com/chutneytesting/execution/api/StepExecutionReportCoreDto.java index 70fbfa522..c2fc3af99 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/StepExecutionReportCoreDto.java +++ b/server/src/main/java/com/chutneytesting/execution/api/StepExecutionReportCoreDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api; import com.chutneytesting.server.core.domain.execution.report.ServerReportStatus; diff --git a/server/src/main/java/com/chutneytesting/execution/api/report/surefire/CampaignReportFolder.java b/server/src/main/java/com/chutneytesting/execution/api/report/surefire/CampaignReportFolder.java index edb2fa2e3..7e761fc70 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/report/surefire/CampaignReportFolder.java +++ b/server/src/main/java/com/chutneytesting/execution/api/report/surefire/CampaignReportFolder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api.report.surefire; import java.util.Set; diff --git a/server/src/main/java/com/chutneytesting/execution/api/report/surefire/SurefireCampaignExecutionReportBuilder.java b/server/src/main/java/com/chutneytesting/execution/api/report/surefire/SurefireCampaignExecutionReportBuilder.java index 7519f7057..014bf9cde 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/report/surefire/SurefireCampaignExecutionReportBuilder.java +++ b/server/src/main/java/com/chutneytesting/execution/api/report/surefire/SurefireCampaignExecutionReportBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api.report.surefire; import com.chutneytesting.server.core.domain.scenario.campaign.CampaignExecution; diff --git a/server/src/main/java/com/chutneytesting/execution/api/report/surefire/SurefireScenarioExecutionReportBuilder.java b/server/src/main/java/com/chutneytesting/execution/api/report/surefire/SurefireScenarioExecutionReportBuilder.java index 278048ec3..e05897ac5 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/report/surefire/SurefireScenarioExecutionReportBuilder.java +++ b/server/src/main/java/com/chutneytesting/execution/api/report/surefire/SurefireScenarioExecutionReportBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api.report.surefire; import com.chutneytesting.execution.api.report.surefire.Testsuite.Properties; diff --git a/server/src/main/java/com/chutneytesting/execution/api/schedule/ScheduleCampaign.java b/server/src/main/java/com/chutneytesting/execution/api/schedule/ScheduleCampaign.java index 7de9de58e..8ae7fc157 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/schedule/ScheduleCampaign.java +++ b/server/src/main/java/com/chutneytesting/execution/api/schedule/ScheduleCampaign.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api.schedule; import static com.chutneytesting.ServerConfigurationValues.SCHEDULED_CAMPAIGNS_FIXED_RATE_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/execution/api/schedule/SchedulePurge.java b/server/src/main/java/com/chutneytesting/execution/api/schedule/SchedulePurge.java index ad6d6c5f1..4e57dff35 100644 --- a/server/src/main/java/com/chutneytesting/execution/api/schedule/SchedulePurge.java +++ b/server/src/main/java/com/chutneytesting/execution/api/schedule/SchedulePurge.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api.schedule; import static com.chutneytesting.ServerConfigurationValues.SCHEDULED_PURGE_CRON_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/execution/domain/GwtDataSetPreProcessor.java b/server/src/main/java/com/chutneytesting/execution/domain/GwtDataSetPreProcessor.java index 41eacdd30..f045431ce 100644 --- a/server/src/main/java/com/chutneytesting/execution/domain/GwtDataSetPreProcessor.java +++ b/server/src/main/java/com/chutneytesting/execution/domain/GwtDataSetPreProcessor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain; import com.chutneytesting.scenario.domain.gwt.GwtScenario; diff --git a/server/src/main/java/com/chutneytesting/execution/domain/GwtScenarioMarshaller.java b/server/src/main/java/com/chutneytesting/execution/domain/GwtScenarioMarshaller.java index bcf254f95..e824ebe9f 100644 --- a/server/src/main/java/com/chutneytesting/execution/domain/GwtScenarioMarshaller.java +++ b/server/src/main/java/com/chutneytesting/execution/domain/GwtScenarioMarshaller.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain; import com.chutneytesting.scenario.domain.gwt.GwtScenario; diff --git a/server/src/main/java/com/chutneytesting/execution/domain/PurgeServiceImpl.java b/server/src/main/java/com/chutneytesting/execution/domain/PurgeServiceImpl.java index 583aba2fa..ed1c9f053 100644 --- a/server/src/main/java/com/chutneytesting/execution/domain/PurgeServiceImpl.java +++ b/server/src/main/java/com/chutneytesting/execution/domain/PurgeServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain; import static com.chutneytesting.server.core.domain.execution.report.ServerReportStatus.SUCCESS; diff --git a/server/src/main/java/com/chutneytesting/execution/domain/RawDataSetPreProcessor.java b/server/src/main/java/com/chutneytesting/execution/domain/RawDataSetPreProcessor.java index 4a11142e2..dee2f82cf 100644 --- a/server/src/main/java/com/chutneytesting/execution/domain/RawDataSetPreProcessor.java +++ b/server/src/main/java/com/chutneytesting/execution/domain/RawDataSetPreProcessor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain; import com.chutneytesting.scenario.domain.raw.RawTestCase; diff --git a/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignAlreadyRunningException.java b/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignAlreadyRunningException.java index 02d137da5..8748270b4 100644 --- a/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignAlreadyRunningException.java +++ b/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignAlreadyRunningException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain.campaign; import com.chutneytesting.server.core.domain.scenario.campaign.CampaignExecution; diff --git a/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionEngine.java b/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionEngine.java index 0610082a1..6a19d60f0 100644 --- a/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionEngine.java +++ b/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionEngine.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain.campaign; import static java.util.Collections.singleton; diff --git a/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionNotFoundException.java b/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionNotFoundException.java index df79e01f0..fc8dd26ff 100644 --- a/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionNotFoundException.java +++ b/server/src/main/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain.campaign; public class CampaignExecutionNotFoundException extends RuntimeException { diff --git a/server/src/main/java/com/chutneytesting/execution/domain/campaign/JiraReportMapper.java b/server/src/main/java/com/chutneytesting/execution/domain/campaign/JiraReportMapper.java index 9d1e4e606..03d324a1e 100644 --- a/server/src/main/java/com/chutneytesting/execution/domain/campaign/JiraReportMapper.java +++ b/server/src/main/java/com/chutneytesting/execution/domain/campaign/JiraReportMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain.campaign; import com.chutneytesting.jira.api.ReportForJira; diff --git a/server/src/main/java/com/chutneytesting/execution/domain/schedule/CampaignScheduler.java b/server/src/main/java/com/chutneytesting/execution/domain/schedule/CampaignScheduler.java index 39e824fd7..b2fa7213e 100644 --- a/server/src/main/java/com/chutneytesting/execution/domain/schedule/CampaignScheduler.java +++ b/server/src/main/java/com/chutneytesting/execution/domain/schedule/CampaignScheduler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain.schedule; import com.chutneytesting.campaign.domain.Frequency; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/execution/DatasetMapper.java b/server/src/main/java/com/chutneytesting/execution/infra/execution/DatasetMapper.java index cdcb9e4c8..51cb6e882 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/execution/DatasetMapper.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/execution/DatasetMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.execution; import com.chutneytesting.engine.api.execution.DatasetDto; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/execution/DefaultExecutionRequestMapper.java b/server/src/main/java/com/chutneytesting/execution/infra/execution/DefaultExecutionRequestMapper.java index b123afbca..11235afa4 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/execution/DefaultExecutionRequestMapper.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/execution/DefaultExecutionRequestMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.execution; import static com.chutneytesting.environment.api.dto.NoTargetDto.NO_TARGET_DTO; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/execution/ExecutionRequestMapper.java b/server/src/main/java/com/chutneytesting/execution/infra/execution/ExecutionRequestMapper.java index 1c7716db1..6c59168f1 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/execution/ExecutionRequestMapper.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/execution/ExecutionRequestMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.execution; import com.chutneytesting.engine.api.execution.ExecutionRequestDto; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/execution/ScenarioContent.java b/server/src/main/java/com/chutneytesting/execution/infra/execution/ScenarioContent.java index f74a5cff0..6c51d8001 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/execution/ScenarioContent.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/execution/ScenarioContent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.execution; class ScenarioContent { diff --git a/server/src/main/java/com/chutneytesting/execution/infra/execution/ServerTestEngineJavaImpl.java b/server/src/main/java/com/chutneytesting/execution/infra/execution/ServerTestEngineJavaImpl.java index aa9cafe8b..78fe607cd 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/execution/ServerTestEngineJavaImpl.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/execution/ServerTestEngineJavaImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.execution; import com.chutneytesting.engine.api.execution.ExecutionRequestDto; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/execution/StepExecutionReportMapperCore.java b/server/src/main/java/com/chutneytesting/execution/infra/execution/StepExecutionReportMapperCore.java index 2ae01babb..3df1f62a6 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/execution/StepExecutionReportMapperCore.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/execution/StepExecutionReportMapperCore.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.execution; import static java.util.Collections.EMPTY_MAP; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/execution/UnmarshalledStepDefinition.java b/server/src/main/java/com/chutneytesting/execution/infra/execution/UnmarshalledStepDefinition.java index 435fc1488..21794a7a4 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/execution/UnmarshalledStepDefinition.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/execution/UnmarshalledStepDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.execution; import static java.util.Collections.emptyList; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/execution/UnmarshalledStepStrategyDefinition.java b/server/src/main/java/com/chutneytesting/execution/infra/execution/UnmarshalledStepStrategyDefinition.java index 0282cbfc6..0062f7801 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/execution/UnmarshalledStepStrategyDefinition.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/execution/UnmarshalledStepStrategyDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.execution; import static java.util.Collections.emptyMap; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionHistoryRepository.java b/server/src/main/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionHistoryRepository.java index 50bc4ba53..05d3569bc 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionHistoryRepository.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionHistoryRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.storage; import static com.google.common.base.Strings.isNullOrEmpty; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionJpaRepository.java b/server/src/main/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionJpaRepository.java index 4bcf60dc8..b85463925 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionJpaRepository.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionJpaRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.storage; import com.chutneytesting.execution.infra.storage.jpa.ScenarioExecutionEntity; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/storage/ExecutionRowMapper.java b/server/src/main/java/com/chutneytesting/execution/infra/storage/ExecutionRowMapper.java index 3170efc59..666f47465 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/storage/ExecutionRowMapper.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/storage/ExecutionRowMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.storage; import com.chutneytesting.server.core.domain.execution.history.ExecutionHistory.Execution; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/storage/ExecutionSummaryRowMapper.java b/server/src/main/java/com/chutneytesting/execution/infra/storage/ExecutionSummaryRowMapper.java index 7e39ebad6..7bec57f5f 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/storage/ExecutionSummaryRowMapper.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/storage/ExecutionSummaryRowMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.storage; import static com.chutneytesting.server.core.domain.execution.history.ImmutableExecutionHistory.ExecutionSummary.Builder; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/storage/InMemoryExecutionStateRepository.java b/server/src/main/java/com/chutneytesting/execution/infra/storage/InMemoryExecutionStateRepository.java index 535b75b0e..9b2c92d5c 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/storage/InMemoryExecutionStateRepository.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/storage/InMemoryExecutionStateRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.storage; import com.chutneytesting.server.core.domain.execution.state.ExecutionStateRepository; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/storage/ScenarioExecutionReportJpaRepository.java b/server/src/main/java/com/chutneytesting/execution/infra/storage/ScenarioExecutionReportJpaRepository.java index a1d6776bf..c24bf5518 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/storage/ScenarioExecutionReportJpaRepository.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/storage/ScenarioExecutionReportJpaRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.storage; import com.chutneytesting.execution.infra.storage.jpa.ScenarioExecutionReportEntity; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/storage/jpa/ScenarioExecutionEntity.java b/server/src/main/java/com/chutneytesting/execution/infra/storage/jpa/ScenarioExecutionEntity.java index 7052702c0..3d4e02a74 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/storage/jpa/ScenarioExecutionEntity.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/storage/jpa/ScenarioExecutionEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.storage.jpa; import static java.util.Optional.ofNullable; diff --git a/server/src/main/java/com/chutneytesting/execution/infra/storage/jpa/ScenarioExecutionReportEntity.java b/server/src/main/java/com/chutneytesting/execution/infra/storage/jpa/ScenarioExecutionReportEntity.java index 1505ce2cf..3e52f0676 100644 --- a/server/src/main/java/com/chutneytesting/execution/infra/storage/jpa/ScenarioExecutionReportEntity.java +++ b/server/src/main/java/com/chutneytesting/execution/infra/storage/jpa/ScenarioExecutionReportEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.storage.jpa; import static java.util.Optional.ofNullable; diff --git a/server/src/main/java/com/chutneytesting/feature/api/FeatureController.java b/server/src/main/java/com/chutneytesting/feature/api/FeatureController.java index 9924e821a..3c8fec832 100644 --- a/server/src/main/java/com/chutneytesting/feature/api/FeatureController.java +++ b/server/src/main/java/com/chutneytesting/feature/api/FeatureController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.feature.api; import com.chutneytesting.feature.api.dto.FeatureDto; diff --git a/server/src/main/java/com/chutneytesting/feature/api/dto/FeatureDto.java b/server/src/main/java/com/chutneytesting/feature/api/dto/FeatureDto.java index b8ae64847..95a109e2f 100644 --- a/server/src/main/java/com/chutneytesting/feature/api/dto/FeatureDto.java +++ b/server/src/main/java/com/chutneytesting/feature/api/dto/FeatureDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.feature.api.dto; public record FeatureDto(String name, boolean active) { diff --git a/server/src/main/java/com/chutneytesting/globalvar/api/GlobalVarController.java b/server/src/main/java/com/chutneytesting/globalvar/api/GlobalVarController.java index 8650b286c..340bc4bb8 100644 --- a/server/src/main/java/com/chutneytesting/globalvar/api/GlobalVarController.java +++ b/server/src/main/java/com/chutneytesting/globalvar/api/GlobalVarController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.globalvar.api; import com.chutneytesting.globalvar.infra.FileGlobalVarRepository; diff --git a/server/src/main/java/com/chutneytesting/globalvar/infra/FileGlobalVarRepository.java b/server/src/main/java/com/chutneytesting/globalvar/infra/FileGlobalVarRepository.java index 0f20b835f..20e1ef139 100644 --- a/server/src/main/java/com/chutneytesting/globalvar/infra/FileGlobalVarRepository.java +++ b/server/src/main/java/com/chutneytesting/globalvar/infra/FileGlobalVarRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.globalvar.infra; import static com.chutneytesting.ServerConfigurationValues.CONFIGURATION_FOLDER_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/instrument/infra/MicrometerMetrics.java b/server/src/main/java/com/chutneytesting/instrument/infra/MicrometerMetrics.java index 03d52d032..1f4e417e1 100644 --- a/server/src/main/java/com/chutneytesting/instrument/infra/MicrometerMetrics.java +++ b/server/src/main/java/com/chutneytesting/instrument/infra/MicrometerMetrics.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.instrument.infra; import static io.micrometer.core.instrument.Tag.of; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/AggregatedTestCaseController.java b/server/src/main/java/com/chutneytesting/scenario/api/AggregatedTestCaseController.java index 10cf8aed7..9ae3b59a8 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/AggregatedTestCaseController.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/AggregatedTestCaseController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api; import static com.google.common.base.Strings.isNullOrEmpty; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/GwtTestCaseController.java b/server/src/main/java/com/chutneytesting/scenario/api/GwtTestCaseController.java index deaddcc96..6cb008d4b 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/GwtTestCaseController.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/GwtTestCaseController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api; import static java.time.Instant.now; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtScenarioDto.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtScenarioDto.java index f1fee6353..8ea16b1a8 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtScenarioDto.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtScenarioDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.dto; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtStepDto.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtStepDto.java index 370899cc6..d83ba0099 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtStepDto.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtStepDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.dto; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtStepImplementationDto.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtStepImplementationDto.java index d024c7237..00227afb0 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtStepImplementationDto.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtStepImplementationDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.dto; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtTestCaseDto.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtTestCaseDto.java index 7a2eb9ad9..ca886ec32 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtTestCaseDto.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtTestCaseDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.dto; import static java.time.Instant.now; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtTestCaseMetadataDto.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtTestCaseMetadataDto.java index e23339357..e82be72dc 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtTestCaseMetadataDto.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/GwtTestCaseMetadataDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.dto; import com.chutneytesting.execution.api.ExecutionSummaryDto; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/RawTestCaseDto.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/RawTestCaseDto.java index 6c9334163..8b2030527 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/RawTestCaseDto.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/RawTestCaseDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.dto; import static java.time.Instant.now; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/StrategyDto.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/StrategyDto.java index b056f6bce..b805524d2 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/StrategyDto.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/StrategyDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.dto; import java.util.Collections; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/TestCaseIndexDto.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/TestCaseIndexDto.java index 107e69eed..7b3255c58 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/TestCaseIndexDto.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/dto/TestCaseIndexDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.dto; import static java.util.Collections.emptyList; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/GwtScenarioMapper.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/GwtScenarioMapper.java index 0d29072a3..d0108f697 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/GwtScenarioMapper.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/GwtScenarioMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.mapper; import static com.fasterxml.jackson.annotation.PropertyAccessor.CREATOR; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/GwtTestCaseMapper.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/GwtTestCaseMapper.java index 436b93747..23b544956 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/GwtTestCaseMapper.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/GwtTestCaseMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.mapper; import com.chutneytesting.scenario.api.raw.dto.GwtTestCaseDto; diff --git a/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/RawTestCaseMapper.java b/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/RawTestCaseMapper.java index 982d79545..fa5603dd3 100644 --- a/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/RawTestCaseMapper.java +++ b/server/src/main/java/com/chutneytesting/scenario/api/raw/mapper/RawTestCaseMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.mapper; import static org.hjson.JsonValue.readHjson; diff --git a/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtScenario.java b/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtScenario.java index 4ad1d04b5..b3b45f141 100644 --- a/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtScenario.java +++ b/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtScenario.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.domain.gwt; import static java.util.Collections.emptyList; diff --git a/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtStep.java b/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtStep.java index ccc17c341..4bfde40f0 100644 --- a/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtStep.java +++ b/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtStep.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.domain.gwt; import static java.util.Collections.emptyList; diff --git a/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtStepImplementation.java b/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtStepImplementation.java index 0b0ffb462..a49426997 100644 --- a/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtStepImplementation.java +++ b/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtStepImplementation.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.domain.gwt; import static java.util.Collections.emptyMap; diff --git a/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtTestCase.java b/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtTestCase.java index 4436aa4d9..eb2598add 100644 --- a/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtTestCase.java +++ b/server/src/main/java/com/chutneytesting/scenario/domain/gwt/GwtTestCase.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.domain.gwt; import static java.util.Collections.emptyMap; diff --git a/server/src/main/java/com/chutneytesting/scenario/domain/gwt/Strategy.java b/server/src/main/java/com/chutneytesting/scenario/domain/gwt/Strategy.java index fa81801a7..19726cc5c 100644 --- a/server/src/main/java/com/chutneytesting/scenario/domain/gwt/Strategy.java +++ b/server/src/main/java/com/chutneytesting/scenario/domain/gwt/Strategy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.domain.gwt; import static java.util.Collections.emptyMap; diff --git a/server/src/main/java/com/chutneytesting/scenario/domain/raw/RawTestCase.java b/server/src/main/java/com/chutneytesting/scenario/domain/raw/RawTestCase.java index b01fb4053..f67540c19 100644 --- a/server/src/main/java/com/chutneytesting/scenario/domain/raw/RawTestCase.java +++ b/server/src/main/java/com/chutneytesting/scenario/domain/raw/RawTestCase.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.domain.raw; import static java.util.Collections.emptyMap; diff --git a/server/src/main/java/com/chutneytesting/scenario/infra/TestCaseRepositoryAggregator.java b/server/src/main/java/com/chutneytesting/scenario/infra/TestCaseRepositoryAggregator.java index 3bd2f9eb5..85ae46c39 100644 --- a/server/src/main/java/com/chutneytesting/scenario/infra/TestCaseRepositoryAggregator.java +++ b/server/src/main/java/com/chutneytesting/scenario/infra/TestCaseRepositoryAggregator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.infra; import com.chutneytesting.server.core.domain.scenario.AggregatedRepository; diff --git a/server/src/main/java/com/chutneytesting/scenario/infra/jpa/ScenarioEntity.java b/server/src/main/java/com/chutneytesting/scenario/infra/jpa/ScenarioEntity.java index 35db92280..50d35167c 100644 --- a/server/src/main/java/com/chutneytesting/scenario/infra/jpa/ScenarioEntity.java +++ b/server/src/main/java/com/chutneytesting/scenario/infra/jpa/ScenarioEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.infra.jpa; import static java.lang.String.valueOf; diff --git a/server/src/main/java/com/chutneytesting/scenario/infra/raw/DatabaseTestCaseRepository.java b/server/src/main/java/com/chutneytesting/scenario/infra/raw/DatabaseTestCaseRepository.java index f0450025e..85b0f933b 100644 --- a/server/src/main/java/com/chutneytesting/scenario/infra/raw/DatabaseTestCaseRepository.java +++ b/server/src/main/java/com/chutneytesting/scenario/infra/raw/DatabaseTestCaseRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.infra.raw; import static com.google.common.base.Strings.isNullOrEmpty; diff --git a/server/src/main/java/com/chutneytesting/scenario/infra/raw/ScenarioJpaRepository.java b/server/src/main/java/com/chutneytesting/scenario/infra/raw/ScenarioJpaRepository.java index 9ec92f0a1..24261f6bb 100644 --- a/server/src/main/java/com/chutneytesting/scenario/infra/raw/ScenarioJpaRepository.java +++ b/server/src/main/java/com/chutneytesting/scenario/infra/raw/ScenarioJpaRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.infra.raw; import com.chutneytesting.scenario.infra.jpa.ScenarioEntity; diff --git a/server/src/main/java/com/chutneytesting/scenario/infra/raw/TagListMapper.java b/server/src/main/java/com/chutneytesting/scenario/infra/raw/TagListMapper.java index 97c6aa11d..bfabdb638 100644 --- a/server/src/main/java/com/chutneytesting/scenario/infra/raw/TagListMapper.java +++ b/server/src/main/java/com/chutneytesting/scenario/infra/raw/TagListMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.infra.raw; import java.util.Collection; diff --git a/server/src/main/java/com/chutneytesting/scenario/infra/raw/TestCaseData.java b/server/src/main/java/com/chutneytesting/scenario/infra/raw/TestCaseData.java index 60131c9b9..c3b25f63d 100644 --- a/server/src/main/java/com/chutneytesting/scenario/infra/raw/TestCaseData.java +++ b/server/src/main/java/com/chutneytesting/scenario/infra/raw/TestCaseData.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.infra.raw; import static java.util.Collections.emptyList; diff --git a/server/src/main/java/com/chutneytesting/security/ChutneyWebSecurityConfig.java b/server/src/main/java/com/chutneytesting/security/ChutneyWebSecurityConfig.java index 1898a6709..20688684a 100644 --- a/server/src/main/java/com/chutneytesting/security/ChutneyWebSecurityConfig.java +++ b/server/src/main/java/com/chutneytesting/security/ChutneyWebSecurityConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security; import com.chutneytesting.admin.api.InfoController; diff --git a/server/src/main/java/com/chutneytesting/security/api/AuthorizationController.java b/server/src/main/java/com/chutneytesting/security/api/AuthorizationController.java index 344747aaa..a6d2365ad 100644 --- a/server/src/main/java/com/chutneytesting/security/api/AuthorizationController.java +++ b/server/src/main/java/com/chutneytesting/security/api/AuthorizationController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.api; import com.chutneytesting.security.domain.Authorizations; diff --git a/server/src/main/java/com/chutneytesting/security/api/AuthorizationMapper.java b/server/src/main/java/com/chutneytesting/security/api/AuthorizationMapper.java index b70b7089a..cd4e8dafd 100644 --- a/server/src/main/java/com/chutneytesting/security/api/AuthorizationMapper.java +++ b/server/src/main/java/com/chutneytesting/security/api/AuthorizationMapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.api; import static java.util.stream.Collectors.toList; diff --git a/server/src/main/java/com/chutneytesting/security/api/AuthorizationsDto.java b/server/src/main/java/com/chutneytesting/security/api/AuthorizationsDto.java index 258f752c5..b6577fae9 100644 --- a/server/src/main/java/com/chutneytesting/security/api/AuthorizationsDto.java +++ b/server/src/main/java/com/chutneytesting/security/api/AuthorizationsDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.api; import static java.util.Collections.emptyList; diff --git a/server/src/main/java/com/chutneytesting/security/api/UserController.java b/server/src/main/java/com/chutneytesting/security/api/UserController.java index a665a798f..e1c511438 100644 --- a/server/src/main/java/com/chutneytesting/security/api/UserController.java +++ b/server/src/main/java/com/chutneytesting/security/api/UserController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.api; import com.chutneytesting.security.infra.SpringUserService; diff --git a/server/src/main/java/com/chutneytesting/security/api/UserDto.java b/server/src/main/java/com/chutneytesting/security/api/UserDto.java index be22abf35..6fff77f95 100644 --- a/server/src/main/java/com/chutneytesting/security/api/UserDto.java +++ b/server/src/main/java/com/chutneytesting/security/api/UserDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.api; import static java.util.Collections.emptySet; diff --git a/server/src/main/java/com/chutneytesting/security/domain/AuthenticationService.java b/server/src/main/java/com/chutneytesting/security/domain/AuthenticationService.java index bcc4c74a8..f862a3db4 100644 --- a/server/src/main/java/com/chutneytesting/security/domain/AuthenticationService.java +++ b/server/src/main/java/com/chutneytesting/security/domain/AuthenticationService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.domain; import com.chutneytesting.server.core.domain.security.Role; diff --git a/server/src/main/java/com/chutneytesting/security/domain/Authorizations.java b/server/src/main/java/com/chutneytesting/security/domain/Authorizations.java index 39c3db900..e139520bc 100644 --- a/server/src/main/java/com/chutneytesting/security/domain/Authorizations.java +++ b/server/src/main/java/com/chutneytesting/security/domain/Authorizations.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.domain; import com.chutneytesting.server.core.domain.security.UserRoles; diff --git a/server/src/main/java/com/chutneytesting/security/domain/CurrentUserNotFoundException.java b/server/src/main/java/com/chutneytesting/security/domain/CurrentUserNotFoundException.java index 8e3046112..7e663ddfe 100644 --- a/server/src/main/java/com/chutneytesting/security/domain/CurrentUserNotFoundException.java +++ b/server/src/main/java/com/chutneytesting/security/domain/CurrentUserNotFoundException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.domain; public class CurrentUserNotFoundException extends RuntimeException { diff --git a/server/src/main/java/com/chutneytesting/security/infra/JsonFileAuthorizations.java b/server/src/main/java/com/chutneytesting/security/infra/JsonFileAuthorizations.java index 78554fc15..07dd76c44 100644 --- a/server/src/main/java/com/chutneytesting/security/infra/JsonFileAuthorizations.java +++ b/server/src/main/java/com/chutneytesting/security/infra/JsonFileAuthorizations.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra; import static com.chutneytesting.ServerConfigurationValues.CONFIGURATION_FOLDER_SPRING_VALUE; diff --git a/server/src/main/java/com/chutneytesting/security/infra/NoRoleUserException.java b/server/src/main/java/com/chutneytesting/security/infra/NoRoleUserException.java index 947f4d01f..a624a0206 100644 --- a/server/src/main/java/com/chutneytesting/security/infra/NoRoleUserException.java +++ b/server/src/main/java/com/chutneytesting/security/infra/NoRoleUserException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra; import com.chutneytesting.server.core.domain.security.RoleNotFoundException; diff --git a/server/src/main/java/com/chutneytesting/security/infra/SpringUserService.java b/server/src/main/java/com/chutneytesting/security/infra/SpringUserService.java index 97db33a10..a7108ad75 100644 --- a/server/src/main/java/com/chutneytesting/security/infra/SpringUserService.java +++ b/server/src/main/java/com/chutneytesting/security/infra/SpringUserService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra; import com.chutneytesting.security.api.UserDto; diff --git a/server/src/main/java/com/chutneytesting/security/infra/UserDetailsServiceHelper.java b/server/src/main/java/com/chutneytesting/security/infra/UserDetailsServiceHelper.java index 0260e0b84..e4cb5e734 100644 --- a/server/src/main/java/com/chutneytesting/security/infra/UserDetailsServiceHelper.java +++ b/server/src/main/java/com/chutneytesting/security/infra/UserDetailsServiceHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra; import com.chutneytesting.security.api.UserDto; diff --git a/server/src/main/java/com/chutneytesting/security/infra/handlers/Http401FailureHandler.java b/server/src/main/java/com/chutneytesting/security/infra/handlers/Http401FailureHandler.java index be591ed13..8a3e02570 100644 --- a/server/src/main/java/com/chutneytesting/security/infra/handlers/Http401FailureHandler.java +++ b/server/src/main/java/com/chutneytesting/security/infra/handlers/Http401FailureHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.handlers; import jakarta.servlet.ServletException; diff --git a/server/src/main/java/com/chutneytesting/security/infra/handlers/HttpEmptyLogoutSuccessHandler.java b/server/src/main/java/com/chutneytesting/security/infra/handlers/HttpEmptyLogoutSuccessHandler.java index 4a80d7c21..19579bd5e 100644 --- a/server/src/main/java/com/chutneytesting/security/infra/handlers/HttpEmptyLogoutSuccessHandler.java +++ b/server/src/main/java/com/chutneytesting/security/infra/handlers/HttpEmptyLogoutSuccessHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.handlers; import jakarta.servlet.ServletException; diff --git a/server/src/main/java/com/chutneytesting/security/infra/memory/InMemorySecurityConfiguration.java b/server/src/main/java/com/chutneytesting/security/infra/memory/InMemorySecurityConfiguration.java index 9a6b5f130..a89364ead 100644 --- a/server/src/main/java/com/chutneytesting/security/infra/memory/InMemorySecurityConfiguration.java +++ b/server/src/main/java/com/chutneytesting/security/infra/memory/InMemorySecurityConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.memory; import com.chutneytesting.security.domain.AuthenticationService; diff --git a/server/src/main/java/com/chutneytesting/security/infra/memory/InMemoryUserDetailsService.java b/server/src/main/java/com/chutneytesting/security/infra/memory/InMemoryUserDetailsService.java index 6b1a94bf8..720a24bda 100644 --- a/server/src/main/java/com/chutneytesting/security/infra/memory/InMemoryUserDetailsService.java +++ b/server/src/main/java/com/chutneytesting/security/infra/memory/InMemoryUserDetailsService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.memory; import static java.util.function.Function.identity; diff --git a/server/src/main/java/com/chutneytesting/security/infra/memory/InMemoryUsersProperties.java b/server/src/main/java/com/chutneytesting/security/infra/memory/InMemoryUsersProperties.java index aa658c170..99db7fd78 100644 --- a/server/src/main/java/com/chutneytesting/security/infra/memory/InMemoryUsersProperties.java +++ b/server/src/main/java/com/chutneytesting/security/infra/memory/InMemoryUsersProperties.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra.memory; import com.chutneytesting.security.api.UserDto; diff --git a/server/src/main/java/com/chutneytesting/tools/IoUtils.java b/server/src/main/java/com/chutneytesting/tools/IoUtils.java index e81d4c715..17c167a53 100644 --- a/server/src/main/java/com/chutneytesting/tools/IoUtils.java +++ b/server/src/main/java/com/chutneytesting/tools/IoUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import com.google.common.base.Charsets; diff --git a/server/src/main/java/com/chutneytesting/tools/ThrowingRunnable.java b/server/src/main/java/com/chutneytesting/tools/ThrowingRunnable.java index d354edba7..400e065e8 100644 --- a/server/src/main/java/com/chutneytesting/tools/ThrowingRunnable.java +++ b/server/src/main/java/com/chutneytesting/tools/ThrowingRunnable.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; @FunctionalInterface diff --git a/server/src/main/java/com/chutneytesting/tools/UncheckedException.java b/server/src/main/java/com/chutneytesting/tools/UncheckedException.java index 405a0eb97..60a01aaa3 100644 --- a/server/src/main/java/com/chutneytesting/tools/UncheckedException.java +++ b/server/src/main/java/com/chutneytesting/tools/UncheckedException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; /** diff --git a/server/src/main/java/com/chutneytesting/tools/ui/MyMixInForIgnoreType.java b/server/src/main/java/com/chutneytesting/tools/ui/MyMixInForIgnoreType.java index a3d767b55..a0d915c72 100644 --- a/server/src/main/java/com/chutneytesting/tools/ui/MyMixInForIgnoreType.java +++ b/server/src/main/java/com/chutneytesting/tools/ui/MyMixInForIgnoreType.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools.ui; import com.fasterxml.jackson.annotation.JsonIgnoreType; diff --git a/server/src/test/java/blackbox/ChutneyTest.java b/server/src/test/java/blackbox/ChutneyTest.java index 9798fe5fa..2aa36f6ed 100644 --- a/server/src/test/java/blackbox/ChutneyTest.java +++ b/server/src/test/java/blackbox/ChutneyTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 blackbox; import static java.util.stream.Collectors.toList; diff --git a/server/src/test/java/blackbox/IntegrationTestConfiguration.java b/server/src/test/java/blackbox/IntegrationTestConfiguration.java index 5390fb235..8675157cb 100644 --- a/server/src/test/java/blackbox/IntegrationTestConfiguration.java +++ b/server/src/test/java/blackbox/IntegrationTestConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 blackbox; import com.chutneytesting.ServerConfiguration; diff --git a/server/src/test/java/blackbox/SecuredControllerSpringBootIntegrationTest.java b/server/src/test/java/blackbox/SecuredControllerSpringBootIntegrationTest.java index 81cce0da4..2c36ddd5c 100644 --- a/server/src/test/java/blackbox/SecuredControllerSpringBootIntegrationTest.java +++ b/server/src/test/java/blackbox/SecuredControllerSpringBootIntegrationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 blackbox; import static java.util.Optional.ofNullable; diff --git a/server/src/test/java/blackbox/action/SelfRegisteringFinallyAction.java b/server/src/test/java/blackbox/action/SelfRegisteringFinallyAction.java index ca001f0ef..a25d631b9 100644 --- a/server/src/test/java/blackbox/action/SelfRegisteringFinallyAction.java +++ b/server/src/test/java/blackbox/action/SelfRegisteringFinallyAction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 blackbox.action; import com.chutneytesting.action.spi.Action; diff --git a/server/src/test/java/changelog/LiquibaseChangelogTest.java b/server/src/test/java/changelog/LiquibaseChangelogTest.java index 0cdd3f88e..f4cb25a8d 100644 --- a/server/src/test/java/changelog/LiquibaseChangelogTest.java +++ b/server/src/test/java/changelog/LiquibaseChangelogTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 changelog; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/RestExceptionHandlerTest.java b/server/src/test/java/com/chutneytesting/RestExceptionHandlerTest.java index 639718b1a..218020b23 100644 --- a/server/src/test/java/com/chutneytesting/RestExceptionHandlerTest.java +++ b/server/src/test/java/com/chutneytesting/RestExceptionHandlerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; import static org.junit.jupiter.params.provider.Arguments.of; diff --git a/server/src/test/java/com/chutneytesting/ServerConfigurationTest.java b/server/src/test/java/com/chutneytesting/ServerConfigurationTest.java index d3aaf2503..2e40c9b57 100644 --- a/server/src/test/java/com/chutneytesting/ServerConfigurationTest.java +++ b/server/src/test/java/com/chutneytesting/ServerConfigurationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting; diff --git a/server/src/test/java/com/chutneytesting/admin/api/InfoControllerTest.java b/server/src/test/java/com/chutneytesting/admin/api/InfoControllerTest.java index dc7d98caa..7c4faffbf 100644 --- a/server/src/test/java/com/chutneytesting/admin/api/InfoControllerTest.java +++ b/server/src/test/java/com/chutneytesting/admin/api/InfoControllerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.api; import static org.hamcrest.Matchers.containsString; diff --git a/server/src/test/java/com/chutneytesting/admin/api/ManifestInfoContributorTest.java b/server/src/test/java/com/chutneytesting/admin/api/ManifestInfoContributorTest.java index 78f1369f7..a52ab88a4 100644 --- a/server/src/test/java/com/chutneytesting/admin/api/ManifestInfoContributorTest.java +++ b/server/src/test/java/com/chutneytesting/admin/api/ManifestInfoContributorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.api; import com.google.common.collect.ImmutableMap; diff --git a/server/src/test/java/com/chutneytesting/admin/domain/BackupTest.java b/server/src/test/java/com/chutneytesting/admin/domain/BackupTest.java index ff4c6c024..2778f2244 100644 --- a/server/src/test/java/com/chutneytesting/admin/domain/BackupTest.java +++ b/server/src/test/java/com/chutneytesting/admin/domain/BackupTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.domain; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/admin/infra/DatabaseAdminServiceImplTest.java b/server/src/test/java/com/chutneytesting/admin/infra/DatabaseAdminServiceImplTest.java index 0b1222295..09c1e6d11 100644 --- a/server/src/test/java/com/chutneytesting/admin/infra/DatabaseAdminServiceImplTest.java +++ b/server/src/test/java/com/chutneytesting/admin/infra/DatabaseAdminServiceImplTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.infra; diff --git a/server/src/test/java/com/chutneytesting/admin/infra/FileSystemBackupRepositoryTest.java b/server/src/test/java/com/chutneytesting/admin/infra/FileSystemBackupRepositoryTest.java index 29f0770a0..dd2c7ba9e 100644 --- a/server/src/test/java/com/chutneytesting/admin/infra/FileSystemBackupRepositoryTest.java +++ b/server/src/test/java/com/chutneytesting/admin/infra/FileSystemBackupRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.admin.infra; import static com.chutneytesting.admin.infra.FileSystemBackupRepository.BACKUP_FILE_EXTENSION; diff --git a/server/src/test/java/com/chutneytesting/agent/AgentNetworkTestUtils.java b/server/src/test/java/com/chutneytesting/agent/AgentNetworkTestUtils.java index 37eff4e7d..a1e24eb40 100644 --- a/server/src/test/java/com/chutneytesting/agent/AgentNetworkTestUtils.java +++ b/server/src/test/java/com/chutneytesting/agent/AgentNetworkTestUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent; import static java.util.Collections.emptySet; diff --git a/server/src/test/java/com/chutneytesting/agent/api/NodeNetworkControllerTest.java b/server/src/test/java/com/chutneytesting/agent/api/NodeNetworkControllerTest.java index 372564dbc..9a59f4357 100644 --- a/server/src/test/java/com/chutneytesting/agent/api/NodeNetworkControllerTest.java +++ b/server/src/test/java/com/chutneytesting/agent/api/NodeNetworkControllerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api; import static com.chutneytesting.agent.api.NodeNetworkController.CONFIGURE_URL; diff --git a/server/src/test/java/com/chutneytesting/agent/api/mapper/ExploreResultApiMapperTest.java b/server/src/test/java/com/chutneytesting/agent/api/mapper/ExploreResultApiMapperTest.java index d5e415e76..ac366f62d 100644 --- a/server/src/test/java/com/chutneytesting/agent/api/mapper/ExploreResultApiMapperTest.java +++ b/server/src/test/java/com/chutneytesting/agent/api/mapper/ExploreResultApiMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.mapper; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/agent/api/mapper/NetworkConfigurationApiMapperTest.java b/server/src/test/java/com/chutneytesting/agent/api/mapper/NetworkConfigurationApiMapperTest.java index cb7e3d822..9f05b6a60 100644 --- a/server/src/test/java/com/chutneytesting/agent/api/mapper/NetworkConfigurationApiMapperTest.java +++ b/server/src/test/java/com/chutneytesting/agent/api/mapper/NetworkConfigurationApiMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.mapper; import static com.chutneytesting.agent.domain.configure.ImmutableNetworkConfiguration.AgentNetworkConfiguration.builder; diff --git a/server/src/test/java/com/chutneytesting/agent/api/mapper/NetworkDescriptionApiMapperTest.java b/server/src/test/java/com/chutneytesting/agent/api/mapper/NetworkDescriptionApiMapperTest.java index d13f02640..e731bc031 100644 --- a/server/src/test/java/com/chutneytesting/agent/api/mapper/NetworkDescriptionApiMapperTest.java +++ b/server/src/test/java/com/chutneytesting/agent/api/mapper/NetworkDescriptionApiMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.api.mapper; import static com.chutneytesting.agent.domain.configure.ImmutableNetworkConfiguration.AgentNetworkConfiguration.of; diff --git a/server/src/test/java/com/chutneytesting/agent/domain/configure/ConfigurationStateTest.java b/server/src/test/java/com/chutneytesting/agent/domain/configure/ConfigurationStateTest.java index 9ba807a3d..7eb889317 100644 --- a/server/src/test/java/com/chutneytesting/agent/domain/configure/ConfigurationStateTest.java +++ b/server/src/test/java/com/chutneytesting/agent/domain/configure/ConfigurationStateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.configure; import static com.chutneytesting.agent.domain.configure.ConfigurationState.EXPLORING; diff --git a/server/src/test/java/com/chutneytesting/agent/domain/configure/ConfigureServiceTest.java b/server/src/test/java/com/chutneytesting/agent/domain/configure/ConfigureServiceTest.java index 3a8c6132f..218c85036 100644 --- a/server/src/test/java/com/chutneytesting/agent/domain/configure/ConfigureServiceTest.java +++ b/server/src/test/java/com/chutneytesting/agent/domain/configure/ConfigureServiceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.configure; import static org.mockito.ArgumentMatchers.any; diff --git a/server/src/test/java/com/chutneytesting/agent/domain/configure/LocalServerIdentifierTest.java b/server/src/test/java/com/chutneytesting/agent/domain/configure/LocalServerIdentifierTest.java index 1d11ed8de..3bfd5350e 100644 --- a/server/src/test/java/com/chutneytesting/agent/domain/configure/LocalServerIdentifierTest.java +++ b/server/src/test/java/com/chutneytesting/agent/domain/configure/LocalServerIdentifierTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.configure; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/agent/domain/explore/ExploreAgentsServiceTest.java b/server/src/test/java/com/chutneytesting/agent/domain/explore/ExploreAgentsServiceTest.java index 2e127fbfb..67185c2ec 100644 --- a/server/src/test/java/com/chutneytesting/agent/domain/explore/ExploreAgentsServiceTest.java +++ b/server/src/test/java/com/chutneytesting/agent/domain/explore/ExploreAgentsServiceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.explore; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/agent/domain/explore/UrlSlicerTest.java b/server/src/test/java/com/chutneytesting/agent/domain/explore/UrlSlicerTest.java index bdbd6d27a..685691b12 100644 --- a/server/src/test/java/com/chutneytesting/agent/domain/explore/UrlSlicerTest.java +++ b/server/src/test/java/com/chutneytesting/agent/domain/explore/UrlSlicerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.explore; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/agent/domain/network/AgentGraphTest.java b/server/src/test/java/com/chutneytesting/agent/domain/network/AgentGraphTest.java index 286d38b7f..7670a1978 100644 --- a/server/src/test/java/com/chutneytesting/agent/domain/network/AgentGraphTest.java +++ b/server/src/test/java/com/chutneytesting/agent/domain/network/AgentGraphTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.network; import static org.assertj.core.api.Assertions.assertThatThrownBy; diff --git a/server/src/test/java/com/chutneytesting/agent/domain/network/AgentTest.java b/server/src/test/java/com/chutneytesting/agent/domain/network/AgentTest.java index 40d433d0c..3632963e5 100644 --- a/server/src/test/java/com/chutneytesting/agent/domain/network/AgentTest.java +++ b/server/src/test/java/com/chutneytesting/agent/domain/network/AgentTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.domain.network; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/agent/infra/HttpAgentClientTest.java b/server/src/test/java/com/chutneytesting/agent/infra/HttpAgentClientTest.java index 792a00c00..1f7e04fbb 100644 --- a/server/src/test/java/com/chutneytesting/agent/infra/HttpAgentClientTest.java +++ b/server/src/test/java/com/chutneytesting/agent/infra/HttpAgentClientTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra; import static com.chutneytesting.agent.api.NodeNetworkController.EXPLORE_URL; diff --git a/server/src/test/java/com/chutneytesting/agent/infra/Localhost.java b/server/src/test/java/com/chutneytesting/agent/infra/Localhost.java index 71b151cf5..38f0eb873 100644 --- a/server/src/test/java/com/chutneytesting/agent/infra/Localhost.java +++ b/server/src/test/java/com/chutneytesting/agent/infra/Localhost.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra; import java.io.UncheckedIOException; diff --git a/server/src/test/java/com/chutneytesting/agent/infra/TcpConnectionCheckerTest.java b/server/src/test/java/com/chutneytesting/agent/infra/TcpConnectionCheckerTest.java index 2960fb52a..643ab1df8 100644 --- a/server/src/test/java/com/chutneytesting/agent/infra/TcpConnectionCheckerTest.java +++ b/server/src/test/java/com/chutneytesting/agent/infra/TcpConnectionCheckerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra; import static com.chutneytesting.agent.infra.HttpAgentClientTest.agentInfo; diff --git a/server/src/test/java/com/chutneytesting/agent/infra/storage/AgentNetworkMapperJsonFileMapperTest.java b/server/src/test/java/com/chutneytesting/agent/infra/storage/AgentNetworkMapperJsonFileMapperTest.java index b743eeac5..5414e7fa4 100644 --- a/server/src/test/java/com/chutneytesting/agent/infra/storage/AgentNetworkMapperJsonFileMapperTest.java +++ b/server/src/test/java/com/chutneytesting/agent/infra/storage/AgentNetworkMapperJsonFileMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra.storage; import static java.util.Collections.emptyList; diff --git a/server/src/test/java/com/chutneytesting/agent/infra/storage/JsonFileAgentNetworkDaoTest.java b/server/src/test/java/com/chutneytesting/agent/infra/storage/JsonFileAgentNetworkDaoTest.java index edf29f10a..ef5bea849 100644 --- a/server/src/test/java/com/chutneytesting/agent/infra/storage/JsonFileAgentNetworkDaoTest.java +++ b/server/src/test/java/com/chutneytesting/agent/infra/storage/JsonFileAgentNetworkDaoTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra.storage; import static com.chutneytesting.agent.infra.storage.JsonFileAgentNetworkDao.AGENTS_FILE_NAME; diff --git a/server/src/test/java/com/chutneytesting/agent/infra/storage/JsonFileCurrentNetworkDescriptionTest.java b/server/src/test/java/com/chutneytesting/agent/infra/storage/JsonFileCurrentNetworkDescriptionTest.java index ee4693cc0..799d6e085 100644 --- a/server/src/test/java/com/chutneytesting/agent/infra/storage/JsonFileCurrentNetworkDescriptionTest.java +++ b/server/src/test/java/com/chutneytesting/agent/infra/storage/JsonFileCurrentNetworkDescriptionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.agent.infra.storage; import static org.mockito.ArgumentMatchers.any; diff --git a/server/src/test/java/com/chutneytesting/campaign/api/CampaignControllerTest.java b/server/src/test/java/com/chutneytesting/campaign/api/CampaignControllerTest.java index d86925f64..7b9d25445 100644 --- a/server/src/test/java/com/chutneytesting/campaign/api/CampaignControllerTest.java +++ b/server/src/test/java/com/chutneytesting/campaign/api/CampaignControllerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.api; import static java.lang.Integer.MAX_VALUE; diff --git a/server/src/test/java/com/chutneytesting/campaign/domain/CampaignExecutionTest.java b/server/src/test/java/com/chutneytesting/campaign/domain/CampaignExecutionTest.java index ca50f8278..8f91a208f 100644 --- a/server/src/test/java/com/chutneytesting/campaign/domain/CampaignExecutionTest.java +++ b/server/src/test/java/com/chutneytesting/campaign/domain/CampaignExecutionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.domain; import static com.chutneytesting.server.core.domain.execution.report.ServerReportStatus.FAILURE; diff --git a/server/src/test/java/com/chutneytesting/campaign/domain/CampaignServiceTest.java b/server/src/test/java/com/chutneytesting/campaign/domain/CampaignServiceTest.java index 58feb25e5..da1d9e057 100644 --- a/server/src/test/java/com/chutneytesting/campaign/domain/CampaignServiceTest.java +++ b/server/src/test/java/com/chutneytesting/campaign/domain/CampaignServiceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.domain; diff --git a/server/src/test/java/com/chutneytesting/campaign/infra/CampaignExecutionDBRepositoryTest.java b/server/src/test/java/com/chutneytesting/campaign/infra/CampaignExecutionDBRepositoryTest.java index 46c6348b2..1a5cb93bf 100644 --- a/server/src/test/java/com/chutneytesting/campaign/infra/CampaignExecutionDBRepositoryTest.java +++ b/server/src/test/java/com/chutneytesting/campaign/infra/CampaignExecutionDBRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; import static java.util.Collections.singletonList; diff --git a/server/src/test/java/com/chutneytesting/campaign/infra/DatabaseCampaignRepositoryTest.java b/server/src/test/java/com/chutneytesting/campaign/infra/DatabaseCampaignRepositoryTest.java index 882cc968f..c5ec7fd9f 100644 --- a/server/src/test/java/com/chutneytesting/campaign/infra/DatabaseCampaignRepositoryTest.java +++ b/server/src/test/java/com/chutneytesting/campaign/infra/DatabaseCampaignRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; import static java.util.Collections.emptyMap; diff --git a/server/src/test/java/com/chutneytesting/campaign/infra/FakeCampaignRepository.java b/server/src/test/java/com/chutneytesting/campaign/infra/FakeCampaignRepository.java index c8f3ea8de..7a020247e 100644 --- a/server/src/test/java/com/chutneytesting/campaign/infra/FakeCampaignRepository.java +++ b/server/src/test/java/com/chutneytesting/campaign/infra/FakeCampaignRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; import static java.util.Collections.emptyMap; diff --git a/server/src/test/java/com/chutneytesting/campaign/infra/PeriodicScheduledCampaignFileRepositoryTest.java b/server/src/test/java/com/chutneytesting/campaign/infra/PeriodicScheduledCampaignFileRepositoryTest.java index 3b4fd0010..e7271ade0 100644 --- a/server/src/test/java/com/chutneytesting/campaign/infra/PeriodicScheduledCampaignFileRepositoryTest.java +++ b/server/src/test/java/com/chutneytesting/campaign/infra/PeriodicScheduledCampaignFileRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.campaign.infra; diff --git a/server/src/test/java/com/chutneytesting/dataset/api/DataSetControllerTest.java b/server/src/test/java/com/chutneytesting/dataset/api/DataSetControllerTest.java index 7e6022e15..b5493c2c7 100644 --- a/server/src/test/java/com/chutneytesting/dataset/api/DataSetControllerTest.java +++ b/server/src/test/java/com/chutneytesting/dataset/api/DataSetControllerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/dataset/api/DataSetMapperTest.java b/server/src/test/java/com/chutneytesting/dataset/api/DataSetMapperTest.java index c4ffbbaf5..b8f43ea4c 100644 --- a/server/src/test/java/com/chutneytesting/dataset/api/DataSetMapperTest.java +++ b/server/src/test/java/com/chutneytesting/dataset/api/DataSetMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.api; import static com.chutneytesting.dataset.api.DataSetMapper.fromDto; diff --git a/server/src/test/java/com/chutneytesting/dataset/domain/DatasetServiceTest.java b/server/src/test/java/com/chutneytesting/dataset/domain/DatasetServiceTest.java index 330c5ff2c..aab726fd5 100644 --- a/server/src/test/java/com/chutneytesting/dataset/domain/DatasetServiceTest.java +++ b/server/src/test/java/com/chutneytesting/dataset/domain/DatasetServiceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.domain; import static java.util.Optional.of; diff --git a/server/src/test/java/com/chutneytesting/dataset/infra/FileDatasetRepositoryTest.java b/server/src/test/java/com/chutneytesting/dataset/infra/FileDatasetRepositoryTest.java index 8871f66d4..da956efbb 100644 --- a/server/src/test/java/com/chutneytesting/dataset/infra/FileDatasetRepositoryTest.java +++ b/server/src/test/java/com/chutneytesting/dataset/infra/FileDatasetRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.dataset.infra; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/design/api/editionlock/TestCaseEditionControllerTest.java b/server/src/test/java/com/chutneytesting/design/api/editionlock/TestCaseEditionControllerTest.java index 5fd6d19d5..ed122e263 100644 --- a/server/src/test/java/com/chutneytesting/design/api/editionlock/TestCaseEditionControllerTest.java +++ b/server/src/test/java/com/chutneytesting/design/api/editionlock/TestCaseEditionControllerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.api.editionlock; import static java.time.Instant.now; diff --git a/server/src/test/java/com/chutneytesting/design/domain/editionlock/TestCaseEditionsServiceTest.java b/server/src/test/java/com/chutneytesting/design/domain/editionlock/TestCaseEditionsServiceTest.java index bcdde331c..2997a37b3 100644 --- a/server/src/test/java/com/chutneytesting/design/domain/editionlock/TestCaseEditionsServiceTest.java +++ b/server/src/test/java/com/chutneytesting/design/domain/editionlock/TestCaseEditionsServiceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.domain.editionlock; import static java.time.Instant.now; diff --git a/server/src/test/java/com/chutneytesting/design/infra/storage/editionlock/TestCaseEditionsImplTest.java b/server/src/test/java/com/chutneytesting/design/infra/storage/editionlock/TestCaseEditionsImplTest.java index 4f0b7ac74..1277b976f 100644 --- a/server/src/test/java/com/chutneytesting/design/infra/storage/editionlock/TestCaseEditionsImplTest.java +++ b/server/src/test/java/com/chutneytesting/design/infra/storage/editionlock/TestCaseEditionsImplTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.infra.storage.editionlock; import static java.time.Instant.now; diff --git a/server/src/test/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierFileRepositoryTest.java b/server/src/test/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierFileRepositoryTest.java index b1006862d..db9db9893 100644 --- a/server/src/test/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierFileRepositoryTest.java +++ b/server/src/test/java/com/chutneytesting/design/infra/storage/plugins/linkifier/LinkifierFileRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.design.infra.storage.plugins.linkifier; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/execution/api/report/surefire/SurefireCampaignExecutionReportBuilderTest.java b/server/src/test/java/com/chutneytesting/execution/api/report/surefire/SurefireCampaignExecutionReportBuilderTest.java index 61dbf2221..96d6f189c 100644 --- a/server/src/test/java/com/chutneytesting/execution/api/report/surefire/SurefireCampaignExecutionReportBuilderTest.java +++ b/server/src/test/java/com/chutneytesting/execution/api/report/surefire/SurefireCampaignExecutionReportBuilderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api.report.surefire; import static java.util.Collections.emptyList; diff --git a/server/src/test/java/com/chutneytesting/execution/api/report/surefire/SurefireScenarioExecutionReportBuilderTest.java b/server/src/test/java/com/chutneytesting/execution/api/report/surefire/SurefireScenarioExecutionReportBuilderTest.java index d82ae0ffb..60d3bebe1 100644 --- a/server/src/test/java/com/chutneytesting/execution/api/report/surefire/SurefireScenarioExecutionReportBuilderTest.java +++ b/server/src/test/java/com/chutneytesting/execution/api/report/surefire/SurefireScenarioExecutionReportBuilderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.api.report.surefire; import static java.util.Collections.emptyList; diff --git a/server/src/test/java/com/chutneytesting/execution/domain/DataSetPreProcessorTest.java b/server/src/test/java/com/chutneytesting/execution/domain/DataSetPreProcessorTest.java index 0e5f79f6e..76bc9dce6 100644 --- a/server/src/test/java/com/chutneytesting/execution/domain/DataSetPreProcessorTest.java +++ b/server/src/test/java/com/chutneytesting/execution/domain/DataSetPreProcessorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain; import static java.util.Collections.emptyMap; diff --git a/server/src/test/java/com/chutneytesting/execution/domain/PurgeServiceTest.java b/server/src/test/java/com/chutneytesting/execution/domain/PurgeServiceTest.java index afdf3e52d..a41059d55 100644 --- a/server/src/test/java/com/chutneytesting/execution/domain/PurgeServiceTest.java +++ b/server/src/test/java/com/chutneytesting/execution/domain/PurgeServiceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain; import static com.chutneytesting.server.core.domain.execution.report.ServerReportStatus.FAILURE; diff --git a/server/src/test/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionEngineTest.java b/server/src/test/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionEngineTest.java index 546fe9c92..d683f0ebc 100644 --- a/server/src/test/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionEngineTest.java +++ b/server/src/test/java/com/chutneytesting/execution/domain/campaign/CampaignExecutionEngineTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain.campaign; import static java.util.Arrays.stream; diff --git a/server/src/test/java/com/chutneytesting/execution/domain/schedule/CampaignSchedulerTest.java b/server/src/test/java/com/chutneytesting/execution/domain/schedule/CampaignSchedulerTest.java index 295c91dea..28a67e32f 100644 --- a/server/src/test/java/com/chutneytesting/execution/domain/schedule/CampaignSchedulerTest.java +++ b/server/src/test/java/com/chutneytesting/execution/domain/schedule/CampaignSchedulerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.domain.schedule; import static com.chutneytesting.campaign.domain.Frequency.EMPTY; diff --git a/server/src/test/java/com/chutneytesting/execution/infra/execution/DefaultExecutionRequestMapperTest.java b/server/src/test/java/com/chutneytesting/execution/infra/execution/DefaultExecutionRequestMapperTest.java index 4c43c7a48..33a8405fe 100644 --- a/server/src/test/java/com/chutneytesting/execution/infra/execution/DefaultExecutionRequestMapperTest.java +++ b/server/src/test/java/com/chutneytesting/execution/infra/execution/DefaultExecutionRequestMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.execution; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionHistoryRepositoryTest.java b/server/src/test/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionHistoryRepositoryTest.java index ab7ea2a3d..d625a78c1 100644 --- a/server/src/test/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionHistoryRepositoryTest.java +++ b/server/src/test/java/com/chutneytesting/execution/infra/storage/DatabaseExecutionHistoryRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.storage; import static com.chutneytesting.server.core.domain.execution.report.ServerReportStatus.FAILURE; diff --git a/server/src/test/java/com/chutneytesting/execution/infra/storage/InMemoryExecutionStateRepositoryTest.java b/server/src/test/java/com/chutneytesting/execution/infra/storage/InMemoryExecutionStateRepositoryTest.java index 6faa4b8d2..2cc221726 100644 --- a/server/src/test/java/com/chutneytesting/execution/infra/storage/InMemoryExecutionStateRepositoryTest.java +++ b/server/src/test/java/com/chutneytesting/execution/infra/storage/InMemoryExecutionStateRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.execution.infra.storage; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/globalvar/infra/FileGlobalVarRepositoryTest.java b/server/src/test/java/com/chutneytesting/globalvar/infra/FileGlobalVarRepositoryTest.java index 03feb02d9..3ac687093 100644 --- a/server/src/test/java/com/chutneytesting/globalvar/infra/FileGlobalVarRepositoryTest.java +++ b/server/src/test/java/com/chutneytesting/globalvar/infra/FileGlobalVarRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.globalvar.infra; import static com.chutneytesting.globalvar.infra.FileGlobalVarRepository.ROOT_DIRECTORY_NAME; diff --git a/server/src/test/java/com/chutneytesting/scenario/api/AggregatedTestCaseControllerTest.java b/server/src/test/java/com/chutneytesting/scenario/api/AggregatedTestCaseControllerTest.java index 993a7bc3d..3d4a3422a 100644 --- a/server/src/test/java/com/chutneytesting/scenario/api/AggregatedTestCaseControllerTest.java +++ b/server/src/test/java/com/chutneytesting/scenario/api/AggregatedTestCaseControllerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api; import static java.util.Optional.of; diff --git a/server/src/test/java/com/chutneytesting/scenario/api/GwtTestCaseControllerTest.java b/server/src/test/java/com/chutneytesting/scenario/api/GwtTestCaseControllerTest.java index 7f9386b65..42cd52036 100644 --- a/server/src/test/java/com/chutneytesting/scenario/api/GwtTestCaseControllerTest.java +++ b/server/src/test/java/com/chutneytesting/scenario/api/GwtTestCaseControllerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/scenario/api/TestCaseControllerTest.java b/server/src/test/java/com/chutneytesting/scenario/api/TestCaseControllerTest.java index 0b6654c19..bfe81c17a 100644 --- a/server/src/test/java/com/chutneytesting/scenario/api/TestCaseControllerTest.java +++ b/server/src/test/java/com/chutneytesting/scenario/api/TestCaseControllerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/scenario/api/raw/mapper/GwtScenarioMapperTest.java b/server/src/test/java/com/chutneytesting/scenario/api/raw/mapper/GwtScenarioMapperTest.java index edeb8d9f5..7b04801d5 100644 --- a/server/src/test/java/com/chutneytesting/scenario/api/raw/mapper/GwtScenarioMapperTest.java +++ b/server/src/test/java/com/chutneytesting/scenario/api/raw/mapper/GwtScenarioMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.mapper; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/scenario/api/raw/mapper/RawTestCaseMapperTest.java b/server/src/test/java/com/chutneytesting/scenario/api/raw/mapper/RawTestCaseMapperTest.java index 5f3dd3726..3a9c0e784 100644 --- a/server/src/test/java/com/chutneytesting/scenario/api/raw/mapper/RawTestCaseMapperTest.java +++ b/server/src/test/java/com/chutneytesting/scenario/api/raw/mapper/RawTestCaseMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.api.raw.mapper; import static org.assertj.core.api.Assertions.assertThatThrownBy; diff --git a/server/src/test/java/com/chutneytesting/scenario/infra/TestCaseRepositoryAggregatorTest.java b/server/src/test/java/com/chutneytesting/scenario/infra/TestCaseRepositoryAggregatorTest.java index 06871fdec..8b434ea74 100644 --- a/server/src/test/java/com/chutneytesting/scenario/infra/TestCaseRepositoryAggregatorTest.java +++ b/server/src/test/java/com/chutneytesting/scenario/infra/TestCaseRepositoryAggregatorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.infra; import static java.util.Arrays.asList; diff --git a/server/src/test/java/com/chutneytesting/scenario/infra/raw/DatabaseTestCaseRepositoryTest.java b/server/src/test/java/com/chutneytesting/scenario/infra/raw/DatabaseTestCaseRepositoryTest.java index ea5bf7ffa..87b9e458e 100644 --- a/server/src/test/java/com/chutneytesting/scenario/infra/raw/DatabaseTestCaseRepositoryTest.java +++ b/server/src/test/java/com/chutneytesting/scenario/infra/raw/DatabaseTestCaseRepositoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.infra.raw; import static java.lang.Integer.parseInt; diff --git a/server/src/test/java/com/chutneytesting/scenario/infra/raw/TagListMapperTest.java b/server/src/test/java/com/chutneytesting/scenario/infra/raw/TagListMapperTest.java index 4cd636190..d194a696b 100644 --- a/server/src/test/java/com/chutneytesting/scenario/infra/raw/TagListMapperTest.java +++ b/server/src/test/java/com/chutneytesting/scenario/infra/raw/TagListMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.scenario.infra.raw; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/security/PropertyBasedTestingUtils.java b/server/src/test/java/com/chutneytesting/security/PropertyBasedTestingUtils.java index 19f430686..b535a250c 100644 --- a/server/src/test/java/com/chutneytesting/security/PropertyBasedTestingUtils.java +++ b/server/src/test/java/com/chutneytesting/security/PropertyBasedTestingUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security; import static java.util.stream.Collectors.toSet; diff --git a/server/src/test/java/com/chutneytesting/security/api/AuthorizationMapperTest.java b/server/src/test/java/com/chutneytesting/security/api/AuthorizationMapperTest.java index 2225f5adb..3ed62324c 100644 --- a/server/src/test/java/com/chutneytesting/security/api/AuthorizationMapperTest.java +++ b/server/src/test/java/com/chutneytesting/security/api/AuthorizationMapperTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.api; import static com.chutneytesting.security.PropertyBasedTestingUtils.validRights; diff --git a/server/src/test/java/com/chutneytesting/security/domain/AuthenticationServiceTest.java b/server/src/test/java/com/chutneytesting/security/domain/AuthenticationServiceTest.java index 32cda0615..1ddefe77f 100644 --- a/server/src/test/java/com/chutneytesting/security/domain/AuthenticationServiceTest.java +++ b/server/src/test/java/com/chutneytesting/security/domain/AuthenticationServiceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.domain; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/security/infra/JsonFileAuthorizationsTest.java b/server/src/test/java/com/chutneytesting/security/infra/JsonFileAuthorizationsTest.java index 02b161788..a106ac295 100644 --- a/server/src/test/java/com/chutneytesting/security/infra/JsonFileAuthorizationsTest.java +++ b/server/src/test/java/com/chutneytesting/security/infra/JsonFileAuthorizationsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.security.infra; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/com/chutneytesting/tools/StreamsTest.java b/server/src/test/java/com/chutneytesting/tools/StreamsTest.java index dff497f25..eb1059106 100644 --- a/server/src/test/java/com/chutneytesting/tools/StreamsTest.java +++ b/server/src/test/java/com/chutneytesting/tools/StreamsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import static org.assertj.core.api.Assertions.assertThat; diff --git a/server/src/test/java/util/SocketUtil.java b/server/src/test/java/util/SocketUtil.java index b855d275d..f76ab4e38 100644 --- a/server/src/test/java/util/SocketUtil.java +++ b/server/src/test/java/util/SocketUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 util; import java.io.IOException; diff --git a/server/src/test/java/util/WaitUtils.java b/server/src/test/java/util/WaitUtils.java index df37a212c..3543f0200 100644 --- a/server/src/test/java/util/WaitUtils.java +++ b/server/src/test/java/util/WaitUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 util; import java.util.concurrent.TimeUnit; diff --git a/server/src/test/java/util/infra/AbstractLocalDatabaseTest.java b/server/src/test/java/util/infra/AbstractLocalDatabaseTest.java index 68ea4988a..aef3e7254 100644 --- a/server/src/test/java/util/infra/AbstractLocalDatabaseTest.java +++ b/server/src/test/java/util/infra/AbstractLocalDatabaseTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 util.infra; import static java.time.Instant.now; diff --git a/server/src/test/java/util/infra/EnableH2FileTestInfra.java b/server/src/test/java/util/infra/EnableH2FileTestInfra.java index 22516a899..a96fc0062 100644 --- a/server/src/test/java/util/infra/EnableH2FileTestInfra.java +++ b/server/src/test/java/util/infra/EnableH2FileTestInfra.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 util.infra; import java.lang.annotation.ElementType; diff --git a/server/src/test/java/util/infra/EnableH2MemTestInfra.java b/server/src/test/java/util/infra/EnableH2MemTestInfra.java index 1e4da8304..367f9279a 100644 --- a/server/src/test/java/util/infra/EnableH2MemTestInfra.java +++ b/server/src/test/java/util/infra/EnableH2MemTestInfra.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 util.infra; import java.lang.annotation.ElementType; diff --git a/server/src/test/java/util/infra/EnableJpa.java b/server/src/test/java/util/infra/EnableJpa.java index 678508460..96fc49ede 100644 --- a/server/src/test/java/util/infra/EnableJpa.java +++ b/server/src/test/java/util/infra/EnableJpa.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 util.infra; import java.lang.annotation.Retention; diff --git a/server/src/test/java/util/infra/EnablePostgreSQLTestInfra.java b/server/src/test/java/util/infra/EnablePostgreSQLTestInfra.java index 253ccdf94..13456bbbd 100644 --- a/server/src/test/java/util/infra/EnablePostgreSQLTestInfra.java +++ b/server/src/test/java/util/infra/EnablePostgreSQLTestInfra.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 util.infra; import java.lang.annotation.ElementType; diff --git a/server/src/test/java/util/infra/EnableSQLiteTestInfra.java b/server/src/test/java/util/infra/EnableSQLiteTestInfra.java index f020da78b..b19ce9da3 100644 --- a/server/src/test/java/util/infra/EnableSQLiteTestInfra.java +++ b/server/src/test/java/util/infra/EnableSQLiteTestInfra.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 util.infra; import java.lang.annotation.ElementType; diff --git a/server/src/test/java/util/infra/TestInfraConfiguration.java b/server/src/test/java/util/infra/TestInfraConfiguration.java index b2820a1db..81e659f46 100644 --- a/server/src/test/java/util/infra/TestInfraConfiguration.java +++ b/server/src/test/java/util/infra/TestInfraConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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 util.infra; import static util.infra.AbstractLocalDatabaseTest.DB_CHANGELOG_DB_CHANGELOG_MASTER_XML; diff --git a/tools/src/main/java/com/chutneytesting/tools/ChutneyMemoryInfo.java b/tools/src/main/java/com/chutneytesting/tools/ChutneyMemoryInfo.java index ddc518c6c..b50b3cc61 100644 --- a/tools/src/main/java/com/chutneytesting/tools/ChutneyMemoryInfo.java +++ b/tools/src/main/java/com/chutneytesting/tools/ChutneyMemoryInfo.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; public class ChutneyMemoryInfo { diff --git a/tools/src/main/java/com/chutneytesting/tools/CloseableResource.java b/tools/src/main/java/com/chutneytesting/tools/CloseableResource.java index 38d28a0f2..7bb4e6019 100644 --- a/tools/src/main/java/com/chutneytesting/tools/CloseableResource.java +++ b/tools/src/main/java/com/chutneytesting/tools/CloseableResource.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; public interface CloseableResource extends AutoCloseable { diff --git a/tools/src/main/java/com/chutneytesting/tools/Entry.java b/tools/src/main/java/com/chutneytesting/tools/Entry.java index 17f977e29..903bdb631 100644 --- a/tools/src/main/java/com/chutneytesting/tools/Entry.java +++ b/tools/src/main/java/com/chutneytesting/tools/Entry.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import static java.util.stream.Collectors.toList; diff --git a/tools/src/main/java/com/chutneytesting/tools/NotEnoughMemoryException.java b/tools/src/main/java/com/chutneytesting/tools/NotEnoughMemoryException.java index 18ef9972c..49a7e0256 100644 --- a/tools/src/main/java/com/chutneytesting/tools/NotEnoughMemoryException.java +++ b/tools/src/main/java/com/chutneytesting/tools/NotEnoughMemoryException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import java.text.DecimalFormat; diff --git a/tools/src/main/java/com/chutneytesting/tools/SocketUtils.java b/tools/src/main/java/com/chutneytesting/tools/SocketUtils.java index 55681336d..9ccca3e4a 100644 --- a/tools/src/main/java/com/chutneytesting/tools/SocketUtils.java +++ b/tools/src/main/java/com/chutneytesting/tools/SocketUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import java.net.DatagramSocket; diff --git a/tools/src/main/java/com/chutneytesting/tools/Streams.java b/tools/src/main/java/com/chutneytesting/tools/Streams.java index ad82d9539..a378c9506 100644 --- a/tools/src/main/java/com/chutneytesting/tools/Streams.java +++ b/tools/src/main/java/com/chutneytesting/tools/Streams.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import java.util.Enumeration; diff --git a/tools/src/main/java/com/chutneytesting/tools/ThrowingConsumer.java b/tools/src/main/java/com/chutneytesting/tools/ThrowingConsumer.java index 3c084fee8..9c858fe41 100644 --- a/tools/src/main/java/com/chutneytesting/tools/ThrowingConsumer.java +++ b/tools/src/main/java/com/chutneytesting/tools/ThrowingConsumer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import java.util.function.Consumer; diff --git a/tools/src/main/java/com/chutneytesting/tools/ThrowingFunction.java b/tools/src/main/java/com/chutneytesting/tools/ThrowingFunction.java index dd615334b..afe641b6a 100644 --- a/tools/src/main/java/com/chutneytesting/tools/ThrowingFunction.java +++ b/tools/src/main/java/com/chutneytesting/tools/ThrowingFunction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import java.util.function.Function; diff --git a/tools/src/main/java/com/chutneytesting/tools/ThrowingPredicate.java b/tools/src/main/java/com/chutneytesting/tools/ThrowingPredicate.java index f2a7d32ac..c002b8258 100644 --- a/tools/src/main/java/com/chutneytesting/tools/ThrowingPredicate.java +++ b/tools/src/main/java/com/chutneytesting/tools/ThrowingPredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import java.util.function.Function; diff --git a/tools/src/main/java/com/chutneytesting/tools/ThrowingSupplier.java b/tools/src/main/java/com/chutneytesting/tools/ThrowingSupplier.java index 8b3fb108b..0c8bf7ac5 100644 --- a/tools/src/main/java/com/chutneytesting/tools/ThrowingSupplier.java +++ b/tools/src/main/java/com/chutneytesting/tools/ThrowingSupplier.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import java.util.function.Function; diff --git a/tools/src/main/java/com/chutneytesting/tools/Try.java b/tools/src/main/java/com/chutneytesting/tools/Try.java index 267e52874..7322ec9e0 100644 --- a/tools/src/main/java/com/chutneytesting/tools/Try.java +++ b/tools/src/main/java/com/chutneytesting/tools/Try.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; import java.util.function.Consumer; diff --git a/tools/src/main/java/com/chutneytesting/tools/UncheckedException.java b/tools/src/main/java/com/chutneytesting/tools/UncheckedException.java index 1d402688d..b885d98b4 100644 --- a/tools/src/main/java/com/chutneytesting/tools/UncheckedException.java +++ b/tools/src/main/java/com/chutneytesting/tools/UncheckedException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools; /** diff --git a/tools/src/main/java/com/chutneytesting/tools/file/FileUtils.java b/tools/src/main/java/com/chutneytesting/tools/file/FileUtils.java index 6f3ba1485..4c4fff87d 100644 --- a/tools/src/main/java/com/chutneytesting/tools/file/FileUtils.java +++ b/tools/src/main/java/com/chutneytesting/tools/file/FileUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools.file; import static java.util.Arrays.stream; diff --git a/tools/src/main/java/com/chutneytesting/tools/loader/ExtensionLoader.java b/tools/src/main/java/com/chutneytesting/tools/loader/ExtensionLoader.java index 2568f3bb0..b18bb4ed2 100644 --- a/tools/src/main/java/com/chutneytesting/tools/loader/ExtensionLoader.java +++ b/tools/src/main/java/com/chutneytesting/tools/loader/ExtensionLoader.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools.loader; import java.util.Set; diff --git a/tools/src/main/java/com/chutneytesting/tools/loader/ExtensionLoaders.java b/tools/src/main/java/com/chutneytesting/tools/loader/ExtensionLoaders.java index b5a0057d2..a75421795 100644 --- a/tools/src/main/java/com/chutneytesting/tools/loader/ExtensionLoaders.java +++ b/tools/src/main/java/com/chutneytesting/tools/loader/ExtensionLoaders.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools.loader; import static com.chutneytesting.tools.loader.ExtensionLoaders.Mappers.instantiate; diff --git a/tools/src/test/java/com/chutneytesting/tools/file/FileUtilsTest.java b/tools/src/test/java/com/chutneytesting/tools/file/FileUtilsTest.java index 9f6ba6d91..09769c0a9 100644 --- a/tools/src/test/java/com/chutneytesting/tools/file/FileUtilsTest.java +++ b/tools/src/test/java/com/chutneytesting/tools/file/FileUtilsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools.file; import static org.assertj.core.api.Assertions.assertThat; diff --git a/tools/src/test/java/com/chutneytesting/tools/loader/ExtensionLoaderTest.java b/tools/src/test/java/com/chutneytesting/tools/loader/ExtensionLoaderTest.java index 2a14d4308..190f0ec3b 100644 --- a/tools/src/test/java/com/chutneytesting/tools/loader/ExtensionLoaderTest.java +++ b/tools/src/test/java/com/chutneytesting/tools/loader/ExtensionLoaderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2017-2023 Enedis + * + * 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.chutneytesting.tools.loader; import static org.assertj.core.api.Assertions.assertThat; diff --git a/ui/src/app/app-routing.module.ts b/ui/src/app/app-routing.module.ts index 0526bd99f..e0c32f676 100644 --- a/ui/src/app/app-routing.module.ts +++ b/ui/src/app/app-routing.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; diff --git a/ui/src/app/app.component.spec.ts b/ui/src/app/app.component.spec.ts index 80e7e218e..f330884f4 100644 --- a/ui/src/app/app.component.spec.ts +++ b/ui/src/app/app.component.spec.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index 51979bebf..0c1384615 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { registerLocaleData } from '@angular/common'; diff --git a/ui/src/app/app.module.ts b/ui/src/app/app.module.ts index fd4caa2c4..22c490f27 100644 --- a/ui/src/app/app.module.ts +++ b/ui/src/app/app.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + // Core import { BrowserModule } from '@angular/platform-browser'; import { APP_INITIALIZER, NgModule } from '@angular/core'; diff --git a/ui/src/app/atoms/atoms.module.ts b/ui/src/app/atoms/atoms.module.ts index b3243e8c7..329ce8e5e 100644 --- a/ui/src/app/atoms/atoms.module.ts +++ b/ui/src/app/atoms/atoms.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; diff --git a/ui/src/app/atoms/buttons/button.component.ts b/ui/src/app/atoms/buttons/button.component.ts index e44966ce0..cc6530bb6 100644 --- a/ui/src/app/atoms/buttons/button.component.ts +++ b/ui/src/app/atoms/buttons/button.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input } from '@angular/core'; @Component({ diff --git a/ui/src/app/atoms/buttons/link.component.ts b/ui/src/app/atoms/buttons/link.component.ts index f528a3b21..1677efbab 100644 --- a/ui/src/app/atoms/buttons/link.component.ts +++ b/ui/src/app/atoms/buttons/link.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input } from '@angular/core'; @Component({ diff --git a/ui/src/app/atoms/forms/input/input.component.ts b/ui/src/app/atoms/forms/input/input.component.ts index d49a6818e..71504da0f 100644 --- a/ui/src/app/atoms/forms/input/input.component.ts +++ b/ui/src/app/atoms/forms/input/input.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, Output, EventEmitter } from '@angular/core'; @Component({ diff --git a/ui/src/app/core/components/login/login.component.ts b/ui/src/app/core/components/login/login.component.ts index 2fdc0d13e..927649d88 100644 --- a/ui/src/app/core/components/login/login.component.ts +++ b/ui/src/app/core/components/login/login.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Subscription } from 'rxjs'; diff --git a/ui/src/app/core/components/parent/parent.component.ts b/ui/src/app/core/components/parent/parent.component.ts index 03ade437a..c8b822ccd 100644 --- a/ui/src/app/core/components/parent/parent.component.ts +++ b/ui/src/app/core/components/parent/parent.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnDestroy, OnInit } from '@angular/core'; import { Subscription } from 'rxjs'; import { LinkifierService, LoginService } from '@core/services'; diff --git a/ui/src/app/core/core.module.ts b/ui/src/app/core/core.module.ts index b2454c8b0..17028d64e 100644 --- a/ui/src/app/core/core.module.ts +++ b/ui/src/app/core/core.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { SharedModule } from '@shared/shared.module'; import { RouterModule } from '@angular/router'; diff --git a/ui/src/app/core/feature/feature.model.ts b/ui/src/app/core/feature/feature.model.ts index efb876c77..3d0ec71e6 100644 --- a/ui/src/app/core/feature/feature.model.ts +++ b/ui/src/app/core/feature/feature.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export interface Feature { name: FeatureName, active: boolean diff --git a/ui/src/app/core/feature/feature.service.ts b/ui/src/app/core/feature/feature.service.ts index 157b12cac..492fe444f 100644 --- a/ui/src/app/core/feature/feature.service.ts +++ b/ui/src/app/core/feature/feature.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { BehaviorSubject, Observable } from 'rxjs'; diff --git a/ui/src/app/core/feature/features.resolver.ts b/ui/src/app/core/feature/features.resolver.ts index 60b6ad8cf..e144f4621 100644 --- a/ui/src/app/core/feature/features.resolver.ts +++ b/ui/src/app/core/feature/features.resolver.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, RouterStateSnapshot } from '@angular/router'; import { Observable } from 'rxjs'; diff --git a/ui/src/app/core/guards/auth.guard.ts b/ui/src/app/core/guards/auth.guard.ts index 86ae7f270..6fefdd95d 100644 --- a/ui/src/app/core/guards/auth.guard.ts +++ b/ui/src/app/core/guards/auth.guard.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { Router, CanActivate, RouterStateSnapshot, ActivatedRouteSnapshot } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; diff --git a/ui/src/app/core/guards/can-deactivate.guard.ts b/ui/src/app/core/guards/can-deactivate.guard.ts index 803ccc52e..deea44261 100644 --- a/ui/src/app/core/guards/can-deactivate.guard.ts +++ b/ui/src/app/core/guards/can-deactivate.guard.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { CanDeactivate } from '@angular/router'; import { CanDeactivatePage } from './page'; diff --git a/ui/src/app/core/guards/features.guard.ts b/ui/src/app/core/guards/features.guard.ts index 51111a0a5..f78e06caa 100644 --- a/ui/src/app/core/guards/features.guard.ts +++ b/ui/src/app/core/guards/features.guard.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot } from '@angular/router'; import { FeatureService } from '@core/feature/feature.service'; diff --git a/ui/src/app/core/guards/index.ts b/ui/src/app/core/guards/index.ts index 22f148a89..971607a3d 100644 --- a/ui/src/app/core/guards/index.ts +++ b/ui/src/app/core/guards/index.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './can-deactivate.guard'; export * from './page'; export * from './auth.guard'; diff --git a/ui/src/app/core/guards/page.ts b/ui/src/app/core/guards/page.ts index 5ab522e0c..8a328afcb 100644 --- a/ui/src/app/core/guards/page.ts +++ b/ui/src/app/core/guards/page.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { HostListener, Injectable } from '@angular/core'; @Injectable() diff --git a/ui/src/app/core/initializer/app.translate.factory.ts b/ui/src/app/core/initializer/app.translate.factory.ts index 6af36e79e..34aa47447 100644 --- a/ui/src/app/core/initializer/app.translate.factory.ts +++ b/ui/src/app/core/initializer/app.translate.factory.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { TranslateHttpLoader } from '@ngx-translate/http-loader'; import { HttpClient } from '@angular/common/http'; import { MissingTranslationHandler, MissingTranslationHandlerParams } from '@ngx-translate/core'; diff --git a/ui/src/app/core/initializer/theme.initializer.ts b/ui/src/app/core/initializer/theme.initializer.ts index 3b0970b89..b0af1a634 100644 --- a/ui/src/app/core/initializer/theme.initializer.ts +++ b/ui/src/app/core/initializer/theme.initializer.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { ThemeService } from '@core/theme/theme.service'; diff --git a/ui/src/app/core/layout/layout-options.service.ts b/ui/src/app/core/layout/layout-options.service.ts index e756ae6d4..74fbfe722 100644 --- a/ui/src/app/core/layout/layout-options.service.ts +++ b/ui/src/app/core/layout/layout-options.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; @Injectable({ diff --git a/ui/src/app/core/model/agent-network/agent-graphe.model.ts b/ui/src/app/core/model/agent-network/agent-graphe.model.ts index 78307eb67..ea312b111 100644 --- a/ui/src/app/core/model/agent-network/agent-graphe.model.ts +++ b/ui/src/app/core/model/agent-network/agent-graphe.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { AgentInfo, TargetId } from '.'; export class AgentGraphe { diff --git a/ui/src/app/core/model/agent-network/agent-info.model.ts b/ui/src/app/core/model/agent-network/agent-info.model.ts index 7e28b01af..26126a371 100644 --- a/ui/src/app/core/model/agent-network/agent-info.model.ts +++ b/ui/src/app/core/model/agent-network/agent-info.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class AgentInfo { constructor( public name: string, diff --git a/ui/src/app/core/model/agent-network/agent-network.model.ts b/ui/src/app/core/model/agent-network/agent-network.model.ts index d7da79bda..076195c6f 100644 --- a/ui/src/app/core/model/agent-network/agent-network.model.ts +++ b/ui/src/app/core/model/agent-network/agent-network.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { AgentGraphe, NetworkConfiguration } from '.'; export class AgentNetwork { diff --git a/ui/src/app/core/model/agent-network/index.ts b/ui/src/app/core/model/agent-network/index.ts index 74f2d75a6..b77fdcb76 100644 --- a/ui/src/app/core/model/agent-network/index.ts +++ b/ui/src/app/core/model/agent-network/index.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './agent-info.model'; export * from './agent-graphe.model'; export * from './agent-network.model'; diff --git a/ui/src/app/core/model/agent-network/network-configuration.model.ts b/ui/src/app/core/model/agent-network/network-configuration.model.ts index 09f9a6542..2046e6854 100644 --- a/ui/src/app/core/model/agent-network/network-configuration.model.ts +++ b/ui/src/app/core/model/agent-network/network-configuration.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { AgentInfo } from '.'; export class NetworkConfiguration { diff --git a/ui/src/app/core/model/agent-network/server.model.ts b/ui/src/app/core/model/agent-network/server.model.ts index f3007dbc8..28a1ddcd6 100644 --- a/ui/src/app/core/model/agent-network/server.model.ts +++ b/ui/src/app/core/model/agent-network/server.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class TargetId { constructor( public name: string diff --git a/ui/src/app/core/model/backups.model.ts b/ui/src/app/core/model/backups.model.ts index 131e45b06..6a61abd19 100644 --- a/ui/src/app/core/model/backups.model.ts +++ b/ui/src/app/core/model/backups.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class Backup { constructor( public backupables: string[], diff --git a/ui/src/app/core/model/campaign/FREQUENCY.ts b/ui/src/app/core/model/campaign/FREQUENCY.ts index ee36b6b19..69b1da8b6 100644 --- a/ui/src/app/core/model/campaign/FREQUENCY.ts +++ b/ui/src/app/core/model/campaign/FREQUENCY.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export enum FREQUENCY { HOURLY= 'Hourly', DAILY= 'Daily', diff --git a/ui/src/app/core/model/campaign/campaign-execution-report.model.ts b/ui/src/app/core/model/campaign/campaign-execution-report.model.ts index 7ef728c49..bfcba1984 100644 --- a/ui/src/app/core/model/campaign/campaign-execution-report.model.ts +++ b/ui/src/app/core/model/campaign/campaign-execution-report.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { ScenarioExecutionReportOutline } from '.'; import { ExecutionStatus } from '../scenario/execution-status'; diff --git a/ui/src/app/core/model/campaign/campaign-scheduling.model.ts b/ui/src/app/core/model/campaign/campaign-scheduling.model.ts index 3c477a9c1..42db7fb89 100644 --- a/ui/src/app/core/model/campaign/campaign-scheduling.model.ts +++ b/ui/src/app/core/model/campaign/campaign-scheduling.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { FREQUENCY } from '@core/model/campaign/FREQUENCY'; diff --git a/ui/src/app/core/model/campaign/campaign.model.ts b/ui/src/app/core/model/campaign/campaign.model.ts index 7758fc15c..cf0cfa8a6 100644 --- a/ui/src/app/core/model/campaign/campaign.model.ts +++ b/ui/src/app/core/model/campaign/campaign.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { CampaignExecutionReport } from '.'; export class Campaign { diff --git a/ui/src/app/core/model/campaign/index.ts b/ui/src/app/core/model/campaign/index.ts index 44408f0db..e83dc390e 100644 --- a/ui/src/app/core/model/campaign/index.ts +++ b/ui/src/app/core/model/campaign/index.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './campaign.model'; export * from './campaign-execution-report.model'; export * from './campaign-scheduling.model'; diff --git a/ui/src/app/core/model/campaign/scenario-execution-report-outline.model.ts b/ui/src/app/core/model/campaign/scenario-execution-report-outline.model.ts index eba732ea2..9cb18b00b 100644 --- a/ui/src/app/core/model/campaign/scenario-execution-report-outline.model.ts +++ b/ui/src/app/core/model/campaign/scenario-execution-report-outline.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class ScenarioExecutionReportOutline { constructor( public scenarioId?: string, diff --git a/ui/src/app/core/model/chutney-state.model.ts b/ui/src/app/core/model/chutney-state.model.ts index ff184996a..cc46b2151 100644 --- a/ui/src/app/core/model/chutney-state.model.ts +++ b/ui/src/app/core/model/chutney-state.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class ChutneyState { constructor( public tags: Array = [], diff --git a/ui/src/app/core/model/component-task.model.ts b/ui/src/app/core/model/component-task.model.ts index 0046fd11d..3f41dcda7 100644 --- a/ui/src/app/core/model/component-task.model.ts +++ b/ui/src/app/core/model/component-task.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Clonable, cloneAsPossible } from 'src/app/shared/clonable'; import { Strategy } from '@core/model/scenario'; import { areEquals } from '@shared'; diff --git a/ui/src/app/core/model/dataset.model.ts b/ui/src/app/core/model/dataset.model.ts index 9f4468486..32ffab7a3 100644 --- a/ui/src/app/core/model/dataset.model.ts +++ b/ui/src/app/core/model/dataset.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { KeyValue } from './component-task.model'; import { areEquals } from '@shared'; diff --git a/ui/src/app/core/model/entry.model.ts b/ui/src/app/core/model/entry.model.ts index 66e71a36f..4f9266eb3 100644 --- a/ui/src/app/core/model/entry.model.ts +++ b/ui/src/app/core/model/entry.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class Entry { constructor( public key: string, diff --git a/ui/src/app/core/model/environment.model.ts b/ui/src/app/core/model/environment.model.ts index dab9eaee5..2338120f5 100644 --- a/ui/src/app/core/model/environment.model.ts +++ b/ui/src/app/core/model/environment.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Entry } from './entry.model'; export class Environment { diff --git a/ui/src/app/core/model/git-remote-config.model.ts b/ui/src/app/core/model/git-remote-config.model.ts index 5490130d9..f95ffef91 100644 --- a/ui/src/app/core/model/git-remote-config.model.ts +++ b/ui/src/app/core/model/git-remote-config.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class GitRemoteConfig { constructor( public name: string, diff --git a/ui/src/app/core/model/git-repository.model.ts b/ui/src/app/core/model/git-repository.model.ts index f4545672f..7d3457b0b 100644 --- a/ui/src/app/core/model/git-repository.model.ts +++ b/ui/src/app/core/model/git-repository.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class GitRepository { constructor( public id: number, diff --git a/ui/src/app/core/model/index.ts b/ui/src/app/core/model/index.ts index 03a5fdf51..4f1091a37 100644 --- a/ui/src/app/core/model/index.ts +++ b/ui/src/app/core/model/index.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './agent-network'; export * from './campaign'; export * from './chutney-state.model'; diff --git a/ui/src/app/core/model/jira-plugin-configuration.model.ts b/ui/src/app/core/model/jira-plugin-configuration.model.ts index 06104564f..3974b67ba 100644 --- a/ui/src/app/core/model/jira-plugin-configuration.model.ts +++ b/ui/src/app/core/model/jira-plugin-configuration.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class JiraPluginConfiguration { constructor( public url: string, diff --git a/ui/src/app/core/model/jira-scenario.model.ts b/ui/src/app/core/model/jira-scenario.model.ts index 440b93ae6..ab526d538 100644 --- a/ui/src/app/core/model/jira-scenario.model.ts +++ b/ui/src/app/core/model/jira-scenario.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class JiraScenario { constructor( public id: string, diff --git a/ui/src/app/core/model/linkifier.model.ts b/ui/src/app/core/model/linkifier.model.ts index c2cb9e42d..38a2fdbf6 100644 --- a/ui/src/app/core/model/linkifier.model.ts +++ b/ui/src/app/core/model/linkifier.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class Linkifier { constructor(public pattern: string, public link: string, diff --git a/ui/src/app/core/model/metric.model.ts b/ui/src/app/core/model/metric.model.ts index 13cfa9e17..5e67705e3 100644 --- a/ui/src/app/core/model/metric.model.ts +++ b/ui/src/app/core/model/metric.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class Metric { constructor( public name: string, diff --git a/ui/src/app/core/model/referential-step.model.ts b/ui/src/app/core/model/referential-step.model.ts index 035da8088..4d3c0d88e 100644 --- a/ui/src/app/core/model/referential-step.model.ts +++ b/ui/src/app/core/model/referential-step.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class ReferentialStep { constructor(public id: string, diff --git a/ui/src/app/core/model/scenario/example-parameters.model.ts b/ui/src/app/core/model/scenario/example-parameters.model.ts index f2d590ec8..c62974e03 100644 --- a/ui/src/app/core/model/scenario/example-parameters.model.ts +++ b/ui/src/app/core/model/scenario/example-parameters.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Equals, areEquals } from '@shared/equals'; import { cloneAsPossible, Clonable } from '@shared/clonable'; diff --git a/ui/src/app/core/model/scenario/execution-status.ts b/ui/src/app/core/model/scenario/execution-status.ts index 5582f4785..af6dd9cdf 100644 --- a/ui/src/app/core/model/scenario/execution-status.ts +++ b/ui/src/app/core/model/scenario/execution-status.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export enum ExecutionStatus { SUCCESS = 'SUCCESS', FAILURE = 'FAILURE', diff --git a/ui/src/app/core/model/scenario/execution.model.ts b/ui/src/app/core/model/scenario/execution.model.ts index e5ae8c670..9d90aa369 100644 --- a/ui/src/app/core/model/scenario/execution.model.ts +++ b/ui/src/app/core/model/scenario/execution.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { ExecutionStatus } from '@core/model/scenario/execution-status'; import { Campaign, CampaignExecutionReport } from '@core/model'; diff --git a/ui/src/app/core/model/scenario/functional-step.model.ts b/ui/src/app/core/model/scenario/functional-step.model.ts index 9995f4797..d3bd87596 100644 --- a/ui/src/app/core/model/scenario/functional-step.model.ts +++ b/ui/src/app/core/model/scenario/functional-step.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { addOptionalParam } from '@shared/tools/object-utils'; import { areEquals, Equals } from '@shared/equals'; import { Clonable, cloneAsPossible } from '@shared/clonable'; diff --git a/ui/src/app/core/model/scenario/gwt-test-case.model.ts b/ui/src/app/core/model/scenario/gwt-test-case.model.ts index 0ce9c0b2e..e1a04d32c 100644 --- a/ui/src/app/core/model/scenario/gwt-test-case.model.ts +++ b/ui/src/app/core/model/scenario/gwt-test-case.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { addOptionalParam } from '@shared/tools/object-utils'; import { areEquals, Equals } from '@shared/equals'; import { Clonable, cloneAsPossible } from '@shared/clonable'; diff --git a/ui/src/app/core/model/scenario/index.ts b/ui/src/app/core/model/scenario/index.ts index 81893dd4d..8f1de328f 100644 --- a/ui/src/app/core/model/scenario/index.ts +++ b/ui/src/app/core/model/scenario/index.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './example-parameters.model'; export * from './execution.model'; export * from './functional-step.model'; diff --git a/ui/src/app/core/model/scenario/scenario-execution-report.model.ts b/ui/src/app/core/model/scenario/scenario-execution-report.model.ts index 1edd0f928..07a24b819 100644 --- a/ui/src/app/core/model/scenario/scenario-execution-report.model.ts +++ b/ui/src/app/core/model/scenario/scenario-execution-report.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { StepExecutionReport } from '@core/model/scenario/step-execution-report.model'; import { ExecutionStatus } from './execution-status'; diff --git a/ui/src/app/core/model/scenario/scenario-index.model.ts b/ui/src/app/core/model/scenario/scenario-index.model.ts index 5d25b6e91..cef72c508 100644 --- a/ui/src/app/core/model/scenario/scenario-index.model.ts +++ b/ui/src/app/core/model/scenario/scenario-index.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Execution } from '@core/model/scenario/execution.model'; import { TestCase } from '@core/model/scenario/test-case.model'; diff --git a/ui/src/app/core/model/scenario/scenario.model.ts b/ui/src/app/core/model/scenario/scenario.model.ts index 12c34a9d6..a2298e48f 100644 --- a/ui/src/app/core/model/scenario/scenario.model.ts +++ b/ui/src/app/core/model/scenario/scenario.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { areEquals, Equals } from '@shared/equals'; import { cloneAsPossible, Clonable } from '@shared/clonable'; import { FunctionalStep } from '@core/model/scenario/functional-step.model'; diff --git a/ui/src/app/core/model/scenario/selectable-tags.model.ts b/ui/src/app/core/model/scenario/selectable-tags.model.ts index 077b81548..90472a2d6 100644 --- a/ui/src/app/core/model/scenario/selectable-tags.model.ts +++ b/ui/src/app/core/model/scenario/selectable-tags.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { contains, newInstance } from '@shared/tools/array-utils'; export class SelectableTags { diff --git a/ui/src/app/core/model/scenario/step-execution-report.model.ts b/ui/src/app/core/model/scenario/step-execution-report.model.ts index a1c116781..6ee201f95 100644 --- a/ui/src/app/core/model/scenario/step-execution-report.model.ts +++ b/ui/src/app/core/model/scenario/step-execution-report.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class StepExecutionReport { constructor( public duration: string, diff --git a/ui/src/app/core/model/scenario/step.model.ts b/ui/src/app/core/model/scenario/step.model.ts index 0e069cbb5..67de037dd 100644 --- a/ui/src/app/core/model/scenario/step.model.ts +++ b/ui/src/app/core/model/scenario/step.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class Step { constructor( diff --git a/ui/src/app/core/model/scenario/strategy-definition.model.ts b/ui/src/app/core/model/scenario/strategy-definition.model.ts index 92b8e6c65..b6eee45a5 100644 --- a/ui/src/app/core/model/scenario/strategy-definition.model.ts +++ b/ui/src/app/core/model/scenario/strategy-definition.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { areEquals, Equals } from '@shared/equals'; import { cloneAsPossible, Clonable } from '@shared/clonable'; import { ParameterDefinition } from '@core/model/scenario/strategy-parameter-definition.model'; diff --git a/ui/src/app/core/model/scenario/strategy-parameter-definition.model.ts b/ui/src/app/core/model/scenario/strategy-parameter-definition.model.ts index 51a755fed..1647af8d3 100644 --- a/ui/src/app/core/model/scenario/strategy-parameter-definition.model.ts +++ b/ui/src/app/core/model/scenario/strategy-parameter-definition.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { areEquals, Equals } from '@shared/equals'; import { cloneAsPossible, Clonable } from '@shared/clonable'; diff --git a/ui/src/app/core/model/scenario/strategy.model.ts b/ui/src/app/core/model/scenario/strategy.model.ts index 189a160f9..8f0936664 100644 --- a/ui/src/app/core/model/scenario/strategy.model.ts +++ b/ui/src/app/core/model/scenario/strategy.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { areEquals, Equals } from '@shared/equals'; import { cloneAsPossible, Clonable } from '@shared/clonable'; diff --git a/ui/src/app/core/model/scenario/technical-step.model.ts b/ui/src/app/core/model/scenario/technical-step.model.ts index 0ace64b55..7d00550de 100644 --- a/ui/src/app/core/model/scenario/technical-step.model.ts +++ b/ui/src/app/core/model/scenario/technical-step.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { areEquals, Equals } from '@shared/equals'; import { cloneAsPossible, Clonable } from '@shared/clonable'; diff --git a/ui/src/app/core/model/scenario/test-case.model.ts b/ui/src/app/core/model/scenario/test-case.model.ts index 3a4aed64d..cbc0383f0 100644 --- a/ui/src/app/core/model/scenario/test-case.model.ts +++ b/ui/src/app/core/model/scenario/test-case.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { areEquals, Equals } from '@shared/equals'; import { Clonable, cloneAsPossible } from '@shared/clonable'; diff --git a/ui/src/app/core/model/scenario/testcase-edition.model.ts b/ui/src/app/core/model/scenario/testcase-edition.model.ts index b2e75ab6b..c4defa11d 100644 --- a/ui/src/app/core/model/scenario/testcase-edition.model.ts +++ b/ui/src/app/core/model/scenario/testcase-edition.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class TestCaseEdition { constructor( public testCaseId: string, diff --git a/ui/src/app/core/model/sql-result.model.ts b/ui/src/app/core/model/sql-result.model.ts index 2ca8c1485..13b7af4ce 100644 --- a/ui/src/app/core/model/sql-result.model.ts +++ b/ui/src/app/core/model/sql-result.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Table } from './table.model'; export class Sqlresult { diff --git a/ui/src/app/core/model/table.model.ts b/ui/src/app/core/model/table.model.ts index 1da20d191..f3a302d02 100644 --- a/ui/src/app/core/model/table.model.ts +++ b/ui/src/app/core/model/table.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class Table { constructor(public columnNames: Array, public rows: Array) { } diff --git a/ui/src/app/core/model/task.model.ts b/ui/src/app/core/model/task.model.ts index def91887e..1957da3a6 100644 --- a/ui/src/app/core/model/task.model.ts +++ b/ui/src/app/core/model/task.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class Task { constructor( diff --git a/ui/src/app/core/model/user.model.ts b/ui/src/app/core/model/user.model.ts index bd07453b5..0abee604d 100644 --- a/ui/src/app/core/model/user.model.ts +++ b/ui/src/app/core/model/user.model.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export class User { constructor( diff --git a/ui/src/app/core/services/agent-network.service.ts b/ui/src/app/core/services/agent-network.service.ts index e84817ff8..5b5a8e632 100644 --- a/ui/src/app/core/services/agent-network.service.ts +++ b/ui/src/app/core/services/agent-network.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/ui/src/app/core/services/backups.service.spec.ts b/ui/src/app/core/services/backups.service.spec.ts index 8b173c5b7..0ae66e114 100644 --- a/ui/src/app/core/services/backups.service.spec.ts +++ b/ui/src/app/core/services/backups.service.spec.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { BackupsService } from './backups.service'; import { Backup } from '@core/model/backups.model'; import { of } from 'rxjs'; diff --git a/ui/src/app/core/services/backups.service.ts b/ui/src/app/core/services/backups.service.ts index fee52f98e..d48b52ee3 100644 --- a/ui/src/app/core/services/backups.service.ts +++ b/ui/src/app/core/services/backups.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; diff --git a/ui/src/app/core/services/campaign-scheduling.service.ts b/ui/src/app/core/services/campaign-scheduling.service.ts index b6e9718d1..38885792f 100644 --- a/ui/src/app/core/services/campaign-scheduling.service.ts +++ b/ui/src/app/core/services/campaign-scheduling.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/ui/src/app/core/services/campaign.service.ts b/ui/src/app/core/services/campaign.service.ts index c3089de77..578971aab 100644 --- a/ui/src/app/core/services/campaign.service.ts +++ b/ui/src/app/core/services/campaign.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/ui/src/app/core/services/database-admin.service.ts b/ui/src/app/core/services/database-admin.service.ts index b753f7f6e..bad435c04 100644 --- a/ui/src/app/core/services/database-admin.service.ts +++ b/ui/src/app/core/services/database-admin.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; diff --git a/ui/src/app/core/services/dataset.service.ts b/ui/src/app/core/services/dataset.service.ts index 474894be8..b5f5f5372 100644 --- a/ui/src/app/core/services/dataset.service.ts +++ b/ui/src/app/core/services/dataset.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/ui/src/app/core/services/edition.service.ts b/ui/src/app/core/services/edition.service.ts index 05c473887..c35ef4144 100644 --- a/ui/src/app/core/services/edition.service.ts +++ b/ui/src/app/core/services/edition.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; diff --git a/ui/src/app/core/services/environment.service.ts b/ui/src/app/core/services/environment.service.ts index 3348b0c28..b2dcbe374 100644 --- a/ui/src/app/core/services/environment.service.ts +++ b/ui/src/app/core/services/environment.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { Environment, Target, TargetFilter } from '@model'; diff --git a/ui/src/app/core/services/environments-names.resolver.ts b/ui/src/app/core/services/environments-names.resolver.ts index cb31aeb8b..a3b5e2dd8 100644 --- a/ui/src/app/core/services/environments-names.resolver.ts +++ b/ui/src/app/core/services/environments-names.resolver.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, RouterStateSnapshot } from '@angular/router'; import { Observable } from 'rxjs'; diff --git a/ui/src/app/core/services/environments.resolver.ts b/ui/src/app/core/services/environments.resolver.ts index 19742f3b6..5de0ef68a 100644 --- a/ui/src/app/core/services/environments.resolver.ts +++ b/ui/src/app/core/services/environments.resolver.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, RouterStateSnapshot } from '@angular/router'; import { Observable } from 'rxjs'; diff --git a/ui/src/app/core/services/global-var.service.ts b/ui/src/app/core/services/global-var.service.ts index c46589168..e17fe5cf7 100644 --- a/ui/src/app/core/services/global-var.service.ts +++ b/ui/src/app/core/services/global-var.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { environment } from '@env/environment'; diff --git a/ui/src/app/core/services/index.ts b/ui/src/app/core/services/index.ts index 46b2ef38f..fe60866a9 100644 --- a/ui/src/app/core/services/index.ts +++ b/ui/src/app/core/services/index.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './agent-network.service'; export * from './backups.service'; export * from './campaign.service'; diff --git a/ui/src/app/core/services/info.service.ts b/ui/src/app/core/services/info.service.ts index 79d13d83c..823a66843 100644 --- a/ui/src/app/core/services/info.service.ts +++ b/ui/src/app/core/services/info.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { environment } from '@env/environment'; diff --git a/ui/src/app/core/services/jira-plugin-configuration.service.ts b/ui/src/app/core/services/jira-plugin-configuration.service.ts index a34d5febb..ca87c735d 100644 --- a/ui/src/app/core/services/jira-plugin-configuration.service.ts +++ b/ui/src/app/core/services/jira-plugin-configuration.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; diff --git a/ui/src/app/core/services/jira-plugin.service.ts b/ui/src/app/core/services/jira-plugin.service.ts index e00b0b3e2..a7f7866d3 100644 --- a/ui/src/app/core/services/jira-plugin.service.ts +++ b/ui/src/app/core/services/jira-plugin.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient, HttpResponse } from '@angular/common/http'; import { environment } from '@env/environment'; diff --git a/ui/src/app/core/services/linkifier.service.ts b/ui/src/app/core/services/linkifier.service.ts index 922ff2954..193faebf6 100644 --- a/ui/src/app/core/services/linkifier.service.ts +++ b/ui/src/app/core/services/linkifier.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; diff --git a/ui/src/app/core/services/login.service.ts b/ui/src/app/core/services/login.service.ts index 9cedd72e8..ca9143529 100644 --- a/ui/src/app/core/services/login.service.ts +++ b/ui/src/app/core/services/login.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Router } from '@angular/router'; diff --git a/ui/src/app/core/services/prometheus.service.ts b/ui/src/app/core/services/prometheus.service.ts index dab9e14fe..edf6def0a 100644 --- a/ui/src/app/core/services/prometheus.service.ts +++ b/ui/src/app/core/services/prometheus.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { environment } from '@env/environment'; diff --git a/ui/src/app/core/services/roles.service.ts b/ui/src/app/core/services/roles.service.ts index 3e42b9c0c..85e39ea6a 100644 --- a/ui/src/app/core/services/roles.service.ts +++ b/ui/src/app/core/services/roles.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; diff --git a/ui/src/app/core/services/scenario.service.ts b/ui/src/app/core/services/scenario.service.ts index b6b5650a2..f8be9e435 100644 --- a/ui/src/app/core/services/scenario.service.ts +++ b/ui/src/app/core/services/scenario.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/ui/src/app/core/services/step.service.ts b/ui/src/app/core/services/step.service.ts index e7f2a7417..a3e85f0cd 100644 --- a/ui/src/app/core/services/step.service.ts +++ b/ui/src/app/core/services/step.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { environment } from '@env/environment'; diff --git a/ui/src/app/core/theme/theme.service.ts b/ui/src/app/core/theme/theme.service.ts index 148e38a89..757f62148 100644 --- a/ui/src/app/core/theme/theme.service.ts +++ b/ui/src/app/core/theme/theme.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Inject, Injectable } from '@angular/core'; import { Theme } from '@core/theme/theme'; import { DOCUMENT } from '@angular/common'; diff --git a/ui/src/app/core/theme/theme.ts b/ui/src/app/core/theme/theme.ts index 123e2ce22..528ba0017 100644 --- a/ui/src/app/core/theme/theme.ts +++ b/ui/src/app/core/theme/theme.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export enum Theme { FLATLY = 'FLATLY', DARKLY = 'DARKLY' diff --git a/ui/src/app/modules/agent-network/agent-network.module.ts b/ui/src/app/modules/agent-network/agent-network.module.ts index 029e42ba8..3bc389505 100644 --- a/ui/src/app/modules/agent-network/agent-network.module.ts +++ b/ui/src/app/modules/agent-network/agent-network.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; diff --git a/ui/src/app/modules/agent-network/agent-network.routes.ts b/ui/src/app/modules/agent-network/agent-network.routes.ts index d028b0274..9568422b6 100644 --- a/ui/src/app/modules/agent-network/agent-network.routes.ts +++ b/ui/src/app/modules/agent-network/agent-network.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { AgentNetworkComponent } from './components/agent-network/agent-network.component'; import { Routes } from '@angular/router'; import { Authorization } from '@model'; diff --git a/ui/src/app/modules/agent-network/components/agent-network-configuration/agent-network-configuration.component.ts b/ui/src/app/modules/agent-network/components/agent-network-configuration/agent-network-configuration.component.ts index a5ad82ead..4cdaaecf1 100644 --- a/ui/src/app/modules/agent-network/components/agent-network-configuration/agent-network-configuration.component.ts +++ b/ui/src/app/modules/agent-network/components/agent-network-configuration/agent-network-configuration.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, Output, EventEmitter } from '@angular/core'; import { NetworkConfiguration, AgentInfo } from '@model'; import { AgentNetworkService } from '@core/services'; diff --git a/ui/src/app/modules/agent-network/components/agent-network/agent-network.component.ts b/ui/src/app/modules/agent-network/components/agent-network/agent-network.component.ts index 6225db4ac..5f6bac1c3 100644 --- a/ui/src/app/modules/agent-network/components/agent-network/agent-network.component.ts +++ b/ui/src/app/modules/agent-network/components/agent-network/agent-network.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit } from '@angular/core'; import { AgentNetwork, NetworkConfiguration } from '@model'; import { AgentNetworkService } from '@core/services'; diff --git a/ui/src/app/modules/agent-network/components/agent/agent.component.ts b/ui/src/app/modules/agent-network/components/agent/agent.component.ts index 6a5ca427e..c35573046 100644 --- a/ui/src/app/modules/agent-network/components/agent/agent.component.ts +++ b/ui/src/app/modules/agent-network/components/agent/agent.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, EventEmitter, Output } from '@angular/core'; import { AgentInfo } from '@model'; diff --git a/ui/src/app/modules/agent-network/components/network-graph/network-graph.component.ts b/ui/src/app/modules/agent-network/components/network-graph/network-graph.component.ts index 77daaf3cc..1ac49b5c5 100644 --- a/ui/src/app/modules/agent-network/components/network-graph/network-graph.component.ts +++ b/ui/src/app/modules/agent-network/components/network-graph/network-graph.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input } from '@angular/core'; import { AgentGraphe, Agent, Environment } from '@model'; import { EnvironmentService } from '@core/services'; diff --git a/ui/src/app/modules/backups/backups.module.ts b/ui/src/app/modules/backups/backups.module.ts index 9ea99a43b..6dacbe13b 100644 --- a/ui/src/app/modules/backups/backups.module.ts +++ b/ui/src/app/modules/backups/backups.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; diff --git a/ui/src/app/modules/backups/backups.routes.ts b/ui/src/app/modules/backups/backups.routes.ts index a2c6b67d3..3b0efecd7 100644 --- a/ui/src/app/modules/backups/backups.routes.ts +++ b/ui/src/app/modules/backups/backups.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { BackupsAdminComponent } from './components/backups-admin.component'; diff --git a/ui/src/app/modules/backups/components/backups-admin.component.ts b/ui/src/app/modules/backups/components/backups-admin.component.ts index a7a549942..04a04de3e 100644 --- a/ui/src/app/modules/backups/components/backups-admin.component.ts +++ b/ui/src/app/modules/backups/components/backups-admin.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit } from '@angular/core'; import { FormGroup, FormBuilder, FormArray, AbstractControl } from '@angular/forms'; diff --git a/ui/src/app/modules/campaign/campaign.module.ts b/ui/src/app/modules/campaign/campaign.module.ts index ecdf97db0..bcbca4f9a 100644 --- a/ui/src/app/modules/campaign/campaign.module.ts +++ b/ui/src/app/modules/campaign/campaign.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; diff --git a/ui/src/app/modules/campaign/campaign.routes.ts b/ui/src/app/modules/campaign/campaign.routes.ts index 450bd4225..0aa60d450 100644 --- a/ui/src/app/modules/campaign/campaign.routes.ts +++ b/ui/src/app/modules/campaign/campaign.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { CampaignListComponent } from './components/campaign-list/campaign-list.component'; diff --git a/ui/src/app/modules/campaign/components/campaign-list/campaign-list.component.ts b/ui/src/app/modules/campaign/components/campaign-list/campaign-list.component.ts index 95d268469..a067b95b6 100644 --- a/ui/src/app/modules/campaign/components/campaign-list/campaign-list.component.ts +++ b/ui/src/app/modules/campaign/components/campaign-list/campaign-list.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnDestroy, OnInit } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { Router } from '@angular/router'; diff --git a/ui/src/app/modules/campaign/components/campaign-scheduling/campaign-scheduling.component.ts b/ui/src/app/modules/campaign/components/campaign-scheduling/campaign-scheduling.component.ts index b0e8a5b23..153c51ada 100644 --- a/ui/src/app/modules/campaign/components/campaign-scheduling/campaign-scheduling.component.ts +++ b/ui/src/app/modules/campaign/components/campaign-scheduling/campaign-scheduling.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit } from '@angular/core'; import { Campaign } from '@core/model'; import { CampaignService } from '@core/services'; diff --git a/ui/src/app/modules/campaign/components/create-campaign/campaign-edition.component.ts b/ui/src/app/modules/campaign/components/create-campaign/campaign-edition.component.ts index 6a5e1dc4a..dd4c9e94d 100644 --- a/ui/src/app/modules/campaign/components/create-campaign/campaign-edition.component.ts +++ b/ui/src/app/modules/campaign/components/create-campaign/campaign-edition.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; diff --git a/ui/src/app/modules/campaign/components/execution/detail/campaign-execution.component.ts b/ui/src/app/modules/campaign/components/execution/detail/campaign-execution.component.ts index a63f64511..be4b9fc69 100644 --- a/ui/src/app/modules/campaign/components/execution/detail/campaign-execution.component.ts +++ b/ui/src/app/modules/campaign/components/execution/detail/campaign-execution.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, OnInit } from "@angular/core"; import { forkJoin, Observable, of, switchMap, timer } from "rxjs"; diff --git a/ui/src/app/modules/campaign/components/execution/history/campaign-executions-history.component.ts b/ui/src/app/modules/campaign/components/execution/history/campaign-executions-history.component.ts index 3a115de9a..2dd7b6a9b 100644 --- a/ui/src/app/modules/campaign/components/execution/history/campaign-executions-history.component.ts +++ b/ui/src/app/modules/campaign/components/execution/history/campaign-executions-history.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute, Params, Router } from '@angular/router'; diff --git a/ui/src/app/modules/campaign/components/execution/history/list/campaign-executions.component.ts b/ui/src/app/modules/campaign/components/execution/history/list/campaign-executions.component.ts index e5377463a..e78502e72 100644 --- a/ui/src/app/modules/campaign/components/execution/history/list/campaign-executions.component.ts +++ b/ui/src/app/modules/campaign/components/execution/history/list/campaign-executions.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, EventEmitter, Input, OnChanges, OnDestroy, Output, SimpleChanges, ViewChild } from '@angular/core'; import { CampaignExecutionReport, CampaignReport } from '@model'; import { ActivatedRoute, Params, Router } from '@angular/router'; diff --git a/ui/src/app/modules/campaign/components/execution/sub/right-side-bar/campaign-execution-menu.component.ts b/ui/src/app/modules/campaign/components/execution/sub/right-side-bar/campaign-execution-menu.component.ts index a7530a732..d7db0bfc5 100644 --- a/ui/src/app/modules/campaign/components/execution/sub/right-side-bar/campaign-execution-menu.component.ts +++ b/ui/src/app/modules/campaign/components/execution/sub/right-side-bar/campaign-execution-menu.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit, TemplateRef, ViewChild } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; diff --git a/ui/src/app/modules/database-admin/components/database-admin.component.ts b/ui/src/app/modules/database-admin/components/database-admin.component.ts index 130058596..bca39dc71 100644 --- a/ui/src/app/modules/database-admin/components/database-admin.component.ts +++ b/ui/src/app/modules/database-admin/components/database-admin.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit } from '@angular/core'; import { Sqlresult, sqlResultFromObject } from '@model'; diff --git a/ui/src/app/modules/database-admin/database-admin.module.ts b/ui/src/app/modules/database-admin/database-admin.module.ts index 79264ef7c..a2a6ca9f6 100644 --- a/ui/src/app/modules/database-admin/database-admin.module.ts +++ b/ui/src/app/modules/database-admin/database-admin.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; diff --git a/ui/src/app/modules/database-admin/database-admin.routes.ts b/ui/src/app/modules/database-admin/database-admin.routes.ts index c839ec16e..91cbb30de 100644 --- a/ui/src/app/modules/database-admin/database-admin.routes.ts +++ b/ui/src/app/modules/database-admin/database-admin.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { DatabaseAdminComponent } from './components/database-admin.component'; diff --git a/ui/src/app/modules/dataset/components/dataset-edition/dataset-edition.component.spec.ts b/ui/src/app/modules/dataset/components/dataset-edition/dataset-edition.component.spec.ts index fb790f23e..5b419cdd4 100644 --- a/ui/src/app/modules/dataset/components/dataset-edition/dataset-edition.component.spec.ts +++ b/ui/src/app/modules/dataset/components/dataset-edition/dataset-edition.component.spec.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { TranslateModule } from '@ngx-translate/core'; diff --git a/ui/src/app/modules/dataset/components/dataset-edition/dataset-edition.component.ts b/ui/src/app/modules/dataset/components/dataset-edition/dataset-edition.component.ts index 4e02c0c69..e125fd1c0 100644 --- a/ui/src/app/modules/dataset/components/dataset-edition/dataset-edition.component.ts +++ b/ui/src/app/modules/dataset/components/dataset-edition/dataset-edition.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { AfterViewInit, Component, ElementRef, OnDestroy, OnInit, ViewChild } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Location } from '@angular/common'; diff --git a/ui/src/app/modules/dataset/components/dataset-edition/forms-data-grid/forms-data-grid.component.ts b/ui/src/app/modules/dataset/components/dataset-edition/forms-data-grid/forms-data-grid.component.ts index 05802f509..0a9da64e0 100644 --- a/ui/src/app/modules/dataset/components/dataset-edition/forms-data-grid/forms-data-grid.component.ts +++ b/ui/src/app/modules/dataset/components/dataset-edition/forms-data-grid/forms-data-grid.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, forwardRef } from '@angular/core'; import { AbstractControl, diff --git a/ui/src/app/modules/dataset/components/dataset-edition/forms-key-value/forms-key-value.component.ts b/ui/src/app/modules/dataset/components/dataset-edition/forms-key-value/forms-key-value.component.ts index 740026108..71f4ad467 100644 --- a/ui/src/app/modules/dataset/components/dataset-edition/forms-key-value/forms-key-value.component.ts +++ b/ui/src/app/modules/dataset/components/dataset-edition/forms-key-value/forms-key-value.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, forwardRef } from '@angular/core'; import { AbstractControl, diff --git a/ui/src/app/modules/dataset/components/dataset-list/dataset-list.component.spec.ts b/ui/src/app/modules/dataset/components/dataset-list/dataset-list.component.spec.ts index c610b4e51..98c967fcb 100644 --- a/ui/src/app/modules/dataset/components/dataset-list/dataset-list.component.spec.ts +++ b/ui/src/app/modules/dataset/components/dataset-list/dataset-list.component.spec.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { HttpClientTestingModule } from '@angular/common/http/testing'; diff --git a/ui/src/app/modules/dataset/components/dataset-list/dataset-list.component.ts b/ui/src/app/modules/dataset/components/dataset-list/dataset-list.component.ts index 1e177363c..ff5ffb032 100644 --- a/ui/src/app/modules/dataset/components/dataset-list/dataset-list.component.ts +++ b/ui/src/app/modules/dataset/components/dataset-list/dataset-list.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; diff --git a/ui/src/app/modules/dataset/dataset.module.ts b/ui/src/app/modules/dataset/dataset.module.ts index 05f266e73..1dbdea467 100644 --- a/ui/src/app/modules/dataset/dataset.module.ts +++ b/ui/src/app/modules/dataset/dataset.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; diff --git a/ui/src/app/modules/dataset/dataset.routes.ts b/ui/src/app/modules/dataset/dataset.routes.ts index db31f3ae9..02c311e58 100644 --- a/ui/src/app/modules/dataset/dataset.routes.ts +++ b/ui/src/app/modules/dataset/dataset.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { DatasetListComponent } from './components/dataset-list/dataset-list.component'; diff --git a/ui/src/app/modules/environment/environment.module.ts b/ui/src/app/modules/environment/environment.module.ts index d0bcd24e9..9ab557546 100644 --- a/ui/src/app/modules/environment/environment.module.ts +++ b/ui/src/app/modules/environment/environment.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { EnvironmentsComponent } from './list/environments.component'; diff --git a/ui/src/app/modules/environment/environments.routes.ts b/ui/src/app/modules/environment/environments.routes.ts index a75bd3666..557c32baf 100644 --- a/ui/src/app/modules/environment/environments.routes.ts +++ b/ui/src/app/modules/environment/environments.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { Authorization } from '@model'; diff --git a/ui/src/app/modules/environment/list/environments.component.ts b/ui/src/app/modules/environment/list/environments.component.ts index 6fda0a4bc..e8f6c467b 100644 --- a/ui/src/app/modules/environment/list/environments.component.ts +++ b/ui/src/app/modules/environment/list/environments.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, DoCheck, OnInit } from '@angular/core'; import { Environment } from '@model'; import { ActivatedRoute } from '@angular/router'; diff --git a/ui/src/app/modules/global-variable/components/global-variable-edition/global-variable-edition.component.ts b/ui/src/app/modules/global-variable/components/global-variable-edition/global-variable-edition.component.ts index 2be9e11c3..14f251a5d 100644 --- a/ui/src/app/modules/global-variable/components/global-variable-edition/global-variable-edition.component.ts +++ b/ui/src/app/modules/global-variable/components/global-variable-edition/global-variable-edition.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import {Component, OnInit, ViewChild} from '@angular/core'; import {GlobalVariableService} from '@core/services/global-var.service'; import {HttpErrorResponse} from '@angular/common/http'; diff --git a/ui/src/app/modules/global-variable/global-variable.module.ts b/ui/src/app/modules/global-variable/global-variable.module.ts index ef8d7212e..90991a1d9 100644 --- a/ui/src/app/modules/global-variable/global-variable.module.ts +++ b/ui/src/app/modules/global-variable/global-variable.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; diff --git a/ui/src/app/modules/global-variable/global-variable.routes.ts b/ui/src/app/modules/global-variable/global-variable.routes.ts index 50482afb7..f101c6ea9 100644 --- a/ui/src/app/modules/global-variable/global-variable.routes.ts +++ b/ui/src/app/modules/global-variable/global-variable.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { GlobalVariableEditionComponent } from './components/global-variable-edition/global-variable-edition.component'; diff --git a/ui/src/app/modules/metrics/components/metrics.component.ts b/ui/src/app/modules/metrics/components/metrics.component.ts index 52d5005e2..28e8cc20b 100644 --- a/ui/src/app/modules/metrics/components/metrics.component.ts +++ b/ui/src/app/modules/metrics/components/metrics.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnDestroy, OnInit } from '@angular/core'; import { Metric } from '@core/model/metric.model'; import { PrometheusService } from '@core/services/prometheus.service'; diff --git a/ui/src/app/modules/metrics/metrics.module.ts b/ui/src/app/modules/metrics/metrics.module.ts index ff7d1adec..cc62c7d12 100644 --- a/ui/src/app/modules/metrics/metrics.module.ts +++ b/ui/src/app/modules/metrics/metrics.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; diff --git a/ui/src/app/modules/metrics/metrics.routes.ts b/ui/src/app/modules/metrics/metrics.routes.ts index f36c5bec3..d0a687e8f 100644 --- a/ui/src/app/modules/metrics/metrics.routes.ts +++ b/ui/src/app/modules/metrics/metrics.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { MetricsComponent } from './components/metrics.component'; diff --git a/ui/src/app/modules/plugins/components/jira/jira.component.ts b/ui/src/app/modules/plugins/components/jira/jira.component.ts index 361d3612c..2acc71d51 100644 --- a/ui/src/app/modules/plugins/components/jira/jira.component.ts +++ b/ui/src/app/modules/plugins/components/jira/jira.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { JiraPluginConfiguration } from '@core/model/jira-plugin-configuration.model'; diff --git a/ui/src/app/modules/plugins/components/linkifier/linkifier.component.ts b/ui/src/app/modules/plugins/components/linkifier/linkifier.component.ts index 16dbc761b..783098e5a 100644 --- a/ui/src/app/modules/plugins/components/linkifier/linkifier.component.ts +++ b/ui/src/app/modules/plugins/components/linkifier/linkifier.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit } from '@angular/core'; import { ValidationService } from '../../../../molecules/validation/validation.service'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; diff --git a/ui/src/app/modules/plugins/components/plugin-configuration.component.ts b/ui/src/app/modules/plugins/components/plugin-configuration.component.ts index b339ba739..d10a770bb 100644 --- a/ui/src/app/modules/plugins/components/plugin-configuration.component.ts +++ b/ui/src/app/modules/plugins/components/plugin-configuration.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component } from '@angular/core'; diff --git a/ui/src/app/modules/plugins/plugin-configuration.module.ts b/ui/src/app/modules/plugins/plugin-configuration.module.ts index 9aee6dcdf..ae5f93b92 100644 --- a/ui/src/app/modules/plugins/plugin-configuration.module.ts +++ b/ui/src/app/modules/plugins/plugin-configuration.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; diff --git a/ui/src/app/modules/plugins/plugin-configuration.routes.ts b/ui/src/app/modules/plugins/plugin-configuration.routes.ts index 2ea71b1f2..4cfd88489 100644 --- a/ui/src/app/modules/plugins/plugin-configuration.routes.ts +++ b/ui/src/app/modules/plugins/plugin-configuration.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { PluginConfigurationComponent } from './components/plugin-configuration.component'; import { Authorization } from '@model'; diff --git a/ui/src/app/modules/roles/components/roles.component.ts b/ui/src/app/modules/roles/components/roles.component.ts index 5f10d4f4a..0be2cf46b 100644 --- a/ui/src/app/modules/roles/components/roles.component.ts +++ b/ui/src/app/modules/roles/components/roles.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; diff --git a/ui/src/app/modules/roles/roles.module.ts b/ui/src/app/modules/roles/roles.module.ts index 7dba4c80e..4b92ed9ce 100644 --- a/ui/src/app/modules/roles/roles.module.ts +++ b/ui/src/app/modules/roles/roles.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; diff --git a/ui/src/app/modules/roles/roles.routes.ts b/ui/src/app/modules/roles/roles.routes.ts index 11c15d68e..f536efe32 100644 --- a/ui/src/app/modules/roles/roles.routes.ts +++ b/ui/src/app/modules/roles/roles.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { RolesComponent } from './components/roles.component'; diff --git a/ui/src/app/modules/scenarios/components/edition/authoring-info/authoring-info.component.ts b/ui/src/app/modules/scenarios/components/edition/authoring-info/authoring-info.component.ts index 81a4e2509..f56833d37 100644 --- a/ui/src/app/modules/scenarios/components/edition/authoring-info/authoring-info.component.ts +++ b/ui/src/app/modules/scenarios/components/edition/authoring-info/authoring-info.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input } from '@angular/core'; @Component({ diff --git a/ui/src/app/modules/scenarios/components/edition/edition-info/edition-info.component.ts b/ui/src/app/modules/scenarios/components/edition/edition-info/edition-info.component.ts index 94558e3e8..85d8257c1 100644 --- a/ui/src/app/modules/scenarios/components/edition/edition-info/edition-info.component.ts +++ b/ui/src/app/modules/scenarios/components/edition/edition-info/edition-info.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, HostListener, SimpleChanges, Input, OnChanges, OnDestroy } from '@angular/core'; import { EditionService } from '@core/services'; diff --git a/ui/src/app/modules/scenarios/components/edition/raw/raw-edition.component.ts b/ui/src/app/modules/scenarios/components/edition/raw/raw-edition.component.ts index 04137ef46..9aa160d4f 100644 --- a/ui/src/app/modules/scenarios/components/edition/raw/raw-edition.component.ts +++ b/ui/src/app/modules/scenarios/components/edition/raw/raw-edition.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { EventManagerService } from '@shared/event-manager.service'; diff --git a/ui/src/app/modules/scenarios/components/execution/detail/execution.component.ts b/ui/src/app/modules/scenarios/components/execution/detail/execution.component.ts index 8c6205de6..9ff1b49c7 100644 --- a/ui/src/app/modules/scenarios/components/execution/detail/execution.component.ts +++ b/ui/src/app/modules/scenarios/components/execution/detail/execution.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, EventEmitter, Input, Renderer2, OnDestroy, OnInit, Output, AfterViewInit, TemplateRef, ElementRef, AfterViewChecked, ViewChild } from '@angular/core'; import { Location } from '@angular/common'; import { Observable, Subscription, fromEvent, merge, timer } from 'rxjs'; diff --git a/ui/src/app/modules/scenarios/components/execution/history/list/scenario-executions.component.ts b/ui/src/app/modules/scenarios/components/execution/history/list/scenario-executions.component.ts index 91c575a04..9648ae2bf 100644 --- a/ui/src/app/modules/scenarios/components/execution/history/list/scenario-executions.component.ts +++ b/ui/src/app/modules/scenarios/components/execution/history/list/scenario-executions.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, EventEmitter, Input, OnChanges, OnDestroy, Output, SimpleChanges, ViewChild } from '@angular/core'; import { Execution } from '@model'; import { ActivatedRoute, Params, Router } from '@angular/router'; diff --git a/ui/src/app/modules/scenarios/components/execution/history/scenario-executions-history.component.ts b/ui/src/app/modules/scenarios/components/execution/history/scenario-executions-history.component.ts index b7ac35d90..d6490e0f4 100644 --- a/ui/src/app/modules/scenarios/components/execution/history/scenario-executions-history.component.ts +++ b/ui/src/app/modules/scenarios/components/execution/history/scenario-executions-history.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnDestroy, OnInit } from '@angular/core'; import { catchError, delay, switchMap, tap } from 'rxjs/operators'; import { ActivatedRoute, Params, Router } from '@angular/router'; diff --git a/ui/src/app/modules/scenarios/components/execution/preview/report-preview.component.ts b/ui/src/app/modules/scenarios/components/execution/preview/report-preview.component.ts index 4003096e4..57ac27bee 100644 --- a/ui/src/app/modules/scenarios/components/execution/preview/report-preview.component.ts +++ b/ui/src/app/modules/scenarios/components/execution/preview/report-preview.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component } from '@angular/core'; import { Execution } from '@core/model'; diff --git a/ui/src/app/modules/scenarios/components/execution/sub/right-side-bar/scenario-execution-menu.component.ts b/ui/src/app/modules/scenarios/components/execution/sub/right-side-bar/scenario-execution-menu.component.ts index 01577eaff..60eaba50e 100644 --- a/ui/src/app/modules/scenarios/components/execution/sub/right-side-bar/scenario-execution-menu.component.ts +++ b/ui/src/app/modules/scenarios/components/execution/sub/right-side-bar/scenario-execution-menu.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit, diff --git a/ui/src/app/modules/scenarios/components/search-list/scenarios.component.spec.ts b/ui/src/app/modules/scenarios/components/search-list/scenarios.component.spec.ts index 27147b6f7..f96ff780e 100644 --- a/ui/src/app/modules/scenarios/components/search-list/scenarios.component.spec.ts +++ b/ui/src/app/modules/scenarios/components/search-list/scenarios.component.spec.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { HttpClientTestingModule } from '@angular/common/http/testing'; diff --git a/ui/src/app/modules/scenarios/components/search-list/scenarios.component.ts b/ui/src/app/modules/scenarios/components/search-list/scenarios.component.ts index 8ae1835e4..d1a9cf44c 100644 --- a/ui/src/app/modules/scenarios/components/search-list/scenarios.component.ts +++ b/ui/src/app/modules/scenarios/components/search-list/scenarios.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Subject, Subscription } from 'rxjs'; diff --git a/ui/src/app/modules/scenarios/components/sub/scenario-campaigns/scenario-campaigns.component.ts b/ui/src/app/modules/scenarios/components/sub/scenario-campaigns/scenario-campaigns.component.ts index ae081d65a..1877f2f30 100644 --- a/ui/src/app/modules/scenarios/components/sub/scenario-campaigns/scenario-campaigns.component.ts +++ b/ui/src/app/modules/scenarios/components/sub/scenario-campaigns/scenario-campaigns.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, OnChanges } from '@angular/core'; import { CampaignService } from '@core/services'; diff --git a/ui/src/app/modules/scenarios/scenario.module.ts b/ui/src/app/modules/scenarios/scenario.module.ts index c777e19f4..479359223 100644 --- a/ui/src/app/modules/scenarios/scenario.module.ts +++ b/ui/src/app/modules/scenarios/scenario.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + // Core import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; diff --git a/ui/src/app/modules/scenarios/scenario.routes.ts b/ui/src/app/modules/scenarios/scenario.routes.ts index 23668b1c4..76b608cdc 100644 --- a/ui/src/app/modules/scenarios/scenario.routes.ts +++ b/ui/src/app/modules/scenarios/scenario.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { ScenariosComponent } from './components/search-list/scenarios.component'; import { RawEditionComponent } from './components/edition/raw/raw-edition.component'; diff --git a/ui/src/app/modules/scenarios/services/scenario-execution.service.ts b/ui/src/app/modules/scenarios/services/scenario-execution.service.ts index 2a6a09b1c..35a2fe82c 100644 --- a/ui/src/app/modules/scenarios/services/scenario-execution.service.ts +++ b/ui/src/app/modules/scenarios/services/scenario-execution.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; diff --git a/ui/src/app/modules/target/details/target.component.ts b/ui/src/app/modules/target/details/target.component.ts index 99b838ec9..4dd49de20 100644 --- a/ui/src/app/modules/target/details/target.component.ts +++ b/ui/src/app/modules/target/details/target.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Target } from '@model'; diff --git a/ui/src/app/modules/target/list/targets.component.ts b/ui/src/app/modules/target/list/targets.component.ts index 2c1592137..e96d0fbd1 100644 --- a/ui/src/app/modules/target/list/targets.component.ts +++ b/ui/src/app/modules/target/list/targets.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; diff --git a/ui/src/app/modules/target/resolver/targets-resolver.service.ts b/ui/src/app/modules/target/resolver/targets-resolver.service.ts index ae132c166..9d655598f 100644 --- a/ui/src/app/modules/target/resolver/targets-resolver.service.ts +++ b/ui/src/app/modules/target/resolver/targets-resolver.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { Router, Resolve, diff --git a/ui/src/app/modules/target/target.module.ts b/ui/src/app/modules/target/target.module.ts index ef77f924f..9cf9aea1c 100644 --- a/ui/src/app/modules/target/target.module.ts +++ b/ui/src/app/modules/target/target.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { CommonModule } from '@angular/common'; diff --git a/ui/src/app/modules/target/targets.routes.ts b/ui/src/app/modules/target/targets.routes.ts index 0ff948e73..ee287ae6d 100644 --- a/ui/src/app/modules/target/targets.routes.ts +++ b/ui/src/app/modules/target/targets.routes.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Routes } from '@angular/router'; import { Authorization } from '@model'; diff --git a/ui/src/app/molecules/asciidoctor/asciidoctor.component.ts b/ui/src/app/molecules/asciidoctor/asciidoctor.component.ts index 93370a75d..ddc96677b 100644 --- a/ui/src/app/molecules/asciidoctor/asciidoctor.component.ts +++ b/ui/src/app/molecules/asciidoctor/asciidoctor.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, OnInit, ViewChild, ElementRef, OnChanges, ViewEncapsulation } from '@angular/core'; import AsciidocConverter from '../../../assets/js/asciidoctor-converter'; import { HighLightJService } from '@shared/highlight/highlight.service'; diff --git a/ui/src/app/molecules/dialog/delete-confirm-dialog/delete-confirm-dialog.component.ts b/ui/src/app/molecules/dialog/delete-confirm-dialog/delete-confirm-dialog.component.ts index d046c2862..e6af375a5 100644 --- a/ui/src/app/molecules/dialog/delete-confirm-dialog/delete-confirm-dialog.component.ts +++ b/ui/src/app/molecules/dialog/delete-confirm-dialog/delete-confirm-dialog.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, EventEmitter, Input, Output, TemplateRef } from '@angular/core'; import { BsModalService } from 'ngx-bootstrap/modal'; import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service'; diff --git a/ui/src/app/molecules/forms/editable-badge/editable-badge.component.ts b/ui/src/app/molecules/forms/editable-badge/editable-badge.component.ts index 95d1fa687..65cea3658 100644 --- a/ui/src/app/molecules/forms/editable-badge/editable-badge.component.ts +++ b/ui/src/app/molecules/forms/editable-badge/editable-badge.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, Output, EventEmitter } from '@angular/core'; @Component({ diff --git a/ui/src/app/molecules/forms/editable-label/editable-label.component.ts b/ui/src/app/molecules/forms/editable-label/editable-label.component.ts index bd52fcfa8..68dfc5897 100644 --- a/ui/src/app/molecules/forms/editable-label/editable-label.component.ts +++ b/ui/src/app/molecules/forms/editable-label/editable-label.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, Output, EventEmitter } from '@angular/core'; @Component({ diff --git a/ui/src/app/molecules/forms/editable-text-area/editable-text-area.component.ts b/ui/src/app/molecules/forms/editable-text-area/editable-text-area.component.ts index bcf3b03ae..2ebbbd44e 100644 --- a/ui/src/app/molecules/forms/editable-text-area/editable-text-area.component.ts +++ b/ui/src/app/molecules/forms/editable-text-area/editable-text-area.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, Output, EventEmitter } from '@angular/core'; @Component({ diff --git a/ui/src/app/molecules/forms/import-button/import-button.component.ts b/ui/src/app/molecules/forms/import-button/import-button.component.ts index 2edec7330..7fe1dde84 100644 --- a/ui/src/app/molecules/forms/import-button/import-button.component.ts +++ b/ui/src/app/molecules/forms/import-button/import-button.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; import { v4 as uuidv4 } from 'uuid'; import { FormControl } from '@angular/forms'; diff --git a/ui/src/app/molecules/forms/import-file/import-file.component.ts b/ui/src/app/molecules/forms/import-file/import-file.component.ts index ef1651e80..e4bb20178 100644 --- a/ui/src/app/molecules/forms/import-file/import-file.component.ts +++ b/ui/src/app/molecules/forms/import-file/import-file.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import {Component, OnInit, Input, Output, EventEmitter} from '@angular/core'; @Component({ diff --git a/ui/src/app/molecules/forms/input-line/input-line.component.ts b/ui/src/app/molecules/forms/input-line/input-line.component.ts index bf1ccf680..97051b03e 100644 --- a/ui/src/app/molecules/forms/input-line/input-line.component.ts +++ b/ui/src/app/molecules/forms/input-line/input-line.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, Output, EventEmitter } from '@angular/core'; @Component({ diff --git a/ui/src/app/molecules/forms/search-field/search-field.component.ts b/ui/src/app/molecules/forms/search-field/search-field.component.ts index a81f8608b..440587e4b 100644 --- a/ui/src/app/molecules/forms/search-field/search-field.component.ts +++ b/ui/src/app/molecules/forms/search-field/search-field.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; @Component({ diff --git a/ui/src/app/molecules/molecules.module.ts b/ui/src/app/molecules/molecules.module.ts index cca1a4b12..9b64efb78 100644 --- a/ui/src/app/molecules/molecules.module.ts +++ b/ui/src/app/molecules/molecules.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { RouterModule } from '@angular/router'; import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; diff --git a/ui/src/app/molecules/panel/collapsible-panel/collapsible-panel.component.ts b/ui/src/app/molecules/panel/collapsible-panel/collapsible-panel.component.ts index 928001403..6083058bc 100644 --- a/ui/src/app/molecules/panel/collapsible-panel/collapsible-panel.component.ts +++ b/ui/src/app/molecules/panel/collapsible-panel/collapsible-panel.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input} from '@angular/core'; @Component({ diff --git a/ui/src/app/molecules/panel/error-panel/error-panel.component.ts b/ui/src/app/molecules/panel/error-panel/error-panel.component.ts index 80dd28066..79b73067e 100644 --- a/ui/src/app/molecules/panel/error-panel/error-panel.component.ts +++ b/ui/src/app/molecules/panel/error-panel/error-panel.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input} from '@angular/core'; @Component({ diff --git a/ui/src/app/molecules/panel/property-table-panel/property-table-panel.component.ts b/ui/src/app/molecules/panel/property-table-panel/property-table-panel.component.ts index 263c23927..7d1e42e1f 100644 --- a/ui/src/app/molecules/panel/property-table-panel/property-table-panel.component.ts +++ b/ui/src/app/molecules/panel/property-table-panel/property-table-panel.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, EventEmitter, Input, Output } from '@angular/core'; import { Entry } from '@model'; diff --git a/ui/src/app/molecules/panel/table-panel/table-panel.component.ts b/ui/src/app/molecules/panel/table-panel/table-panel.component.ts index 8ebf638ef..543823d63 100644 --- a/ui/src/app/molecules/panel/table-panel/table-panel.component.ts +++ b/ui/src/app/molecules/panel/table-panel/table-panel.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, EventEmitter, Input, Output } from '@angular/core'; import { PaginationInstance } from 'ngx-pagination'; diff --git a/ui/src/app/molecules/toast/toast-info/toast-info.ts b/ui/src/app/molecules/toast/toast-info/toast-info.ts index 6d7dfb5a5..6b07ba6c2 100644 --- a/ui/src/app/molecules/toast/toast-info/toast-info.ts +++ b/ui/src/app/molecules/toast/toast-info/toast-info.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input } from '@angular/core'; diff --git a/ui/src/app/molecules/validation/validation.service.spec.ts b/ui/src/app/molecules/validation/validation.service.spec.ts index 91861b284..deccd8908 100644 --- a/ui/src/app/molecules/validation/validation.service.spec.ts +++ b/ui/src/app/molecules/validation/validation.service.spec.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { TestBed } from '@angular/core/testing'; import { ValidationService } from './validation.service'; diff --git a/ui/src/app/molecules/validation/validation.service.ts b/ui/src/app/molecules/validation/validation.service.ts index 7489d690b..8115b2f4a 100644 --- a/ui/src/app/molecules/validation/validation.service.ts +++ b/ui/src/app/molecules/validation/validation.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; diff --git a/ui/src/app/shared/alert.service.ts b/ui/src/app/shared/alert.service.ts index 2f007dbba..f51706c58 100644 --- a/ui/src/app/shared/alert.service.ts +++ b/ui/src/app/shared/alert.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { ToastrService } from 'ngx-toastr'; diff --git a/ui/src/app/shared/clonable.ts b/ui/src/app/shared/clonable.ts index d4acb2464..98c83bc6e 100644 --- a/ui/src/app/shared/clonable.ts +++ b/ui/src/app/shared/clonable.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export abstract class Clonable { abstract clone(): T; } diff --git a/ui/src/app/shared/components/chutney-editor/chutney-editor.component.ts b/ui/src/app/shared/components/chutney-editor/chutney-editor.component.ts index 8cbbf3bba..12485f99d 100644 --- a/ui/src/app/shared/components/chutney-editor/chutney-editor.component.ts +++ b/ui/src/app/shared/components/chutney-editor/chutney-editor.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { AfterViewInit, Component, diff --git a/ui/src/app/shared/components/dataset-selection/dataset-selection.component.ts b/ui/src/app/shared/components/dataset-selection/dataset-selection.component.ts index 0076c0421..e4e6da51a 100644 --- a/ui/src/app/shared/components/dataset-selection/dataset-selection.component.ts +++ b/ui/src/app/shared/components/dataset-selection/dataset-selection.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; import { DataSetService } from '@core/services'; import { Dataset } from '@model'; diff --git a/ui/src/app/shared/components/environment-combo/environment-combo.component.ts b/ui/src/app/shared/components/environment-combo/environment-combo.component.ts index 588b4ce06..afd7d48e1 100644 --- a/ui/src/app/shared/components/environment-combo/environment-combo.component.ts +++ b/ui/src/app/shared/components/environment-combo/environment-combo.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, Output, EventEmitter, OnChanges } from '@angular/core'; @Component({ diff --git a/ui/src/app/shared/components/execution-badge/execution-badge.component.ts b/ui/src/app/shared/components/execution-badge/execution-badge.component.ts index 00b300898..7c8a35261 100644 --- a/ui/src/app/shared/components/execution-badge/execution-badge.component.ts +++ b/ui/src/app/shared/components/execution-badge/execution-badge.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input, OnChanges } from '@angular/core'; diff --git a/ui/src/app/shared/components/index.ts b/ui/src/app/shared/components/index.ts index 94a6176f8..14de7fe31 100644 --- a/ui/src/app/shared/components/index.ts +++ b/ui/src/app/shared/components/index.ts @@ -1,2 +1,18 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './environment-combo/environment-combo.component'; export * from './execution-badge/execution-badge.component'; diff --git a/ui/src/app/shared/components/layout/header/chutney-main-header.component.ts b/ui/src/app/shared/components/layout/header/chutney-main-header.component.ts index 6f7404ad5..dd9fe6c17 100644 --- a/ui/src/app/shared/components/layout/header/chutney-main-header.component.ts +++ b/ui/src/app/shared/components/layout/header/chutney-main-header.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, HostBinding, OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { User } from '@model'; diff --git a/ui/src/app/shared/components/layout/left-menu/chutney-left-menu.component.ts b/ui/src/app/shared/components/layout/left-menu/chutney-left-menu.component.ts index e117997e3..c957f459d 100644 --- a/ui/src/app/shared/components/layout/left-menu/chutney-left-menu.component.ts +++ b/ui/src/app/shared/components/layout/left-menu/chutney-left-menu.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, HostListener, OnInit } from '@angular/core'; import { LoginService } from '@core/services'; import { LayoutOptions } from '@core/layout/layout-options.service'; diff --git a/ui/src/app/shared/components/layout/left-menu/chutney-left-menu.items.ts b/ui/src/app/shared/components/layout/left-menu/chutney-left-menu.items.ts index 06b6f0395..63f9dccb4 100644 --- a/ui/src/app/shared/components/layout/left-menu/chutney-left-menu.items.ts +++ b/ui/src/app/shared/components/layout/left-menu/chutney-left-menu.items.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Authorization } from '@model'; import { MenuItem } from '@shared/components/layout/menuItem'; import { FeatureName } from '@core/feature/feature.model'; diff --git a/ui/src/app/shared/components/layout/menuItem.ts b/ui/src/app/shared/components/layout/menuItem.ts index 050d3eddf..0b2018539 100644 --- a/ui/src/app/shared/components/layout/menuItem.ts +++ b/ui/src/app/shared/components/layout/menuItem.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Authorization } from '@model'; import { FeatureName } from '@core/feature/feature.model'; diff --git a/ui/src/app/shared/components/layout/right-menu/chutney-right-menu.component.ts b/ui/src/app/shared/components/layout/right-menu/chutney-right-menu.component.ts index 8b073785a..d2944f02b 100644 --- a/ui/src/app/shared/components/layout/right-menu/chutney-right-menu.component.ts +++ b/ui/src/app/shared/components/layout/right-menu/chutney-right-menu.component.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, Input } from '@angular/core'; import { MenuItem } from '@shared/components/layout/menuItem'; diff --git a/ui/src/app/shared/directives/hasAuthorization.directive.spec.ts b/ui/src/app/shared/directives/hasAuthorization.directive.spec.ts index 5061b2ed1..ed331697c 100644 --- a/ui/src/app/shared/directives/hasAuthorization.directive.spec.ts +++ b/ui/src/app/shared/directives/hasAuthorization.directive.spec.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Component, ViewChild, Injectable } from '@angular/core'; import { TestBed, ComponentFixture } from '@angular/core/testing'; diff --git a/ui/src/app/shared/directives/hasAuthorization.directive.ts b/ui/src/app/shared/directives/hasAuthorization.directive.ts index ce03fd77b..d71129193 100644 --- a/ui/src/app/shared/directives/hasAuthorization.directive.ts +++ b/ui/src/app/shared/directives/hasAuthorization.directive.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core'; import { LoginService } from '@core/services'; diff --git a/ui/src/app/shared/directives/implementationHost.directive.ts b/ui/src/app/shared/directives/implementationHost.directive.ts index 165ebe633..eb457d2cf 100644 --- a/ui/src/app/shared/directives/implementationHost.directive.ts +++ b/ui/src/app/shared/directives/implementationHost.directive.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Directive, ViewContainerRef } from '@angular/core'; @Directive({ diff --git a/ui/src/app/shared/directives/index.ts b/ui/src/app/shared/directives/index.ts index 1ed4d62af..6940d7edf 100644 --- a/ui/src/app/shared/directives/index.ts +++ b/ui/src/app/shared/directives/index.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './input-focus.directive'; export * from './implementationHost.directive'; export * from './hasAuthorization.directive'; diff --git a/ui/src/app/shared/directives/input-focus.directive.ts b/ui/src/app/shared/directives/input-focus.directive.ts index 1a28c6456..99a566a46 100644 --- a/ui/src/app/shared/directives/input-focus.directive.ts +++ b/ui/src/app/shared/directives/input-focus.directive.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Directive, ElementRef, Renderer2, OnInit } from '@angular/core'; @Directive({ diff --git a/ui/src/app/shared/directives/resize.directive.ts b/ui/src/app/shared/directives/resize.directive.ts index 5654648fa..bffe82da9 100644 --- a/ui/src/app/shared/directives/resize.directive.ts +++ b/ui/src/app/shared/directives/resize.directive.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Directive, Input, HostListener, ElementRef, OnInit, OnDestroy } from '@angular/core'; import { Observable, BehaviorSubject, Subscription, fromEvent } from 'rxjs'; diff --git a/ui/src/app/shared/equals.ts b/ui/src/app/shared/equals.ts index 12bee67a3..b6e342632 100644 --- a/ui/src/app/shared/equals.ts +++ b/ui/src/app/shared/equals.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export abstract class Equals { abstract equals(obj: T): boolean; } diff --git a/ui/src/app/shared/error-interceptor.service.ts b/ui/src/app/shared/error-interceptor.service.ts index 16e17d67c..c0acb86f6 100644 --- a/ui/src/app/shared/error-interceptor.service.ts +++ b/ui/src/app/shared/error-interceptor.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Router } from '@angular/router'; diff --git a/ui/src/app/shared/event-manager.service.ts b/ui/src/app/shared/event-manager.service.ts index 2b438080a..6dbe9943b 100644 --- a/ui/src/app/shared/event-manager.service.ts +++ b/ui/src/app/shared/event-manager.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Observable, Observer, Subscription } from 'rxjs'; import { Injectable } from '@angular/core'; import { filter, share } from 'rxjs/operators'; diff --git a/ui/src/app/shared/highlight/highlight.service.ts b/ui/src/app/shared/highlight/highlight.service.ts index f2d4ce02b..c978722b9 100644 --- a/ui/src/app/shared/highlight/highlight.service.ts +++ b/ui/src/app/shared/highlight/highlight.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import hljs from 'highlight.js'; diff --git a/ui/src/app/shared/hjson-parser/hjson-parser.service.ts b/ui/src/app/shared/hjson-parser/hjson-parser.service.ts index 0f83495c5..c351c01ee 100644 --- a/ui/src/app/shared/hjson-parser/hjson-parser.service.ts +++ b/ui/src/app/shared/hjson-parser/hjson-parser.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import * as hjson from 'hjson'; diff --git a/ui/src/app/shared/index.ts b/ui/src/app/shared/index.ts index ce334eaf9..fc1ba731e 100644 --- a/ui/src/app/shared/index.ts +++ b/ui/src/app/shared/index.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './alert.service'; export * from './clonable'; export * from './equals'; diff --git a/ui/src/app/shared/pipes/component-search.pipe.ts b/ui/src/app/shared/pipes/component-search.pipe.ts index b2a9c8da0..8c7a55e9f 100644 --- a/ui/src/app/shared/pipes/component-search.pipe.ts +++ b/ui/src/app/shared/pipes/component-search.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; import { intersection } from '@shared/tools/array-utils'; diff --git a/ui/src/app/shared/pipes/dataset-search.pipe.ts b/ui/src/app/shared/pipes/dataset-search.pipe.ts index 228c9ba9a..55407e4d0 100644 --- a/ui/src/app/shared/pipes/dataset-search.pipe.ts +++ b/ui/src/app/shared/pipes/dataset-search.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Dataset } from '@model'; import { Pipe, PipeTransform } from '@angular/core'; import { containsAll } from '@shared/tools/array-utils'; diff --git a/ui/src/app/shared/pipes/distinct.pipe.spec.ts b/ui/src/app/shared/pipes/distinct.pipe.spec.ts index 6a3f196a3..7b09be564 100644 --- a/ui/src/app/shared/pipes/distinct.pipe.spec.ts +++ b/ui/src/app/shared/pipes/distinct.pipe.spec.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { DistinctPipe } from './distinct.pipe'; describe('DistinctPipe', () => { diff --git a/ui/src/app/shared/pipes/distinct.pipe.ts b/ui/src/app/shared/pipes/distinct.pipe.ts index d219b9163..46869d9f8 100644 --- a/ui/src/app/shared/pipes/distinct.pipe.ts +++ b/ui/src/app/shared/pipes/distinct.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ diff --git a/ui/src/app/shared/pipes/duration.pipe.ts b/ui/src/app/shared/pipes/duration.pipe.ts index 1e010cf34..4d01c49f2 100644 --- a/ui/src/app/shared/pipes/duration.pipe.ts +++ b/ui/src/app/shared/pipes/duration.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'duration' }) diff --git a/ui/src/app/shared/pipes/index.ts b/ui/src/app/shared/pipes/index.ts index a430378ef..ef925eafb 100644 --- a/ui/src/app/shared/pipes/index.ts +++ b/ui/src/app/shared/pipes/index.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './component-search.pipe'; export * from './dataset-search.pipe'; export * from './duration.pipe'; diff --git a/ui/src/app/shared/pipes/linkify.pipe.ts b/ui/src/app/shared/pipes/linkify.pipe.ts index e045b03bb..1dc7f84fd 100644 --- a/ui/src/app/shared/pipes/linkify.pipe.ts +++ b/ui/src/app/shared/pipes/linkify.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; import { Linkifier } from '@model'; diff --git a/ui/src/app/shared/pipes/objectAsEntryList.pipe.ts b/ui/src/app/shared/pipes/objectAsEntryList.pipe.ts index c73abf7bf..c636a52c9 100644 --- a/ui/src/app/shared/pipes/objectAsEntryList.pipe.ts +++ b/ui/src/app/shared/pipes/objectAsEntryList.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; @Pipe({name: 'objectAsEntryList'}) diff --git a/ui/src/app/shared/pipes/prettyPrint.pipe.ts b/ui/src/app/shared/pipes/prettyPrint.pipe.ts index 5dada5a8d..9bf124b15 100644 --- a/ui/src/app/shared/pipes/prettyPrint.pipe.ts +++ b/ui/src/app/shared/pipes/prettyPrint.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; import { escapeHtml } from '@shared/tools/string-utils'; diff --git a/ui/src/app/shared/pipes/safe.pipe.ts b/ui/src/app/shared/pipes/safe.pipe.ts index de453464c..bf7631946 100644 --- a/ui/src/app/shared/pipes/safe.pipe.ts +++ b/ui/src/app/shared/pipes/safe.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser'; diff --git a/ui/src/app/shared/pipes/scenario-search-campaign.pipe.ts b/ui/src/app/shared/pipes/scenario-search-campaign.pipe.ts index e9b9ef944..055f62d76 100644 --- a/ui/src/app/shared/pipes/scenario-search-campaign.pipe.ts +++ b/ui/src/app/shared/pipes/scenario-search-campaign.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { ScenarioIndex } from '@model'; import { Pipe, PipeTransform } from '@angular/core'; import { containsAll } from '@shared/tools/array-utils'; diff --git a/ui/src/app/shared/pipes/scenario-search.pipe.ts b/ui/src/app/shared/pipes/scenario-search.pipe.ts index c890d2fe1..0d0100aa0 100644 --- a/ui/src/app/shared/pipes/scenario-search.pipe.ts +++ b/ui/src/app/shared/pipes/scenario-search.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { ScenarioIndex } from '@model'; import { Pipe, PipeTransform } from '@angular/core'; import { intersection } from '@shared/tools/array-utils'; diff --git a/ui/src/app/shared/pipes/search-text.pipe.ts b/ui/src/app/shared/pipes/search-text.pipe.ts index 82f70abea..837e50fd8 100644 --- a/ui/src/app/shared/pipes/search-text.pipe.ts +++ b/ui/src/app/shared/pipes/search-text.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; import { filterOnTextContent } from '@shared/tools'; diff --git a/ui/src/app/shared/pipes/sort-by-field.pipe.ts b/ui/src/app/shared/pipes/sort-by-field.pipe.ts index a9941f450..459d7fc21 100644 --- a/ui/src/app/shared/pipes/sort-by-field.pipe.ts +++ b/ui/src/app/shared/pipes/sort-by-field.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; /** diff --git a/ui/src/app/shared/pipes/stringify.pipe.ts b/ui/src/app/shared/pipes/stringify.pipe.ts index 957a1cfac..ac04bb145 100644 --- a/ui/src/app/shared/pipes/stringify.pipe.ts +++ b/ui/src/app/shared/pipes/stringify.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ diff --git a/ui/src/app/shared/pipes/thumbnail.pipe.ts b/ui/src/app/shared/pipes/thumbnail.pipe.ts index 02de7255e..42dba946f 100644 --- a/ui/src/app/shared/pipes/thumbnail.pipe.ts +++ b/ui/src/app/shared/pipes/thumbnail.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; import { SafeHtml, SafeValue } from '@angular/platform-browser'; diff --git a/ui/src/app/shared/pipes/truncate.pipe.ts b/ui/src/app/shared/pipes/truncate.pipe.ts index 0899c68d4..6481f7e0a 100644 --- a/ui/src/app/shared/pipes/truncate.pipe.ts +++ b/ui/src/app/shared/pipes/truncate.pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ diff --git a/ui/src/app/shared/pipes/without-scenario-pipe.ts b/ui/src/app/shared/pipes/without-scenario-pipe.ts index b17399120..91037ad05 100644 --- a/ui/src/app/shared/pipes/without-scenario-pipe.ts +++ b/ui/src/app/shared/pipes/without-scenario-pipe.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Pipe, PipeTransform } from '@angular/core'; import { ScenarioIndex } from '@model'; diff --git a/ui/src/app/shared/shared.module.ts b/ui/src/app/shared/shared.module.ts index d08d4e0eb..d3b15b701 100644 --- a/ui/src/app/shared/shared.module.ts +++ b/ui/src/app/shared/shared.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { CommonModule } from '@angular/common'; import { HTTP_INTERCEPTORS } from '@angular/common/http'; import { NgModule } from '@angular/core'; diff --git a/ui/src/app/shared/state/state.service.ts b/ui/src/app/shared/state/state.service.ts index d1518f94b..d47a5eff6 100644 --- a/ui/src/app/shared/state/state.service.ts +++ b/ui/src/app/shared/state/state.service.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { Injectable } from '@angular/core'; import { ChutneyState } from '@model'; diff --git a/ui/src/app/shared/tools/array-utils.spec.ts b/ui/src/app/shared/tools/array-utils.spec.ts index 461d51c85..e686927f9 100644 --- a/ui/src/app/shared/tools/array-utils.spec.ts +++ b/ui/src/app/shared/tools/array-utils.spec.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { filterOnTextContent } from '@shared/tools'; describe('filterOnTextContent function...', () => { diff --git a/ui/src/app/shared/tools/array-utils.ts b/ui/src/app/shared/tools/array-utils.ts index e4d576345..47b22fa01 100644 --- a/ui/src/app/shared/tools/array-utils.ts +++ b/ui/src/app/shared/tools/array-utils.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export function newInstance(collection: Array): Array { return [].concat(collection); } diff --git a/ui/src/app/shared/tools/async-utils.ts b/ui/src/app/shared/tools/async-utils.ts index 9968100b7..4e141d991 100644 --- a/ui/src/app/shared/tools/async-utils.ts +++ b/ui/src/app/shared/tools/async-utils.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export function delay(ms: number) { return new Promise(resolve => setTimeout(resolve, ms)); } diff --git a/ui/src/app/shared/tools/bool-utils.ts b/ui/src/app/shared/tools/bool-utils.ts index e106d8b00..da2d28382 100644 --- a/ui/src/app/shared/tools/bool-utils.ts +++ b/ui/src/app/shared/tools/bool-utils.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export function disabledBoolean(bool: boolean) { return bool ? '' : null; diff --git a/ui/src/app/shared/tools/dom-utils.ts b/ui/src/app/shared/tools/dom-utils.ts index 979ec638e..419d9b108 100644 --- a/ui/src/app/shared/tools/dom-utils.ts +++ b/ui/src/app/shared/tools/dom-utils.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export function findScrollContainer(element: Element) { if (!element) { return undefined; diff --git a/ui/src/app/shared/tools/function-step-utils.ts b/ui/src/app/shared/tools/function-step-utils.ts index c9b0db4f9..3f8de7ef7 100644 --- a/ui/src/app/shared/tools/function-step-utils.ts +++ b/ui/src/app/shared/tools/function-step-utils.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { FunctionalStep } from '@model'; import { escapeRegExp } from './regexp-utils'; diff --git a/ui/src/app/shared/tools/index.ts b/ui/src/app/shared/tools/index.ts index 8fb7e1913..1c36ac75b 100644 --- a/ui/src/app/shared/tools/index.ts +++ b/ui/src/app/shared/tools/index.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export * from './array-utils'; export * from './async-utils'; export * from './bool-utils'; diff --git a/ui/src/app/shared/tools/number-utils.ts b/ui/src/app/shared/tools/number-utils.ts index 6f1f60235..aba84e38c 100644 --- a/ui/src/app/shared/tools/number-utils.ts +++ b/ui/src/app/shared/tools/number-utils.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export function randomIntFromInterval(min, max) { return Math.floor(Math.random() * (max - min + 1) + min); diff --git a/ui/src/app/shared/tools/object-utils.ts b/ui/src/app/shared/tools/object-utils.ts index 8e76a4f91..b97349b9b 100644 --- a/ui/src/app/shared/tools/object-utils.ts +++ b/ui/src/app/shared/tools/object-utils.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export function addOptionalParam(obj: any, key: string, value: any, excludedValue?: any) { diff --git a/ui/src/app/shared/tools/regexp-utils.ts b/ui/src/app/shared/tools/regexp-utils.ts index 76209304d..086abcd83 100644 --- a/ui/src/app/shared/tools/regexp-utils.ts +++ b/ui/src/app/shared/tools/regexp-utils.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export function escapeRegExp(str) { return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&'); diff --git a/ui/src/app/shared/tools/string-utils.ts b/ui/src/app/shared/tools/string-utils.ts index 6a6584651..99c7d1fe4 100644 --- a/ui/src/app/shared/tools/string-utils.ts +++ b/ui/src/app/shared/tools/string-utils.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + export function isNullOrEmptyString(text: string) { return text == null || text.length === 0; } diff --git a/ui/src/app/shared/validators/duration.validator.ts b/ui/src/app/shared/validators/duration.validator.ts index c5bf47934..b7ca43884 100644 --- a/ui/src/app/shared/validators/duration.validator.ts +++ b/ui/src/app/shared/validators/duration.validator.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { ValidatorFn, AbstractControl } from '@angular/forms'; export function durationValidator(): ValidatorFn { diff --git a/ui/src/app/testing/activated-route-stub.ts b/ui/src/app/testing/activated-route-stub.ts index a52833504..154509206 100644 --- a/ui/src/app/testing/activated-route-stub.ts +++ b/ui/src/app/testing/activated-route-stub.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { of } from 'rxjs'; import { convertToParamMap } from '@angular/router'; diff --git a/ui/src/app/testing/translate-testing.module.ts b/ui/src/app/testing/translate-testing.module.ts index 923525204..1eb84a6c6 100644 --- a/ui/src/app/testing/translate-testing.module.ts +++ b/ui/src/app/testing/translate-testing.module.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017-2023 Enedis + * + * 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. + */ + import { TranslateModule, TranslateLoader, TranslatePipe, TranslateService } from '@ngx-translate/core'; import { NgModule, PipeTransform, Pipe, Injectable, EventEmitter } from '@angular/core'; import { Observable, of } from 'rxjs';