You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by rg...@apache.org on 2024/09/09 16:10:09 UTC
(incubator-kie-kogito-serverless-operator) branch main updated: NO-ISSUE: add images folder to header check (#530)
This is an automated email from the ASF dual-hosted git repository.
rgdoliveira pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-serverless-operator.git
The following commit(s) were added to refs/heads/main by this push:
new ee044b49 NO-ISSUE: add images folder to header check (#530)
ee044b49 is described below
commit ee044b491e71eda5ca3d8c9aaaa7853be40d3e14
Author: Roberto Oliveira <ro...@gmail.com>
AuthorDate: Mon Sep 9 12:10:06 2024 -0400
NO-ISSUE: add images folder to header check (#530)
* hack/addheaders.sh: add images folder to header check
* add missing headers to files in images folder
---
hack/addheaders.sh | 2 +-
images/bundle.yaml | 14 ++++++++++++++
images/manager.yaml | 14 ++++++++++++++
.../modules/org.apache.kie.sonataflow.bundle/module.yaml | 14 ++++++++++++++
.../org.apache.kie.sonataflow.goModDownload/module.yaml | 14 ++++++++++++++
.../module.yaml | 14 ++++++++++++++
images/tools/sonataflow-db-migrator/pom.xml | 16 ++++++++++++++++
.../postgresql/migrator/DBConnectionCheckerTest.java | 16 ++++++++++++++++
.../kie/kogito/postgresql/migrator/DBMigratorTest.java | 16 ++++++++++++++++
.../kogito/postgresql/migrator/MigrationServiceTest.java | 16 ++++++++++++++++
10 files changed, 135 insertions(+), 1 deletion(-)
diff --git a/hack/addheaders.sh b/hack/addheaders.sh
index f5c5afee..9a73719d 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 20e4ae0e..8269ffca 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 fe92bf62..8e8ddd4f 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 7348191d..3d9e764e 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 befb19a3..7c08ab54 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 80fef864..2c172eb5 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 2afc373d..cfd50f9e 100644
--- a/images/tools/sonataflow-db-migrator/pom.xml
+++ b/images/tools/sonataflow-db-migrator/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
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 0b5032a3..935eed5c 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 f88f960a..3ee9c6e0 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 71a81681..0c4f497c 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;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org