Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. HashMap<String, String> xmlPath = new HashMap<>();
  2. xmlPath.put("offers-request-cancellation", "offers-request_cancel_xml");
  3. xmlPath.put("open-competition-cancellation", "open_competition_cancel_xml");
  4. xmlPath.put("open-competition-lp-cancellation", "open_competition_lp_cancel_xml");
  5. xmlPath.put("two-stage-competition-cancellation", "two_stage_competition_cancel_xml");
  6. xmlPath.put("call-for-quotes-cancellation", "call_for_quotes_cancel_xml");
  7. xmlPath.put("auction-cancellation-1", "local_xml_for_cancellation_path");
  8. xmlPath.put("auction-cancellation-2", "local_xml_for_cancellation_path");
  9. xmlPath.put("auction-cancellation-3", "local_xml_for_cancellation_path");
  10. xmlPath.put("call-for-quotes-p-e", "modification_CfQ_xml");
  11. xmlPath.put("open-competition-p-e", "modification_OK_xml");
  12. xmlPath.put("offers-request-p-e", "modification_OffersRequest_xml");
  13. xmlPath.put("cpContractProject", "cpContractProject_xml");
  14. xmlPath.put("cpContractProjectForTwoStageCompetition", "cpContractProjectTwoStageCompetition_xml");
  15. xmlPath.put("cpContractSign", "cpContractSign_xml");
  16. xmlPath.put("cpContractProjectChange", "cpContractProjectChange_xml");
  17. xmlPath.put("cpContractSignAfterChangeContract", "cpContractSignAfterChangeContract_xml");
  18. xmlPath.put("protocolDeviation", "protocolDeviation_xml");
  19. xmlPath.put("cpContractProjectAfterDeviationSupplier", "cpContractProjectAfterDeviationSupplier_xml");
  20. xmlPath.put("fcsProtocolEvasion", "protocolEvasion_xml");
  21. xmlPath.put("contractProject_customer7_participant2", "contractProject_customer7_participant2_xml");
  22. xmlPath.put("contractProject_customer1_participant2", "contractProject_customer1_participant2_xml");
  23. xmlPath.put("contractProject_customer8_participant2", "contractProject_customer8_participant2_xml");
  24. xmlPath.put("contractSign_customer7_participant2", "contractSign_customer7_participant2_xml");
  25. xmlPath.put("contractSign_customer8_participant3", "contractSign_customer8_participant3_xml");
  26. xmlPath.put("protocolEvasion_customer8", "protocolEvasion_customer8_xml");
  27. xmlPath.put("contractProject_customer8_participant3", "contractProject_customer8_participant3_xml");
  28. xmlPath.put("protocolDeviation_customer1", "protocolDeviation_customer1_xml");
  29. xmlPath.put("contractProject_customer1_participant3", "contractProject_customer1_participant3_xml");
  30. xmlPath.put("contractSign_customer8_participant2", "contractSign_customer8_participant2_xml");
  31. xmlPath.put("contractProject_customer7_participant3", "contractProject_customer7_participant3_xml");
  32. xmlPath.put("contractSign_customer7_participant3", "contractSign_customer7_participant3_xml");
  33. if(config.getParameter("param_GO_size").contains("0,01")){
  34. xmlPath.put("enforceability-deadline-extensions", "local_xml_path_with_GO");
  35. xmlPath.put("enforceability-deadline-extensions-2", "local_xml_path_with_GO");
  36. xmlPath.put("enforceability-deadline-extensions-3", "local_xml_path_with_GO");
  37. xmlPath.put("enforceability-deadline-extensions-4", "local_xml_path_with_GO");
  38. } else {
  39. xmlPath.put("enforceability-deadline-extensions", "local_xml_path");
  40. xmlPath.put("enforceability-deadline-extensions-2", "local_xml_path");
  41. xmlPath.put("enforceability-deadline-extensions-3", "local_xml_path");
  42. xmlPath.put("enforceability-deadline-extensions-4", "local_xml_path");
  43. }
  44.  
  45. String path = configContainer.getConfigParameter(xmlPath.get(config.getParameter("param_test_type")));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement