${return} = Set Variable If '${stdout}' == 'null' ${EMPTY} ${stdout}
[Return] ${return}
+
+Get Application Names
+ [Documentation] Return the list of the application of a VNF instance.
+
+ [Arguments] ${ns_name}
+
+ ${rc} ${stdout}= Run and Return RC and Output osm ns-show ${ns_name} --literal | yq ._admin.deployed.VCA[].application | tr -d \\"
+ Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False
+ @{app_names} = Split String ${stdout}
+ [Return] ${app_names}
\ No newline at end of file