From 385dbea0dd2ed4b2b7a5548af56e0babcc9b3771 Mon Sep 17 00:00:00 2001 From: Daniel Koch Date: Thu, 20 Oct 2022 17:43:18 +0200 Subject: [PATCH] Add license header --- .../shogun/lib/config/GraphQLConfig.java | 16 ++++++++++++++++ .../controller/ApplicationGraphQLController.java | 16 ++++++++++++++++ .../controller/BaseGraphQLController.java | 16 ++++++++++++++++ .../controller/FileGraphQLController.java | 16 ++++++++++++++++ .../controller/GroupGraphQLController.java | 16 ++++++++++++++++ .../controller/ImageFileGraphQLController.java | 16 ++++++++++++++++ .../controller/LayerGraphQLController.java | 16 ++++++++++++++++ .../controller/UserGraphQLController.java | 16 ++++++++++++++++ .../lib/graphql/dto/MutateApplication.java | 16 ++++++++++++++++ .../shogun/lib/graphql/dto/MutateGroup.java | 16 ++++++++++++++++ .../shogun/lib/graphql/dto/MutateLayer.java | 16 ++++++++++++++++ .../shogun/lib/graphql/dto/MutateUser.java | 16 ++++++++++++++++ .../exception/EntityNotAvailableException.java | 16 ++++++++++++++++ 13 files changed, 208 insertions(+) diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/config/GraphQLConfig.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/config/GraphQLConfig.java index dffa35734..90864f550 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/config/GraphQLConfig.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/config/GraphQLConfig.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.config; import de.terrestris.shogun.lib.graphql.scalar.DateTimeScalar; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/ApplicationGraphQLController.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/ApplicationGraphQLController.java index 78f358203..af1ab386c 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/ApplicationGraphQLController.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/ApplicationGraphQLController.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.controller; import de.terrestris.shogun.lib.graphql.dto.MutateApplication; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/BaseGraphQLController.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/BaseGraphQLController.java index ea3bdf332..07508c8a6 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/BaseGraphQLController.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/BaseGraphQLController.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.controller; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/FileGraphQLController.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/FileGraphQLController.java index 07343ffe6..3b756f9cc 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/FileGraphQLController.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/FileGraphQLController.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.controller; import de.terrestris.shogun.lib.model.File; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/GroupGraphQLController.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/GroupGraphQLController.java index 6e9093dc6..bd7437cc2 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/GroupGraphQLController.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/GroupGraphQLController.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.controller; import de.terrestris.shogun.lib.graphql.dto.MutateGroup; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/ImageFileGraphQLController.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/ImageFileGraphQLController.java index 8aa181ebb..4ef57013c 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/ImageFileGraphQLController.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/ImageFileGraphQLController.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.controller; import de.terrestris.shogun.lib.model.ImageFile; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/LayerGraphQLController.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/LayerGraphQLController.java index 445efba29..f73db4699 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/LayerGraphQLController.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/LayerGraphQLController.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.controller; import de.terrestris.shogun.lib.graphql.dto.MutateLayer; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/UserGraphQLController.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/UserGraphQLController.java index ee0825ba3..82fd5a319 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/UserGraphQLController.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/controller/UserGraphQLController.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.controller; import de.terrestris.shogun.lib.graphql.dto.MutateUser; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateApplication.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateApplication.java index 5a5f6af1d..584f7d6bd 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateApplication.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateApplication.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.dto; import lombok.AllArgsConstructor; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateGroup.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateGroup.java index 1475028b2..bdcdba2e9 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateGroup.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateGroup.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.dto; import lombok.AllArgsConstructor; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateLayer.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateLayer.java index f03a9068f..8c172ce00 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateLayer.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateLayer.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.dto; import lombok.AllArgsConstructor; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateUser.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateUser.java index b14b8fb5f..5c13abca2 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateUser.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/dto/MutateUser.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.dto; import lombok.AllArgsConstructor; diff --git a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/exception/EntityNotAvailableException.java b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/exception/EntityNotAvailableException.java index b96c635b6..c5078eb1f 100644 --- a/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/exception/EntityNotAvailableException.java +++ b/shogun-lib/src/main/java/de/terrestris/shogun/lib/graphql/exception/EntityNotAvailableException.java @@ -1,3 +1,19 @@ +/* SHOGun, https://terrestris.github.io/shogun/ + * + * Copyright © 2022-present terrestris GmbH & Co. KG + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package de.terrestris.shogun.lib.graphql.exception; import graphql.ErrorType;