changed test

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154697 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-09-28 16:32:21 +00:00
parent 7e567fb247
commit 6c2a602c8d
1 changed files with 11 additions and 0 deletions

View File

@ -224,6 +224,17 @@ public class ContextManagementImplTest {
UUID NextNext = NextNextContex.getHeader().getUUID();
logger.trace("/gcube/devNext/NextNext : {}", NextNextJson);
String preprodJson = contextManagementImpl.create(gcube, "preprod");
Context preprodContex = ISMapper.unmarshal(Context.class, preprodJson);
UUID preprod = preprodContex.getHeader().getUUID();
logger.trace("/gcube/devsec : {}", preprodJson);
String preVREJson = contextManagementImpl.create(preprod, "preVRE");
Context preVREContex = ISMapper.unmarshal(Context.class, preVREJson);
@SuppressWarnings("unused")
UUID preVRE = preVREContex.getHeader().getUUID();
logger.trace("/gcube/devsec/devVRE : {}", preVREJson);
/*
* contextManagementImpl.delete(NextNext);
* contextManagementImpl.delete(devNext);