-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
O-RAN V3 Rest Api: Event Subscription #70
Conversation
Signed-off-by: Jack Ding <jackding@gmail.com>
cc867ce
to
0829bf8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
c16f88e
to
ba70d27
Compare
id := uuid.New().String() | ||
sub.SetID(id) | ||
sub.SetVersion(API_VERSION) | ||
sub.SetURILocation(fmt.Sprintf("http://localhost:%d%s%s/%s", s.port, s.apiPath, "subscriptions", sub.ID)) //nolint:errcheck | ||
|
||
newSub, err := s.pubSubAPI.CreateSubscription(sub) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't need local pubsub anymore, since we are using configmap
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added note, will do in the next story
Signed-off-by: Jack Ding <jackding@gmail.com>
* cp routes.go server.go server_test.go swagger.json to v2 Signed-off-by: Jack Ding <jackding@gmail.com> * O-RAN V3 Rest Api: Event Subscription Signed-off-by: Jack Ding <jackding@gmail.com> --------- Signed-off-by: Jack Ding <jackding@gmail.com>
No description provided.