${appfactory_hostname} ${appfactory_port} https /appmgt/site/pages/index.jag GET true false true false HttpClient4 false Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}/appmgt/ Accept-Encoding gzip, deflate false SAMLRequest name="SAMLRequest"\s+value="([^"]+?)" $1$ REGULAR_EXPRESSION_FAILED_FOR_SAMLRequest_STRING 1 false RelayState name="RelayState"\s+value="([^"]+?)" $1$ RelayState_Extractor_FAILED 1 false SSOAuthSessionID name="SSOAuthSessionID"\s+value="([^"]+?)" $1$ SSOAuthSessionID_Extractor_FAILED 1 true response_cookie_appfactory Set-Cookie: JSESSIONID=(.*?); $1$ cookie_Extractor_FAILED 1 true SAMLRequest ${SAMLRequest} = true false RelayState ${RelayState} = true false SSOAuthSessionID ${SSOAuthSessionID} = true ${appfactory_hostname} ${appfactory_port} https UTF-8 /samlsso POST true false true false HttpClient4 false Content-Type application/x-www-form-urlencoded Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}/appmgt/site/pages/index.jag Accept-Encoding gzip, deflate false assertnConsumerURL name="assertnConsumerURL"\s+value="([^"]+?)" $1$ assertnConsumerURL_Extractor_FAILED 1 false issuer name="issuer"\s+value="([^"]+?) $1$ issuer_Extractor_FAILED 1 false id name="id"\s+value="([^"]+?)" $1$ id_Extractor_FAILED 1 false subject name="subject"\s+value="([^"]+?)" $1$ subject_Extractor_FAILED 1 false relyingPartySessionId name="relyingPartySessionId"\s+value="([^"]+?)" $1$ relyingPartySessionId_Extractor_FAILED 1 false requestMessageString name="requestMessageString"\s+value="([^"]+?)" $1$ requestMessageString_Extractor_FAILED 1 false RelayState name="RelayState"\s+value="([^"]+?)" $1$ RelayState_Extractor_FAILED 1 true response_cookie_is Set-Cookie: JSESSIONID=(.*?); $1$ cookie_Extractor_FAILED 1 true username ${username} = true false assertnConsumerURL ${assertnConsumerURL} = true true issuer WSO2 AppFactory Application Management = true false id ${id} = true false subject ${subject} = true false relyingPartySessionId ${relyingPartySessionId} = true true requestMessageString ${requestMessageString} = true false RelayState ${RelayState} = true false password ${password} = true ${appfactory_hostname} ${appfactory_port} https UTF-8 /samlsso POST true false true false HttpClient4 false Content-Type application/x-www-form-urlencoded Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}/samlsso Accept-Encoding gzip, deflate false SAMLResponse name="SAMLResponse"\s+value="([^"]+?)" $1$ SAMLResponse_Extractor_FAILED 1 false RelayState name="RelayState"\s+value="([^"]+?)" $1$ RelayState_Extractor_FAILED 1 ${response_cookie_is} ${appfactory_hostname} /samlsso true 0 true true false true response_cookie_sso Set-Cookie: ssoTokenId=(.*?); $1$ cookie_Extractor_FAILED 1 true SAMLResponse ${SAMLResponse} = true false RelayState ${RelayState} = true ${appfactory_hostname} ${appfactory_port} https UTF-8 /appmgt/jagg/jaggery_acs.jag POST true false true false HttpClient4 false Content-Type application/x-www-form-urlencoded Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}/samlsso Accept-Encoding gzip, deflate ${response_cookie_appfactory} ${appfactory_hostname} /appmgt true 0 true true ${response_cookie_sso} false 0 true true false false saveConfig true true true true true true true false true true false false false false false false false false 0 true true action bulkImportUsers = true true users ${af_user} = true true ${af_user_password} = true defaultPassword ${appfactory_hostname} ${appfactory_port} https UTF-8 /appmgt/site/blocks/tenant/users/add/ajax/add.jag POST true false true false HttpClient4 false Content-Type application/x-www-form-urlencoded Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}/samlsso Accept-Encoding gzip, deflate ${response_cookie_appfactory} ${appfactory_hostname} /appmgt true 0 true true false false saveConfig true true true true true true true false true true false false false false false false false false 0 true true action createNewApplication = true true applicationName ${app_name} = true true ${app_key} = true applicationKey true ${app_desc} = true applicationDescription true ${app_ext} = true applicationType true ${app_type} = true repositoryType true ${username}@${tenant_domain} = true userName ${appfactory_hostname} ${appfactory_port} https UTF-8 /appmgt/site/blocks/application/add/ajax/add.jag POST true false true false HttpClient4 false Content-Type application/x-www-form-urlencoded Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}/samlsso Accept-Encoding gzip, deflate ${response_cookie_appfactory} ${appfactory_hostname} /appmgt true 0 true true false false true false ${__javaScript("${app_key}" != "<EOF>")} ${working_dir}/sample_data/apps/af_apps.csv app_name,app_key,app_desc,app_ext,app_type , false false true shareMode.thread false action inviteUserToApplication = true false applicationKey ${app_key} = true true users ${username} = true ${appfactory_hostname} ${appfactory_port} https UTF-8 /appmgt/site/blocks/application/users/add/ajax/add.jag POST true false true false HttpClient4 false Content-Type application/x-www-form-urlencoded Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}/samlsso Accept-Encoding gzip, deflate ${response_cookie_appfactory} ${appfactory_hostname} /appmgt true 0 true true false false saveConfig true true true true true true true false true true false false false false false false false false 0 true false saveConfig true true true true true true true false true true false false false false false false false false 0 true false 0 ./clone_and_push.sh ${working_dir} = ${organization} = ${app_key} = ${af_user} = ${af_user_password} = ${git_host_name} = ${working_dir} ${working_dir}/git.log ${working_dir}/git.log ${working_dir}/git.log false action createArtifact = true false applicationKey ${app_key} = true false version trunk = true false revision = true false stage Development = true false doDeploy false = true false tagName = true ${appfactory_hostname} ${appfactory_port} https UTF-8 /appmgt/site/blocks/lifecycle/add/ajax/add.jag POST true false true false false Content-Type application/x-www-form-urlencoded; charset=UTF-8 Accept-Language en-US,en;q=0.5 Accept */* User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Pragma no-cache Cache-Control no-cache Accept-Encoding gzip, deflate X-Requested-With XMLHttpRequest Referer https://${appfactory_hostname}/appmgt/site/pages/build.jag?applicationName=${app_name}&applicationKey=${app_key} ${response_cookie_appfactory} ${appfactory_hostname} /appmgt true 0 true true false false saveConfig true true true true true true true false true true false false false false false false false false 0 true false action deployArtifact = true false applicationKey ${app_key} = true false version trunk = true false stage Development = true false tagName = true false deployAction deploy = true false ${username} = true userName ${appfactory_hostname} ${appfactory_port} https UTF-8 /appmgt/site/blocks/build/add/ajax/add.jag POST true false true false false Content-Type application/x-www-form-urlencoded; charset=UTF-8 Accept-Language en-US,en;q=0.5 Accept */* User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Pragma no-cache Cache-Control no-cache Accept-Encoding gzip, deflate X-Requested-With XMLHttpRequest Referer https://${appfactory_hostname}/appmgt/site/pages/build.jag?applicationName=${app_name}&applicationKey=${app_key} ${response_cookie_appfactory} ${appfactory_hostname} /appmgt true 0 true true false false saveConfig true true true true true true true false true true false false false false false false false false 0 true ${appfactory_hostname} ${appfactory_port} https /appmgt/site/pages/index.jag GET true false true false HttpClient4 false Get Saml request Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}:${appfactory_port}/appmgt/ Accept-Encoding gzip, deflate false SAMLRequest name="SAMLRequest"\s+value="([^"]+?)" $1$ REGULAR_EXPRESSION_FAILED_FOR_SAMLRequest_STRING 1 false RelayState name="RelayState"\s+value="([^"]+?)" $1$ RelayState_Extractor_FAILED 1 false SSOAuthSessionID name="SSOAuthSessionID"\s+value="([^"]+?)" $1$ SSOAuthSessionID_Extractor_FAILED 1 true response_cookie_appfactory Set-Cookie: JSESSIONID=(.*?); $1$ cookie_Extractor_FAILED 1 true SAMLRequest ${SAMLRequest} = true false RelayState ${RelayState} = true false SSOAuthSessionID ${SSOAuthSessionID} = true ${appfactory_hostname} ${appfactory_port} https UTF-8 /samlsso POST true false true false HttpClient4 false Call samlsso to create session data key Content-Type application/x-www-form-urlencoded Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}:${appfactory_port}.com/appmgt/site/pages/index.jag Accept-Encoding gzip, deflate false id name="id"\s+value="([^"]+?)" $1$ id_Extractor_FAILED 1 false subject name="subject"\s+value="([^"]+?)" $1$ subject_Extractor_FAILED 1 true response_cookie_is Set-Cookie: JSESSIONID=(.*?); $1$ cookie_Extractor_FAILED 1 false sessionDataKey name="sessionDataKey"\s+value="([^"]+?)" $1$ sessionDataKey_Extractor_FAILED 1 true username ${username}@${tenant_domain} = true true issuer appfactory = true false RelayState ${RelayState} = true false password ${password} = true false ${sessionDataKey} = true sessionDataKey false /samlsso = true commonAuthCallerPath false true = true forceAuthenticate ${appfactory_hostname} ${appfactory_port} https UTF-8 /commonauth POST true false true false HttpClient4 false Call commonauth to get saml token Content-Type application/x-www-form-urlencoded Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}:${appfactory_port}/samlsso Accept-Encoding gzip, deflate true response_cookie_sso Set-Cookie: ssoTokenId=(.*?); $1$ cookie_Extractor_FAILED 1 true response_cookie_appfactory Set-Cookie: JSESSIONID=(.*?); $1$ cookie_Extractor_FAILED 1 SAMLResponse input[name=SAMLResponse] value SAMLResponse_Extractor_FAILED 1 RelayState input[name=RelayState] value RelayState_Extractor_FAILED 1 true SAMLResponse ${SAMLResponse} = true true RelayState ${RelayState} = true true ${SAMLRequest} = true SAMLRequest true ${appfactory_hostname} ${appfactory_port} https UTF-8 /appmgt/jagg/jaggery_acs.jag POST true false true false HttpClient4 false This will logs user in Content-Type application/x-www-form-urlencoded Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}:${appfactory_port}/samlsso Accept-Encoding gzip, deflate 3000 false saveConfig true true true true true true true false true true false false false false false false false false 0 true AF users set af_users.csv af_user,af_user_password , false false true shareMode.group true action updateUserRoles = true true userName ${af_user} = true true = true rolesToDelete true ${af_user_role} = true rolesToAdd ${appfactory_hostname} ${appfactory_port} https UTF-8 /appmgt/site/blocks/tenant/users/add/ajax/add.jag POST true false true false HttpClient4 false Content-Type application/x-www-form-urlencoded Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}/samlsso Accept-Encoding gzip, deflate ${response_cookie_appfactory} ${appfactory_hostname} /appmgt true 0 true true false false saveConfig true true true true true true true false true true false false false false false false false false 0 true false login = true action false ${username}@${tenant_domain} = true userName false ${password} = true password ${appfactory_hostname} ${appfactory_port} https /appmgt/site/blocks/user/login/ajax/login.jag GET true false true false HttpClient4 false Accept-Language en-US,en;q=0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Referer https://${appfactory_hostname}:${appfactory_port}/appmgt/ Accept-Encoding gzip, deflate true response_cookie_appfactory Set-Cookie: JSESSIONID=(.*?); $1$ cookie_Extractor_FAILED 1 200 Assertion.response_code false 2 false saveConfig true true true true true true true false true true false false false false false false false false 0 true