Skip to content

Commit ee85066

Browse files
Comment unimplemented func stubs
Signed-off-by: Finn Carroll <carrofin@amazon.com>
1 parent 81503ce commit ee85066

2 files changed

Lines changed: 48 additions & 50 deletions

File tree

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
1-
/*
2-
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*/
8-
9-
package org.opensearch.grpc.services;
10-
11-
import io.grpc.BindableService;
12-
import java.util.ArrayList;
13-
14-
import org.opensearch.server.proto.action.admin.cluster.node.stats.NodesStatsProto;
15-
16-
public class gRPCServiceRegistry {
17-
private final ArrayList<BindableService> services = new ArrayList<>();
18-
19-
gRPCServiceRegistry() { }
20-
21-
public void addService(BindableService bindableService) {
22-
services.add(bindableService);
23-
}
24-
25-
public ArrayList<BindableService> getServices() {
26-
return services;
27-
}
28-
}
1+
///*
2+
// * SPDX-License-Identifier: Apache-2.0
3+
// *
4+
// * The OpenSearch Contributors require contributions made to
5+
// * this file be licensed under the Apache-2.0 license or a
6+
// * compatible open source license.
7+
// */
8+
//
9+
//package org.opensearch.grpc.services;
10+
//
11+
//import io.grpc.BindableService;
12+
//import java.util.ArrayList;
13+
//
14+
//public class gRPCServiceRegistry {
15+
// private final ArrayList<BindableService> services = new ArrayList<>();
16+
//
17+
// gRPCServiceRegistry() { }
18+
//
19+
// public void addService(BindableService bindableService) {
20+
// services.add(bindableService);
21+
// }
22+
//
23+
// public ArrayList<BindableService> getServices() {
24+
// return services;
25+
// }
26+
//}
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
/*
2-
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*/
8-
9-
package org.opensearch.grpc.services.nodesInfo;
10-
11-
public class NodesInfoServiceImpl extends NodesInfoServiceGrpc.NodesInfoServiceImplBase {
12-
13-
@Override
14-
public void getNodesInfo(NodesInfoRequest request, StreamObserver<NodesInfoResponse> responseObserver) {
15-
16-
}
17-
18-
@Override
19-
public void streamNodesInfo(NodesInfoRequest request, StreamObserver<NodesInfoResponse> responseObserver) {
20-
21-
}
22-
}
1+
///*
2+
// * SPDX-License-Identifier: Apache-2.0
3+
// *
4+
// * The OpenSearch Contributors require contributions made to
5+
// * this file be licensed under the Apache-2.0 license or a
6+
// * compatible open source license.
7+
// */
8+
//
9+
//package org.opensearch.grpc.services.nodesInfo;
10+
//
11+
//public class NodesInfoServiceImpl extends NodesInfoServiceGrpc.NodesInfoServiceImplBase {
12+
//
13+
// @Override
14+
// public void getNodesInfo(NodesInfoRequest request, StreamObserver<NodesInfoResponse> responseObserver) {
15+
//
16+
// }
17+
//
18+
// @Override
19+
// public void streamNodesInfo(NodesInfoRequest request, StreamObserver<NodesInfoResponse> responseObserver) {
20+
//
21+
// }
22+
//}

0 commit comments

Comments
 (0)