Skip to content

Commit

Permalink
ReactorDubbo3TripleStub.mustache add schema registry (#14035)
Browse files Browse the repository at this point in the history
Co-authored-by: caoyanan <caoyanan@growingio.com>
Co-authored-by: Ken Liu <ken.lj.hz@gmail.com>
  • Loading branch information
3 people committed May 8, 2024
1 parent a3e43fe commit 7f6deca
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -54,6 +54,7 @@ public final class {{className}} {
private static final StubServiceDescriptor serviceDescriptor = new StubServiceDescriptor(SERVICE_NAME,{{interfaceClassName}}.class);

static {
org.apache.dubbo.rpc.protocol.tri.service.SchemaDescriptorRegistry.addSchemaDescriptor(SERVICE_NAME,{{outerClassName}}.getDescriptor());
StubSuppliers.addSupplier(SERVICE_NAME, {{className}}::newStub);
StubSuppliers.addSupplier({{interfaceClassName}}.JAVA_SERVICE_NAME, {{className}}::newStub);
StubSuppliers.addDescriptor(SERVICE_NAME, serviceDescriptor);
Expand Down

0 comments on commit 7f6deca

Please sign in to comment.