You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2022/07/10 13:51:13 UTC

[celix] 01/01: Adds missing apache license v2.0 header text

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

pnoltes pushed a commit to branch feature/add_missing_license_text
in repository https://gitbox.apache.org/repos/asf/celix.git

commit e7dd53ec2f665838281ccab5e579835a6b940462
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Sun Jul 10 15:51:05 2022 +0200

    Adds missing apache license v2.0 header text
---
 .../doc/configured_discovery.adoc                     | 19 +++++++++++++++++++
 .../include/celix/rsa/RemoteServicesException.h       | 18 ++++++++++++++++++
 bundles/pubsub/doc/pubsub_serialization.adoc          | 18 ++++++++++++++++++
 bundles/pubsub/pubsub_utils/src/pubsub_matching.c     | 18 ++++++++++++++++++
 codecov.yml                                           | 17 +++++++++++++++++
 .../src/using_command_service_example.c               |  1 -
 .../src/using_command_service_example.c               | 18 ++++++++++++++++++
 libs/framework/benchmark/src/BenchmarkMain.cc         | 18 ++++++++++++++++++
 libs/framework/include/celix/Exception.h              | 18 ++++++++++++++++++
 libs/utils/benchmark/src/BenchmarkMain.cc             | 18 ++++++++++++++++++
 10 files changed, 162 insertions(+), 1 deletion(-)

diff --git a/bundles/cxx_remote_services/discovery_configured/doc/configured_discovery.adoc b/bundles/cxx_remote_services/discovery_configured/doc/configured_discovery.adoc
index 8c65b1c2..86784ab8 100644
--- a/bundles/cxx_remote_services/discovery_configured/doc/configured_discovery.adoc
+++ b/bundles/cxx_remote_services/discovery_configured/doc/configured_discovery.adoc
@@ -1,3 +1,22 @@
+/*
+* 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.
+*/
+
 [plantuml]
 .RSA Design - (Configured) Discovery
 ----
diff --git a/bundles/cxx_remote_services/rsa_spi/include/celix/rsa/RemoteServicesException.h b/bundles/cxx_remote_services/rsa_spi/include/celix/rsa/RemoteServicesException.h
index e9a6b0ce..a2334a06 100644
--- a/bundles/cxx_remote_services/rsa_spi/include/celix/rsa/RemoteServicesException.h
+++ b/bundles/cxx_remote_services/rsa_spi/include/celix/rsa/RemoteServicesException.h
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
 #pragma once
 
 #include <exception>
diff --git a/bundles/pubsub/doc/pubsub_serialization.adoc b/bundles/pubsub/doc/pubsub_serialization.adoc
index a6315eb8..c4d7c1bc 100644
--- a/bundles/pubsub/doc/pubsub_serialization.adoc
+++ b/bundles/pubsub/doc/pubsub_serialization.adoc
@@ -1,3 +1,21 @@
+////
+* 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.
+////
 = PubSub Serialization
 
 WARNING: The PubSub Serialization Services are still work in progress. The current PubSubAdmins still work differently.
diff --git a/bundles/pubsub/pubsub_utils/src/pubsub_matching.c b/bundles/pubsub/pubsub_utils/src/pubsub_matching.c
index 6c907430..514b83c4 100644
--- a/bundles/pubsub/pubsub_utils/src/pubsub_matching.c
+++ b/bundles/pubsub/pubsub_utils/src/pubsub_matching.c
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
 #include <string.h>
 
 #include "celix_constants.h"
diff --git a/codecov.yml b/codecov.yml
index 195d09dd..1525d240 100644
--- a/codecov.yml
+++ b/codecov.yml
@@ -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.
+
 coverage:
   precision: 2
   round: down
diff --git a/examples/celix-examples/readme_c_examples/src/using_command_service_example.c b/examples/celix-examples/readme_c_examples/src/using_command_service_example.c
index a947c923..b6745401 100644
--- a/examples/celix-examples/readme_c_examples/src/using_command_service_example.c
+++ b/examples/celix-examples/readme_c_examples/src/using_command_service_example.c
@@ -16,7 +16,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-
 #include <stdio.h>
 #include <celix_api.h>
 #include <celix_shell_command.h>
diff --git a/examples/celix-examples/readme_cxx_examples/src/using_command_service_example.c b/examples/celix-examples/readme_cxx_examples/src/using_command_service_example.c
index e60c72ac..1e8454d4 100644
--- a/examples/celix-examples/readme_cxx_examples/src/using_command_service_example.c
+++ b/examples/celix-examples/readme_cxx_examples/src/using_command_service_example.c
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
 #include "celix_api.h"
 #include "celix_shell_command.h"
 
diff --git a/libs/framework/benchmark/src/BenchmarkMain.cc b/libs/framework/benchmark/src/BenchmarkMain.cc
index 2a3fbf94..cef51133 100644
--- a/libs/framework/benchmark/src/BenchmarkMain.cc
+++ b/libs/framework/benchmark/src/BenchmarkMain.cc
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
 #include <benchmark/benchmark.h>
 
 BENCHMARK_MAIN();
\ No newline at end of file
diff --git a/libs/framework/include/celix/Exception.h b/libs/framework/include/celix/Exception.h
index 27aca020..1675567d 100644
--- a/libs/framework/include/celix/Exception.h
+++ b/libs/framework/include/celix/Exception.h
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
 #pragma once
 
 #include <exception>
diff --git a/libs/utils/benchmark/src/BenchmarkMain.cc b/libs/utils/benchmark/src/BenchmarkMain.cc
index 2a3fbf94..cef51133 100644
--- a/libs/utils/benchmark/src/BenchmarkMain.cc
+++ b/libs/utils/benchmark/src/BenchmarkMain.cc
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
 #include <benchmark/benchmark.h>
 
 BENCHMARK_MAIN();
\ No newline at end of file