Fix sonar job after Go version uplift 83/9383/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Mon, 24 Oct 2022 09:21:04 +0000 (11:21 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Mon, 24 Oct 2022 11:46:45 +0000 (13:46 +0200)
Issue-ID: NONRTRIC-812
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I658d354fc6a1c84cd3e2bb981441ae11981b205f

capifcore/build-capifcore-ubuntu.sh
capifcore/internal/securityservice/security.go [moved from capifcore/internal/security/security.go with 100% similarity]
capifcore/internal/securityservice/security_test.go [moved from capifcore/internal/security/security_test.go with 100% similarity]
capifcore/main.go

index 546d261..9bac724 100755 (executable)
@@ -32,10 +32,6 @@ go install github.com/ory/go-acc
 
 go get github.com/stretchr/testify/mock@v1.7.1
 
-
-whoami
-which go-acc
-
 go-acc ./... --ignore gentools,mocks,common,accesscontrolpolicyapi,aefsecurityapi,auditingapi,discoverserviceapi,eventsapi,invokermanagementapi,loggingapi,securityapi,publishserviceapi,routinginfoapi
 
 sed -i -e 's/oransc\.org\/nonrtric\/capifcore/capifcore/' coverage.txt
index 3fffbce..4e592c0 100644 (file)
@@ -40,7 +40,7 @@ import (
        "oransc.org/nonrtric/capifcore/internal/providermanagement"
        "oransc.org/nonrtric/capifcore/internal/publishservice"
        "oransc.org/nonrtric/capifcore/internal/publishserviceapi"
-       "oransc.org/nonrtric/capifcore/internal/security"
+       security "oransc.org/nonrtric/capifcore/internal/securityservice"
 )
 
 var url string