@Test public void testComponentQuery() throws IOException { restoreBlobStrategy.getComponentQuery(helmRestoreBlobData); verify(helmRestoreFacet, times(1)).getComponentQuery(any(HelmAttributes.class)); }
@Override protected Query getComponentQuery(final HelmRestoreBlobData data) throws IOException { HelmRestoreFacet facet = getRestoreFacet(data); RestoreBlobData blobData = data.getBlobData(); HelmAttributes attributes = facet.extractComponentAttributesFromArchive(blobData.getBlobName(), blobData.getBlob().getInputStream()); return facet.getComponentQuery(attributes); }
HelmRestoreBlobStrategy extends BaseRestoreBlobStrategy<HelmRestoreBlobData> { @Override protected Query getComponentQuery(final HelmRestoreBlobData data) throws IOException { HelmRestoreFacet facet = getRestoreFacet(data); RestoreBlobData blobData = data.getBlobData(); HelmAttributes attributes = facet.extractComponentAttributesFromArchive(blobData.getBlobName(), blobData.getBlob().getInputStream()); return facet.getComponentQuery(attributes); } }
HelmRestoreBlobStrategy extends BaseRestoreBlobStrategy<HelmRestoreBlobData> { @Override protected Query getComponentQuery(final HelmRestoreBlobData data) throws IOException { HelmRestoreFacet facet = getRestoreFacet(data); RestoreBlobData blobData = data.getBlobData(); HelmAttributes attributes = facet.extractComponentAttributesFromArchive(blobData.getBlobName(), blobData.getBlob().getInputStream()); return facet.getComponentQuery(attributes); } @Inject  HelmRestoreBlobStrategy(final NodeAccess nodeAccess,
                                 final RepositoryManager repositoryManager,
                                 final BlobStoreManager blobStoreManager,
                                 final DryRunPrefix dryRunPrefix); }
HelmRestoreBlobStrategy extends BaseRestoreBlobStrategy<HelmRestoreBlobData> { @Override protected Query getComponentQuery(final HelmRestoreBlobData data) throws IOException { HelmRestoreFacet facet = getRestoreFacet(data); RestoreBlobData blobData = data.getBlobData(); HelmAttributes attributes = facet.extractComponentAttributesFromArchive(blobData.getBlobName(), blobData.getBlob().getInputStream()); return facet.getComponentQuery(attributes); } @Inject  HelmRestoreBlobStrategy(final NodeAccess nodeAccess,
                                 final RepositoryManager repositoryManager,
                                 final BlobStoreManager blobStoreManager,
                                 final DryRunPrefix dryRunPrefix);  }
HelmRestoreBlobStrategy extends BaseRestoreBlobStrategy<HelmRestoreBlobData> { @Override protected Query getComponentQuery(final HelmRestoreBlobData data) throws IOException { HelmRestoreFacet facet = getRestoreFacet(data); RestoreBlobData blobData = data.getBlobData(); HelmAttributes attributes = facet.extractComponentAttributesFromArchive(blobData.getBlobName(), blobData.getBlob().getInputStream()); return facet.getComponentQuery(attributes); } @Inject  HelmRestoreBlobStrategy(final NodeAccess nodeAccess,
                                 final RepositoryManager repositoryManager,
                                 final BlobStoreManager blobStoreManager,
                                 final DryRunPrefix dryRunPrefix);   }