Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

if-else

/* Hello World in Groovy */
// println("Hello world")

def appConfig = [
    int: [ 
      LogLevel: "INFO",
      ThirdPartyIntegrationURL: "https://internal-third-party-integration-elb-1263876329.ap-south-1.elb.amazonaws.com/third-party-integration/v1/",
      BaseEntitlementURL: "https://internal-entitlement-partnerspecific-72155629.ap-south-1.elb.amazonaws.com/entitlement/v1/mgmt/",
      Cassandra: [cmsservice: "common", migration: "false", keyspace: "remote_access_db"]
    ]
]

def cassandra = appConfig.int.Cassandra
// println(cassandra)

if(cassandra != null) {
    println("cassandra-True")
}else {
    println("cassandra-Flase")
}

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.