public JSONObject changePlatformType(HttpSession session, JSONObject json) {
String newContainerType = json.getString("platformtype");
PlatformType pt = PlatformType.get(newContainerType);
String cId = json.getString("container_cId");
try {
User user = securityManager.getUserByLoginName(SecurityContextHolder.getContext().getAuthentication().getName());
Map<String, Object> responseMap = new HashMap<String, Object>();
if (pt != null) {
SequencerPartitionContainer<SequencerPoolPartition> lf = dataObjectFactory.getSequencerPartitionContainer(pt, user);
session.setAttribute("container_" + cId, lf);