| | |
| | | int count = getPacsCount(); |
| | | String user = "ad"; |
| | | String grantingTicketURL = cas.getGrantingTicketURL(user); |
| | | Map<String, String> setParams = new HashMap<String, String>(); |
| | | Map<String, Object> setParams = new HashMap<String, Object>(); |
| | | setParams.put("name", "aaa01"); |
| | | setParams.put("hive", "h99"); |
| | | setParams.put("customer", config.getProperty("accountprefix.customer") + "-aaa"); |
| | | setParams.put("basepac", "DW/B"); |
| | | setParams.put("curinetaddr", "176.9.242.76"); |
| | | HashMap<String, String> components = new HashMap<String, String>(); |
| | | components.put("QUOTA", "512"); |
| | | components.put("TRAFFIC", "8"); |
| | | components.put("TOMCAT", "1"); |
| | | setParams.put("components", components); |
| | | Object[] params = new Object[] { user, |
| | | cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()), |
| | | setParams }; |
| | |
| | | fail(e.getMessage()); |
| | | } |
| | | assertEquals(count + 1, getPacsCount()); |
| | | setParams = new HashMap<String, String>(); |
| | | setParams = new HashMap<String, Object>(); |
| | | Map<String, String> whereParams = new HashMap<String, String>(); |
| | | setParams.put("password", "test123"); |
| | | whereParams.put("name", "aaa01"); |