cts-mpx-aci 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +64 -0
  3. data/Gemfile +30 -0
  4. data/Gemfile.lock +178 -0
  5. data/Guardfile +40 -0
  6. data/LICENSE +201 -0
  7. data/README.md +203 -0
  8. data/Rakefile +6 -0
  9. data/Rules +53 -0
  10. data/bin/console +7 -0
  11. data/bin/setup +8 -0
  12. data/content/CHANGELOG.md +1 -0
  13. data/content/EXAMPLES.md +1 -0
  14. data/content/README.md +1 -0
  15. data/content/assets/bootstrap.min.css +12 -0
  16. data/content/assets/images/cts-logo-wide.svg +121 -0
  17. data/content/assets/images/cts-logo.svg +119 -0
  18. data/content/assets/syntax.css +210 -0
  19. data/content/coverage +1 -0
  20. data/content/doc +1 -0
  21. data/content/specifications.html +1 -0
  22. data/content/stylesheet.css +101 -0
  23. data/cts-mpx-aci.gemspec +23 -0
  24. data/data/stencils/account_record.json +431 -0
  25. data/data/stencils/media_custom_fields.json +37 -0
  26. data/data/stencils/servers.json +31 -0
  27. data/data/stencils/task_templates.json +17 -0
  28. data/data/stencils/test.json +13 -0
  29. data/examples/collect.md +21 -0
  30. data/examples/complete_basic.md +95 -0
  31. data/examples/deploy.md +25 -0
  32. data/examples/image.md +41 -0
  33. data/examples/pre_post_block.md +101 -0
  34. data/layouts/default.html +52 -0
  35. data/lib/cts/mpx/aci/extensions/cts/mpx/entries.rb +29 -0
  36. data/lib/cts/mpx/aci/extensions/cts/mpx/entry.rb +130 -0
  37. data/lib/cts/mpx/aci/extensions/services/data/entry.rb +136 -0
  38. data/lib/cts/mpx/aci/stencil.rb +148 -0
  39. data/lib/cts/mpx/aci/tasks/collect.rb +91 -0
  40. data/lib/cts/mpx/aci/tasks/deploy.rb +117 -0
  41. data/lib/cts/mpx/aci/tasks/image.rb +161 -0
  42. data/lib/cts/mpx/aci/transformations.rb +144 -0
  43. data/lib/cts/mpx/aci/validators.rb +114 -0
  44. data/lib/cts/mpx/aci/version.rb +7 -0
  45. data/lib/cts/mpx/aci.rb +76 -0
  46. data/nanoc.yaml +22 -0
  47. metadata +158 -0
