fix: mml2 for standard upf
This commit is contained in:
@@ -63,8 +63,8 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
func PostMMLToSUPF(w http.ResponseWriter, r *http.Request) {
|
||||
log.Info("PostMMLToSUPF processing... ")
|
||||
func PostMML2ToNF(w http.ResponseWriter, r *http.Request) {
|
||||
log.Info("PostMML2ToNF processing... ")
|
||||
|
||||
vars := mux.Vars(r)
|
||||
neType := vars["elementTypeValue"]
|
||||
|
||||
@@ -179,9 +179,9 @@ func init() {
|
||||
Register("POST", mml.UriOmMmlExt, mml.PostMMLToOMC, midware.LogMML)
|
||||
Register("POST", mml.CustomUriMML, mml.PostMMLToNF, midware.LogMML)
|
||||
Register("POST", mml.CustomUriOmMmlExt, mml.PostMMLToOMC, midware.LogMML)
|
||||
|
||||
Register("POST", mml.UriMML2, mml.PostMMLToSUPF, midware.LogMML)
|
||||
Register("POST", mml.CustomUriMML2, mml.PostMMLToSUPF, midware.LogMML)
|
||||
// post mml2 (standard upf port=5002)
|
||||
Register("POST", mml.UriMML2, mml.PostMML2ToNF, midware.LogMML)
|
||||
Register("POST", mml.CustomUriMML2, mml.PostMML2ToNF, midware.LogMML)
|
||||
|
||||
// Northbound Get NRM
|
||||
Register("GET", nbi.GetNRMUri, nbi.NBIGetNRMFromNF, nil)
|
||||
|
||||
Reference in New Issue
Block a user