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
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
# Delphix Automation Framework
2
2
3
-
Always include a project title with the largest heading. A project logo may replace the project title, if one has been designed. Project badges are common for OSS projects. They show quick information like Build Status, Download Count, etc... If there are any relevant badges, include them below the project title in MD format. In the paragraph immediately following the project title and badges, include information about the project and/or an overview that explains **what** the project is.
3
+
The Delphix Automation Framework (DAF) allows automating data management via APIs at scale. Easily automate Delphix Self Service actions in CI/CD Pipelines without being tied to any specific CI Software.
4
4
5
5
#### Table of Contents
6
6
1.[Description](#description)
7
7
2.[Installation](#installation)
8
+
*[The delphix.yaml file](#delphix-yaml)
8
9
3.[Usage](#usage)
9
10
4.[Links](#links)
10
11
5.[Contribute](#contribute)
@@ -17,14 +18,18 @@ Always include a project title with the largest heading. A project logo may repl
17
18
18
19
## <aid="description"></a>Description
19
20
21
+
DAF combines environment variables commonly available during CI/CD and data management as code in the `delphix.yaml` file to automate API calls to the Delphix Dynamic Data Platform. This allows for chain-able API calls that can be triggered during different stages of the CI/CD pipeline. The data state for different non-production environments is now visible through code configuration and that configuration is under version control.
20
22
21
23
## <aid="installation"></a>Installation
22
24
25
+
The tools and executable for DAF have been containerized with docker for convenience. Use the latest version by pulling the container below.
26
+
23
27
```bash
24
28
docker pull delphix/daf
25
29
```
30
+
### <aid="delphix-yaml"></a>The delphix.yaml file
26
31
27
-
Create a `delphix.yaml` file based on this guide: [Configure Delphix YAML](./configure-delphix-yaml.md)
32
+
The `delphix.yaml` file is the configuration file that defines the data management as code strategy for the project. Create a `delphix.yaml` file based on this guide: [Configure Delphix YAML](./configure-delphix-yaml.md)
Copy file name to clipboardExpand all lines: configure-delphix-yaml.md
+5-27Lines changed: 5 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,8 @@ environments:
35
35
|Keyword|Description
36
36
|---|---
37
37
|[template](#template)|The name of the Delphix Self-Service template for this project.
38
-
|[api-key](#api-key)|Orbital API Key for the account connected to your Delphix Engine.
39
38
|[connectors](#connectors)|A collection of database connector references.
40
-
|[data-sources](#data-sources)|A collection of data sources used to create the template and any specifics that can be overwritten.
41
39
|[environments](#environments)|A collection of application environments, their datapods, and the actions to take during the CI/CD pipeline.
42
-
|[ami](#ami)|ID of AMI to be used for target hosts.
43
40
|[host](#host)|Reference for the application host in KMS.
44
41
|[port](#port)|Reference for the application port in KMS.
45
42
|[database](#database)|Reference for the application database in KMS.
@@ -48,31 +45,21 @@ environments:
48
45
|[branch](#branch)|The source GIT branch for a specific Application Environment.
49
46
|[datapod](#datapod)|The Delphix Datapod for a specific Application Environment.
50
47
|[when](#when)|The collection of Actions for a specific Application Environment.
48
+
|[then](#then)|The Delphix Self Service action executed for this `when` trigger.
51
49
52
50
53
51
### <aid="template"></a>template
54
52
55
53
The name of the Delphix Self-Service template.
56
54
57
-
### <aid="api-key"></a>api-key
58
-
59
-
The Orbital API Key for the automation user.
60
-
61
55
### <aid="connectors"></a>connectors
62
56
63
57
The collection of database connector key references for each data source. Do not commit any connector values to your version control. These are only key references, not values. E.g. database_name vs dbName.
64
58
65
-
### <aid="data-sources"></a>data-sources
66
-
67
-
The collection of data-sources used to create the template. This is optional and only used if an specific EC2 AMI is used for the creation of target hosts. The name of each data-source should correspond to the data-source names that are in the Delphix Self-Service template.
68
-
69
59
### <aid="environments"></a>environments
70
60
71
61
The collection of application environments, their GIT branches, the datapod used as the database, and the collection of Actions to be executed during the CI/CD build phase. The names of the collections are arbitrary and only used for developer identification.
72
62
73
-
### <aid="ami"></a>ami
74
-
75
-
Optional. A preconfigured AMI to be used as a target host.
76
63
77
64
### <aid="host"></a>host
78
65
@@ -106,6 +93,10 @@ The name of the datapod used for the database of the environment. Must have been
106
93
107
94
The collection of Actions for an environment based on the Given -> When -> Then format described above.
108
95
96
+
### <aid="then"></a>then
97
+
98
+
The specific Self Service API call to be executed during this Action. Acceptable values: `datapod.refresh`, `datapod.create`, `datapod.delete`, `bookmark.share`, `bookmark.create`, `datapod.undo`, and `bookmark.delete`.
99
+
109
100
## Overwrites
110
101
111
102
Each environment has the ability to overwrite individual values for connectors or data-sources. A specific environment might need to use a different AMI or have different database connector keys.
0 commit comments