- ${body} OperatingSystem.Get File ${genius_config_dir}/releaseIds.json
- log ${body}
- ${body} replace string ${body} test-key ${test_keys[2]}
- Post Elements To URI ${OPERATIONS_API}/id-manager:releaseId ${body}
- ${get_resp} RequestsLibrary.Get Request session ${CONFIG_API}/id-manager:id-pools/id-pool/${pool-name}/
- ${respjson} RequestsLibrary.To Json ${get_resp.content} pretty_print=True
- Log ${respjson}
- Should Be Equal As Strings ${get_resp.status_code} 200
- ${child-pool-name} Should Match Regexp ${get_resp.content} ${pool-name}\.[0-9]+
- log ${child-pool-name}
- ${get_releasedIds} RequestsLibrary.Get Request session ${CONFIG_API}/id-manager:id-pools/id-pool/${child-pool-name}/released-ids-holder/
- ${respjson} RequestsLibrary.To Json ${get_releasedIds.content} pretty_print=True
- log ${respjson}
+ ${body} = OperatingSystem.Get File ${genius_config_dir}/releaseIds.json
+ BuiltIn.Log ${body}
+ ${body} = String.Replace String ${body} test-key ${test_keys[2]}
+ Utils.Post Elements To URI ${OPERATIONS_API}/id-manager:releaseId ${body}
+ ${get_resp} = RequestsLibrary.Get Request session ${CONFIG_API}/id-manager:id-pools/id-pool/${pool-name}/
+ ${respjson} = RequestsLibrary.To Json ${get_resp.content} pretty_print=True
+ BuiltIn.Log ${respjson}
+ BuiltIn.Should Be Equal As Strings ${get_resp.status_code} 200
+ ${child-pool-name} = BuiltIn.Should Match Regexp ${get_resp.content} ${pool-name}\.[-]?[0-9]+
+ BuiltIn.Log ${child-pool-name}
+ ${get_releasedIds} = RequestsLibrary.Get Request session ${CONFIG_API}/id-manager:id-pools/id-pool/${child-pool-name}/released-ids-holder/
+ ${respjson} = RequestsLibrary.To Json ${get_releasedIds.content} pretty_print=True
+ BuiltIn.Log ${respjson}