@ManagedOperation(description = "Registers a Protobuf definition file", displayName = "Register Protofile")
public void registerProtofile(@Parameter(name = "fileName", description = "the name of the .proto file") String name,
@Parameter(name = "contents", description = "contents of the file") String contents) throws Exception {
FileDescriptorSource fileDescriptorSource = getFileDescriptorSource();
fileDescriptorSource.addProtoFile(name, contents);
clusterRegistry.put(REGISTRY_SCOPE, REGISTRY_KEY, fileDescriptorSource);
}
@ManagedOperation(description = "Display a protobuf definition file", displayName = "Register Protofile")