Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vospace-file-catalog
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
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
VOSpace INAF
vospace-file-catalog
Commits
57b0f3f8
Commit
57b0f3f8
authored
4 years ago
by
Sonia Zorba
Browse files
Options
Downloads
Patches
Plain Diff
Added LICENSE
parent
905dd130
No related branches found
No related tags found
No related merge requests found
Pipeline
#1827
passed
4 years ago
Stage: dockerize
Changes
5
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
00-tables.sql
+6
-0
6 additions, 0 deletions
00-tables.sql
01-paths-indexes.sql
+6
-0
6 additions, 0 deletions
01-paths-indexes.sql
02-views.sql
+6
-0
6 additions, 0 deletions
02-views.sql
03-other-functions.sql
+5
-0
5 additions, 0 deletions
03-other-functions.sql
LICENSE
+658
-7
658 additions, 7 deletions
LICENSE
with
681 additions
and
7 deletions
00-tables.sql
+
6
−
0
View file @
57b0f3f8
/*
* This file is part of vospace-file-catalog
* Copyright (C) 2021 Istituto Nazionale di Astrofisica
* SPDX-License-Identifier: GPL-3.0-or-later
*/
CREATE
EXTENSION
IF
NOT
EXISTS
ltree
;
CREATE
EXTENSION
IF
NOT
EXISTS
ltree
;
...
...
This diff is collapsed.
Click to expand it.
01-paths-indexes.sql
+
6
−
0
View file @
57b0f3f8
/*
* This file is part of vospace-file-catalog
* Copyright (C) 2021 Istituto Nazionale di Astrofisica
* SPDX-License-Identifier: GPL-3.0-or-later
*/
-- Generates the path from parent_path and id
-- Generates the path from parent_path and id
CREATE
OR
REPLACE
FUNCTION
path
(
parent_path
ltree
,
id
bigint
)
RETURNS
ltree
AS
CREATE
OR
REPLACE
FUNCTION
path
(
parent_path
ltree
,
id
bigint
)
RETURNS
ltree
AS
$
func
$
$
func
$
...
...
This diff is collapsed.
Click to expand it.
02-views.sql
+
6
−
0
View file @
57b0f3f8
/*
* This file is part of vospace-file-catalog
* Copyright (C) 2021 Istituto Nazionale di Astrofisica
* SPDX-License-Identifier: GPL-3.0-or-later
*/
-- View that maps node_id to os_path (relative path of file on disk)
-- View that maps node_id to os_path (relative path of file on disk)
CREATE
VIEW
node_os_path
AS
CREATE
VIEW
node_os_path
AS
...
...
This diff is collapsed.
Click to expand it.
03-other-functions.sql
+
5
−
0
View file @
57b0f3f8
/*
* This file is part of vospace-file-catalog
* Copyright (C) 2021 Istituto Nazionale di Astrofisica
* SPDX-License-Identifier: GPL-3.0-or-later
*/
-- This function returns an array adding some elements and removing others
-- This function returns an array adding some elements and removing others
-- It is used to update recursively groupread and groupwrite properties
-- It is used to update recursively groupread and groupwrite properties
...
...
This diff is collapsed.
Click to expand it.
LICENSE
+
658
−
7
View file @
57b0f3f8
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