Skip to content

Commit add46a4

Browse files
authored
Fix playbook-create_delete_record_Test (demisto#38123)
* Fix playbook-create_delete_record_Test * add tests * format * Fix test playbook in integration * RN
1 parent 3ac0ce1 commit add46a4

File tree

5 files changed

+19
-14
lines changed

5 files changed

+19
-14
lines changed

Diff for: Packs/AWS-Route53/Integrations/AWSRoute53/AWSRoute53.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -416,4 +416,4 @@ script:
416416
subtype: python3
417417
type: python
418418
tests:
419-
- No tests
419+
- playbook-create_delete_record_Test

Diff for: Packs/AWS-Route53/ReleaseNotes/1_1_39.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
#### Integrations
3+
4+
##### AWS - Route53
5+
6+
Documentation and metadata improvements.

Diff for: Packs/AWS-Route53/TestPlaybooks/playbook-create_delete_record_Test.yml

+9-11
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
id: playbook-create_delete_record_Test
2-
version: 4
3-
vcShouldKeepItemLegacyProdMachine: false
2+
version: -1
43
name: playbook-create_delete_record_Test
5-
description: Creation and deletion of AWS Route53 DNS record
4+
description: Creation and deletion of AWS Route53 DNS record.
65
fromversion: 6.5.0
76
starttaskid: "0"
87
tasks:
@@ -16,6 +15,7 @@ tasks:
1615
name: ""
1716
iscommand: false
1817
brand: ""
18+
description: ''
1919
nexttasks:
2020
'#none#':
2121
- "2"
@@ -43,8 +43,7 @@ tasks:
4343
id: 4f3a8eb1-0073-4648-893a-8215f1fa4c6c
4444
version: -1
4545
name: Create DNS record within the hosted zone
46-
description: Creates a resource record set. Creates a resource record set that
47-
has the specified values.
46+
description: Creates a resource record set. Creates a resource record set that has the specified values.
4847
script: AWS - Route53|||aws-route53-create-record
4948
type: regular
5049
iscommand: true
@@ -54,7 +53,7 @@ tasks:
5453
- "9"
5554
scriptarguments:
5655
hostedZoneId:
57-
simple: ${AWS.Route53.HostedZones.Id}
56+
simple: ${AWS.Route53.HostedZones.[0].Id}
5857
source:
5958
simple: ${dns_record_name}
6059
target:
@@ -87,8 +86,7 @@ tasks:
8786
id: 421a0b18-3414-42e2-8963-7570a7a80e34
8887
version: -1
8988
name: List hosted zones
90-
description: 'Retrieves a list of the public and private hosted zones that are
91-
associated with the current AWS account. '
89+
description: Retrieves a list of the public and private hosted zones that are associated with the current AWS account.
9290
script: AWS - Route53|||aws-route53-list-hosted-zones
9391
type: regular
9492
iscommand: true
@@ -159,8 +157,7 @@ tasks:
159157
id: ef2f4e6f-6e00-44e3-8e77-c0df125be64a
160158
version: -1
161159
name: Delete the DNS record to cleanup after the playbook
162-
description: Deletes a resource record set. Deletes an existing resource record
163-
set that has the specified values.
160+
description: Deletes a resource record set. Deletes an existing resource record set that has the specified values.
164161
script: '|||aws-route53-delete-record'
165162
type: regular
166163
iscommand: true
@@ -170,7 +167,7 @@ tasks:
170167
- "14"
171168
scriptarguments:
172169
hostedZoneId:
173-
simple: ${AWS.Route53.HostedZones.Id}
170+
simple: ${AWS.Route53.HostedZones.[0].Id}
174171
source:
175172
simple: ${dns_record_name}
176173
target:
@@ -252,6 +249,7 @@ tasks:
252249
type: title
253250
iscommand: false
254251
brand: ""
252+
description: ''
255253
separatecontext: false
256254
continueonerrortype: ""
257255
view: |-

Diff for: Packs/AWS-Route53/pack_metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "AWS - Route53",
33
"description": "Amazon Web Services Managed Cloud DNS Service.",
44
"support": "xsoar",
5-
"currentVersion": "1.1.38",
5+
"currentVersion": "1.1.39",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",

Diff for: Tests/conf.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5803,7 +5803,8 @@
58035803
},
58045804
{
58055805
"integrations": "AWS - Route53",
5806-
"playbookID": "playbook-create_delete_record_Test"
5806+
"playbookID": "playbook-create_delete_record_Test",
5807+
"is_mockable": false
58075808
},
58085809
{
58095810
"integrations": "Cylance Protect v2",

0 commit comments

Comments
 (0)