Skip to content

Commit

Permalink
Merge pull request #39 from project-tsurugi/appname
Browse files Browse the repository at this point in the history
feat(tgdump): enrich session information.
  • Loading branch information
hishidama authored Apr 16, 2024
2 parents 40c5fc5 + c2449b8 commit b68b143
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ protected Session attempt(@Nonnull ConnectionSettings settings, @Nonnull Credent
LOG.trace("enter: attempt: {} ({})", credential, settings); //$NON-NLS-1$
var builder = SessionBuilder.connect(settings.getEndpointUri());
builder.withCredential(credential);
// TODO: more settings
settings.getApplicationName().ifPresent(builder::withApplicationName);
settings.getSessionLabel().ifPresent(builder::withLabel);
var timeout = settings.getEstablishTimeout();
Session result;
if (timeout.isEmpty()) {
Expand Down

0 comments on commit b68b143

Please sign in to comment.