Commit 4f61681b authored by Simon Pastor's avatar Simon Pastor
Browse files

loc serv autogeneration from advantedge-ops

parent b49b9e0c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -12,8 +12,12 @@ golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73r
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190415100556-4a65cf94b679 h1:tzVWzOrXxwAwdSCMrf+mbNrZFxwS0+HLP4m2qxtfdhk=
golang.org/x/net v0.0.0-20190415100556-4a65cf94b679/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a h1:tImsplftrFpALCYumobsd0K86vlAs/eXGFms2txfJfA=
golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+0 −3
Original line number Diff line number Diff line
@@ -59,9 +59,6 @@ func Init() {
                //return err
        }

//	mgName = "demoSvc"
//	mgAppId = "zone1-fog1-demoSvc"
//	mgAppPort = "80"	
        // Register edge app instance with MG Manager
        var mgApp mgm.MobilityGroupApp
        mgApp.Id = mgAppId
+3 −2
Original line number Diff line number Diff line
@@ -69,8 +69,9 @@ func registerLocServ(ue string) {
        newString = strings.Replace(newString, "-", "_", -1)

        myPodIp := os.Getenv(newString)

	subscription.CallbackReference.NotifyURL = "http://" + myPodIp + "/v1"
	var cb locServClient.UserTrackingSubscriptionCallbackReference
	cb.NotifyURL = "http://" + myPodIp + "/v1"
	subscription.CallbackReference = &cb

	_, resp, err := locServ.SubscriptionsApi.UserTrackingSubPost(nil, subscription)
        if err != nil {
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ To see how to make this your own, look here:
[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)

- API version: 1.0.0
- Build date: 2019-05-15T12:26:15.220-04:00
- Build date: 2019-06-25T14:08:12.971-04:00


### Running the server
+320 −270

File changed.

Preview size limit exceeded, changes collapsed.

Loading