Skip to content

ROS - Tool for export realms using path from Sync Worker #3

Open
@landscape82

Description

@landscape82

Is it possible to create simple tool that would export to JSON or (better) CSV list of realms in Cloud Instance, following path. For example - We need list of all realms in path '/vending/breakout/', example output should look like this:

/vending/breakout/M001
/vending/breakout/v1/MN001
...
/vending/breakout/v2/MN031
/vending/breakout/v2/MN032
...

Optional: It could also contain after name of realm after coma - sync label = it could be easier then to establish on which Sync Worker is located.

Suggestion. We could use this script in similar way, usage:

ros-path-realm-list -s INSTANCE URL -t TOKEN -p PATH 
ros-path-realm-list -s https://some-instance.us1.cloud.realm.io/ -t a1b2c3d4e5... -p /vending

Example output:

/vending/breakout/M001;default 
/vending/breakout/v2/MN032;alfa
...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions