list command
Example: Lists JDBC entities
gateway83
Purpose and Usage |
|
Example
: Lists JDBC entities
$ ./GatewayMigrationUtility.sh list --argFile commonarguments.properties --type jdbc_connection Running... 3240ff529357f3f99512f23caa7d04b Oauth 5ecae07f6kelskdfkdlgsjdklf389bl Copy of Oauth
Example
: Lists folders
$ ./GatewayMigrationUtility.sh list -h gatewayhost -u user -x encodedpassword -t folder 0000000000000000ffffffffffffec76 RootNode 0a187efe34d9347e6d8e06a5a6d48320 folder1 0a187efe34d9347e6d8e06a5a6d4aaaa folder2
Example: Using "--filter" to pass parameters to RESTman
$ ./GatewayMigrationUtility.sh list --type service --filter "sort=name&order=desc"Translates to the RESTman call:http://gateway.mycompany.com:8080/restman/1.0/services? sort=name&order=desc$ ./GatewayMigrationUtility.sh list --type folder --filter "parentFolder.id=1234567890&name=TEST"Translates to the RESTman call:http://gateway.mycompany.com:8080/restman/1.0/folders?parentFolder.id=1234567890&name=TEST