You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2020/02/24 16:56:26 UTC

[camel-k] branch master updated: chore(headers): add missing headers

This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d3f302  chore(headers): add missing headers
1d3f302 is described below

commit 1d3f302e6ea355c0fa912c6627e76835476f30b0
Author: Nicola Ferraro <ni...@gmail.com>
AuthorDate: Mon Feb 24 17:56:13 2020 +0100

    chore(headers): add missing headers
---
 deploy/prometheus-jmx-exporter.yaml  | 17 +++++++++++++++++
 deploy/resources.go                  |  4 ++--
 examples/Master.java                 | 17 +++++++++++++++++
 helm/camel-k/Chart.yaml              | 17 +++++++++++++++++
 helm/camel-k/templates/operator.yaml | 17 +++++++++++++++++
 helm/camel-k/values.yaml             | 17 +++++++++++++++++
 pkg/cmd/log_test.go                  | 17 +++++++++++++++++
 7 files changed, 104 insertions(+), 2 deletions(-)

diff --git a/deploy/prometheus-jmx-exporter.yaml b/deploy/prometheus-jmx-exporter.yaml
index aff0fc9..c73f818 100644
--- a/deploy/prometheus-jmx-exporter.yaml
+++ b/deploy/prometheus-jmx-exporter.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.
+# ---------------------------------------------------------------------------
+
 startDelaySecs: 5
 ssl: false
 blacklistObjectNames: ["java.lang:*"]
diff --git a/deploy/resources.go b/deploy/resources.go
index 34ca32e..4473ed5 100644
--- a/deploy/resources.go
+++ b/deploy/resources.go
@@ -287,9 +287,9 @@ var assets = func() http.FileSystem {
 		"/prometheus-jmx-exporter.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "prometheus-jmx-exporter.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 18791,
+			uncompressedSize: 19730,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x9a\x4b\x6f\xdb\x38\x14\x85\xf7\xfe\x15\x84\x27\x40\xdb\x69\xc6\xc0\x3c\xba\x11\x92\x00\x99\x24\xed\x04\x68\xd2\x81\x9b\xac\x82\x14\xa0\xe5\x6b\x9b\x0d\x45\x09\x24\x65\xa8\xff\xbe\xb0\x1e\x16\xf5\xb0\x25\xf9\x21\x52\x6a\xb2\x0b\xef\x91\xa0\xef\xf0\x4a\xbe\xc7\xb2\x90\x98\xcb\x6b\xa0\xf8\xc7\x57\xb0\x85\x85\x3e\x0c\x84\xa0\x16\x9a\x61\x2a\x60\x30\xa1\xd8\x7e\xa1\x44\xc8\x2f\x93\xef\x60\xcb\x7b\xec\x80\xb0\xd0\xd3\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x9c\x5d\x73\xda\xb8\x17\xc6\xef\xfd\x29\xce\x40\x67\x9a\xfc\x9b\x92\xff\x76\xb7\x37\x6c\x9a\x19\x9a\x97\x96\xd9\x14\x76\x80\x6c\xa7\xd3\x69\x67\x84\x7d\x30\x6a\x64\xc9\x2b\xc9\x40\xbe\xfd\x8e\xdf\xc0\x60\x87\x97\x84\x60\x41\xcb\x1d\x3e\x8f\x85\x7e\x8f\x8e\x1d\x3d\x40\xa8\xc2\xeb\xed\x3d\xac\x2a\xdc\x50\x1b\xb9\x42\x07\xb4\x00\x3d\x44\x68\xf8\xc4\x1e\x22\x74\xc5\x40\x8f\x89\x44\xb8\x16\x01\x77\x88\xa6\x82\xc3\x51\x [...]
 		},
 		"/templates": &vfsgen۰DirInfo{
 			name:    "templates",
diff --git a/examples/Master.java b/examples/Master.java
index c9bccb8..5524134 100755
--- a/examples/Master.java
+++ b/examples/Master.java
@@ -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.
+ */
+
 // camel-k: language=java
 
 import org.apache.camel.builder.RouteBuilder;
diff --git a/helm/camel-k/Chart.yaml b/helm/camel-k/Chart.yaml
index cacac39..0d4d587 100644
--- a/helm/camel-k/Chart.yaml
+++ b/helm/camel-k/Chart.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: v2
 name: camel-k
 description: A lightweight integration platform, born on Kubernetes, with serverless superpowers
diff --git a/helm/camel-k/templates/operator.yaml b/helm/camel-k/templates/operator.yaml
index 5638eb1..cee272f 100644
--- a/helm/camel-k/templates/operator.yaml
+++ b/helm/camel-k/templates/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: apps/v1
 kind: Deployment
 metadata:
diff --git a/helm/camel-k/values.yaml b/helm/camel-k/values.yaml
index 312ae16..bf7d4d4 100644
--- a/helm/camel-k/values.yaml
+++ b/helm/camel-k/values.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.
+# ---------------------------------------------------------------------------
+
 # Default values for camel-k.
 # This is a YAML-formatted file.
 # Declare variables to be passed into your templates.
diff --git a/pkg/cmd/log_test.go b/pkg/cmd/log_test.go
index e41201f..608474a 100644
--- a/pkg/cmd/log_test.go
+++ b/pkg/cmd/log_test.go
@@ -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.
+*/
+
 package cmd
 
 import (