Update Dmaap topic 23/7523/1
authorychacon <yennifer.chacon@est.tech>
Mon, 10 Jan 2022 14:27:17 +0000 (15:27 +0100)
committerychacon <yennifer.chacon@est.tech>
Mon, 10 Jan 2022 14:27:17 +0000 (15:27 +0100)
Issue-ID: NONRTRIC-637

Signed-off-by: ychacon <yennifer.chacon@est.tech>
Change-Id: Id0820b44046eed8f11cdc7003fea75d54b6b1fe3

test/usecases/odusliceassurance/goversion/main.go
test/usecases/odusliceassurance/goversion/stub/sdnr/sdnrstub.go

index 8366843..f1c8d42 100644 (file)
@@ -29,7 +29,7 @@ import (
        "oransc.org/usecase/oduclosedloop/internal/sliceassurance"
 )
 
-const TOPIC string = "/events/unauthenticated.PERFORMANCE_MEASUREMENTS"
+const TOPIC string = "unauthenticated.VES_O_RAN_SC_HELLO_WORLD_PM_STREAMING_OUTPUT"
 
 var configuration *config.Config
 
index d0b5b8a..41cc928 100644 (file)
@@ -109,8 +109,6 @@ func getDistributedUnitFunctions(w http.ResponseWriter, r *http.Request) {
 }
 
 func updateRRMPolicyDedicatedRatio(w http.ResponseWriter, r *http.Request) {
-       //vars := mux.Vars(r)
-       fmt.Println("::updateRRMPolicyDedicatedRatio::")
        var prMessage messages.DistributedUnitFunction
        decoder := json.NewDecoder(r.Body)
 
@@ -121,7 +119,6 @@ func updateRRMPolicyDedicatedRatio(w http.ResponseWriter, r *http.Request) {
        defer r.Body.Close()
 
        fmt.Println("prMessage: ", prMessage)
-       //prMessage.Id = vars["POLICY-ID"]
 
        respondWithJSON(w, http.StatusOK, map[string]string{"status": "200"})
 }