use of com.netflix.spinnaker.front50.config.GcsProperties in project halyard by spinnaker.
the class GCSValidator method getGoogleCloudStorageProperties.
public GcsProperties getGoogleCloudStorageProperties(GcsPersistentStore n) {
GcsProperties gcsProperties = new GcsProperties();
Path jsonPath = validatingFileDecryptPath(n.getJsonPath());
gcsProperties.setJsonPath(jsonPath.toString());
gcsProperties.setProject(n.getProject());
gcsProperties.setBucket(n.getBucket());
gcsProperties.setBucketLocation(n.getBucketLocation());
return gcsProperties;
}
Aggregations