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
3242db60
Commit
3242db60
authored
8 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Added EOS->CTA interface file notification.proto
parent
da9a8f6a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
xroot_plugins/messages/CMakeLists.txt
+32
-0
32 additions, 0 deletions
xroot_plugins/messages/CMakeLists.txt
xroot_plugins/messages/notification.proto
+67
-0
67 additions, 0 deletions
xroot_plugins/messages/notification.proto
with
99 additions
and
0 deletions
xroot_plugins/messages/CMakeLists.txt
0 → 100644
+
32
−
0
View file @
3242db60
# The CERN Tape Archive (CTA) project
# Copyright (C) 2015 CERN
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required
(
VERSION 2.6
)
find_package
(
Protobuf REQUIRED
)
file
(
GLOB ProtoFiles
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.proto"
)
PROTOBUF_GENERATE_CPP
(
ProtoSources ProtoHeaders
${
ProtoFiles
}
)
set
(
CTA_FRONT_END_MESSAGES_SRC_FILES
${
ProtoSources
}
)
add_library
(
ctafrontendmessages SHARED
${
CTA_FRONT_END_MESSAGES_SRC_FILES
}
)
target_link_libraries
(
ctafrontendmessages
protobuf
)
install
(
TARGETS ctafrontendmessages DESTINATION usr/
${
CMAKE_INSTALL_LIBDIR
}
)
This diff is collapsed.
Click to expand it.
xroot_plugins/messages/notification.proto
0 → 100644
+
67
−
0
View file @
3242db60
syntax
=
"proto3"
;
package
eos
.
wfe
;
message
id
{
fixed64
n
=
1
;
// identity number
string
name
=
2
;
// identity name
}
message
checksum
{
string
value
=
1
;
//< checksum value
string
name
=
2
;
//< checksum name
}
message
clock
{
fixed64
sec
=
1
;
//< seconds of a clock
fixed64
nsec
=
2
;
//< nanoseconds of a clock
}
message
md
{
fixed64
fid
=
1
;
//< file/container id
fixed64
pid
=
2
;
//< parent id
clock
ctime
=
3
;
//< change time
clock
mtime
=
4
;
//< modification time
clock
btime
=
5
;
//< birth time
clock
ttime
=
6
;
//< tree modification time
id
owner
=
7
;
//< ownership
fixed64
size
=
8
;
//< size
checksum
cks
=
9
;
//< checksum information
sfixed32
mode
=
10
;
//< mode
string
lpath
=
11
;
//< logical path
map
<
string
,
string
>
xattr
=
12
;
//< xattribute map
};
message
security
{
string
host
=
1
;
//< client host
string
app
=
2
;
//< app string
string
name
=
3
;
//< sec name
string
prot
=
4
;
//< security protocol
string
grps
=
5
;
//< security grps
}
message
client
{
id
user
=
1
;
//< acting client
security
sec
=
2
;
//< client security information
}
message
service
{
string
name
=
1
;
//< name of the service
string
url
=
2
;
//< access url of the service
}
message
workflow
{
string
event
=
1
;
//< event
string
queue
=
2
;
//< queue
string
wfname
=
3
;
//< workflow
string
vpath
=
4
;
//< vpath
service
instance
=
5
;
//< instance information
fixed64
timestamp
=
6
;
//< event timestamp
}
message
notification
{
workflow
wf
=
1
;
//< workflow
string
turl
=
2
;
//< transport URL
client
cli
=
3
;
//< client information
md
file
=
4
;
//< file meta data
md
directory
=
5
;
//< directory meta data
}
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