Commit d0173ca4 authored by Simon Pastor's avatar Simon Pastor
Browse files

rnis v2 first merge

parent c851dd15
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ require (
	github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache v0.0.0
	github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger v0.0.0
	github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0
	github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metric-store v0.0.0
	github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model v0.0.0
	github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq v0.0.0
	github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-redis v0.0.0
+1 −1
Original line number Diff line number Diff line
# Go API Server for server

Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/01.01.01_60/gs_MEC012v010101p.pdf) <p>[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about radio conditions in the network <p>**Details**<br>API details available at _your-AdvantEDGE-ip-address/api_
Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf) <p>[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about radio conditions in the network <p>**Details**<br>API details available at _your-AdvantEDGE-ip-address/api_

## Overview
This server was generated by the [swagger-codegen]
+36 −12
Original line number Diff line number Diff line
@@ -15,26 +15,50 @@
 *
 * AdvantEDGE Radio Network Information Service REST API
 *
 * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/01.01.01_60/gs_MEC012v010101p.pdf) <p>[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about radio conditions in the network <p>**Details**<br>API details available at _your-AdvantEDGE-ip-address/api_
 * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf) <p>[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about radio conditions in the network <p>**Details**<br>API details available at _your-AdvantEDGE-ip-address/api_
 *
 * API version: 1.1.1
 * API version: 2.1.1
 * Contact: AdvantEDGE@InterDigital.com
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */

package server

// List of filtering criteria for the subscription.
type FilterCriteriaAssocHo struct {
import (
	"net/http"
)

	// Unique identifier for the mobile edge application instance
	AppInsId string `json:"appInsId,omitempty"`
func Layer2MeasInfoGET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

	AssociateId *AssociateId `json:"associateId,omitempty"`
func PlmnInfoGET(w http.ResponseWriter, r *http.Request) {
	plmnInfoGet(w, r)
}

	Plmn *Plmn `json:"plmn,omitempty"`
func RabInfoGET(w http.ResponseWriter, r *http.Request) {
	rabInfoGet(w, r)
}

	// The E-UTRAN Cell Identity as a bit string (size (28)), as defined in 3GPP TS 36.413
	CellId []string `json:"cellId,omitempty"`
func S1BearerInfoGET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func SubscriptionLinkListSubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	subscriptionLinkListSubscriptionsGet(w, r)
}

func SubscriptionsDELETE(w http.ResponseWriter, r *http.Request) {
	subscriptionsDelete(w, r)
}

func SubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	subscriptionsGet(w, r)
}

func SubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	subscriptionsPost(w, r)
}

	HoStatus *HoStatus `json:"hoStatus,omitempty"`
func SubscriptionsPUT(w http.ResponseWriter, r *http.Request) {
	subscriptionsPut(w, r)
}
+0 −204
Original line number Diff line number Diff line
/*
 * Copyright (c) 2020  InterDigital Communications, Inc
 *
 * Licensed under the Apache License, Version 2.0 (the \"License\");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an \"AS IS\" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * AdvantEDGE Radio Network Information Service REST API
 *
 * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/01.01.01_60/gs_MEC012v010101p.pdf) <p>[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about radio conditions in the network <p>**Details**<br>API details available at _your-AdvantEDGE-ip-address/api_
 *
 * API version: 1.1.1
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */

package server

import (
	"net/http"
)

func CaReConfSubscriptionSubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func CaReConfSubscriptionSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func CaReConfSubscriptionSubscriptionsPUT(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func CaReConfSubscriptionsSubscrIdDELETE(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func CellChangeSubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	cellChangeSubscriptionsGET(w, r)
}

func CellChangeSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	cellChangeSubscriptionsPOST(w, r)
}

func CellChangeSubscriptionsPUT(w http.ResponseWriter, r *http.Request) {
	cellChangeSubscriptionsPUT(w, r)
}

func CellChangeSubscriptionsSubscrIdDELETE(w http.ResponseWriter, r *http.Request) {
	cellChangeSubscriptionsDELETE(w, r)
}

func MeasRepUeReportSubscriptionsPUT(w http.ResponseWriter, r *http.Request) {
	measRepUeReportSubscriptionsPUT(w, r)
}

func MeasRepUeSubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	measRepUeReportSubscriptionsGET(w, r)
}

func MeasRepUeSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	measRepUeReportSubscriptionsPOST(w, r)
}

func MeasRepUeSubscriptionsSubscrIdDELETE(w http.ResponseWriter, r *http.Request) {
	measRepUeReportSubscriptionsDELETE(w, r)
}

func MeasTaSubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func MeasTaSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func MeasTaSubscriptionsPUT(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func MeasTaSubscriptionsSubscrIdDELETE(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func PlmnInfoGET(w http.ResponseWriter, r *http.Request) {
	plmnInfoGET(w, r)
}

func RabEstSubscriptionSubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	rabEstSubscriptionsGET(w, r)
}

func RabEstSubscriptionSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	rabEstSubscriptionsPOST(w, r)
}

func RabEstSubscriptionSubscriptionsPUT(w http.ResponseWriter, r *http.Request) {
	rabEstSubscriptionsPUT(w, r)
}

func RabEstSubscriptionsSubscrIdDELETE(w http.ResponseWriter, r *http.Request) {
	rabEstSubscriptionsDELETE(w, r)
}

func RabInfoGET(w http.ResponseWriter, r *http.Request) {
	rabInfoGET(w, r)
}

func RabModSubscriptionSubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func RabModSubscriptionSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func RabModSubscriptionSubscriptionsPUT(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func RabModSubscriptionsSubscrIdDELETE(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func RabRelSubscriptionSubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	rabRelSubscriptionsGET(w, r)
}

func RabRelSubscriptionSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	rabRelSubscriptionsPOST(w, r)
}

func RabRelSubscriptionSubscriptionsPUT(w http.ResponseWriter, r *http.Request) {
	rabRelSubscriptionsPUT(w, r)
}

func RabRelSubscriptionsSubscrIdDELETE(w http.ResponseWriter, r *http.Request) {
	rabRelSubscriptionsDELETE(w, r)
}

func S1BearerInfoGET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func S1BearerSubscriptionSubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func S1BearerSubscriptionSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func S1BearerSubscriptionSubscriptionsPUT(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func S1BearerSubscriptionsSubscrIdDELETE(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func SubscriptionLinkListSubscriptionsCcGET(w http.ResponseWriter, r *http.Request) {
	subscriptionLinkListSubscriptionsCcGET(w, r)
}

func SubscriptionLinkListSubscriptionsCrGET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func SubscriptionLinkListSubscriptionsGET(w http.ResponseWriter, r *http.Request) {
	subscriptionLinkListSubscriptionsGET(w, r)
}

func SubscriptionLinkListSubscriptionsMrGET(w http.ResponseWriter, r *http.Request) {
	subscriptionLinkListSubscriptionsMrGET(w, r)
}

func SubscriptionLinkListSubscriptionsReGET(w http.ResponseWriter, r *http.Request) {
	subscriptionLinkListSubscriptionsReGET(w, r)
}

func SubscriptionLinkListSubscriptionsRmGET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func SubscriptionLinkListSubscriptionsRrGET(w http.ResponseWriter, r *http.Request) {
	subscriptionLinkListSubscriptionsRrGET(w, r)
}

func SubscriptionLinkListSubscriptionsS1GET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}

func SubscriptionLinkListSubscriptionsTaGET(w http.ResponseWriter, r *http.Request) {
	notImplemented(w, r)
}
+23 −0
Original line number Diff line number Diff line
@@ -88,6 +88,29 @@ func convertDomainDataToJson(obj *DomainData) string {
	return string(jsonData)
}

/*
func convertJsonToOneOfNotificationSubscription(jsonInfo string) *OneOfNotificationSubscription {

        var obj OneOfNotificationSubscription
        err := json.Unmarshal([]byte(jsonInfo), &obj)
        if err != nil {
                log.Error(err.Error())
                return nil
        }
        return &obj
}

func convertOneOfNotificationSubscriptionToJson(obj *OneOfNotificationSubscription) string {

        jsonInfo, err := json.Marshal(*obj)
        if err != nil {
                log.Error(err.Error())
                return ""
        }

        return string(jsonInfo)
}
*/
func convertJsonToCellChangeSubscription(jsonInfo string) *CellChangeSubscription {

	var obj CellChangeSubscription
Loading