X
All REST/WAMP calls needed for happy path test
POST ${auth_server}/backend/v1/auth/login -d 'username=${username}&password=${password}
$token = response.token
POST ${backend}/nimblets/v3/nimblets -d '{"type": "project", "name": "cooltestproj"}'
$project_id = response.id
POST ${backend}/nimblets/v3/templates -d '{"parent": ${project_id}, "template": "blender_asset_template", "name": "cooltestasset"}'
$asset_id = response.id
$blend_file_id = response.children.get(type='versioned_file')
? create sanbox call
PUT ${backend}/appstream/v2/session -d '{"nimblet": ${blend_file_id}}'
$hash = response.frameapp_args.hash
$session_id = response.id
./appstream/scripts/faker nc_launcher -s ${session_id} -x ${sandbox_id} -z ${zone} -t "Token ${token}"
$faker_pid = pid
RPC appstreamsession.6.launch {app_path: "nc_blender", file_path: ${file_path}, sandbox_id: ${sandbox_id}}
? fake modify a file
./appstream/scripts/faker nc_post_hook
kill ${faker_pid}