@Test public void testToVendorConfigurations_noData() { AwsConfiguration awsConfiguration = new AwsConfiguration(); List<Configuration> c = awsConfiguration.toVendorIndependentConfigurations(); assertThat(c, equalTo(ImmutableList.of())); }
@Nonnull @Override public List<Configuration> toVendorIndependentConfigurations() throws VendorConversionException { if (_convertedConfiguration == null) { convertConfigurations(); } return ImmutableList.copyOf(_convertedConfiguration.getAllNodes()); }
AwsConfiguration extends VendorConfiguration { @Nonnull @Override public List<Configuration> toVendorIndependentConfigurations() throws VendorConversionException { if (_convertedConfiguration == null) { convertConfigurations(); } return ImmutableList.copyOf(_convertedConfiguration.getAllNodes()); } }
AwsConfiguration extends VendorConfiguration { @Nonnull @Override public List<Configuration> toVendorIndependentConfigurations() throws VendorConversionException { if (_convertedConfiguration == null) { convertConfigurations(); } return ImmutableList.copyOf(_convertedConfiguration.getAllNodes()); } AwsConfiguration(); private  AwsConfiguration(Map<String, Account> accounts); }
AwsConfiguration extends VendorConfiguration { @Nonnull @Override public List<Configuration> toVendorIndependentConfigurations() throws VendorConversionException { if (_convertedConfiguration == null) { convertConfigurations(); } return ImmutableList.copyOf(_convertedConfiguration.getAllNodes()); } AwsConfiguration(); private  AwsConfiguration(Map<String, Account> accounts); Collection<Account> getAccounts(); @Nonnull Stream<Vpc> getAllVpc(); @Nullable Vpc getVpc(String vpcId); @Nonnull Account addOrGetAccount(String accountId); void addConfigElement(
      String region,
      JsonNode json,
      String sourceFileName,
      ParseVendorConfigurationAnswerElement pvcae,
      String account); @Nonnull @Override List<Configuration> toVendorIndependentConfigurations(); @Override @Nonnull IspConfiguration getIspConfiguration(); @Override String getFilename(); @Override String getHostname(); @Override @Nonnull Set<Layer1Edge> getLayer1Edges(); @Override void setHostname(String hostname); @Override void setVendor(ConfigurationFormat format); static String vpnExternalInterfaceName(String tunnelId); static String vpnTunnelId(String vpnConnectionId, int idNum); static String vpnInterfaceName(String tunnelId); }
AwsConfiguration extends VendorConfiguration { @Nonnull @Override public List<Configuration> toVendorIndependentConfigurations() throws VendorConversionException { if (_convertedConfiguration == null) { convertConfigurations(); } return ImmutableList.copyOf(_convertedConfiguration.getAllNodes()); } AwsConfiguration(); private  AwsConfiguration(Map<String, Account> accounts); Collection<Account> getAccounts(); @Nonnull Stream<Vpc> getAllVpc(); @Nullable Vpc getVpc(String vpcId); @Nonnull Account addOrGetAccount(String accountId); void addConfigElement(
      String region,
      JsonNode json,
      String sourceFileName,
      ParseVendorConfigurationAnswerElement pvcae,
      String account); @Nonnull @Override List<Configuration> toVendorIndependentConfigurations(); @Override @Nonnull IspConfiguration getIspConfiguration(); @Override String getFilename(); @Override String getHostname(); @Override @Nonnull Set<Layer1Edge> getLayer1Edges(); @Override void setHostname(String hostname); @Override void setVendor(ConfigurationFormat format); static String vpnExternalInterfaceName(String tunnelId); static String vpnTunnelId(String vpnConnectionId, int idNum); static String vpnInterfaceName(String tunnelId); static final String DEFAULT_REGION_NAME; static final String DEFAULT_ACCOUNT_NAME; static final String AWS_BACKBONE_HOSTNAME; }