Skip to content

Commit

Permalink
billing: Expose session identifier
Browse files Browse the repository at this point in the history
In particular for SRM transfers, this allows billing entries to be bound to the
srm session.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7354/
  • Loading branch information
gbehrmann committed Oct 13, 2014
1 parent 1da82a4 commit a85ef3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public void fillTemplate(ST template)
template.add("cellType", getCellType());
template.add("rc", getResultCode());
template.add("subject", new SubjectWrapper(getSubject()));
template.add("session", getTransaction());
}

public void setResult( int resultCode , String resultMessage ){
Expand Down
1 change: 1 addition & 0 deletions skel/share/defaults/billing.properties
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ billing.text.dir = ${dcache.paths.billing}
# date Date Time stamp of mesage
# cellName String Name of cell submitting the message
# cellType String Type of cell submitting the message
# session String Session identifier for transfer
# type String Request type
# rc Integer Result code
# message String Message (usually error message)
Expand Down

0 comments on commit a85ef3c

Please sign in to comment.