From d0128060e4560425e0983390cb3e72f5e63e6aa3 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Wed, 25 Jul 2018 09:54:28 -0700 Subject: [PATCH] Add LICENSE headers to source files Signed-off-by: Ahmet Alp Balkan --- istio-manifests/frontend-gateway.yaml | 14 ++++++++++++++ istio-manifests/whitelist-egress-googleapis.yaml | 14 ++++++++++++++ src/cartservice/CartServiceImpl.cs | 14 ++++++++++++++ src/cartservice/Demo.cs | 14 ++++++++++++++ src/cartservice/DemoGrpc.cs | 14 ++++++++++++++ src/cartservice/Program.cs | 14 ++++++++++++++ src/cartservice/cartstore/LocalCartStore.cs | 14 ++++++++++++++ src/cartservice/cartstore/RedisCartStore.cs | 14 ++++++++++++++ src/cartservice/probe/genproto.sh | 16 ++++++++++++++++ src/checkoutservice/genproto.sh | 16 ++++++++++++++++ src/checkoutservice/main.go | 14 ++++++++++++++ src/checkoutservice/money/money.go | 14 ++++++++++++++ src/checkoutservice/money/money_test.go | 14 ++++++++++++++ src/currencyservice/genproto.sh | 16 ++++++++++++++++ src/emailservice/demo_pb2.py | 16 ++++++++++++++++ src/emailservice/demo_pb2_grpc.py | 16 ++++++++++++++++ src/emailservice/email_client.py | 16 ++++++++++++++++ src/emailservice/email_server.py | 16 ++++++++++++++++ src/emailservice/genproto.sh | 16 ++++++++++++++++ src/frontend/genproto.sh | 16 ++++++++++++++++ src/frontend/handlers.go | 14 ++++++++++++++ src/frontend/main.go | 14 ++++++++++++++ src/frontend/money/money_test.go | 14 ++++++++++++++ src/frontend/rpc.go | 14 ++++++++++++++ src/loadgenerator/loadgen.sh | 16 ++++++++++++++++ src/paymentservice/charge.js | 14 ++++++++++++++ src/paymentservice/genproto.sh | 16 ++++++++++++++++ src/paymentservice/server.js | 14 ++++++++++++++ 28 files changed, 414 insertions(+) diff --git a/istio-manifests/frontend-gateway.yaml b/istio-manifests/frontend-gateway.yaml index e1321f1..b3a1a64 100644 --- a/istio-manifests/frontend-gateway.yaml +++ b/istio-manifests/frontend-gateway.yaml @@ -1,3 +1,17 @@ +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: diff --git a/istio-manifests/whitelist-egress-googleapis.yaml b/istio-manifests/whitelist-egress-googleapis.yaml index cb44fc1..92ead32 100644 --- a/istio-manifests/whitelist-egress-googleapis.yaml +++ b/istio-manifests/whitelist-egress-googleapis.yaml @@ -1,3 +1,17 @@ +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: ServiceEntry metadata: diff --git a/src/cartservice/CartServiceImpl.cs b/src/cartservice/CartServiceImpl.cs index c4ab036..c50dd0b 100644 --- a/src/cartservice/CartServiceImpl.cs +++ b/src/cartservice/CartServiceImpl.cs @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; diff --git a/src/cartservice/Demo.cs b/src/cartservice/Demo.cs index f53469d..c6d9925 100644 --- a/src/cartservice/Demo.cs +++ b/src/cartservice/Demo.cs @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // // Generated by the protocol buffer compiler. DO NOT EDIT! // source: demo.proto diff --git a/src/cartservice/DemoGrpc.cs b/src/cartservice/DemoGrpc.cs index 1d0e195..30fa0e5 100644 --- a/src/cartservice/DemoGrpc.cs +++ b/src/cartservice/DemoGrpc.cs @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // // Generated by the protocol buffer compiler. DO NOT EDIT! // source: demo.proto diff --git a/src/cartservice/Program.cs b/src/cartservice/Program.cs index 13ee968..70e3907 100644 --- a/src/cartservice/Program.cs +++ b/src/cartservice/Program.cs @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + using System; using System.IO; using System.Threading; diff --git a/src/cartservice/cartstore/LocalCartStore.cs b/src/cartservice/cartstore/LocalCartStore.cs index a6f895a..adbf177 100644 --- a/src/cartservice/cartstore/LocalCartStore.cs +++ b/src/cartservice/cartstore/LocalCartStore.cs @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + using System; using System.Collections.Concurrent; using System.Threading.Tasks; diff --git a/src/cartservice/cartstore/RedisCartStore.cs b/src/cartservice/cartstore/RedisCartStore.cs index dc94d45..aca60fb 100644 --- a/src/cartservice/cartstore/RedisCartStore.cs +++ b/src/cartservice/cartstore/RedisCartStore.cs @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + using System; using System.IO; using System.Linq; diff --git a/src/cartservice/probe/genproto.sh b/src/cartservice/probe/genproto.sh index 3dea5d3..8013609 100755 --- a/src/cartservice/probe/genproto.sh +++ b/src/cartservice/probe/genproto.sh @@ -1,3 +1,19 @@ +#!/bin/bash -eu +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash -e PATH=$PATH:$GOPATH/bin diff --git a/src/checkoutservice/genproto.sh b/src/checkoutservice/genproto.sh index 1855f6b..757e6b8 100755 --- a/src/checkoutservice/genproto.sh +++ b/src/checkoutservice/genproto.sh @@ -1,3 +1,19 @@ +#!/bin/bash -eu +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash -e PATH=$PATH:$GOPATH/bin diff --git a/src/checkoutservice/main.go b/src/checkoutservice/main.go index dda296f..49cde3c 100644 --- a/src/checkoutservice/main.go +++ b/src/checkoutservice/main.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package main import ( diff --git a/src/checkoutservice/money/money.go b/src/checkoutservice/money/money.go index 97d8555..ded4f49 100644 --- a/src/checkoutservice/money/money.go +++ b/src/checkoutservice/money/money.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package money import ( diff --git a/src/checkoutservice/money/money_test.go b/src/checkoutservice/money/money_test.go index deef207..f6b7268 100644 --- a/src/checkoutservice/money/money_test.go +++ b/src/checkoutservice/money/money_test.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package money import ( diff --git a/src/currencyservice/genproto.sh b/src/currencyservice/genproto.sh index d2b38bb..ba89804 100755 --- a/src/currencyservice/genproto.sh +++ b/src/currencyservice/genproto.sh @@ -1,3 +1,19 @@ +#!/bin/bash -eu +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash -e # protos are loaded dynamically for node, simply copies over the proto. mkdir -p proto && \ diff --git a/src/emailservice/demo_pb2.py b/src/emailservice/demo_pb2.py index ba0401c..d72a5e7 100644 --- a/src/emailservice/demo_pb2.py +++ b/src/emailservice/demo_pb2.py @@ -1,3 +1,19 @@ +#!/usr/bin/python +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Generated by the protocol buffer compiler. DO NOT EDIT! # source: demo.proto diff --git a/src/emailservice/demo_pb2_grpc.py b/src/emailservice/demo_pb2_grpc.py index 86e0815..7b567b1 100644 --- a/src/emailservice/demo_pb2_grpc.py +++ b/src/emailservice/demo_pb2_grpc.py @@ -1,3 +1,19 @@ +#!/usr/bin/python +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc diff --git a/src/emailservice/email_client.py b/src/emailservice/email_client.py index f0a1a20..e4e591f 100644 --- a/src/emailservice/email_client.py +++ b/src/emailservice/email_client.py @@ -1,3 +1,19 @@ +#!/usr/bin/python +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import grpc import demo_pb2 diff --git a/src/emailservice/email_server.py b/src/emailservice/email_server.py index 2c6b37e..680591c 100644 --- a/src/emailservice/email_server.py +++ b/src/emailservice/email_server.py @@ -1,3 +1,19 @@ +#!/usr/bin/python +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from concurrent import futures import argparse import os diff --git a/src/emailservice/genproto.sh b/src/emailservice/genproto.sh index d5ef489..3e7e01e 100755 --- a/src/emailservice/genproto.sh +++ b/src/emailservice/genproto.sh @@ -1,3 +1,19 @@ +#!/bin/bash -eu +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash -e python -m grpc_tools.protoc -I../../pb --python_out=. --grpc_python_out=. ../../pb/demo.proto diff --git a/src/frontend/genproto.sh b/src/frontend/genproto.sh index 1855f6b..757e6b8 100755 --- a/src/frontend/genproto.sh +++ b/src/frontend/genproto.sh @@ -1,3 +1,19 @@ +#!/bin/bash -eu +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash -e PATH=$PATH:$GOPATH/bin diff --git a/src/frontend/handlers.go b/src/frontend/handlers.go index ed9f12d..6684b08 100644 --- a/src/frontend/handlers.go +++ b/src/frontend/handlers.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package main import ( diff --git a/src/frontend/main.go b/src/frontend/main.go index e35d1c9..c50a616 100644 --- a/src/frontend/main.go +++ b/src/frontend/main.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package main import ( diff --git a/src/frontend/money/money_test.go b/src/frontend/money/money_test.go index 457227a..2c05c3f 100644 --- a/src/frontend/money/money_test.go +++ b/src/frontend/money/money_test.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package money import ( diff --git a/src/frontend/rpc.go b/src/frontend/rpc.go index 1008241..b63a149 100644 --- a/src/frontend/rpc.go +++ b/src/frontend/rpc.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package main import ( diff --git a/src/loadgenerator/loadgen.sh b/src/loadgenerator/loadgen.sh index 92af14b..514174e 100755 --- a/src/loadgenerator/loadgen.sh +++ b/src/loadgenerator/loadgen.sh @@ -1,3 +1,19 @@ +#!/bin/bash -eu +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash set -e trap "exit" TERM diff --git a/src/paymentservice/charge.js b/src/paymentservice/charge.js index fe6d266..e11d0c1 100644 --- a/src/paymentservice/charge.js +++ b/src/paymentservice/charge.js @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const cardValidator = require('simple-card-validator'); const uuid = require('uuid/v4'); diff --git a/src/paymentservice/genproto.sh b/src/paymentservice/genproto.sh index 42c18a1..2529fd9 100755 --- a/src/paymentservice/genproto.sh +++ b/src/paymentservice/genproto.sh @@ -1,3 +1,19 @@ +#!/bin/bash -eu +# +# Copyright 2018 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash -e # protos are loaded dynamically for node, simply copies over the proto. diff --git a/src/paymentservice/server.js b/src/paymentservice/server.js index 1a3dc04..410757c 100644 --- a/src/paymentservice/server.js +++ b/src/paymentservice/server.js @@ -1,3 +1,17 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const grpc = require('grpc'); const protoLoader = require('@grpc/proto-loader');