From 792b88a749b2174935955816a7401475990e7d48 Mon Sep 17 00:00:00 2001 From: Roni Riska Date: Wed, 27 Nov 2019 10:18:18 +0200 Subject: [PATCH] Add new license claim Adding extra line that src files are part of RIC platform projec. Change-Id: Ie199d3187fd3a8b6133664b4ee8b8e3324a6c26f Signed-off-by: Roni Riska --- README.md | 3 +++ ci/Dockerfile | 47 +++++++++++++++++++++++++---------------------- cmd/logtester/main.go | 3 +++ docs/index.rst | 2 ++ docs/overview.rst | 3 ++- docs/release-notes.rst | 1 + mdclog.go | 3 +++ mdclog_test.go | 3 +++ 8 files changed, 42 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 9f94a07..452c4f4 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,9 @@ License See the License for the specific language governing permissions and limitations under the License. + This source code is part of the near-RT RIC (RAN Intelligent Controller) + platform project (RICP). + CI -- diff --git a/ci/Dockerfile b/ci/Dockerfile index aef7e0d..4e3ec2c 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -1,22 +1,25 @@ -# Copyright (c) 2019 AT&T Intellectual Property. -# Copyright (c) 2018-2019 Nokia. -# -# 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 golang:1.12 - -RUN mkdir -p /tmp/golog -COPY . /tmp/golog -RUN cd /tmp/golog && go test . -v - - +# Copyright (c) 2019 AT&T Intellectual Property. +# Copyright (c) 2018-2019 Nokia. +# +# 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. +# +# This source code is part of the near-RT RIC (RAN Intelligent Controller) +# platform project (RICP). + +FROM golang:1.12 + +RUN mkdir -p /tmp/golog +COPY . /tmp/golog +RUN cd /tmp/golog && go test . -v + + diff --git a/cmd/logtester/main.go b/cmd/logtester/main.go index 74da0bd..c97c604 100644 --- a/cmd/logtester/main.go +++ b/cmd/logtester/main.go @@ -13,6 +13,9 @@ * 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. + * + * This source code is part of the near-RT RIC (RAN Intelligent Controller) + * platform project (RICP). */ package main diff --git a/docs/index.rst b/docs/index.rst index deab508..3d3120a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -24,6 +24,8 @@ .. .. limitations under the License. .. +.. This source code is part of the near-RT RIC (RAN Intelligent Controller) platform project (RICP). +.. Welcome to O-RAN SC golog Documentation diff --git a/docs/overview.rst b/docs/overview.rst index 2eb9baa..eb99e44 100644 --- a/docs/overview.rst +++ b/docs/overview.rst @@ -24,7 +24,8 @@ .. .. limitations under the License. .. - +.. This source code is part of the near-RT RIC (RAN Intelligent Controller) platform project (RICP). +.. golog Overview ============== diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 8d43ba0..a31afa8 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -23,6 +23,7 @@ limitations under the License. + This source code is part of the near-RT RIC (RAN Intelligent Controller) platform project (RICP). Release-Notes ============= diff --git a/mdclog.go b/mdclog.go index 2a37ea7..6e6e295 100644 --- a/mdclog.go +++ b/mdclog.go @@ -13,6 +13,9 @@ * 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. + * + * This source code is part of the near-RT RIC (RAN Intelligent Controller) + * platform project (RICP). */ // Package golog implements a simple structured logging with MDC (Mapped Diagnostics Context) support. diff --git a/mdclog_test.go b/mdclog_test.go index 3cf7422..7b46611 100644 --- a/mdclog_test.go +++ b/mdclog_test.go @@ -13,6 +13,9 @@ * 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. + * + * This source code is part of the near-RT RIC (RAN Intelligent Controller) + * platform project (RICP). */ package golog -- 2.16.6