Codota Logo
OraclePersistentStore.getTenancyId
Code IndexAdd Codota to your IDE (free)

How to use
getTenancyId
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.getTenancyId (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: spinnaker/halyard

public static OraclePersistentStore mergeOracleBMCSPersistentStore(OraclePersistentStore oracle, OracleBMCSPersistentStore bmcs) {
 if (oracle.getTenancyId() == null && bmcs.getTenancyId() != null) {
  return convertFromOracleBMCSPersistentStore(bmcs);
 } else {
  return oracle;
 }
}

origin: com.netflix.spinnaker.halyard/halyard-config

public static OraclePersistentStore mergeOracleBMCSPersistentStore(OraclePersistentStore oracle, OracleBMCSPersistentStore bmcs) {
 if (oracle.getTenancyId() == null && bmcs.getTenancyId() != null) {
  return convertFromOracleBMCSPersistentStore(bmcs);
 } else {
  return oracle;
 }
}

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.persistentStorageOraclePersistentStoregetTenancyId

Popular methods of OraclePersistentStore

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • setScale (BigDecimal)
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • JFileChooser (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Runner (org.openjdk.jmh.runner)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now