@@ -0,0 +1,210 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+ .highlight .c, .highlight .cd {
4
+ color: #75715e;
5
+ font-style: italic;
6
+ }
7
+ .highlight .cm {
8
+ color: #75715e;
9
+ font-style: italic;
10
+ }
11
+ .highlight .c1 {
12
+ color: #75715e;
13
+ font-style: italic;
14
+ }
15
+ .highlight .cp {
16
+ color: #75715e;
17
+ font-weight: bold;
18
+ }
19
+ .highlight .cs {
20
+ color: #75715e;
21
+ font-weight: bold;
22
+ font-style: italic;
23
+ }
24
+ .highlight .err {
25
+ color: #960050;
26
+ background-color: #1e0010;
27
+ }
28
+ .highlight .gi {
29
+ color: #ffffff;
30
+ background-color: #324932;
31
+ }
32
+ .highlight .gd {
33
+ color: #ffffff;
34
+ background-color: #493131;
35
+ }
36
+ .highlight .ge {
37
+ color: #000000;
38
+ font-style: italic;
39
+ }
40
+ .highlight .gr {
41
+ color: #aa0000;
42
+ }
43
+ .highlight .gt {
44
+ color: #aa0000;
45
+ }
46
+ .highlight .gh {
47
+ color: #999999;
48
+ }
49
+ .highlight .go {
50
+ color: #888888;
51
+ }
52
+ .highlight .gp {
53
+ color: #555555;
54
+ }
55
+ .highlight .gs {
56
+ font-weight: bold;
57
+ }
58
+ .highlight .gu {
59
+ color: #aaaaaa;
60
+ }
61
+ .highlight .k, .highlight .kv {
62
+ color: #66d9ef;
63
+ font-weight: bold;
64
+ }
65
+ .highlight .kc {
66
+ color: #66d9ef;
67
+ font-weight: bold;
68
+ }
69
+ .highlight .kd {
70
+ color: #66d9ef;
71
+ font-weight: bold;
72
+ }
73
+ .highlight .kp {
74
+ color: #66d9ef;
75
+ font-weight: bold;
76
+ }
77
+ .highlight .kr {
78
+ color: #66d9ef;
79
+ font-weight: bold;
80
+ }
81
+ .highlight .kt {
82
+ color: #66d9ef;
83
+ font-weight: bold;
84
+ }
85
+ .highlight .kn {
86
+ color: #f92672;
87
+ font-weight: bold;
88
+ }
89
+ .highlight .ow {
90
+ color: #f92672;
91
+ font-weight: bold;
92
+ }
93
+ .highlight .o {
94
+ color: #f92672;
95
+ font-weight: bold;
96
+ }
97
+ .highlight .mf {
98
+ color: #ae81ff;
99
+ }
100
+ .highlight .mh {
101
+ color: #ae81ff;
102
+ }
103
+ .highlight .il {
104
+ color: #ae81ff;
105
+ }
106
+ .highlight .mi {
107
+ color: #ae81ff;
108
+ }
109
+ .highlight .mo {
110
+ color: #ae81ff;
111
+ }
112
+ .highlight .m, .highlight .mb, .highlight .mx {
113
+ color: #ae81ff;
114
+ }
115
+ .highlight .se {
116
+ color: #ae81ff;
117
+ }
118
+ .highlight .sb {
119
+ color: #e6db74;
120
+ }
121
+ .highlight .sc {
122
+ color: #e6db74;
123
+ }
124
+ .highlight .sd {
125
+ color: #e6db74;
126
+ }
127
+ .highlight .s2 {
128
+ color: #e6db74;
129
+ }
130
+ .highlight .sh {
131
+ color: #e6db74;
132
+ }
133
+ .highlight .si {
134
+ color: #e6db74;
135
+ }
136
+ .highlight .sx {
137
+ color: #e6db74;
138
+ }
139
+ .highlight .sr {
140
+ color: #e6db74;
141
+ }
142
+ .highlight .s1 {
143
+ color: #e6db74;
144
+ }
145
+ .highlight .ss {
146
+ color: #e6db74;
147
+ }
148
+ .highlight .s {
149
+ color: #e6db74;
150
+ }
151
+ .highlight .na {
152
+ color: #a6e22e;
153
+ }
154
+ .highlight .nc {
155
+ color: #a6e22e;
156
+ font-weight: bold;
157
+ }
158
+ .highlight .nd {
159
+ color: #a6e22e;
160
+ font-weight: bold;
161
+ }
162
+ .highlight .ne {
163
+ color: #a6e22e;
164
+ font-weight: bold;
165
+ }
166
+ .highlight .nf {
167
+ color: #a6e22e;
168
+ font-weight: bold;
169
+ }
170
+ .highlight .no {
171
+ color: #66d9ef;
172
+ }
173
+ .highlight .bp {
174
+ color: #f8f8f2;
175
+ }
176
+ .highlight .nb {
177
+ color: #f8f8f2;
178
+ }
179
+ .highlight .ni {
180
+ color: #f8f8f2;
181
+ }
182
+ .highlight .nn {
183
+ color: #f8f8f2;
184
+ }
185
+ .highlight .vc {
186
+ color: #f8f8f2;
187
+ }
188
+ .highlight .vg {
189
+ color: #f8f8f2;
190
+ }
191
+ .highlight .vi {
192
+ color: #f8f8f2;
193
+ }
194
+ .highlight .nv {
195
+ color: #f8f8f2;
196
+ }
197
+ .highlight .w {
198
+ color: #f8f8f2;
199
+ }
200
+ .highlight .nl {
201
+ color: #f8f8f2;
202
+ font-weight: bold;
203
+ }
204
+ .highlight .nt {
205
+ color: #f92672;
206
+ }
207
+ .highlight {
208
+ color: #f8f8f2;
209
+ background-color: #49483e;
210
+ }
data/content/coverage ADDED
@@ -0,0 +1 @@
1
+ content/../coverage
data/content/doc ADDED
@@ -0,0 +1 @@
1
+ content/../doc
@@ -0,0 +1 @@
1
+ content/../tmp/specifications.html
@@ -0,0 +1,101 @@
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+
5
+ font-family: Georgia, Palatino, serif;
6
+ }
7
+
8
+ body {
9
+ background: #fff;
10
+ }
11
+
12
+ a {
13
+ text-decoration: none;
14
+ }
15
+
16
+ a:link,
17
+ a:visited {
18
+ color: #f30;
19
+ }
20
+
21
+ a:hover {
22
+ color: #f90;
23
+ }
24
+
25
+ #main {
26
+ position: absolute;
27
+
28
+ top: 40px;
29
+ left: 280px;
30
+
31
+ width: 500px;
32
+ }
33
+
34
+ #main h1 {
35
+ font-size: 40px;
36
+ font-weight: normal;
37
+
38
+ line-height: 40px;
39
+
40
+ letter-spacing: -1px;
41
+ }
42
+
43
+ #main p {
44
+ margin: 20px 0;
45
+
46
+ font-size: 15px;
47
+
48
+ line-height: 20px;
49
+ }
50
+
51
+ #main ul, #main ol {
52
+ margin: 20px;
53
+ }
54
+
55
+ #main li {
56
+ font-size: 15px;
57
+
58
+ line-height: 20px;
59
+ }
60
+
61
+ #main ul li {
62
+ list-style-type: square;
63
+ }
64
+
65
+ #sidebar {
66
+ position: absolute;
67
+
68
+ top: 40px;
69
+ left: 20px;
70
+ width: 200px;
71
+
72
+ padding: 20px 20px 0 0;
73
+
74
+ border-right: 1px solid #ccc;
75
+
76
+ text-align: right;
77
+ }
78
+
79
+ #sidebar h2 {
80
+ text-transform: uppercase;
81
+
82
+ font-size: 13px;
83
+
84
+ color: #333;
85
+
86
+ letter-spacing: 1px;
87
+
88
+ line-height: 20px;
89
+ }
90
+
91
+ #sidebar ul {
92
+ list-style-type: none;
93
+
94
+ margin: 20px 0;
95
+ }
96
+
97
+ #sidebar li {
98
+ font-size: 14px;
99
+
100
+ line-height: 20px;
101
+ }
@@ -0,0 +1,23 @@
1
+ lib = File.expand_path('lib', __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'cts/mpx/aci/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "cts-mpx-aci"
7
+ spec.version = Cts::Mpx::Aci::VERSION
8
+ spec.authors = ["Ernie Brodeur"]
9
+ spec.email = ["ernie.brodeur@cable.comcast.com"]
10
+ spec.summary = "mpx account continuous integration driver."
11
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
12
+ spec.bindir = "exe"
13
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
14
+ spec.require_paths = ["lib"]
15
+
16
+ spec.required_ruby_version = '>= 2.4.0'
17
+
18
+ spec.add_runtime_dependency "creatable"
19
+ spec.add_runtime_dependency "cts-mpx"
20
+ spec.add_runtime_dependency "diffy"
21
+ spec.add_runtime_dependency 'logging'
22
+ spec.add_runtime_dependency "oj"
23
+ end
@@ -0,0 +1,431 @@
1
+ [
2
+ {
3
+ "service": "Feeds Data Service",
4
+ "endpoint": "FeedConfig",
5
+ "fields": [
6
+ "id",
7
+ "guid",
8
+ "title",
9
+ "description",
10
+ "adPolicyId",
11
+ "adapterParameters",
12
+ "adminTags",
13
+ "availableFields",
14
+ "baseQuery",
15
+ "cacheLifetime",
16
+ "cacheRefreshStrategy",
17
+ "categoryAdapterParameters",
18
+ "categoryFields",
19
+ "categoryForm",
20
+ "contentQuery",
21
+ "defaultThumbnailAssetType",
22
+ "disabled",
23
+ "endIndex",
24
+ "feedType",
25
+ "fileFields",
26
+ "form",
27
+ "itemLinkUrl",
28
+ "limitByAvailableDate",
29
+ "limitCategoryFeed",
30
+ "limitToApproved",
31
+ "link",
32
+ "linkUrl",
33
+ "mediaFields",
34
+ "mediaIds",
35
+ "ownerId",
36
+ "pid",
37
+ "pinnedIds",
38
+ "playerUrl",
39
+ "preferSortKeysOnSearch",
40
+ "queryEngine",
41
+ "releaseFields",
42
+ "releaseUrlParameters",
43
+ "restrictionId",
44
+ "schema",
45
+ "segmentQueries",
46
+ "sortKeys",
47
+ "subFeeds",
48
+ "thumbnailFilter",
49
+ "urlType"
50
+ ]
51
+ },
52
+ {
53
+ "service": "FeedReader Data Service",
54
+ "endpoint": "FeedRecord",
55
+ "fields": [
56
+ "id",
57
+ "guid",
58
+ "title",
59
+ "description",
60
+ "afterScript",
61
+ "beforeScript",
62
+ "checksum",
63
+ "createBatch",
64
+ "disabled",
65
+ "error",
66
+ "errorEmailAddresses",
67
+ "etag",
68
+ "feedPageSize",
69
+ "feedPassword",
70
+ "feedTimeZoneId",
71
+ "feedUrl",
72
+ "feedUserName",
73
+ "feedZones",
74
+ "fileIngestMethod",
75
+ "fileBaseUrl",
76
+ "frequency",
77
+ "ingestAccountId",
78
+ "ingestPassword",
79
+ "ingestPid",
80
+ "ingestUserName",
81
+ "lastError",
82
+ "lastModified",
83
+ "lastReadTime",
84
+ "lastSessionStartTime",
85
+ "nextReadTime",
86
+ "ownerId",
87
+ "parameters",
88
+ "serviceLock",
89
+ "serviceLockExpiration",
90
+ "transferInfo"
91
+ ]
92
+ },
93
+ {
94
+ "service": "Ingest Data Service",
95
+ "endpoint": "AdapterConfiguration",
96
+ "fields": [
97
+ "id",
98
+ "guid",
99
+ "title",
100
+ "description",
101
+ "adapterId",
102
+ "allowedAccount",
103
+ "allowedAccounts",
104
+ "disabled",
105
+ "fileExtension",
106
+ "fileExtensions",
107
+ "mimeType",
108
+ "mimeTypes",
109
+ "ownerId",
110
+ "parameters",
111
+ "pid",
112
+ "script"
113
+ ]
114
+ },
115
+ {
116
+ "service": "Media Data Service",
117
+ "endpoint": "AssetType",
118
+ "fields": [
119
+ "id",
120
+ "guid",
121
+ "title",
122
+ "description",
123
+ "ownerId"
124
+ ]
125
+ },
126
+ {
127
+ "service": "Media Data Service",
128
+ "endpoint": "Category",
129
+ "fields": [
130
+ "id",
131
+ "guid",
132
+ "title",
133
+ "description",
134
+ "descriptionLocalized",
135
+ "fullTitle",
136
+ "fullTitleLocalized",
137
+ "label",
138
+ "labelLocalized",
139
+ "level",
140
+ "order",
141
+ "ownerId",
142
+ "parentId",
143
+ "scheme",
144
+ "titleLocalized"
145
+ ]
146
+ },
147
+ {
148
+ "service": "Media Data Service",
149
+ "endpoint": "MediaField",
150
+ "fields": [
151
+ "id",
152
+ "guid",
153
+ "title",
154
+ "description",
155
+ "descriptionLocalized",
156
+ "fullTitle",
157
+ "fullTitleLocalized",
158
+ "label",
159
+ "labelLocalized",
160
+ "level",
161
+ "order",
162
+ "parentId",
163
+ "scheme",
164
+ "titleLocalized",
165
+ "allowedValues",
166
+ "dataStructure",
167
+ "dataType",
168
+ "defaultValue",
169
+ "fieldName",
170
+ "includeInTextSearch",
171
+ "isUnique",
172
+ "length",
173
+ "namespace",
174
+ "namespacePrefix",
175
+ "notifyAlways",
176
+ "notifyChanges",
177
+ "notifyDelete",
178
+ "ownerId",
179
+ "searchFieldName"
180
+ ]
181
+ },
182
+ {
183
+ "service": "Media Data Service",
184
+ "endpoint": "MediaFileField",
185
+ "fields": [
186
+ "id",
187
+ "guid",
188
+ "title",
189
+ "description",
190
+ "descriptionLocalized",
191
+ "fullTitle",
192
+ "fullTitleLocalized",
193
+ "label",
194
+ "labelLocalized",
195
+ "level",
196
+ "order",
197
+ "parentId",
198
+ "scheme",
199
+ "titleLocalized",
200
+ "allowedValues",
201
+ "dataStructure",
202
+ "dataType",
203
+ "defaultValue",
204
+ "fieldName",
205
+ "includeInTextSearch",
206
+ "isUnique",
207
+ "length",
208
+ "namespace",
209
+ "namespacePrefix",
210
+ "notifyAlways",
211
+ "notifyChanges",
212
+ "notifyDelete",
213
+ "ownerId",
214
+ "searchFieldName"
215
+ ]
216
+ },
217
+ {
218
+ "service": "Media Data Service",
219
+ "endpoint": "ProviderField",
220
+ "fields": [
221
+ "id",
222
+ "guid",
223
+ "title",
224
+ "description",
225
+ "adPolicyId",
226
+ "adminTags",
227
+ "contactInfo",
228
+ "descriptionLocalized",
229
+ "emailNotificationRecipients",
230
+ "notes",
231
+ "notesLocalized",
232
+ "overrideDefaultMediaRetentionPeriod",
233
+ "ownerId",
234
+ "providerAccountIds",
235
+ "providerMediaRetentionPeriod",
236
+ "restrictionId",
237
+ "titleLocalized",
238
+ ":"
239
+ ]
240
+ },
241
+ {
242
+ "service": "Media Data Service",
243
+ "endpoint": "Server",
244
+ "fields": [
245
+ "id",
246
+ "guid",
247
+ "title",
248
+ "description",
249
+ "allowedAccountIds",
250
+ "disabled",
251
+ "failoverStreamingUrl",
252
+ "formats",
253
+ "downloadUrl",
254
+ "iconUrl",
255
+ "maximumFolderCount",
256
+ "organizeByOwner",
257
+ "organizeForVolume",
258
+ "ownerId",
259
+ "password",
260
+ "privateKey",
261
+ "promptsToDownload",
262
+ "pullUrl",
263
+ "storageUrl",
264
+ "streamingUrl",
265
+ "userName",
266
+ "zones",
267
+ ":"
268
+ ]
269
+ },
270
+ {
271
+ "service": "Media Data Service",
272
+ "endpoint": "ServerField",
273
+ "fields": [
274
+ "id",
275
+ "guid",
276
+ "title",
277
+ "description",
278
+ "allowedValues",
279
+ "dataStructure",
280
+ "dataType",
281
+ "defaultValue",
282
+ "fieldName",
283
+ "includeInTextSearch",
284
+ "isUnique",
285
+ "length",
286
+ "namespace",
287
+ "namespacePrefix",
288
+ "notifyAlways",
289
+ "notifyChanges",
290
+ "notifyDelete",
291
+ "ownerId",
292
+ "searchFieldName"
293
+ ]
294
+ },
295
+ {
296
+ "service": "Publish Data Service",
297
+ "endpoint": "AdapterConfiguration",
298
+ "fields": [
299
+ "id",
300
+ "guid",
301
+ "title",
302
+ "description",
303
+ "adapterId",
304
+ "disabled",
305
+ "ownerId",
306
+ "parameters",
307
+ "publishScript",
308
+ "revokeScript",
309
+ "updateMetadataScript"
310
+ ]
311
+ },
312
+ {
313
+ "service": "Publish Data Service",
314
+ "endpoint": "PublishProfile",
315
+ "fields": [
316
+ "id",
317
+ "guid",
318
+ "title",
319
+ "description",
320
+ "autoPublishScript",
321
+ "disableAutoRevokes",
322
+ "disableAutoUpdates",
323
+ "disabled",
324
+ "fileTargetCount",
325
+ "fileTargets",
326
+ "isCustom",
327
+ "outletProfileIds",
328
+ "ownerId",
329
+ "prioritySettings",
330
+ "publishProfileIds",
331
+ "supportingProfile",
332
+ "supportsUpdate"
333
+ ]
334
+ },
335
+ {
336
+ "service": "Task Service",
337
+ "endpoint": "TaskTemplate",
338
+ "fields": [
339
+ "id",
340
+ "guid",
341
+ "title",
342
+ "description",
343
+ "adminTags",
344
+ "ownerId",
345
+ "taskArguments",
346
+ "taskType",
347
+ "taskTypeRevision"
348
+ ]
349
+ },
350
+ {
351
+ "service": "Validation Data Service",
352
+ "endpoint": "ConditionalRule",
353
+ "fields": [
354
+ "id",
355
+ "guid",
356
+ "title",
357
+ "description",
358
+ "disabled",
359
+ "objectType",
360
+ "originalId",
361
+ "originalOwnerId",
362
+ "ownerId",
363
+ "parameterValues",
364
+ "validatorId"
365
+ ]
366
+ },
367
+ {
368
+ "service": "Validation Data Service",
369
+ "endpoint": "ValidationRule",
370
+ "fields": [
371
+ "id",
372
+ "guid",
373
+ "title",
374
+ "description",
375
+ "action",
376
+ "context",
377
+ "conditionalRuleId",
378
+ "disabled",
379
+ "fatal",
380
+ "objectType",
381
+ "order",
382
+ "originalId",
383
+ "originalOwnerId",
384
+ "ownerId",
385
+ "parameterValues",
386
+ "process",
387
+ "validatorId"
388
+ ]
389
+ },
390
+ {
391
+ "service": "WatchFolder Data Service",
392
+ "endpoint": "WatchFolder",
393
+ "fields": [
394
+ "id",
395
+ "guid",
396
+ "title",
397
+ "description",
398
+ "createBatch",
399
+ "deleteMetafiles",
400
+ "disabled",
401
+ "emptySubfolderLifetime",
402
+ "error",
403
+ "errorEmailAddresses",
404
+ "errorSubfolder",
405
+ "fileIngestMethod",
406
+ "filesAppearMidTransfer",
407
+ "folderPassword",
408
+ "folderTimeZoneId",
409
+ "folderPrivateKey",
410
+ "folderUrl",
411
+ "folderUserName",
412
+ "folderZones",
413
+ "frequency",
414
+ "ingestAccountId",
415
+ "ingestPassword",
416
+ "ingestPid",
417
+ "ingestUserName",
418
+ "lastError",
419
+ "lastWatchTime",
420
+ "logSubfolder",
421
+ "ownerId",
422
+ "nextWatchTime",
423
+ "readyExtension",
424
+ "requireMetadata",
425
+ "serviceLock",
426
+ "requireReadyFile",
427
+ "serviceLockExpiration",
428
+ "watchSubfolders"
429
+ ]
430
+ }
431
+ ]