Skip to content

Commit f10ac31

Browse files
committed
Revert "Set vault ID as vendor key in profile."
This reverts commit 4a5d284.
1 parent 051d8bb commit f10ac31

File tree

3 files changed

+3
-53
lines changed

3 files changed

+3
-53
lines changed

hub/src/main/java/cloud/katta/protocols/hub/HubAwareProfile.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@
88
import ch.cyberduck.core.Protocol;
99

1010
import cloud.katta.client.model.ConfigDto;
11-
import cloud.katta.client.model.VaultDto;
1211
import cloud.katta.model.StorageProfileDtoWrapper;
1312
import cloud.katta.protocols.hub.serializer.HubConfigDtoDeserializer;
1413
import cloud.katta.protocols.hub.serializer.StorageProfileDtoWrapperDeserializer;
15-
import cloud.katta.protocols.hub.serializer.VaultDtoDeserializer;
1614

1715
public final class HubAwareProfile extends Profile {
1816
private final HubSession hub;
1917

20-
public HubAwareProfile(final HubSession hub, final Protocol parent, final ConfigDto configDto, final StorageProfileDtoWrapper storageProfile, final VaultDto vaultDto) {
21-
super(parent, new HubConfigDtoDeserializer(configDto, new StorageProfileDtoWrapperDeserializer(storageProfile, new VaultDtoDeserializer(vaultDto))));
18+
public HubAwareProfile(final HubSession hub, final Protocol parent, final ConfigDto configDto, final StorageProfileDtoWrapper storageProfile) {
19+
super(parent, new HubConfigDtoDeserializer(configDto, new StorageProfileDtoWrapperDeserializer(storageProfile)));
2220
this.hub = hub;
2321
}
2422

hub/src/main/java/cloud/katta/protocols/hub/HubVaultListService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public AttributedList<Path> list(final Path directory, final ListProgressListene
6767
case S3_STS:
6868
final ProtocolFactory protocols = ProtocolFactory.get();
6969
final Profile profile = new HubAwareProfile(session, protocols.forType(protocols.find(ProtocolFactory.BUNDLED_PROFILE_PREDICATE), Protocol.Type.s3),
70-
session.getConfig(), storageProfile, vaultDto);
70+
session.getConfig(), storageProfile);
7171
log.debug("Register profile {}", profile);
7272
protocols.register(profile);
7373
break;

hub/src/main/java/cloud/katta/protocols/hub/serializer/VaultDtoDeserializer.java

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)