return new CloudEnvironment();
}
@Bean
public MongoServiceInfo mongoServiceInfo() {
MongoServiceInfo mongoServiceInfo = cloudEnvironment().getServiceInfos( MongoServiceInfo.class).iterator().next();
assert null != mongoServiceInfo : "there needs to be at least one MongoDB instance bound to this application" ;
return mongoServiceInfo;
}