diff --git a/hack/addheaders.sh b/hack/addheaders.sh index f5c5afee6..9a73719d6 100755 --- a/hack/addheaders.sh +++ b/hack/addheaders.sh @@ -21,4 +21,4 @@ if ! hash addlicense 2>/dev/null; then fi # shellcheck disable=SC2035 -addlicense -c "Apache Software Foundation (ASF)" -l=apache -ignore=test/samples/*.yaml -ignore=container-builder/examples/**/*.yaml hack api bddframework controllers utils test testbdd container-builder workflowproj +addlicense -c "Apache Software Foundation (ASF)" -l=apache -ignore=test/samples/*.yaml -ignore=container-builder/examples/**/*.yaml images hack api bddframework controllers utils test testbdd container-builder workflowproj 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;