// adapters must be configured
// all required props must be set
for ( Store store : stores )
{
String adapterName = store.getAdapter( );
AdapterConfig adapterCfg = CliSession.getSession( ).getCloudloop( ).getProviderFactory( ).getAdapterConfig( adapterName );
if ( adapterCfg == null )
{
error.println("Adapter '" + adapterName + "' has not been configured but is set as the adapter for store '" + store.getName( ) + "'." );
error.flush( );
return false;
}
Map<String, String> requiredProps = adapterCfg.getRequiredProperties( );
List<PropertyType> configuredProps = store.getProperty( );
for ( String propName : requiredProps.keySet( ) )
{
boolean propFound = false;
for ( PropertyType prop : configuredProps )