-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathoutput.txt
More file actions
116 lines (110 loc) · 2.57 KB
/
output.txt
File metadata and controls
116 lines (110 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
>>> [CLI] bundle deploy
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/metadata-service-test/default/files...
Deploying resources...
Deployment complete!
>>> print_requests.py --get //bundle
{
"method": "POST",
"path": "/api/2.0/bundle/deployments",
"q": {
"deployment_id": "[UUID]"
},
"body": {
"target_name": "default"
}
}
{
"method": "GET",
"path": "/api/2.0/bundle/deployments/[UUID]"
}
{
"method": "POST",
"path": "/api/2.0/bundle/deployments/[UUID]/versions",
"q": {
"version_id": "1"
},
"body": {
"cli_version": "[DEV_VERSION]",
"version_type": "VERSION_TYPE_DEPLOY",
"target_name": "default"
}
}
{
"method": "POST",
"path": "/api/2.0/bundle/deployments/[UUID]/versions/1/operations",
"q": {
"resource_key": "resources.jobs.test_job"
},
"body": {
"resource_key": "resources.jobs.test_job",
"action_type": "OPERATION_ACTION_TYPE_CREATE",
"resource_id": "[NUMID]",
"status": "OPERATION_STATUS_SUCCEEDED"
}
}
{
"method": "POST",
"path": "/api/2.0/bundle/deployments/[UUID]/versions/1/complete",
"body": {
"name": "deployments/[UUID]/versions/1",
"completion_reason": "VERSION_COMPLETE_SUCCESS"
}
}
>>> [CLI] bundle destroy --auto-approve
The following resources will be deleted:
delete resources.jobs.test_job
All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/metadata-service-test/default
Deleting files...
Destroy complete!
>>> print_requests.py --get //bundle
{
"method": "POST",
"path": "/api/2.0/bundle/deployments",
"q": {
"deployment_id": "[UUID]"
},
"body": {
"target_name": "default"
}
}
{
"method": "GET",
"path": "/api/2.0/bundle/deployments/[UUID]"
}
{
"method": "POST",
"path": "/api/2.0/bundle/deployments/[UUID]/versions",
"q": {
"version_id": "2"
},
"body": {
"cli_version": "[DEV_VERSION]",
"version_type": "VERSION_TYPE_DESTROY",
"target_name": "default"
}
}
{
"method": "POST",
"path": "/api/2.0/bundle/deployments/[UUID]/versions/2/operations",
"q": {
"resource_key": "resources.jobs.test_job"
},
"body": {
"resource_key": "resources.jobs.test_job",
"action_type": "OPERATION_ACTION_TYPE_DELETE",
"resource_id": "[NUMID]",
"status": "OPERATION_STATUS_SUCCEEDED"
}
}
{
"method": "POST",
"path": "/api/2.0/bundle/deployments/[UUID]/versions/2/complete",
"body": {
"name": "deployments/[UUID]/versions/2",
"completion_reason": "VERSION_COMPLETE_SUCCESS"
}
}
{
"method": "DELETE",
"path": "/api/2.0/bundle/deployments/[UUID]"
}