Skip to content

Commit

Permalink
Adding GRPC related code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rashm1n committed Apr 11, 2023
1 parent 73d63c8 commit f8606a5
Show file tree
Hide file tree
Showing 16 changed files with 4,182 additions and 4,269 deletions.
11 changes: 8 additions & 3 deletions components/apimgt/org.wso2.carbon.apimgt.impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -429,12 +429,12 @@
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
<version>${io.grpc.version}</version>
<version>${grpc-stub.version}</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
<version>${io.grpc.version}</version>
<version>${grpc-netty-shaded.version}</version>
</dependency>
</dependencies>
<build>
Expand Down Expand Up @@ -564,7 +564,12 @@
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Name>${project.artifactId}</Bundle-Name>
<Private-Package>
org.wso2.carbon.apimgt.impl.internal.*
org.wso2.carbon.apimgt.impl.internal.*,
io.grpc.*,
io.envoyproxy.*,
com.google.protobuf.*,
com.google.common.util.concurrent.*,
io.perfmark.*,
</Private-Package>
<Export-Package>
!org.apache.commons.codec.*,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public final class AuthorizationGrpc {

private AuthorizationGrpc() {}

public static final String SERVICE_NAME = "org.wso2.carbon.apimgt.impl.authz.apis.Authorization";
public static final String SERVICE_NAME = "authz.apis.Authorization";

// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<org.wso2.carbon.apimgt.impl.authz.apis.AuthorizationService.AuthorizationRequest,
Expand All @@ -45,7 +45,7 @@ org.wso2.carbon.apimgt.impl.authz.apis.AuthorizationService.AuthorizationRespons
io.grpc.MethodDescriptor.<org.wso2.carbon.apimgt.impl.authz.apis.AuthorizationService.AuthorizationRequest, org.wso2.carbon.apimgt.impl.authz.apis.AuthorizationService.AuthorizationResponse>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.wso2.carbon.apimgt.impl.authz.apis.Authorization", "authorize"))
"authz.apis.Authorization", "authorize"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.wso2.carbon.apimgt.impl.authz.apis.AuthorizationService.AuthorizationRequest.getDefaultInstance()))
Expand Down

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

Loading

0 comments on commit f8606a5

Please sign in to comment.