Tabnine Logo
OraclePersistentStore.getBucketName
Code IndexAdd Tabnine to your IDE (free)

How to use
getBucketName
method
in
com.netflix.spinnaker.halyard.config.model.v1.persistentStorage.OraclePersistentStore

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.persistentStorage.OraclePersistentStore.getBucketName (Showing top 4 results out of 315)

origin: spinnaker/halyard

@Override
public void validate(ConfigProblemSetBuilder psBuilder, OraclePersistentStore oraclePersistentStore) {
 notNullOrEmpty(oraclePersistentStore.getCompartmentId(), "compartment id", psBuilder);
 notNullOrEmpty(oraclePersistentStore.getUserId(), "user id", psBuilder);
 notNullOrEmpty(oraclePersistentStore.getFingerprint(), "fingerprint", psBuilder);
 notNullOrEmpty(oraclePersistentStore.getSshPrivateKeyFilePath(), "ssh private key file path", psBuilder);
 notNullOrEmpty(oraclePersistentStore.getTenancyId(), "tenancy id", psBuilder);
 notNullOrEmpty(oraclePersistentStore.getNamespace(), "namespace", psBuilder);
 // region and bucketName *can* be null/empty - they then get defaulted in front50 code
 if (oraclePersistentStore.getBucketName() != null && !oraclePersistentStore.getBucketName().isEmpty()) {
  boolean bucketNameValid = Pattern.matches(BUCKET_REGEX, oraclePersistentStore.getBucketName());
  if (!bucketNameValid) {
   psBuilder.addProblem(Severity.ERROR, "bucket name is invalid");
  }
 }
 // TODO (simonlord): Once BMCS SDK is in maven we can access via spinnaker.dependency("clouddriverOracleBmcs") and test ensureBucket (a la GCS)
}
origin: com.netflix.spinnaker.halyard/halyard-config

@Override
public void validate(ConfigProblemSetBuilder psBuilder, OraclePersistentStore oraclePersistentStore) {
 notNullOrEmpty(oraclePersistentStore.getCompartmentId(), "compartment id", psBuilder);
 notNullOrEmpty(oraclePersistentStore.getUserId(), "user id", psBuilder);
 notNullOrEmpty(oraclePersistentStore.getFingerprint(), "fingerprint", psBuilder);
 notNullOrEmpty(oraclePersistentStore.getSshPrivateKeyFilePath(), "ssh private key file path", psBuilder);
 notNullOrEmpty(oraclePersistentStore.getTenancyId(), "tenancy id", psBuilder);
 notNullOrEmpty(oraclePersistentStore.getNamespace(), "namespace", psBuilder);
 // region and bucketName *can* be null/empty - they then get defaulted in front50 code
 if (oraclePersistentStore.getBucketName() != null && !oraclePersistentStore.getBucketName().isEmpty()) {
  boolean bucketNameValid = Pattern.matches(BUCKET_REGEX, oraclePersistentStore.getBucketName());
  if (!bucketNameValid) {
   psBuilder.addProblem(Severity.ERROR, "bucket name is invalid");
  }
 }
 // TODO (simonlord): Once BMCS SDK is in maven we can access via spinnaker.dependency("clouddriverOracleBmcs") and test ensureBucket (a la GCS)
}
origin: com.netflix.spinnaker.halyard/halyard-cli

 @Override
 protected OraclePersistentStore editPersistentStore(OraclePersistentStore persistentStore) {
  persistentStore.setCompartmentId(isSet(compartmentId) ? compartmentId : persistentStore.getCompartmentId());
  persistentStore.setUserId(isSet(userId) ? userId : persistentStore.getUserId());
  persistentStore.setFingerprint(isSet(fingerprint) ? fingerprint : persistentStore.getFingerprint());
  persistentStore.setSshPrivateKeyFilePath(isSet(sshPrivateKeyFilePath) ? sshPrivateKeyFilePath : persistentStore.getSshPrivateKeyFilePath());
  persistentStore.setTenancyId(isSet(tenancyId) ? tenancyId : persistentStore.getTenancyId());
  persistentStore.setRegion(isSet(region) ? region : persistentStore.getRegion());
  persistentStore.setBucketName(isSet(bucketName) ? bucketName : persistentStore.getBucketName());
  persistentStore.setNamespace(isSet(namespace) ? namespace : persistentStore.getNamespace());

  return persistentStore;
 }
}
origin: spinnaker/halyard

 @Override
 protected OraclePersistentStore editPersistentStore(OraclePersistentStore persistentStore) {
  persistentStore.setCompartmentId(isSet(compartmentId) ? compartmentId : persistentStore.getCompartmentId());
  persistentStore.setUserId(isSet(userId) ? userId : persistentStore.getUserId());
  persistentStore.setFingerprint(isSet(fingerprint) ? fingerprint : persistentStore.getFingerprint());
  persistentStore.setSshPrivateKeyFilePath(isSet(sshPrivateKeyFilePath) ? sshPrivateKeyFilePath : persistentStore.getSshPrivateKeyFilePath());
  persistentStore.setPrivateKeyPassphrase(isSet(privateKeyPassphrase) ? privateKeyPassphrase : persistentStore.getPrivateKeyPassphrase());
  persistentStore.setTenancyId(isSet(tenancyId) ? tenancyId : persistentStore.getTenancyId());
  persistentStore.setRegion(isSet(region) ? region : persistentStore.getRegion());
  persistentStore.setBucketName(isSet(bucketName) ? bucketName : persistentStore.getBucketName());
  persistentStore.setNamespace(isSet(namespace) ? namespace : persistentStore.getNamespace());

  return persistentStore;
 }
}
com.netflix.spinnaker.halyard.config.model.v1.persistentStorageOraclePersistentStoregetBucketName

Popular methods of OraclePersistentStore

  • getCompartmentId
  • getFingerprint
  • getNamespace
  • getSshPrivateKeyFilePath
  • getTenancyId
  • getUserId
  • setBucketName
  • setCompartmentId
  • setFingerprint
  • setNamespace
  • setRegion
  • setSshPrivateKeyFilePath
  • setRegion,
  • setSshPrivateKeyFilePath,
  • setTenancyId,
  • setUserId,
  • <init>,
  • convertFromOracleBMCSPersistentStore,
  • getRegion,
  • mergeOracleBMCSPersistentStore,
  • getPrivateKeyPassphrase

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Menu (java.awt)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Permission (java.security)
    Legacy security code; do not use.
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now