Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 1.1.4 migration guide

...

Code Block
languagejava
// From this:
final RequestDiagnosticContext diagnosticContext = RequestDiagnosticContext.create();
final EnvProperties env = EnvProperties.fromEnvironment();
CbsClientFactory.createCbsClient(env)
        .flatMap(cbsClient -> cbsClient.get(diagnosticContext))
        ...

// To this:
final RequestDiagnosticContext diagnosticContext = RequestDiagnosticContext.create();
final EnvProperties env = EnvProperties.fromEnvironment();
final CbsRequest request = CbsRequests.getConfiguration(diagnosticContext, env);
CbsClientFactory.createCbsClient(env)
        .flatMap(cbsClient -> cbsClient.get(request))
        ...

...