mneethiraj commented on code in PR #307:
URL: https://github.com/apache/atlas/pull/307#discussion_r2093472806
##########
client/client-v2/src/main/java/org/apache/atlas/AtlasClientV2.java:
##########
@@ -1039,6 +1053,30 @@ public API formatPathWithParameter(API api, String...
params) {
return formatPathParameters(api, params);
}
+ public AtlasAsyncImportRequest importAsync(AtlasImportRequest request,
InputStream stream) throws AtlasServiceException {
+ return performAsyncImport(getImportRequestBodyPart(request), new
StreamDataBodyPart(IMPORT_DATA_PARAMETER, stream));
+ }
+
+ public PList<AsyncImportStatus> getAsyncImportStatus() throws
AtlasServiceException {
+ return getAsyncImportStatus(0, 50);
Review Comment:
The method name, `getAsyncImportStatus()`, does not convey that it returns
only first 50 entries. Hence I suggested removing this method. If such a
functionality is essential, I suggest to rename the method to
`getStatusOfFirst50AsyncImports()`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]