You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Toolbox allows you to perform admin operations on [DataGalaxy](https://www.datagalaxy.com).
5
+
Welcome to the DataGalaxy Toolbox!
6
+
7
+
This is an opensource command-line tool that allows to perform admin operations on [DataGalaxy](https://www.datagalaxy.com).
6
8
7
9
## Features
8
-
-**Copy attributes** from a source client space to a target client space.
9
-
-**Delete attributes** on client space.
10
-
-**Copy technologies** from a source client space to a target client space.
11
-
-**Copy screens** from a source client space or workspace to a target client space or workspace.
12
-
-**Copy glossary** properties from a workspace to another.
13
-
-**Delete glossary** of a workspace.
10
+
### Clientspace operations
11
+
-**Copy custom attributes** from a clientspace to another.
12
+
-**Delete custom attributes** on a clientspace.
13
+
-**Copy technologies** from a clientspace to another.
14
+
15
+
### Clientspace / workspace operations
16
+
-**Copy screens** from a clientspace (or workspace) to another clientspace (or workspace).
17
+
18
+
### Workspace operations
19
+
Note that the workspaces can be on different clientspaces.
20
+
-**Copy glossary** objects from a workspace to another.
14
21
-**Copy dictionary** objects from a workspace to another.
15
-
-**Delete dictionary** of a workspace.
16
-
-**Copy dataprocessings** from a workspace to another.
17
-
-**Delete dataprocessings** of a workspace.
18
-
-**Copy usages** from a workspace to another.
19
-
-**Delete usages** of a workspace.
22
+
-**Copy dataprocessings** objects from a workspace to another.
23
+
-**Copy usages** objects from a workspace to another.
20
24
-**Copy links** from a workspace to another.
25
+
-**Delete glossary** objects of a workspace.
26
+
-**Delete dictionary** objects of a workspace.
27
+
-**Delete dataprocessings** objects of a workspace.
28
+
-**Delete usages** objects of a workspace.
29
+
30
+
#### General remarks
31
+
- As DataGalaxy do not support link creation when the objects do not already exist in the target workspace, we suggest that you run the copy commands in this order:
2.`copy-dataprocessings` (as they can have dataProcessingItems that connect dictionary elements, this command might fail if you run it before copying the dictionary)
34
+
3.`copy-links` (this command will fail if you haven't copied all the objects before)
35
+
- All module copy commands will fail if the source objects have a custom technology value that do not exist in the target clientspace (there is no issue if you run the module copy in the same clientspace). As a consequence, we suggest that you run `copy-technologies` before copying modules.
36
+
- All copy module commands will fail if the source objects have a custom tag value that do not exist in the target clientspace (there is no issue if you run the module copy in the same clientspace). As a consequence, we suggest that you run `copy-attributes` before copying modules.
21
37
22
38
## Installation
23
39
24
-
For now we provide an executable file `datagalaxy-toolbox.exe` which makes Toolbox usable only on Windows.
40
+
An executable file `datagalaxy-toolbox.exe`is provided, which makes the DataGalaxy Toolbox usable only on Windows.
25
41
You can download it from the `Assets` section of the [Releases page](https://github.com/datagalaxy-lab/datagalaxy-toolbox/releases).
26
-
If you want to use Toolbox on Mac or Linux you need to build a binary file following the [development](#development) section.
27
42
28
-
## Usage
43
+
If you want to use the DataGalaxy Toolbox on MacOS or Unix, you need to build a binary file following the [development](#development) section.
29
44
30
-
### CLI
45
+
##How to use
31
46
32
-
##### Flags
47
+
##### Parameters
33
48
-[optional arguments]`-h`, `--help`- show help message
34
-
-`--url` - URL
35
-
-`--token` - Token
36
-
-`--url-source`- URL source environnement
37
-
-`--url-target` - URL target environnement
38
-
-`--token-source` - Token from source environnement
39
-
-`--token-target` - Token from target environnement
40
-
-`--workspace-source` - Workspace source name
41
-
-`--workspace-target` - Workspace target name
49
+
-`--url` - The API URL of your DataGalaxy environment
50
+
-`--token` - A DataGalaxy Token, either an Integration Token or a Personal Access Token
51
+
-`--url-source`- The API URL of the source environnement
52
+
-`--url-target` - The API URL of the target environnement
53
+
-`--token-source` - A DataGalaxy Token from the source environnement
54
+
-`--token-target` - A DataGalaxy Token from the Token from target environnement
55
+
-`--workspace-source` - The name of the source workspace
56
+
-`--workspace-target` - The name of the target workspace
42
57
-`--tag-value` - Filter objects on a specific tag
43
58
44
59
45
60
46
-
47
-
48
-
#### delete-attributes
49
-
50
-
Toolbox checks that there is no identical attribute on the target client space before running the copy from the source. It raises an exception and stops the program if it finds duplicate attributes.
51
-
To delete attributes from the target client space to allow copying run:
0 commit comments