// Initialize flow variables\r
initializeProcessVariables(execution)\r
setSuccessIndicator(execution, false)\r
-
- try {\r
- String basicAuthValueDB = execution.getVariable("URN_mso_adapters_db_auth")\r
- utils.log("DEBUG", " Obtained BasicAuth userid password for Catalog DB adapter: " + basicAuthValueDB, isDebugLogEnabled)\r
- \r
- def encodedString = utils.getBasicAuth(basicAuthValueDB, execution.getVariable("URN_mso_msoKey"))\r
- execution.setVariable("BasicAuthHeaderValueDB",encodedString)\r
- } catch (IOException ex) {\r
- String dataErrorMessage = " Unable to encode Catalog DB user/password string - " + ex.getMessage()\r
- utils.log("DEBUG", dataErrorMessage, isDebugLogEnabled)\r
- exceptionUtil.buildAndThrowWorkflowException(execution, 2500, dataErrorMessage)\r
- } \r
+ \r
+ setBasicDBAuthHeader(execution, isDebugLogEnabled)\r
\r
try {\r
def xml = execution.getVariable("FalloutHandlerRequest")\r
\r
try {\r
String payload = """\r
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:req="http://org.openecomp.mso/requestsdb">\r
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:req="${execution.getVariable("URN_mso_default_adapter_namespace")}/requestsdb">\r
<soapenv:Header/>\r
<soapenv:Body>\r
<req:updateRequest>\r