src/main/java/org/firepick/ServiceResolver.java
public JSONResult getConfig() {
    if (attempts == 0) {
      try {
	resolve();
      } catch(Exception e) {
        // discard exception
      }
    }
    if (config == null) {
      logger.info("{} => no response", url);
      return null;
    }

    logger.info("{} => {}", url, config.get("FireREST").getString());
    return config;
  }
public JSONResult getConfig() {
    if (attempts == 0) {
      try {
	resolve();
      } catch(Exception e) {
        // discard exception
      }
    }
    if (config == null) {
      logger.info("{} => no response", url);
      return null;
    }

    logger.info("{} => {}", url, config.get("FireREST").getString());
    return config;
  }
public JSONResult getConfig ( ) { if ( attempts == 0 ) { try { resolve ( ) ; } catch ( Exception e ) { // discard exception } } if ( config == null ) { logger . info ( "{} => no response" , url ) ; return null ; } logger . info ( "{} => {}" , url , config . get ( "FireREST" ) . getString ( ) ) ; return config ; }
Return the cached service configuration, resolving the service if required.

@return service configuration or null if service could not be resolved.
Return the cached service configuration resolving the service if required .