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

smihaylov pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-dta.git


The following commit(s) were added to refs/heads/develop by this push:
     new f8c4f06  Add missing Apache headers
f8c4f06 is described below

commit f8c4f06b3041317c88d05445f8d3b322d28f13ae
Author: Stanislav Mihaylov <[email protected]>
AuthorDate: Mon Sep 23 19:46:21 2019 +0300

    Add missing Apache headers
---
 .travis.yml                                     | 17 +++++++++++++++++
 Dockerfile                                      | 17 +++++++++++++++++
 Dockerfile-alpine                               | 17 +++++++++++++++++
 build-static.sh                                 | 18 ++++++++++++++++++
 build.sh                                        | 19 +++++++++++++++++++
 cmd/servicetester/e2e_test.sh                   | 18 ++++++++++++++++++
 cmd/servicetester/fulltest.sh                   | 18 ++++++++++++++++++
 cmd/servicetester/id_test.sh                    | 19 +++++++++++++++++++
 libs/crypto/bench_test.go                       | 17 +++++++++++++++++
 libs/crypto/libpqnist/CMakeLists.txt            | 17 +++++++++++++++++
 libs/crypto/libpqnist/CPackConfig.cmake         | 17 +++++++++++++++++
 libs/crypto/libpqnist/cmake_uninstall.cmake.in  | 17 +++++++++++++++++
 libs/crypto/libpqnist/examples/CMakeLists.txt   | 17 +++++++++++++++++
 libs/crypto/libpqnist/include/CMakeLists.txt    | 17 +++++++++++++++++
 libs/crypto/libpqnist/src/CMakeLists.txt        | 17 +++++++++++++++++
 libs/crypto/libpqnist/test/smoke/CMakeLists.txt | 17 +++++++++++++++++
 libs/documents/build                            | 17 +++++++++++++++++
 libs/documents/docs.proto                       | 19 +++++++++++++++++++
 lint.sh                                         | 19 +++++++++++++++++++
 open-api.yaml                                   | 17 +++++++++++++++++
 pkg/bitcoinplugin/open-api.yaml                 | 17 +++++++++++++++++
 pkg/defaultservice/init.go                      | 17 +++++++++++++++++
 pkg/safeguardsecret/README.md                   | 19 +++++++++++++++++++
 test.sh                                         | 17 +++++++++++++++++
 24 files changed, 421 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 5854278..650741c 100644
--- a/.travis.yml
+++ b/.travis.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.
+
 language: go
 go:
   - "1.12.x"
diff --git a/Dockerfile b/Dockerfile
index c58b656..dcb7e07 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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.
+
 FROM ubuntu:latest as libs_builder
 
 RUN apt-get update &&  apt-get install -y --no-install-recommends \
diff --git a/Dockerfile-alpine b/Dockerfile-alpine
index 36a4243..8b5a8b3 100644
--- a/Dockerfile-alpine
+++ b/Dockerfile-alpine
@@ -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.
+
 FROM golang:1.13-alpine as builder
 
 RUN apk update && apk add --no-cache \
diff --git a/build-static.sh b/build-static.sh
index a65d659..cd53b82 100755
--- a/build-static.sh
+++ b/build-static.sh
@@ -1,5 +1,23 @@
 #! /bin/bash
 
+# 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.
+
+
 set -e
 
 apt-get update &&  apt-get install \
diff --git a/build.sh b/build.sh
index cf4e7a3..e0bd79e 100755
--- a/build.sh
+++ b/build.sh
@@ -1,3 +1,22 @@
+#! /bin/bash
+
+# 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.
+
 set -e
 
 GO111MODULE=on go build -o target/milagro 
github.com/apache/incubator-milagro-dta/cmd/service
diff --git a/cmd/servicetester/e2e_test.sh b/cmd/servicetester/e2e_test.sh
index a4d6047..8ba4277 100755
--- a/cmd/servicetester/e2e_test.sh
+++ b/cmd/servicetester/e2e_test.sh
@@ -1,4 +1,22 @@
 #!/bin/bash
+
+# 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.
+
 #End to End Test of Services using curl/bash
 
 apiVersion="v1"
diff --git a/cmd/servicetester/fulltest.sh b/cmd/servicetester/fulltest.sh
index fb75a10..6d18557 100755
--- a/cmd/servicetester/fulltest.sh
+++ b/cmd/servicetester/fulltest.sh
@@ -1,5 +1,23 @@
 #!/bin/bash
 
+# 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.
+
+
 pushd () {
     command pushd "$@" > /dev/null
 }
diff --git a/cmd/servicetester/id_test.sh b/cmd/servicetester/id_test.sh
index b30032a..ab94690 100755
--- a/cmd/servicetester/id_test.sh
+++ b/cmd/servicetester/id_test.sh
@@ -1,4 +1,23 @@
 #!/bin/bash
+
+# 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.
+
+
 #End to End Test of Services using curl/bash
 
 apiVersion="v1"
