Add missing open source license headers.
diff --git a/api.go b/api.go index 233c318..90ed3d3 100644 --- a/api.go +++ b/api.go
@@ -1,3 +1,17 @@ +// Copyright 2017 Google Inc. +// +// 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 apidApigeeSync import (
diff --git a/dockertests/create-db.sql b/dockertests/create-db.sql index a1f46db..525a014 100644 --- a/dockertests/create-db.sql +++ b/dockertests/create-db.sql
@@ -1,3 +1,17 @@ +-- Copyright 2017 Google Inc. +-- +-- 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. + -- noinspection SqlDialectInspectionForFile -- noinspection SqlNoDataSourceInspectionForFile SET statement_timeout = 0;
diff --git a/dockertests/master-schema.sql b/dockertests/master-schema.sql index 18c424b..756ff62 100644 --- a/dockertests/master-schema.sql +++ b/dockertests/master-schema.sql
@@ -1,3 +1,17 @@ +-- Copyright 2017 Google Inc. +-- +-- 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. + CREATE SCHEMA IF NOT EXISTS edgex; ALTER DATABASE edgex SET search_path TO edgex; SET search_path TO edgex; @@ -115,4 +129,4 @@ ALTER TABLE apid_cluster REPLICA IDENTITY FULL; ALTER TABLE data_scope REPLICA IDENTITY FULL; -ALTER TABLE deployment REPLICA IDENTITY FULL; \ No newline at end of file +ALTER TABLE deployment REPLICA IDENTITY FULL;
diff --git a/dockertests/user-setup.sql b/dockertests/user-setup.sql index 8068c40..1562a71 100644 --- a/dockertests/user-setup.sql +++ b/dockertests/user-setup.sql
@@ -1 +1,15 @@ -ALTER USER postgres SET search_path = edgex; \ No newline at end of file +-- Copyright 2017 Google Inc. +-- +-- 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. + +ALTER USER postgres SET search_path = edgex;