Skip to content

Commit 7c0477f

Browse files
Update version to 2.0.0-alpha.2
1 parent abc09e3 commit 7c0477f

File tree

9 files changed

+2101
-1275
lines changed

9 files changed

+2101
-1275
lines changed

ArunaAPI

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.github.ArunaStorage</groupId>
88
<artifactId>java-api</artifactId>
9-
<version>2.0.0-alpha.1</version>
9+
<version>2.0.0-alpha.2</version>
1010
<packaging>jar</packaging>
1111

1212
<name>AOS Java API</name>

src/main/java/com/aruna/api/notification/services/v2/NotificationServiceProto.java

Lines changed: 121 additions & 121 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/aruna/api/storage/models/v2/ModelsProto.java

Lines changed: 343 additions & 699 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/aruna/api/storage/services/v2/EndpointServiceProto.java

Lines changed: 107 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/aruna/api/storage/services/v2/ObjectServiceProto.java

Lines changed: 106 additions & 285 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/aruna/api/storage/services/v2/ProjectServiceProto.java

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/aruna/api/storage/services/v2/UserServiceGrpc.java

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,37 @@ com.aruna.api.storage.services.v2.UserServiceProto.GetAllUsersResponse> getGetAl
423423
return getGetAllUsersMethod;
424424
}
425425

426+
private static volatile io.grpc.MethodDescriptor<com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest,
427+
com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse> getMergeUserAccountMethod;
428+
429+
@io.grpc.stub.annotations.RpcMethod(
430+
fullMethodName = SERVICE_NAME + '/' + "MergeUserAccount",
431+
requestType = com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest.class,
432+
responseType = com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse.class,
433+
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
434+
public static io.grpc.MethodDescriptor<com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest,
435+
com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse> getMergeUserAccountMethod() {
436+
io.grpc.MethodDescriptor<com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest, com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse> getMergeUserAccountMethod;
437+
if ((getMergeUserAccountMethod = UserServiceGrpc.getMergeUserAccountMethod) == null) {
438+
synchronized (UserServiceGrpc.class) {
439+
if ((getMergeUserAccountMethod = UserServiceGrpc.getMergeUserAccountMethod) == null) {
440+
UserServiceGrpc.getMergeUserAccountMethod = getMergeUserAccountMethod =
441+
io.grpc.MethodDescriptor.<com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest, com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse>newBuilder()
442+
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
443+
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "MergeUserAccount"))
444+
.setSampledToLocalTracing(true)
445+
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
446+
com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest.getDefaultInstance()))
447+
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
448+
com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse.getDefaultInstance()))
449+
.setSchemaDescriptor(new UserServiceMethodDescriptorSupplier("MergeUserAccount"))
450+
.build();
451+
}
452+
}
453+
}
454+
return getMergeUserAccountMethod;
455+
}
456+
426457
/**
427458
* Creates a new async stub that supports all call types for the service
428459
*/
@@ -632,6 +663,18 @@ default void getAllUsers(com.aruna.api.storage.services.v2.UserServiceProto.GetA
632663
io.grpc.stub.StreamObserver<com.aruna.api.storage.services.v2.UserServiceProto.GetAllUsersResponse> responseObserver) {
633664
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAllUsersMethod(), responseObserver);
634665
}
666+
667+
/**
668+
* <pre>
669+
* MergeUserAccount
670+
* Status: ALPHA
671+
* Get all users including permissions (Admin only)
672+
* </pre>
673+
*/
674+
default void mergeUserAccount(com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest request,
675+
io.grpc.stub.StreamObserver<com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse> responseObserver) {
676+
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMergeUserAccountMethod(), responseObserver);
677+
}
635678
}
636679

637680
/**
@@ -840,6 +883,19 @@ public void getAllUsers(com.aruna.api.storage.services.v2.UserServiceProto.GetAl
840883
io.grpc.stub.ClientCalls.asyncUnaryCall(
841884
getChannel().newCall(getGetAllUsersMethod(), getCallOptions()), request, responseObserver);
842885
}
886+
887+
/**
888+
* <pre>
889+
* MergeUserAccount
890+
* Status: ALPHA
891+
* Get all users including permissions (Admin only)
892+
* </pre>
893+
*/
894+
public void mergeUserAccount(com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest request,
895+
io.grpc.stub.StreamObserver<com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse> responseObserver) {
896+
io.grpc.stub.ClientCalls.asyncUnaryCall(
897+
getChannel().newCall(getMergeUserAccountMethod(), getCallOptions()), request, responseObserver);
898+
}
843899
}
844900

