From d1fcb5033f23f1bb0a35641ffee374d5808e3d28 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Fri, 6 Sep 2024 12:15:35 -0400 Subject: [PATCH] add missing headers to files in images folder --- images/bundle.yaml | 14 ++++++++++++++ images/manager.yaml | 14 ++++++++++++++ .../org.apache.kie.sonataflow.bundle/module.yaml | 14 ++++++++++++++ .../module.yaml | 14 ++++++++++++++ .../module.yaml | 14 ++++++++++++++ images/tools/sonataflow-db-migrator/pom.xml | 16 ++++++++++++++++ .../migrator/DBConnectionCheckerTest.java | 16 ++++++++++++++++ .../postgresql/migrator/DBMigratorTest.java | 16 ++++++++++++++++ .../migrator/MigrationServiceTest.java | 16 ++++++++++++++++ 9 files changed, 134 insertions(+) diff --git a/images/bundle.yaml b/images/bundle.yaml index 20e4ae0e5..8269ffca5 100644 --- a/images/bundle.yaml +++ b/images/bundle.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Apache Software Foundation (ASF) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + schema_version: 1 name: "sonataflow-operator-bundle" description: "SonataFlow Operator Bundle" diff --git a/images/manager.yaml b/images/manager.yaml index fe92bf629..8e8ddd4fe 100644 --- a/images/manager.yaml +++ b/images/manager.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Apache Software Foundation (ASF) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + - name: operator-builder version: 999.0.0-snapshot from: 'golang:1.21.6' diff --git a/images/modules/org.apache.kie.sonataflow.bundle/module.yaml b/images/modules/org.apache.kie.sonataflow.bundle/module.yaml index 7348191de..3d9e764e9 100644 --- a/images/modules/org.apache.kie.sonataflow.bundle/module.yaml +++ b/images/modules/org.apache.kie.sonataflow.bundle/module.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Apache Software Foundation (ASF) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: org.apache.kie.sonataflow.bundle version: "1.0" description: Copy the bundle files to the target image diff --git a/images/modules/org.apache.kie.sonataflow.goModDownload/module.yaml b/images/modules/org.apache.kie.sonataflow.goModDownload/module.yaml index befb19a31..7c08ab54e 100644 --- a/images/modules/org.apache.kie.sonataflow.goModDownload/module.yaml +++ b/images/modules/org.apache.kie.sonataflow.goModDownload/module.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Apache Software Foundation (ASF) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: org.apache.kie.sonataflow.goModDownload version: "1.0" description: Download and cache the modules diff --git a/images/modules/org.apache.kie.sonataflow.operatorBuilder/module.yaml b/images/modules/org.apache.kie.sonataflow.operatorBuilder/module.yaml index 80fef864b..2c172eb51 100644 --- a/images/modules/org.apache.kie.sonataflow.operatorBuilder/module.yaml +++ b/images/modules/org.apache.kie.sonataflow.operatorBuilder/module.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Apache Software Foundation (ASF) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: org.apache.kie.sonataflow.operatorBuilder version: "1.0" description: Builds the operator binary diff --git a/images/tools/sonataflow-db-migrator/pom.xml b/images/tools/sonataflow-db-migrator/pom.xml index 2afc373d7..cfd50f9e5 100644 --- a/images/tools/sonataflow-db-migrator/pom.xml +++ b/images/tools/sonataflow-db-migrator/pom.xml @@ -1,4 +1,20 @@ + + 4.0.0 diff --git a/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/DBConnectionCheckerTest.java b/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/DBConnectionCheckerTest.java index 0b5032a34..935eed5c3 100644 --- a/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/DBConnectionCheckerTest.java +++ b/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/DBConnectionCheckerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Apache Software Foundation (ASF) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.kie.kogito.postgresql.migrator; import io.quarkus.test.Mock; diff --git a/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/DBMigratorTest.java b/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/DBMigratorTest.java index f88f960af..3ee9c6e05 100644 --- a/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/DBMigratorTest.java +++ b/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/DBMigratorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Apache Software Foundation (ASF) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.kie.kogito.postgresql.migrator; import io.quarkus.test.Mock; diff --git a/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/MigrationServiceTest.java b/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/MigrationServiceTest.java index 71a81681b..0c4f497cc 100644 --- a/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/MigrationServiceTest.java +++ b/images/tools/sonataflow-db-migrator/src/test/java/org/kie/kogito/postgresql/migrator/MigrationServiceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Apache Software Foundation (ASF) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.kie.kogito.postgresql.migrator; import io.quarkus.test.Mock;