use of org.talend.components.azurestorage.tazurestorageconnection.TAzureStorageConnectionProperties in project components by Talend.
the class AzureBaseTest method getValidFakeConnection.
public TAzureStorageConnectionProperties getValidFakeConnection() {
TAzureStorageConnectionProperties connection = new TAzureStorageConnectionProperties(PROP_ + "Connection");
connection.protocol.setValue(Protocol.HTTP);
connection.accountName.setValue("fakeAccountName");
connection.accountKey.setValue("fakeAccountKey=ANBHFYRJJFHRIKKJFU");
return connection;
}
use of org.talend.components.azurestorage.tazurestorageconnection.TAzureStorageConnectionProperties in project components by Talend.
the class AzureStorageContainerCreateRuntimeTest method setup.
@Before
public void setup() {
properties = new TAzureStorageContainerCreateProperties(PROP_ + "CreateContainer");
properties.setupProperties();
// valid connection
properties.connection = new TAzureStorageConnectionProperties(PROP_ + "Connection");
properties.connection.protocol.setValue(Protocol.HTTP);
properties.connection.accountName.setValue("fakeAccountName");
properties.connection.accountKey.setValue("fakeAccountKey=ANBHFYRJJFHRIKKJFU");
properties.accessControl.setValue(AccessControl.Public);
runtimeContainer = new RuntimeContainerMock();
this.containerCreate = new AzureStorageContainerCreateRuntime();
}
Aggregations