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

Grpc Streaming replacer #1850

Merged
merged 4 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 0 additions & 51 deletions adapter/api/proto/wso2/discovery/apkmgt/application.proto

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions adapter/api/proto/wso2/discovery/keymgt/revoked_tokens.proto

This file was deleted.

This file was deleted.

18 changes: 18 additions & 0 deletions adapter/api/proto/wso2/discovery/service/apkmgt/eventds.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
syntax = "proto3";

package discovery.service.apkmgt;

import "wso2/discovery/subscription/event.proto";
option go_package = "github.com/wso2/apk/adapter/pkg/discovery/api/wso2/discovery/service/apkmgt";
option java_package = "org.wso2.apk.enforcer.discovery.service.apkmgt";
option java_outer_classname = "EventServiceProto";
option java_multiple_files = true;
option java_generic_services = true;

// [#protodoc-title: EventStreamDS]
service EventStreamService {
rpc StreamEvents (Request) returns (stream wso2.discovery.subscription.Event) {}
}
message Request {
string event = 1;
}
22 changes: 0 additions & 22 deletions adapter/api/proto/wso2/discovery/service/keymgt/kmds.proto

This file was deleted.

38 changes: 0 additions & 38 deletions adapter/api/proto/wso2/discovery/service/keymgt/rtds.proto

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions adapter/api/proto/wso2/discovery/service/subscription/sds.proto

This file was deleted.

This file was deleted.

19 changes: 3 additions & 16 deletions adapter/api/proto/wso2/discovery/subscription/application.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ syntax = "proto3";

package wso2.discovery.subscription;

option go_package = "github.com/envoyproxy/go-control-plane/wso2/discovery/subscription;subscription";
option go_package = "github.com/wso2/apk/adapter/pkg/discovery/api/wso2/discovery/subscription";
option java_package = "org.wso2.apk.enforcer.discovery.subscription";
option java_outer_classname = "ApplicationProto";
option java_multiple_files = true;
Expand All @@ -30,19 +30,6 @@ message Application {
string uuid = 1;
string name = 2;
string owner = 3;
map<string, string> attributes = 4;
}

message SecuritySchemes {
OAuth2 oAuth2 = 1;
}

message OAuth2 {
repeated Environment environments = 1;
}

message Environment {
string envID = 1;
string applicationIdentifier = 2;
string keyType = 3;
string organization = 4;
map<string, string> attributes = 5;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ syntax = "proto3";

package wso2.discovery.subscription;

option go_package = "github.com/envoyproxy/go-control-plane/wso2/discovery/subscription;subscription";
option go_package = "github.com/wso2/apk/adapter/pkg/discovery/api/wso2/discovery/subscription";
option java_package = "org.wso2.apk.enforcer.discovery.subscription";
option java_outer_classname = "ApplicationKeyMappingProto";
option java_multiple_files = true;
Expand Down
Loading
Loading