845901
/**
@@ -1019,6 +1075,18 @@ public com.aruna.api.storage.services.v2.UserServiceProto.GetAllUsersResponse ge
10191075
return io.grpc.stub.ClientCalls.blockingUnaryCall(
10201076
getChannel(), getGetAllUsersMethod(), getCallOptions(), request);
10211077
}
1078+
1079+
/**
1080+
* <pre>
1081+
* MergeUserAccount
1082+
* Status: ALPHA
1083+
* Get all users including permissions (Admin only)
1084+
* </pre>
1085+
*/
1086+
public com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse mergeUserAccount(com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest request) {
1087+
return io.grpc.stub.ClientCalls.blockingUnaryCall(
1088+
getChannel(), getMergeUserAccountMethod(), getCallOptions(), request);
1089+
}
10221090
}
10231091

10241092
/**
@@ -1211,6 +1279,19 @@ public com.google.common.util.concurrent.ListenableFuture<com.aruna.api.storage.
12111279
return io.grpc.stub.ClientCalls.futureUnaryCall(
12121280
getChannel().newCall(getGetAllUsersMethod(), getCallOptions()), request);
12131281
}
1282+
1283+
/**
1284+
* <pre>
1285+
* MergeUserAccount
1286+
* Status: ALPHA
1287+
* Get all users including permissions (Admin only)
1288+
* </pre>
1289+
*/
1290+
public com.google.common.util.concurrent.ListenableFuture<com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse> mergeUserAccount(
1291+
com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest request) {
1292+
return io.grpc.stub.ClientCalls.futureUnaryCall(
1293+
getChannel().newCall(getMergeUserAccountMethod(), getCallOptions()), request);
1294+
}
12141295
}
12151296

12161297
private static final int METHODID_REGISTER_USER = 0;
@@ -1226,6 +1307,7 @@ public com.google.common.util.concurrent.ListenableFuture<com.aruna.api.storage.
12261307
private static final int METHODID_UPDATE_USER_EMAIL = 10;
12271308
private static final int METHODID_GET_NOT_ACTIVATED_USERS = 11;
12281309
private static final int METHODID_GET_ALL_USERS = 12;
1310+
private static final int METHODID_MERGE_USER_ACCOUNT = 13;
12291311

12301312
private static final class MethodHandlers<Req, Resp> implements
12311313
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
@@ -1296,6 +1378,10 @@ public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserv
12961378
serviceImpl.getAllUsers((com.aruna.api.storage.services.v2.UserServiceProto.GetAllUsersRequest) request,
12971379
(io.grpc.stub.StreamObserver<com.aruna.api.storage.services.v2.UserServiceProto.GetAllUsersResponse>) responseObserver);
12981380
break;
1381+
case METHODID_MERGE_USER_ACCOUNT:
1382+
serviceImpl.mergeUserAccount((com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest) request,
1383+
(io.grpc.stub.StreamObserver<com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse>) responseObserver);
1384+
break;
12991385
default:
13001386
throw new AssertionError();
13011387
}
@@ -1405,6 +1491,13 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser
14051491
com.aruna.api.storage.services.v2.UserServiceProto.GetAllUsersRequest,
14061492
com.aruna.api.storage.services.v2.UserServiceProto.GetAllUsersResponse>(
14071493
service, METHODID_GET_ALL_USERS)))
1494+
.addMethod(
1495+
getMergeUserAccountMethod(),
1496+
io.grpc.stub.ServerCalls.asyncUnaryCall(
1497+
new MethodHandlers<
1498+
com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountRequest,
1499+
com.aruna.api.storage.services.v2.UserServiceProto.MergeUserAccountResponse>(
1500+
service, METHODID_MERGE_USER_ACCOUNT)))
14081501
.build();
14091502
}
14101503

@@ -1466,6 +1559,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
14661559
.addMethod(getUpdateUserEmailMethod())
14671560
.addMethod(getGetNotActivatedUsersMethod())
14681561
.addMethod(getGetAllUsersMethod())
1562+
.addMethod(getMergeUserAccountMethod())
14691563
.build();
14701564
}
14711565
}

0 commit comments

Comments
 (0)