Skip to content
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

Add encoding to subscription event trigger #27

Merged
merged 8 commits into from
Dec 10, 2020

Conversation

kuujo
Copy link
Contributor

@kuujo kuujo commented Dec 10, 2020

Replace encoding type on subscription event trigger.

Copy link
Contributor

@SeanCondon SeanCondon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment from me

Also when you are pulling this new version of onos-api in to e2t you will have to pull it in to the plugin too, to have them on the same version, or else the plugin will not load

bytes event_trigger_definition = 1;
string app_id = 1 [(gogoproto.casttype) = "AppID", (gogoproto.customname) = "AppID"];
string e2_node_id = 2 [(gogoproto.casttype) = "E2NodeID", (gogoproto.customname) = "E2NodeID"];
ServiceModel service_model = 3 [(gogoproto.nullable) = false];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe the encoding should be up at this level, and it can cover TriggerDefintion and ActionDefintion - otherwise ass encoding alongside action bytes below

@kuujo kuujo merged commit beef67a into onosproject:master Dec 10, 2020
@kuujo kuujo deleted the subscription-encoding branch December 10, 2020 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants