You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of the configuration is not flexible enough. It also requires you to pass properties around. The way that the properties are loaded for testing and production is different. We should implement a S3FileSystemConfiguration and use this instead of the properties/hash maps.
Tasks
The following tasks will need to be carried out:
Create an S3FileSystemConfiguration and add all the meaningful property keys as fields in this class.
Implement a from(Map<String, ?> map) constructor.
Implement a from(Properties properties) constructor.
Implement a public Map<String, String> asMap().
Implement a public Properties asProperties().
Implement a getBaseURI() method that is a representation of the current bucket for which this configuration is.
Task Description
The current implementation of the configuration is not flexible enough. It also requires you to pass properties around. The way that the properties are loaded for testing and production is different. We should implement a
S3FileSystemConfiguration
and use this instead of the properties/hash maps.Tasks
The following tasks will need to be carried out:
S3FileSystemConfiguration
and add all the meaningful property keys as fields in this class.from(Map<String, ?> map)
constructor.from(Properties properties)
constructor.public Map<String, String> asMap()
.public Properties asProperties()
.getBaseURI()
method that is a representation of the current bucket for which this configuration is.Task Relationships
This task:
Help
The text was updated successfully, but these errors were encountered: