Skip to content

Commit

Permalink
grpc streaming server implementatio
Browse files Browse the repository at this point in the history
  • Loading branch information
tharindu1st committed Nov 14, 2023
1 parent e1ad761 commit 4ffb370
Show file tree
Hide file tree
Showing 85 changed files with 5,393 additions and 5,388 deletions.
51 changes: 0 additions & 51 deletions adapter/api/proto/wso2/discovery/apkmgt/application.proto

This file was deleted.

18 changes: 0 additions & 18 deletions adapter/api/proto/wso2/discovery/keymgt/key_manager_config.proto

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.

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

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

0 comments on commit 4ffb370

Please sign in to comment.