diff --git a/libs/crypto/bench_test.go b/libs/crypto/bench_test.go
index d4372d1..063b427 100644
--- a/libs/crypto/bench_test.go
+++ b/libs/crypto/bench_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 crypto
 
 import (
diff --git a/libs/crypto/libpqnist/CMakeLists.txt 
b/libs/crypto/libpqnist/CMakeLists.txt
index 76e5db2..d56efff 100644
--- a/libs/crypto/libpqnist/CMakeLists.txt
+++ b/libs/crypto/libpqnist/CMakeLists.txt
@@ -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.
+
 cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
 project (libpqnist)
 
diff --git a/libs/crypto/libpqnist/CPackConfig.cmake 
b/libs/crypto/libpqnist/CPackConfig.cmake
index 8101755..e3df77a 100644
--- a/libs/crypto/libpqnist/CPackConfig.cmake
+++ b/libs/crypto/libpqnist/CPackConfig.cmake
@@ -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.
+
 include (InstallRequiredSystemLibraries)
 
 ########################### General Settings ###########################
diff --git a/libs/crypto/libpqnist/cmake_uninstall.cmake.in 
b/libs/crypto/libpqnist/cmake_uninstall.cmake.in
index 2037e36..dbc4ed9 100644
--- a/libs/crypto/libpqnist/cmake_uninstall.cmake.in
+++ b/libs/crypto/libpqnist/cmake_uninstall.cmake.in
@@ -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.
+
 if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
   message(FATAL_ERROR "Cannot find install manifest: 
@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
 endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
diff --git a/libs/crypto/libpqnist/examples/CMakeLists.txt 
b/libs/crypto/libpqnist/examples/CMakeLists.txt
index b8ff74b..449fd27 100644
--- a/libs/crypto/libpqnist/examples/CMakeLists.txt
+++ b/libs/crypto/libpqnist/examples/CMakeLists.txt
@@ -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.
+
 # List of examples
 file(GLOB_RECURSE SRCS *.c)
 
diff --git a/libs/crypto/libpqnist/include/CMakeLists.txt 
b/libs/crypto/libpqnist/include/CMakeLists.txt
index 194970c..c81b1da 100644
--- a/libs/crypto/libpqnist/include/CMakeLists.txt
+++ b/libs/crypto/libpqnist/include/CMakeLists.txt
@@ -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.
+
 # List of headers
 file(GLOB headers "amcl/*.h")
 
diff --git a/libs/crypto/libpqnist/src/CMakeLists.txt 
b/libs/crypto/libpqnist/src/CMakeLists.txt
index 1480553..960a2a0 100644
--- a/libs/crypto/libpqnist/src/CMakeLists.txt
+++ b/libs/crypto/libpqnist/src/CMakeLists.txt
@@ -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.
+
 file(GLOB_RECURSE SOURCES *.c)
 
 set(target "pqnist")
diff --git a/libs/crypto/libpqnist/test/smoke/CMakeLists.txt 
b/libs/crypto/libpqnist/test/smoke/CMakeLists.txt
index 82fc259..925da27 100644
--- a/libs/crypto/libpqnist/test/smoke/CMakeLists.txt
+++ b/libs/crypto/libpqnist/test/smoke/CMakeLists.txt
@@ -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.
+
 # List of tests
 file(GLOB_RECURSE SRCS *.c)
 
diff --git a/libs/documents/build b/libs/documents/build
index 7f76f2d..b3cb2a8 100755
--- a/libs/documents/build
+++ b/libs/documents/build
@@ -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.
+
 #build the protobuffer docs.pb.go file from the definition file docs.proto
 protoc \
   --proto_path=$HOME/go/src \
diff --git a/libs/documents/docs.proto b/libs/documents/docs.proto
index 737d112..e24c041 100644
--- a/libs/documents/docs.proto
+++ b/libs/documents/docs.proto
@@ -1,4 +1,23 @@
 /*
+    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.
+*/
+
+/*
 // Build with (note the location of protobuf & gohome 
 // Also you cant use ~ to refer to home dir
 
diff --git a/lint.sh b/lint.sh
index 7b862e2..c15bdde 100755
--- a/lint.sh
+++ b/lint.sh
@@ -1,3 +1,22 @@
+#! /bin/bash
+
+# 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.
+
 set -e
 
 echo "Run go fmt"
diff --git a/open-api.yaml b/open-api.yaml
index 24e7f3f..3d56401 100644
--- a/open-api.yaml
+++ b/open-api.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.
+
 openapi: 3.0.0
 info:
   title: Apache Milagro Server
diff --git a/pkg/bitcoinplugin/open-api.yaml b/pkg/bitcoinplugin/open-api.yaml
index 92d8f9b..7131885 100644
--- a/pkg/bitcoinplugin/open-api.yaml
+++ b/pkg/bitcoinplugin/open-api.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.
+
 openapi: 3.0.0
 info:
   title: Apache Milagro D-TA Bitcoin Plugin
diff --git a/pkg/defaultservice/init.go b/pkg/defaultservice/init.go
index 4902af1..a39697a 100644
--- a/pkg/defaultservice/init.go
+++ b/pkg/defaultservice/init.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 defaultservice
 
 import (
diff --git a/pkg/safeguardsecret/README.md b/pkg/safeguardsecret/README.md
index 8126c3d..742868c 100644
--- a/pkg/safeguardsecret/README.md
+++ b/pkg/safeguardsecret/README.md
@@ -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.
+-->
+
 # Safeguard secret
 
 This plugin enables you to use Milagro-D-TA to encrypt a string using 
milagro-crypto-c
diff --git a/test.sh b/test.sh
index 7c9b59c..d8b0321 100755
--- a/test.sh
+++ b/test.sh
@@ -1,5 +1,22 @@
 #! /bin/bash
 
+# 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.
+
 GO111MODULE=on go test -race -cover `go list ./... | grep -v disabled`
 
 status=$?

Reply via email to