Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ashera96 committed Nov 1, 2023
1 parent 1069553 commit f415ea4
Show file tree
Hide file tree
Showing 33 changed files with 558 additions and 706 deletions.
10 changes: 5 additions & 5 deletions adapter/api/proto/wso2/discovery/subscription/application.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ option java_multiple_files = true;

// Application data model
message Application {
string eventId = 1;
string uuid = 2;
string name = 3;
string owner = 4;
map<string, string> attributes = 5;
string uuid = 1;
string name = 2;
string owner = 3;
map<string, string> attributes = 4;
string timestamp = 5;
}

message SecuritySchemes {
Expand Down
11 changes: 5 additions & 6 deletions adapter/api/proto/wso2/discovery/subscription/subscription.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ option java_multiple_files = true;

// Subscription data model
message Subscription {
string eventId = 1;
string subStatus = 2;
string uuid = 3;
string organization = 4;
SubscribedAPI subscribedApi = 5;
string timeStamp = 6;
string subStatus = 1;
string uuid = 2;
string organization = 3;
SubscribedAPI subscribedApi = 4;
string timestamp = 5;
}

message SubscribedAPI {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func (gatewayReconciler *GatewayReconciler) getInterceptorServicesForGateway(ctx
}
}
}
return interceptorServices, nil
return interceptorServices, nil // TODO(Ashera): Handle global subscription validation enable disable
}

func (gatewayReconciler *GatewayReconciler) getResolvedBackendsMapping(ctx context.Context,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f415ea4

Please sign in to comment.