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

How to use
getSshPrivateKeyFilePath
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.getSshPrivateKeyFilePath (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.persistentStorageOraclePersistentStoregetSshPrivateKeyFilePath

Popular methods of OraclePersistentStore

  • getBucketName
  • getCompartmentId
  • getFingerprint
  • getNamespace
  • 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
  • findViewById (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top PhpStorm 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