File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/com/dtsx/astra/cli/db Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 3939import com .dtsx .astra .cli .org .ServiceOrganization ;
4040import com .dtsx .astra .cli .utils .AstraCliUtils ;
4141import com .dtsx .astra .cli .utils .EnvFile ;
42+ import com .dtsx .astra .sdk .db .AstraDBOpsClient ;
4243import com .dtsx .astra .sdk .db .DbOpsClient ;
4344import com .dtsx .astra .sdk .db .domain .CloudProviderType ;
4445import com .dtsx .astra .sdk .db .domain .Database ;
4546import com .dtsx .astra .sdk .db .domain .DatabaseCreationBuilder ;
4647import com .dtsx .astra .sdk .db .domain .DatabaseCreationRequest ;
48+ import com .dtsx .astra .sdk .db .domain .DatabaseFilter ;
4749import com .dtsx .astra .sdk .db .domain .DatabaseRegion ;
4850import com .dtsx .astra .sdk .db .domain .DatabaseRegionServerless ;
4951import com .dtsx .astra .sdk .db .domain .DatabaseStatusType ;
@@ -489,7 +491,8 @@ public void listDb(boolean flagVector) {
489491 sht .addColumn (COLUMN_STATUS , COLUMN_STATUS_WIDTH );
490492 CliContext .getInstance ()
491493 .getApiDevopsDatabases ()
492- .findAllNonTerminated ()
494+ // Increase the limit to 1000 for this request
495+ .search (DatabaseFilter .builder ().limit (1000 ).build ())
493496 .filter (db -> !flagVector || (db .getInfo ().getDbType () != null ))
494497 .forEach (db -> {
495498 Map <String , String > rf = new HashMap <>();
You can’t perform that action at this time.
0 commit comments