Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7450937
README.md
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
README.md
View Options
Graph
service
-
Java
backend
============================
Server
side
Java
RPC
API
.
Build
-----
```
bash
$
mvn
compile
assembly
:
single
```
Start
RPC
API
-------------
```
bash
$
java
-
cp
target
/
swh
-
graph
-*.
jar
\
org
.
softwareheritage
.
graph
.
server
.
App
\
<
compressed_graph_path
>
```
Default
port
is
5009
(
use
the
`
--
port
`
option
to
change
port
number
).
If
you
need
timings
metadata
send
back
to
the
client
in
addition
to
the
result
,
use
the
`
--
timings
`
flag
.
Tests
-----
Unit
tests
rely
on
test
data
that
are
already
available
in
the
Git
repository
(
under
`
src
/
swh
/
graph
/
tests
/
dataset
/
`
).
You
generally
only
need
to
run
them
using
Maven
:
```
bash
$
mvn
test
```
In
case
you
want
to
regenerate
the
test
data
:
```
bash
#
Graph
compression
$
cd
src
/
swh
/
graph
/
tests
/
dataset
$
./
generate_graph
.
sh
$
cd
../../../..
$
mvn
compile
assembly
:
single
#
Dump
mapping
files
$
java
-
cp
target
/
swh
-
graph
-*.
jar
\
org
.
softwareheritage
.
graph
.
maps
.
NodeMapBuilder
\
src
/
swh
/
graph
/
tests
/
dataset
/
example
.
nodes
.
csv
.
gz
\
src
/
swh
/
graph
/
tests
/
dataset
/
output
/
example
```
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 17, 9:13 AM (4 h, 32 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3277925
Attached To
rDGRPH Compressed graph representation
Event Timeline
Log In to Comment