From 7edea12aed159298db8cc3bfc06b4b1b78fbbe08 Mon Sep 17 00:00:00 2001 From: Lucas Satabin Date: Wed, 26 Jun 2024 16:46:50 +0200 Subject: [PATCH] Add missing headers --- .../queue/DeadletterQueueConfiguration.scala | 16 ++++++++++++++++ .../DeadletterQueueCreationConfiguration.scala | 16 ++++++++++++++++ .../queue/QueueCreationConfiguration.scala | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/core/src/main/scala/com/commercetools/queue/DeadletterQueueConfiguration.scala b/core/src/main/scala/com/commercetools/queue/DeadletterQueueConfiguration.scala index e9013fd..441ae7c 100644 --- a/core/src/main/scala/com/commercetools/queue/DeadletterQueueConfiguration.scala +++ b/core/src/main/scala/com/commercetools/queue/DeadletterQueueConfiguration.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Commercetools GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.commercetools.queue /** diff --git a/core/src/main/scala/com/commercetools/queue/DeadletterQueueCreationConfiguration.scala b/core/src/main/scala/com/commercetools/queue/DeadletterQueueCreationConfiguration.scala index c730a3f..f6b72eb 100644 --- a/core/src/main/scala/com/commercetools/queue/DeadletterQueueCreationConfiguration.scala +++ b/core/src/main/scala/com/commercetools/queue/DeadletterQueueCreationConfiguration.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Commercetools GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.commercetools.queue final case class DeadletterQueueCreationConfiguration(maxAttempts: Int) diff --git a/core/src/main/scala/com/commercetools/queue/QueueCreationConfiguration.scala b/core/src/main/scala/com/commercetools/queue/QueueCreationConfiguration.scala index 98bf991..1711629 100644 --- a/core/src/main/scala/com/commercetools/queue/QueueCreationConfiguration.scala +++ b/core/src/main/scala/com/commercetools/queue/QueueCreationConfiguration.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Commercetools GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.commercetools.queue import scala.concurrent.duration.FiniteDuration