Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
4bd77662
Commit
4bd77662
authored
7 years ago
by
Michael Davis
Browse files
Options
Downloads
Patches
Plain Diff
[EOS-CTA] Adds debug functions to the namespace
parent
e0434939
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmdline/EosCtaStub.cpp
+2
-2
2 additions, 2 deletions
cmdline/EosCtaStub.cpp
xroot_ssi_pb/XrdSsiPbDebug.h
+3
-1
3 additions, 1 deletion
xroot_ssi_pb/XrdSsiPbDebug.h
xroot_ssi_pb/XrdSsiPbRequest.h
+1
-1
1 addition, 1 deletion
xroot_ssi_pb/XrdSsiPbRequest.h
with
6 additions
and
4 deletions
cmdline/EosCtaStub.cpp
+
2
−
2
View file @
4bd77662
...
...
@@ -263,7 +263,7 @@ int exceptionThrowingMain(int argc, const char *const *const argv)
if
(
isJson
)
{
OutputJsonString
(
myout
,
&
notification
);
XrdSsiPb
::
OutputJsonString
(
myout
,
&
notification
);
}
// Obtain a Service Provider
...
...
@@ -280,7 +280,7 @@ int exceptionThrowingMain(int argc, const char *const *const argv)
if
(
isJson
)
{
OutputJsonString
(
myout
,
&
response
);
XrdSsiPb
::
OutputJsonString
(
myout
,
&
response
);
}
// Delete all global objects allocated by libprotobuf
...
...
This diff is collapsed.
Click to expand it.
xroot_ssi_pb/XrdSsiPbDebug.h
+
3
−
1
View file @
4bd77662
...
...
@@ -23,7 +23,7 @@
#include
<stdio.h>
#include
<google/protobuf/util/json_util.h>
namespace
XrdSsiPb
{
static
void
OutputJsonString
(
std
::
ostream
&
os
,
const
google
::
protobuf
::
Message
*
message
)
{
...
...
@@ -51,4 +51,6 @@ inline void DumpBuffer(const std::string &buffer)
fprintf
(
stderr
,
"
\n
"
);
}
}
// namespace XrdSsiPb
#endif
This diff is collapsed.
Click to expand it.
xroot_ssi_pb/XrdSsiPbRequest.h
+
1
−
1
View file @
4bd77662
...
...
@@ -149,7 +149,7 @@ bool Request<RequestType, MetadataType, AlertType>::ProcessResponse(const XrdSsi
// Handle errors in the XRootD framework (e.g. no response from server)
case
XrdSsiRespInfo
::
isError
:
throw
XrdSsiException
(
eInfo
.
Get
()
);
case
XrdSsiRespInfo
::
isError
:
throw
XrdSsiException
(
eInfo
);
// To implement detached requests, add another callback type which saves the handle
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment