Skip to content

Commit

Permalink
Changing license headers (onosproject#37)
Browse files Browse the repository at this point in the history
* Changing license headers

* Renamed reuse-lint to license
  • Loading branch information
tomikazi authored Mar 14, 2022
1 parent f35e920 commit 33af372
Show file tree
Hide file tree
Showing 16 changed files with 474 additions and 316 deletions.
3 changes: 2 additions & 1 deletion .reuse/dep5
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Files: VERSION .gitreview go.mod go.sum
Files: VERSION pkg/northbound/gnmi/test/mock* pkg/northbound/testdata/* pkg/southbound/testdata/* *.so *.gnmi *.png *.gif *.jpg go.mod go.sum
Copyright: 2021 Open Networking Foundation
License: Apache-2.0

1 change: 1 addition & 0 deletions LICENSES/Apache-2.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,4 @@ 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.

12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,23 @@ ONOS_PROTOC_VERSION := v0.6.3
build-tools:=$(shell if [ ! -d "./build/build-tools" ]; then cd build && git clone https://github.com/onosproject/build-tools.git; fi)
include ./build/build-tools/make/onf-common.mk

mod-update: # @HELP Download the dependencies to the vendor folder
go mod tidy
go mod vendor
mod-lint: mod-update # @HELP ensure that the required dependencies are in place
# dependencies are vendored, but not committed, go.sum is the only thing we need to check
bash -c "diff -u <(echo -n) <(git diff go.sum)"

build: # @HELP build the Go binaries and run all validations (default)
build:
CGO_ENABLED=1 go build -o build/_output/onos-uenib ./cmd/onos-uenib

test: # @HELP run the unit tests and source code validation producing a golang style report
test: build deps license_check_apache linters
test: mod-lint build license_check_apache linters license
go test -race github.com/onosproject/onos-uenib/...

jenkins-test: build deps license_check_apache linters # @HELP run the unit tests and source code validation producing a junit style report for Jenkins
jenkins-test: # @HELP run the unit tests and source code validation producing a junit style report for Jenkins
jenkins-test: mod-lint build license_check_apache linters license
TEST_PACKAGES=github.com/onosproject/onos-uenib/pkg/... ./build/build-tools/build/jenkins/make-unit

helmit-uenib: integration-test-namespace # @HELP run helmit tests locally
Expand Down
2 changes: 1 addition & 1 deletion cmd/onos-uenib-tests/onos-uenib-tests.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion cmd/onos-uenib/onos-uenib.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ go 1.16
require (
github.com/atomix/atomix-go-client v0.6.2
github.com/gogo/protobuf v1.3.2
github.com/onosproject/helmit v0.6.18
github.com/onosproject/onos-api/go v0.8.30
github.com/onosproject/helmit v0.6.19
github.com/onosproject/onos-api/go v0.9.7
github.com/onosproject/onos-lib-go v0.8.13
github.com/onosproject/onos-ric-sdk-go v0.8.7
github.com/onosproject/onos-test v0.6.4
github.com/onosproject/onos-test v0.6.6
github.com/stretchr/testify v1.7.0
google.golang.org/grpc v1.41.0
)
744 changes: 446 additions & 298 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

Expand Down
4 changes: 2 additions & 2 deletions pkg/manager/manager.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

// Package manager is is the main coordinator for the ONOS UE-NIB subsystem.
// Package manager is the main coordinator for the ONOS UE-NIB subsystem.
package manager

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/northbound/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion pkg/store/store.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion pkg/store/store_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion test/uenib/suite.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion test/uenib/uenib.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion test/utils/clients.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion test/utils/sdran.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021-present Open Networking Foundation <[email protected]>
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

Expand Down

0 comments on commit 33af372

Please sign in to comment.