return mongoServiceCreator.createService(mongoServiceInfo());
}
@Bean
public DataSource dataSource() {
RdbmsServiceInfo rdbmsServiceInfo = cloudEnvironment().getServiceInfos( RdbmsServiceInfo.class).iterator().next();
assert null != rdbmsServiceInfo : "there needs to be at least one MySQL RDBMS bound to this application";
RdbmsServiceCreator rdbmsServiceCreator = new RdbmsServiceCreator();
return rdbmsServiceCreator.createService(rdbmsServiceInfo);
}