From f8e5619649c0fb2ddfc466b970e8338a45e55cb8 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Thu, 7 Oct 2021 12:28:25 +0000 Subject: [PATCH] Update module name Update module name to gerrit.o-ran-sc.org/r/ric-plt/a1. Signed-off-by: subhash kumar singh Issue-ID: RIC-831 Change-Id: I8b13da174fbb5914cadd399fd05d24523788bc46 --- a1-go/cmd/a1.go | 2 +- a1-go/go.mod | 2 +- a1-go/pkg/restapi/configure_a1.go | 6 +++--- a1-go/pkg/restapi/operations/a1_api.go | 4 ++-- .../a1_mediator/a1_controller_create_policy_type_parameters.go | 2 +- .../a1_controller_get_all_instances_for_type_responses.go | 2 +- .../a1_mediator/a1_controller_get_all_policy_types_responses.go | 2 +- .../a1_mediator/a1_controller_get_policy_type_responses.go | 2 +- a1-go/pkg/restapi/server.go | 2 +- a1-go/pkg/restful/restful.go | 8 ++++---- a1-go/pkg/restful/types.go | 4 ++-- a1-go/pkg/resthooks/resthooks.go | 2 +- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/a1-go/cmd/a1.go b/a1-go/cmd/a1.go index eaf8433..097b0d9 100644 --- a/a1-go/cmd/a1.go +++ b/a1-go/cmd/a1.go @@ -21,7 +21,7 @@ package main import ( - "subh.com/a1-go/pkg/restful" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restful" ) func main() { diff --git a/a1-go/go.mod b/a1-go/go.mod index 3659925..34466e7 100644 --- a/a1-go/go.mod +++ b/a1-go/go.mod @@ -18,7 +18,7 @@ // platform project (RICP). //================================================================================== // -module subh.com/a1-go +module gerrit.o-ran-sc.org/r/ric-plt/a1 go 1.16 diff --git a/a1-go/pkg/restapi/configure_a1.go b/a1-go/pkg/restapi/configure_a1.go index 511268b..db1c46c 100644 --- a/a1-go/pkg/restapi/configure_a1.go +++ b/a1-go/pkg/restapi/configure_a1.go @@ -30,9 +30,9 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "subh.com/a1-go/pkg/restapi/operations" - "subh.com/a1-go/pkg/restapi/operations/a1_e_i_data_delivery" - "subh.com/a1-go/pkg/restapi/operations/a1_mediator" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations/a1_e_i_data_delivery" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations/a1_mediator" ) //go:generate swagger generate server --target ../../pkg --name A1 --spec ../../api/swagger.yaml --exclude-main diff --git a/a1-go/pkg/restapi/operations/a1_api.go b/a1-go/pkg/restapi/operations/a1_api.go index dbe49c1..c8a14b1 100644 --- a/a1-go/pkg/restapi/operations/a1_api.go +++ b/a1-go/pkg/restapi/operations/a1_api.go @@ -39,8 +39,8 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "subh.com/a1-go/pkg/restapi/operations/a1_e_i_data_delivery" - "subh.com/a1-go/pkg/restapi/operations/a1_mediator" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations/a1_e_i_data_delivery" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations/a1_mediator" ) // NewA1API creates a new A1 instance diff --git a/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_create_policy_type_parameters.go b/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_create_policy_type_parameters.go index b7e6a92..6c6f318 100644 --- a/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_create_policy_type_parameters.go +++ b/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_create_policy_type_parameters.go @@ -35,7 +35,7 @@ import ( "github.com/go-openapi/swag" "github.com/go-openapi/validate" - "subh.com/a1-go/pkg/models" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/models" ) // NewA1ControllerCreatePolicyTypeParams creates a new A1ControllerCreatePolicyTypeParams object diff --git a/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_all_instances_for_type_responses.go b/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_all_instances_for_type_responses.go index 43f64b1..4c7b1c0 100644 --- a/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_all_instances_for_type_responses.go +++ b/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_all_instances_for_type_responses.go @@ -30,7 +30,7 @@ import ( "github.com/go-openapi/runtime" - "subh.com/a1-go/pkg/models" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/models" ) // A1ControllerGetAllInstancesForTypeOKCode is the HTTP code returned for type A1ControllerGetAllInstancesForTypeOK diff --git a/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_all_policy_types_responses.go b/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_all_policy_types_responses.go index 3b1a362..95868f1 100644 --- a/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_all_policy_types_responses.go +++ b/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_all_policy_types_responses.go @@ -30,7 +30,7 @@ import ( "github.com/go-openapi/runtime" - "subh.com/a1-go/pkg/models" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/models" ) // A1ControllerGetAllPolicyTypesOKCode is the HTTP code returned for type A1ControllerGetAllPolicyTypesOK diff --git a/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_policy_type_responses.go b/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_policy_type_responses.go index 553c320..3b278d2 100644 --- a/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_policy_type_responses.go +++ b/a1-go/pkg/restapi/operations/a1_mediator/a1_controller_get_policy_type_responses.go @@ -30,7 +30,7 @@ import ( "github.com/go-openapi/runtime" - "subh.com/a1-go/pkg/models" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/models" ) // A1ControllerGetPolicyTypeOKCode is the HTTP code returned for type A1ControllerGetPolicyTypeOK diff --git a/a1-go/pkg/restapi/server.go b/a1-go/pkg/restapi/server.go index c7c17ec..978fbee 100644 --- a/a1-go/pkg/restapi/server.go +++ b/a1-go/pkg/restapi/server.go @@ -45,7 +45,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "subh.com/a1-go/pkg/restapi/operations" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations" ) const ( diff --git a/a1-go/pkg/restful/restful.go b/a1-go/pkg/restful/restful.go index 66b66fb..37a7292 100644 --- a/a1-go/pkg/restful/restful.go +++ b/a1-go/pkg/restful/restful.go @@ -27,10 +27,10 @@ import ( "github.com/go-openapi/loads" "github.com/go-openapi/runtime/middleware" - "subh.com/a1-go/pkg/restapi" - "subh.com/a1-go/pkg/restapi/operations" - "subh.com/a1-go/pkg/restapi/operations/a1_mediator" - "subh.com/a1-go/pkg/resthooks" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations/a1_mediator" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/resthooks" ) func NewRestful() *Restful { diff --git a/a1-go/pkg/restful/types.go b/a1-go/pkg/restful/types.go index e15d182..0ab7f5f 100644 --- a/a1-go/pkg/restful/types.go +++ b/a1-go/pkg/restful/types.go @@ -21,8 +21,8 @@ package restful import ( - "subh.com/a1-go/pkg/restapi/operations" - resthook "subh.com/a1-go/pkg/resthooks" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations" + resthook "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/resthooks" ) type Restful struct { diff --git a/a1-go/pkg/resthooks/resthooks.go b/a1-go/pkg/resthooks/resthooks.go index d4654b6..db8bd6e 100644 --- a/a1-go/pkg/resthooks/resthooks.go +++ b/a1-go/pkg/resthooks/resthooks.go @@ -26,7 +26,7 @@ import ( "strings" "gerrit.o-ran-sc.org/r/ric-plt/sdlgo" - "subh.com/a1-go/pkg/models" + "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/models" ) func NewResthook() *Resthook { -- 2.16.6