This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 11836029736 kie-tools#2650: SonataFlow operator apache-rat tool fixes
(#2653)
11836029736 is described below
commit 11836029736b04d165c12ab0e42c4b9921548270
Author: Walter Medvedeo <[email protected]>
AuthorDate: Tue Oct 8 20:27:16 2024 +0200
kie-tools#2650: SonataFlow operator apache-rat tool fixes (#2653)
---
packages/sonataflow-operator/Makefile | 19 +++++++++++-
packages/sonataflow-operator/api/Makefile | 17 +++++++++++
.../api/v1alpha08/sonataflow_persistence_types.go | 25 +++++++++-------
.../v1alpha08/sonataflowplatform_property_types.go | 25 +++++++++-------
...troller-manager-metrics-service_v1_service.yaml | 17 +++++++++++
...w-operator-controllers-config_v1_configmap.yaml | 17 +++++++++++
...aflow-operator-manager-config_v1_configmap.yaml | 17 +++++++++++
...r_rbac.authorization.k8s.io_v1_clusterrole.yaml | 17 +++++++++++
...e_rbac.authorization.k8s.io_v1_clusterrole.yaml | 17 +++++++++++
.../sonataflow-operator.clusterserviceversion.yaml | 17 +++++++++++
.../manifests/sonataflow.org_sonataflowbuilds.yaml | 17 +++++++++++
.../sonataflow.org_sonataflowclusterplatforms.yaml | 17 +++++++++++
.../sonataflow.org_sonataflowplatforms.yaml | 17 +++++++++++
.../manifests/sonataflow.org_sonataflows.yaml | 17 +++++++++++
.../bundle/tests/scorecard/config.yaml | 17 +++++++++++
.../crd/bases/sonataflow.org_sonataflowbuilds.yaml | 17 +++++++++++
.../sonataflow.org_sonataflowclusterplatforms.yaml | 17 +++++++++++
.../bases/sonataflow.org_sonataflowplatforms.yaml | 17 +++++++++++
.../crd/bases/sonataflow.org_sonataflows.yaml | 17 +++++++++++
.../config/manager/controllers_cfg.yaml | 17 +++++++++++
.../sonataflow-operator.clusterserviceversion.yaml | 17 +++++++++++
packages/sonataflow-operator/config/rbac/role.yaml | 17 +++++++++++
.../sonataflow.org_v1alpha08_sonataflowbuild.yaml | 17 +++++++++++
.../sonataflow-operator/container-builder/Makefile | 17 +++++++++++
.../controllers/cfg/controllers_cfg.go | 25 +++++++++-------
.../controllers/cfg/controllers_cfg_test.go | 25 +++++++++-------
.../profiles/common/constants/objects.go | 25 +++++++++-------
.../profiles/common/constants/workflows.go | 25 +++++++++-------
.../controllers/profiles/common/knative.go | 25 +++++++++-------
.../profiles/common/persistence/postgresql.go | 25 +++++++++-------
.../profiles/common/properties/knative.go | 25 +++++++++-------
.../profiles/common/properties/platform.go | 25 +++++++++-------
.../profiles/common/properties/platform_test.go | 25 +++++++++-------
.../common/properties/properties_suite_test.go | 25 +++++++++-------
.../profiles/common/properties/properties_test.go | 25 +++++++++-------
.../controllers/profiles/common/variables/k8s.go | 25 +++++++++-------
.../controllers/profiles/gitops/alias.go | 25 +++++++++-------
.../controllers/profiles/gitops/profile_gitops.go | 25 +++++++++-------
.../profiles/gitops/profile_gitops_test.go | 25 +++++++++-------
.../controllers/workflowdef/services.go | 25 +++++++++-------
.../controllers/workflows/constants.go | 25 +++++++++-------
.../controllers/workflows/workflows.go | 25 +++++++++-------
packages/sonataflow-operator/hack/addheaders.sh | 2 +-
.../sonataflow-operator/hack/license-header.txt | 16 ++++++++++
packages/sonataflow-operator/operator.yaml | 34 ++++++++++++++++++++++
.../test/e2e/clusterplatform_test.go | 25 +++++++++-------
packages/sonataflow-operator/test/e2e/helpers.go | 25 +++++++++-------
.../sonataflow-operator/test/e2e/platform_test.go | 25 +++++++++-------
packages/sonataflow-operator/utils/client.go | 25 +++++++++-------
.../sonataflow-operator/utils/kubernetes/image.go | 25 +++++++++-------
.../utils/kubernetes/image_test.go | 25 +++++++++-------
packages/sonataflow-operator/workflowproj/Makefile | 17 +++++++++++
52 files changed, 807 insertions(+), 288 deletions(-)
diff --git a/packages/sonataflow-operator/Makefile
b/packages/sonataflow-operator/Makefile
index 538933907c5..6a6bb24435d 100644
--- a/packages/sonataflow-operator/Makefile
+++ b/packages/sonataflow-operator/Makefile
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# VERSION defines the project version for the bundle.
# Update this value when you upgrade the version of your project.
# To re-generate a bundle for another specific version without changing the
standard setup, you can:
@@ -115,7 +132,7 @@ vet: ## Run go vet against code.
go vet ./...
.PHONY: test
-test: manifests generate envtest vet fmt test-api test-workflowproj
test-container-builder ## Run tests.
+test: manifests generate envtest addheaders vet fmt test-api test-workflowproj
test-container-builder ## Run tests.
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION)
--bin-dir $(LOCALBIN) -p path)" go test $(shell go list ./... | grep -v /test/)
-coverprofile cover.out
.PHONY: test-api
diff --git a/packages/sonataflow-operator/api/Makefile
b/packages/sonataflow-operator/api/Makefile
index 00c73d81848..6f72fad5e6c 100644
--- a/packages/sonataflow-operator/api/Makefile
+++ b/packages/sonataflow-operator/api/Makefile
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
.PHONY: test
test:
go test $(shell go list ./... | grep -v /test/) -coverprofile cover.out
diff --git
a/packages/sonataflow-operator/api/v1alpha08/sonataflow_persistence_types.go
b/packages/sonataflow-operator/api/v1alpha08/sonataflow_persistence_types.go
index d0b08e46799..77c9f0ad3b5 100644
--- a/packages/sonataflow-operator/api/v1alpha08/sonataflow_persistence_types.go
+++ b/packages/sonataflow-operator/api/v1alpha08/sonataflow_persistence_types.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 v1alpha08
diff --git
a/packages/sonataflow-operator/api/v1alpha08/sonataflowplatform_property_types.go
b/packages/sonataflow-operator/api/v1alpha08/sonataflowplatform_property_types.go
index d138ac40c06..11f0636fe2c 100644
---
a/packages/sonataflow-operator/api/v1alpha08/sonataflowplatform_property_types.go
+++
b/packages/sonataflow-operator/api/v1alpha08/sonataflowplatform_property_types.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 v1alpha08
diff --git
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-controller-manager-metrics-service_v1_service.yaml
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-controller-manager-metrics-service_v1_service.yaml
index 48f0198e414..e4a087a26cb 100644
---
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-controller-manager-metrics-service_v1_service.yaml
+++
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-controller-manager-metrics-service_v1_service.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: v1
kind: Service
metadata:
diff --git
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-controllers-config_v1_configmap.yaml
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-controllers-config_v1_configmap.yaml
index 725423f51ad..2697290b5d3 100644
---
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-controllers-config_v1_configmap.yaml
+++
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-controllers-config_v1_configmap.yaml
@@ -1,6 +1,23 @@
apiVersion: v1
data:
controllers_cfg.yaml: |
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements. See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership. The ASF licenses this file
+ # to you 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.
+
# The default size of Kaniko PVC when using the internal operator builder
manager
defaultPvcKanikoSize: 1Gi
# How much time (in seconds) to wait for a devmode workflow to start.
diff --git
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-manager-config_v1_configmap.yaml
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-manager-config_v1_configmap.yaml
index 3f7526a3928..1e0ec5e16ad 100644
---
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-manager-config_v1_configmap.yaml
+++
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-manager-config_v1_configmap.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: v1
data:
controller_manager_config.yaml: |
diff --git
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml
index dc5dac882e3..cfe298b4810 100644
---
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml
+++
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
diff --git
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-sonataflowclusterplatform-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-sonataflowclusterplatform-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
index 776356b7e77..5a9fb372f69 100644
---
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-sonataflowclusterplatform-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
+++
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator-sonataflowclusterplatform-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
diff --git
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator.clusterserviceversion.yaml
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator.clusterserviceversion.yaml
index 94b7ddc02e6..9a4601357f8 100644
---
a/packages/sonataflow-operator/bundle/manifests/sonataflow-operator.clusterserviceversion.yaml
+++
b/packages/sonataflow-operator/bundle/manifests/sonataflow-operator.clusterserviceversion.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
diff --git
a/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowbuilds.yaml
b/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowbuilds.yaml
index e83477192f2..516d303f9da 100644
---
a/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowbuilds.yaml
+++
b/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowbuilds.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
diff --git
a/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowclusterplatforms.yaml
b/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowclusterplatforms.yaml
index e76ea83978d..9080fbddd0b 100644
---
a/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowclusterplatforms.yaml
+++
b/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowclusterplatforms.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
diff --git
a/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowplatforms.yaml
b/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowplatforms.yaml
index c425d5ca31c..378023fd3c2 100644
---
a/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowplatforms.yaml
+++
b/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflowplatforms.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
diff --git
a/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflows.yaml
b/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflows.yaml
index d66b8b5c72a..bd7cebefd61 100644
---
a/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflows.yaml
+++
b/packages/sonataflow-operator/bundle/manifests/sonataflow.org_sonataflows.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
diff --git a/packages/sonataflow-operator/bundle/tests/scorecard/config.yaml
b/packages/sonataflow-operator/bundle/tests/scorecard/config.yaml
index 10c93fa4d75..caa003d86fc 100644
--- a/packages/sonataflow-operator/bundle/tests/scorecard/config.yaml
+++ b/packages/sonataflow-operator/bundle/tests/scorecard/config.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: scorecard.operatorframework.io/v1alpha3
kind: Configuration
metadata:
diff --git
a/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowbuilds.yaml
b/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowbuilds.yaml
index c1a21bd445e..f79e1666797 100644
---
a/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowbuilds.yaml
+++
b/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowbuilds.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
diff --git
a/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowclusterplatforms.yaml
b/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowclusterplatforms.yaml
index 6ed0c78cddf..71fb5b31399 100644
---
a/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowclusterplatforms.yaml
+++
b/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowclusterplatforms.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
diff --git
a/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowplatforms.yaml
b/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowplatforms.yaml
index 1c6766cbbf7..3538abf605a 100644
---
a/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowplatforms.yaml
+++
b/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflowplatforms.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
diff --git
a/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflows.yaml
b/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflows.yaml
index 6d506dbf8b7..ae0f2e3cc92 100644
---
a/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflows.yaml
+++
b/packages/sonataflow-operator/config/crd/bases/sonataflow.org_sonataflows.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
diff --git a/packages/sonataflow-operator/config/manager/controllers_cfg.yaml
b/packages/sonataflow-operator/config/manager/controllers_cfg.yaml
index 8eeab9c9476..b81bca7f69e 100644
--- a/packages/sonataflow-operator/config/manager/controllers_cfg.yaml
+++ b/packages/sonataflow-operator/config/manager/controllers_cfg.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# The default size of Kaniko PVC when using the internal operator builder
manager
defaultPvcKanikoSize: 1Gi
# How much time (in seconds) to wait for a devmode workflow to start.
diff --git
a/packages/sonataflow-operator/config/manifests/bases/sonataflow-operator.clusterserviceversion.yaml
b/packages/sonataflow-operator/config/manifests/bases/sonataflow-operator.clusterserviceversion.yaml
index 7dc3c1f9b53..7357896e7dd 100644
---
a/packages/sonataflow-operator/config/manifests/bases/sonataflow-operator.clusterserviceversion.yaml
+++
b/packages/sonataflow-operator/config/manifests/bases/sonataflow-operator.clusterserviceversion.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
diff --git a/packages/sonataflow-operator/config/rbac/role.yaml
b/packages/sonataflow-operator/config/rbac/role.yaml
index ccac71b06f4..0cc9ef3d4ca 100644
--- a/packages/sonataflow-operator/config/rbac/role.yaml
+++ b/packages/sonataflow-operator/config/rbac/role.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
diff --git
a/packages/sonataflow-operator/config/samples/sonataflow.org_v1alpha08_sonataflowbuild.yaml
b/packages/sonataflow-operator/config/samples/sonataflow.org_v1alpha08_sonataflowbuild.yaml
index 1b54d4ab0ec..9009769db40 100644
---
a/packages/sonataflow-operator/config/samples/sonataflow.org_v1alpha08_sonataflowbuild.yaml
+++
b/packages/sonataflow-operator/config/samples/sonataflow.org_v1alpha08_sonataflowbuild.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: sonataflow.org/v1alpha08
kind: SonataFlowBuild
metadata:
diff --git a/packages/sonataflow-operator/container-builder/Makefile
b/packages/sonataflow-operator/container-builder/Makefile
index c6b29c8df76..96dff21ad3c 100644
--- a/packages/sonataflow-operator/container-builder/Makefile
+++ b/packages/sonataflow-operator/container-builder/Makefile
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
.PHONY: all
all: build
diff --git a/packages/sonataflow-operator/controllers/cfg/controllers_cfg.go
b/packages/sonataflow-operator/controllers/cfg/controllers_cfg.go
index e26254fd3ee..a1b620230e0 100644
--- a/packages/sonataflow-operator/controllers/cfg/controllers_cfg.go
+++ b/packages/sonataflow-operator/controllers/cfg/controllers_cfg.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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.
// note: we use `cfg` instead of `config` or `configuration` in order to have
a shorter accessor in the codebase.
diff --git
a/packages/sonataflow-operator/controllers/cfg/controllers_cfg_test.go
b/packages/sonataflow-operator/controllers/cfg/controllers_cfg_test.go
index d2d092dc8e9..c763a36f8e2 100644
--- a/packages/sonataflow-operator/controllers/cfg/controllers_cfg_test.go
+++ b/packages/sonataflow-operator/controllers/cfg/controllers_cfg_test.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 cfg
diff --git
a/packages/sonataflow-operator/controllers/profiles/common/constants/objects.go
b/packages/sonataflow-operator/controllers/profiles/common/constants/objects.go
index caddd1a10a8..d89cffc9190 100644
---
a/packages/sonataflow-operator/controllers/profiles/common/constants/objects.go
+++
b/packages/sonataflow-operator/controllers/profiles/common/constants/objects.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 constants
diff --git
a/packages/sonataflow-operator/controllers/profiles/common/constants/workflows.go
b/packages/sonataflow-operator/controllers/profiles/common/constants/workflows.go
index 8087f963bc8..f7c85f359bc 100644
---
a/packages/sonataflow-operator/controllers/profiles/common/constants/workflows.go
+++
b/packages/sonataflow-operator/controllers/profiles/common/constants/workflows.go
@@ -1,16 +1,19 @@
-// Copyright 2023 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 constants
diff --git
a/packages/sonataflow-operator/controllers/profiles/common/knative.go
b/packages/sonataflow-operator/controllers/profiles/common/knative.go
index 5c70cad9c0f..c3cbed72f55 100644
--- a/packages/sonataflow-operator/controllers/profiles/common/knative.go
+++ b/packages/sonataflow-operator/controllers/profiles/common/knative.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 common
diff --git
a/packages/sonataflow-operator/controllers/profiles/common/persistence/postgresql.go
b/packages/sonataflow-operator/controllers/profiles/common/persistence/postgresql.go
index 94a5ab5ac44..96250571214 100644
---
a/packages/sonataflow-operator/controllers/profiles/common/persistence/postgresql.go
+++
b/packages/sonataflow-operator/controllers/profiles/common/persistence/postgresql.go
@@ -1,16 +1,19 @@
-// Copyright 2023 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 persistence
diff --git
a/packages/sonataflow-operator/controllers/profiles/common/properties/knative.go
b/packages/sonataflow-operator/controllers/profiles/common/properties/knative.go
index 04228e33142..8d5f327195d 100644
---
a/packages/sonataflow-operator/controllers/profiles/common/properties/knative.go
+++
b/packages/sonataflow-operator/controllers/profiles/common/properties/knative.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 properties
diff --git
a/packages/sonataflow-operator/controllers/profiles/common/properties/platform.go
b/packages/sonataflow-operator/controllers/profiles/common/properties/platform.go
index b705e4c4b38..f629f63f8a7 100644
---
a/packages/sonataflow-operator/controllers/profiles/common/properties/platform.go
+++
b/packages/sonataflow-operator/controllers/profiles/common/properties/platform.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 properties
diff --git
a/packages/sonataflow-operator/controllers/profiles/common/properties/platform_test.go
b/packages/sonataflow-operator/controllers/profiles/common/properties/platform_test.go
index 8867d43b71c..3606aac9fff 100644
---
a/packages/sonataflow-operator/controllers/profiles/common/properties/platform_test.go
+++
b/packages/sonataflow-operator/controllers/profiles/common/properties/platform_test.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 properties
diff --git
a/packages/sonataflow-operator/controllers/profiles/common/properties/properties_suite_test.go
b/packages/sonataflow-operator/controllers/profiles/common/properties/properties_suite_test.go
index 4d5aa706ab0..214384f7e51 100644
---
a/packages/sonataflow-operator/controllers/profiles/common/properties/properties_suite_test.go
+++
b/packages/sonataflow-operator/controllers/profiles/common/properties/properties_suite_test.go
@@ -1,16 +1,19 @@
-// Copyright 2023 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 properties_test
diff --git
a/packages/sonataflow-operator/controllers/profiles/common/properties/properties_test.go
b/packages/sonataflow-operator/controllers/profiles/common/properties/properties_test.go
index 81c91ef89df..54d4826020f 100644
---
a/packages/sonataflow-operator/controllers/profiles/common/properties/properties_test.go
+++
b/packages/sonataflow-operator/controllers/profiles/common/properties/properties_test.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 properties
diff --git
a/packages/sonataflow-operator/controllers/profiles/common/variables/k8s.go
b/packages/sonataflow-operator/controllers/profiles/common/variables/k8s.go
index 88ce87c84a7..c32897c0163 100644
--- a/packages/sonataflow-operator/controllers/profiles/common/variables/k8s.go
+++ b/packages/sonataflow-operator/controllers/profiles/common/variables/k8s.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 variables
diff --git a/packages/sonataflow-operator/controllers/profiles/gitops/alias.go
b/packages/sonataflow-operator/controllers/profiles/gitops/alias.go
index 396b229041b..9edd22b538a 100644
--- a/packages/sonataflow-operator/controllers/profiles/gitops/alias.go
+++ b/packages/sonataflow-operator/controllers/profiles/gitops/alias.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 gitops
diff --git
a/packages/sonataflow-operator/controllers/profiles/gitops/profile_gitops.go
b/packages/sonataflow-operator/controllers/profiles/gitops/profile_gitops.go
index ed4d30f1b6e..690c3b7d56f 100644
--- a/packages/sonataflow-operator/controllers/profiles/gitops/profile_gitops.go
+++ b/packages/sonataflow-operator/controllers/profiles/gitops/profile_gitops.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 gitops
diff --git
a/packages/sonataflow-operator/controllers/profiles/gitops/profile_gitops_test.go
b/packages/sonataflow-operator/controllers/profiles/gitops/profile_gitops_test.go
index fcf1689b752..b245520d5c6 100644
---
a/packages/sonataflow-operator/controllers/profiles/gitops/profile_gitops_test.go
+++
b/packages/sonataflow-operator/controllers/profiles/gitops/profile_gitops_test.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 gitops
diff --git a/packages/sonataflow-operator/controllers/workflowdef/services.go
b/packages/sonataflow-operator/controllers/workflowdef/services.go
index 5a0ddfbea92..53b6b8f4147 100644
--- a/packages/sonataflow-operator/controllers/workflowdef/services.go
+++ b/packages/sonataflow-operator/controllers/workflowdef/services.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 workflowdef
diff --git a/packages/sonataflow-operator/controllers/workflows/constants.go
b/packages/sonataflow-operator/controllers/workflows/constants.go
index afcf157a1b6..4ed4e5a150f 100644
--- a/packages/sonataflow-operator/controllers/workflows/constants.go
+++ b/packages/sonataflow-operator/controllers/workflows/constants.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 workflows
diff --git a/packages/sonataflow-operator/controllers/workflows/workflows.go
b/packages/sonataflow-operator/controllers/workflows/workflows.go
index 9e5045ce35b..ddc45af2282 100644
--- a/packages/sonataflow-operator/controllers/workflows/workflows.go
+++ b/packages/sonataflow-operator/controllers/workflows/workflows.go
@@ -1,16 +1,19 @@
-// Copyright 2023 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 workflows
diff --git a/packages/sonataflow-operator/hack/addheaders.sh
b/packages/sonataflow-operator/hack/addheaders.sh
index 3e830e29dd1..173bc28d59d 100755
--- a/packages/sonataflow-operator/hack/addheaders.sh
+++ b/packages/sonataflow-operator/hack/addheaders.sh
@@ -23,4 +23,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 controllers utils test container-builder workflowproj
+addlicense -f=hack/license-header.txt -ignore=test/samples/*.yaml
-ignore=container-builder/examples/**/*.yaml hack api controllers utils test
container-builder workflowproj bundle config ./operator.yaml
diff --git a/packages/sonataflow-operator/hack/license-header.txt
b/packages/sonataflow-operator/hack/license-header.txt
new file mode 100644
index 00000000000..90705e02e05
--- /dev/null
+++ b/packages/sonataflow-operator/hack/license-header.txt
@@ -0,0 +1,16 @@
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
\ No newline at end of file
diff --git a/packages/sonataflow-operator/operator.yaml
b/packages/sonataflow-operator/operator.yaml
index 504b80cc706..f52d204b948 100644
--- a/packages/sonataflow-operator/operator.yaml
+++ b/packages/sonataflow-operator/operator.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
apiVersion: v1
kind: Namespace
metadata:
@@ -27021,6 +27038,23 @@ metadata:
apiVersion: v1
data:
controllers_cfg.yaml: |
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements. See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership. The ASF licenses this file
+ # to you 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.
+
# The default size of Kaniko PVC when using the internal operator builder
manager
defaultPvcKanikoSize: 1Gi
# How much time (in seconds) to wait for a devmode workflow to start.
diff --git a/packages/sonataflow-operator/test/e2e/clusterplatform_test.go
b/packages/sonataflow-operator/test/e2e/clusterplatform_test.go
index 544cee25e96..5a65fdba0aa 100644
--- a/packages/sonataflow-operator/test/e2e/clusterplatform_test.go
+++ b/packages/sonataflow-operator/test/e2e/clusterplatform_test.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 e2e
diff --git a/packages/sonataflow-operator/test/e2e/helpers.go
b/packages/sonataflow-operator/test/e2e/helpers.go
index 5a78ae0cfc3..4eac38d43bd 100644
--- a/packages/sonataflow-operator/test/e2e/helpers.go
+++ b/packages/sonataflow-operator/test/e2e/helpers.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 e2e
diff --git a/packages/sonataflow-operator/test/e2e/platform_test.go
b/packages/sonataflow-operator/test/e2e/platform_test.go
index 3c10e244588..6a11522b22b 100644
--- a/packages/sonataflow-operator/test/e2e/platform_test.go
+++ b/packages/sonataflow-operator/test/e2e/platform_test.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 e2e
diff --git a/packages/sonataflow-operator/utils/client.go
b/packages/sonataflow-operator/utils/client.go
index 9b1cd085687..3e7bc567dad 100644
--- a/packages/sonataflow-operator/utils/client.go
+++ b/packages/sonataflow-operator/utils/client.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 utils
diff --git a/packages/sonataflow-operator/utils/kubernetes/image.go
b/packages/sonataflow-operator/utils/kubernetes/image.go
index 93c317c72b7..ce78c3556b8 100644
--- a/packages/sonataflow-operator/utils/kubernetes/image.go
+++ b/packages/sonataflow-operator/utils/kubernetes/image.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 kubernetes
diff --git a/packages/sonataflow-operator/utils/kubernetes/image_test.go
b/packages/sonataflow-operator/utils/kubernetes/image_test.go
index e9a4b07315f..dab911a8a37 100644
--- a/packages/sonataflow-operator/utils/kubernetes/image_test.go
+++ b/packages/sonataflow-operator/utils/kubernetes/image_test.go
@@ -1,16 +1,19 @@
-// Copyright 2024 Apache Software Foundation (ASF)
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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
//
-// 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
//
-// 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.
+// 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 kubernetes
diff --git a/packages/sonataflow-operator/workflowproj/Makefile
b/packages/sonataflow-operator/workflowproj/Makefile
index 21599a40925..09bf8cbe60b 100644
--- a/packages/sonataflow-operator/workflowproj/Makefile
+++ b/packages/sonataflow-operator/workflowproj/Makefile
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
.PHONY: all
all: test
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]