From: ss412g Date: Mon, 23 Dec 2019 09:52:12 +0000 (+0200) Subject: Add header missing license header X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=ric-plt%2Fresource-status-manager.git;a=commitdiff_plain;h=HEAD Add header missing license header Change-Id: Ib1df5d3f75870d85a395d78563c1bfa3d8d6ed3c Signed-off-by: ss412g --- diff --git a/RSM/converters/resource_status_failure_unpacker.go b/RSM/converters/resource_status_failure_unpacker.go index d76f5f8..d329588 100644 --- a/RSM/converters/resource_status_failure_unpacker.go +++ b/RSM/converters/resource_status_failure_unpacker.go @@ -15,10 +15,13 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package converters -// #cgo CFLAGS: -I../asn1codec/inc/ -I../asn1codec/e2ap_engine/ -// #cgo LDFLAGS: -L ../asn1codec/lib/ -L../asn1codec/e2ap_engine/ -le2ap_codec -lasncodec +// #cgo CFLAGS: -I../3rdparty/asn1codec/inc/ -I../3rdparty/asn1codec/e2ap_engine/ +// #cgo LDFLAGS: -L ../3rdparty/asn1codec/lib/ -L../3rdparty/asn1codec/e2ap_engine/ -le2ap_codec -lasncodec // #include // #include import "C" diff --git a/RSM/converters/resource_status_failure_unpacker_test.go b/RSM/converters/resource_status_failure_unpacker_test.go index fbbdf3b..62f1cf6 100644 --- a/RSM/converters/resource_status_failure_unpacker_test.go +++ b/RSM/converters/resource_status_failure_unpacker_test.go @@ -15,6 +15,12 @@ * limitations under the License. * *******************************************************************************/ + +/* +* This source code is part of the near-RT RIC (RAN Intelligent Controller) +* platform project (RICP). +*/ + package converters import ( diff --git a/RSM/converters/resource_status_response_unpacker.go b/RSM/converters/resource_status_response_unpacker.go index b50251b..be81a1c 100644 --- a/RSM/converters/resource_status_response_unpacker.go +++ b/RSM/converters/resource_status_response_unpacker.go @@ -15,10 +15,13 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package converters -// #cgo CFLAGS: -I../asn1codec/inc/ -I../asn1codec/e2ap_engine/ -// #cgo LDFLAGS: -L ../asn1codec/lib/ -L../asn1codec/e2ap_engine/ -le2ap_codec -lasncodec +// #cgo CFLAGS: -I../3rdparty/asn1codec/inc/ -I../3rdparty/asn1codec/e2ap_engine/ +// #cgo LDFLAGS: -L ../3rdparty/asn1codec/lib/ -L../3rdparty/asn1codec/e2ap_engine/ -le2ap_codec -lasncodec // #include // #include import "C" diff --git a/RSM/converters/resource_status_response_unpacker_test.go b/RSM/converters/resource_status_response_unpacker_test.go index 114afd4..9858eb6 100644 --- a/RSM/converters/resource_status_response_unpacker_test.go +++ b/RSM/converters/resource_status_response_unpacker_test.go @@ -15,6 +15,12 @@ * limitations under the License. * *******************************************************************************/ + +/* +* This source code is part of the near-RT RIC (RAN Intelligent Controller) +* platform project (RICP). +*/ + package converters import ( diff --git a/RSM/enums/constants.go b/RSM/enums/constants.go index 4e5d618..3a79537 100644 --- a/RSM/enums/constants.go +++ b/RSM/enums/constants.go @@ -16,6 +16,10 @@ // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + + package enums const Enb1MeasurementId int64 = 1 diff --git a/RSM/enums/rsm_action.go b/RSM/enums/rsm_action.go index ab0e1f1..4a4a504 100644 --- a/RSM/enums/rsm_action.go +++ b/RSM/enums/rsm_action.go @@ -16,6 +16,10 @@ // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + + package enums type RsmAction string diff --git a/RSM/handlers/httpmsghandlers/resource_status_request_handler.go b/RSM/handlers/httpmsghandlers/resource_status_request_handler.go index 4d0575f..6b6346d 100644 --- a/RSM/handlers/httpmsghandlers/resource_status_request_handler.go +++ b/RSM/handlers/httpmsghandlers/resource_status_request_handler.go @@ -14,6 +14,10 @@ // 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 httpmsghandlers import ( diff --git a/RSM/handlers/httpmsghandlers/resource_status_request_handler_test.go b/RSM/handlers/httpmsghandlers/resource_status_request_handler_test.go index 0dbc012..67c99fe 100644 --- a/RSM/handlers/httpmsghandlers/resource_status_request_handler_test.go +++ b/RSM/handlers/httpmsghandlers/resource_status_request_handler_test.go @@ -14,6 +14,10 @@ // 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 httpmsghandlers_test import ( diff --git a/RSM/handlers/rmrmsghandlers/resource_status_response_handler_test.go b/RSM/handlers/rmrmsghandlers/resource_status_response_handler_test.go index 2739be6..e4ea107 100644 --- a/RSM/handlers/rmrmsghandlers/resource_status_response_handler_test.go +++ b/RSM/handlers/rmrmsghandlers/resource_status_response_handler_test.go @@ -15,6 +15,10 @@ // limitations under the License. // + +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package rmrmsghandlers import ( diff --git a/RSM/mocks/controller_mock.go b/RSM/mocks/controller_mock.go index 36cf4a6..21360ef 100644 --- a/RSM/mocks/controller_mock.go +++ b/RSM/mocks/controller_mock.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package mocks import ( diff --git a/RSM/mocks/resource_status_failure_converter_mock.go b/RSM/mocks/resource_status_failure_converter_mock.go index 2722ffe..01a24d4 100644 --- a/RSM/mocks/resource_status_failure_converter_mock.go +++ b/RSM/mocks/resource_status_failure_converter_mock.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package mocks import ( diff --git a/RSM/mocks/resource_status_response_converter_mock.go b/RSM/mocks/resource_status_response_converter_mock.go index 674d244..9869b18 100644 --- a/RSM/mocks/resource_status_response_converter_mock.go +++ b/RSM/mocks/resource_status_response_converter_mock.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package mocks import ( diff --git a/RSM/mocks/resource_status_service_mock.go b/RSM/mocks/resource_status_service_mock.go index f7ff2be..d285929 100644 --- a/RSM/mocks/resource_status_service_mock.go +++ b/RSM/mocks/resource_status_service_mock.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package mocks import ( diff --git a/RSM/mocks/rmr_messenger_mock.go b/RSM/mocks/rmr_messenger_mock.go index e9b4f1a..5b8e24f 100644 --- a/RSM/mocks/rmr_messenger_mock.go +++ b/RSM/mocks/rmr_messenger_mock.go @@ -17,7 +17,6 @@ // This source code is part of the near-RT RIC (RAN Intelligent Controller) // platform project (RICP). - package mocks import ( diff --git a/RSM/mocks/root_controller_mock.go b/RSM/mocks/root_controller_mock.go index 46bd86f..2a7e10d 100644 --- a/RSM/mocks/root_controller_mock.go +++ b/RSM/mocks/root_controller_mock.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package mocks import ( diff --git a/RSM/mocks/rsm_reader_mock.go b/RSM/mocks/rsm_reader_mock.go index 4ade9cd..a896bca 100644 --- a/RSM/mocks/rsm_reader_mock.go +++ b/RSM/mocks/rsm_reader_mock.go @@ -14,6 +14,10 @@ // 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 mocks import ( diff --git a/RSM/models/error_response.go b/RSM/models/error_response.go index b598bd6..2395408 100644 --- a/RSM/models/error_response.go +++ b/RSM/models/error_response.go @@ -17,8 +17,6 @@ // This source code is part of the near-RT RIC (RAN Intelligent Controller) // platform project (RICP). -// - package models type ErrorResponse struct { diff --git a/RSM/models/resource_status_payload.go b/RSM/models/resource_status_payload.go index bca52dc..05ca4a9 100644 --- a/RSM/models/resource_status_payload.go +++ b/RSM/models/resource_status_payload.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package models import ( diff --git a/RSM/models/resource_status_request.go b/RSM/models/resource_status_request.go index e449476..4bfd082 100644 --- a/RSM/models/resource_status_request.go +++ b/RSM/models/resource_status_request.go @@ -15,6 +15,10 @@ // limitations under the License. // + +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package models type ResourceStatusRequest struct { diff --git a/RSM/models/resource_status_response.go b/RSM/models/resource_status_response.go index dae459e..7065e21 100644 --- a/RSM/models/resource_status_response.go +++ b/RSM/models/resource_status_response.go @@ -15,6 +15,10 @@ // limitations under the License. // + +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package models import ( diff --git a/RSM/models/response_interface.go b/RSM/models/response_interface.go index 531fbbd..ed4e382 100644 --- a/RSM/models/response_interface.go +++ b/RSM/models/response_interface.go @@ -17,7 +17,6 @@ // This source code is part of the near-RT RIC (RAN Intelligent Controller) // platform project (RICP). - package models type IResponse interface { diff --git a/RSM/models/rsm_general_configuration.go b/RSM/models/rsm_general_configuration.go index d892d81..3721887 100644 --- a/RSM/models/rsm_general_configuration.go +++ b/RSM/models/rsm_general_configuration.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package models import "rsm/enums" diff --git a/RSM/models/rsm_ran_info.go b/RSM/models/rsm_ran_info.go index b67b983..76e4d30 100644 --- a/RSM/models/rsm_ran_info.go +++ b/RSM/models/rsm_ran_info.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package models import ( diff --git a/RSM/rsmdb/rsm_reader.go b/RSM/rsmdb/rsm_reader.go index 852346b..91246eb 100644 --- a/RSM/rsmdb/rsm_reader.go +++ b/RSM/rsmdb/rsm_reader.go @@ -14,6 +14,9 @@ // 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 rsmdb import ( diff --git a/RSM/rsmdb/rsm_reader_test.go b/RSM/rsmdb/rsm_reader_test.go index e1703df..24ca2f1 100644 --- a/RSM/rsmdb/rsm_reader_test.go +++ b/RSM/rsmdb/rsm_reader_test.go @@ -15,6 +15,12 @@ * limitations under the License. * *******************************************************************************/ + +/* +* This source code is part of the near-RT RIC (RAN Intelligent Controller) +* platform project (RICP). +*/ + package rsmdb import ( diff --git a/RSM/rsmdb/rsm_writer.go b/RSM/rsmdb/rsm_writer.go index 58c56c1..596c9fe 100644 --- a/RSM/rsmdb/rsm_writer.go +++ b/RSM/rsmdb/rsm_writer.go @@ -14,6 +14,9 @@ // 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 rsmdb import ( diff --git a/RSM/rsmdb/rsm_writer_test.go b/RSM/rsmdb/rsm_writer_test.go index 627c2f1..19bde4e 100644 --- a/RSM/rsmdb/rsm_writer_test.go +++ b/RSM/rsmdb/rsm_writer_test.go @@ -15,6 +15,12 @@ * limitations under the License. * *******************************************************************************/ + +/* +* This source code is part of the near-RT RIC (RAN Intelligent Controller) +* platform project (RICP). +*/ + package rsmdb import ( diff --git a/RSM/rsmerrors/rsm_error.go b/RSM/rsmerrors/rsm_error.go index e4ca044..2bbccfa 100644 --- a/RSM/rsmerrors/rsm_error.go +++ b/RSM/rsmerrors/rsm_error.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package rsmerrors import "fmt" diff --git a/RSM/services/resource_status_service.go b/RSM/services/resource_status_service.go index 6f0df7e..cbc0465 100644 --- a/RSM/services/resource_status_service.go +++ b/RSM/services/resource_status_service.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package services import ( diff --git a/RSM/services/resource_status_service_test.go b/RSM/services/resource_status_service_test.go index 9b4e962..ca8274c 100644 --- a/RSM/services/resource_status_service_test.go +++ b/RSM/services/resource_status_service_test.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package services import (