public String writeMetaEntity(EntityType etype, String payload) throws StorageDoesNotExistException{
// TODO Auto-generated method stub
if (payload != null) {
switch (etype) {
case STORAGE:
PaasStorageEntity pse = PaasStorageEntity.builder()
.withJsonPayLoad(new JsonObject(payload)).build();
String retsto = meta.writeMetaEntity(pse);
cache.addEntityToCache(EntityType.STORAGE, pse);
return retsto;
case DB: