Skip to content

Commit

Permalink
#38: added 2 new test automations for fixKey tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Aug 8, 2023
1 parent 61fc8fb commit bed0d64
Show file tree
Hide file tree
Showing 19 changed files with 840 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"description": "testing fixKey on an a paused automation",
"key": "testExisting_automation_fixedKey_paused",
"name": "testExisting_automation_fixedKey_paused",
"r__folder_Path": "my automations",
"schedule": {
"endDate": "2022-07-30T00:00:00",
"icalRecur": "FREQ=DAILY;COUNT=1;INTERVAL=1",
"startDate": "2022-07-30T00:00:00",
"timezoneName": "W. Europe Standard Time"
},
"status": "PausedSchedule",
"steps": [
{
"activities": [
{
"name": "testExisting_dataExtract",
"r__type": "dataExtract"
},
{
"name": "testExisting_emailSend",
"r__type": "emailSend"
},
{
"name": "testExisting_fileTransfer",
"r__type": "fileTransfer"
},
{
"name": "testExisting_importFile",
"r__type": "importFile"
},
{
"name": "testExisting_query",
"r__type": "query"
},
{
"name": "testExisting_script",
"r__type": "script"
}
]
}
],
"type": "scheduled"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"description": "updated on deploy",
"key": "testExisting_automation_paused",
"name": "testExisting_automation_paused",
"description": "testing fixKey on an a scheduled automation",
"key": "testExisting_automation_fixedKey_scheduled",
"name": "testExisting_automation_fixedKey_scheduled",
"r__folder_Path": "my automations",
"schedule": {
"endDate": "2022-07-30T00:00:00",
Expand Down Expand Up @@ -37,8 +37,7 @@
"name": "testExisting_script",
"r__type": "script"
}
],
"name": ""
]
}
],
"type": "scheduled"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<StatusMessage>Performed Activity</StatusMessage>
<Object xsi:type="Automation">
<PartnerKey xsi:nil="true" />
<ObjectID>08afb0e2-b00a-4c88-ad2e-pause</ObjectID>
<CustomerKey>testExisting_automation_paused</CustomerKey>
<ObjectID>08afb0e2-b00a-4c88-fixKey_pause</ObjectID>
<CustomerKey>testExisting_automation_fixedKey_paused</CustomerKey>
<IsPlatformObject>false</IsPlatformObject>
<Name />
<Description />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
<wsa:Action>PerformResponse</wsa:Action>
<wsa:MessageID>urn:uuid:cc45bb83-15a3-4a82-ba48-47ac4fb13000</wsa:MessageID>
<wsa:RelatesTo>urn:uuid:29986848-a0c3-4f3b-bf5a-91151f784449</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-4e8dad58-7a68-4653-8406-a172d1960c8a">
<wsu:Created>2023-06-02T13:41:30Z</wsu:Created>
<wsu:Expires>2023-06-02T13:46:30Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
<soap:Body>
<PerformResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
<Results>
<Result>
<StatusCode>OK</StatusCode>
<StatusMessage>Performed Activity</StatusMessage>
<Object xsi:type="Automation">
<PartnerKey xsi:nil="true" />
<ObjectID>08afb0e2-b00a-4c88-fixKey_schedule</ObjectID>
<CustomerKey>testExisting_automation_fixedKey_scheduled</CustomerKey>
<IsPlatformObject>false</IsPlatformObject>
<Name />
<Description />
<IsActive>true</IsActive>
</Object>
</Result>
</Results>
<OverallStatus>OK</OverallStatus>
<OverallStatusMessage />
<RequestID>898702fc-a432-4176-8130-5d6dd5ad9ca6</RequestID>
</PerformResponseMsg>
</soap:Body>
</soap:Envelope>
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
<wsa:Action>ScheduleResponse</wsa:Action>
<wsa:MessageID>urn:uuid:b58a82d9-a251-4be4-b50c-bd300d71601d</wsa:MessageID>
<wsa:RelatesTo>urn:uuid:9d3dbeb3-68b7-4f0a-b0af-04855dc0fd1e</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-5ff54ff3-2408-496a-b4ea-6df5e9ebee03">
<wsu:Created>2023-07-05T10:29:58Z</wsu:Created>
<wsu:Expires>2023-07-05T10:34:58Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
<soap:Body>
<ScheduleResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
<Results>
<Result>
<StatusCode>OK</StatusCode>
<StatusMessage>Program scheduled.</StatusMessage>
<RequestID>3a677ca8-5423-4d59-a1bb-c5fbe1c87197</RequestID>
<Object>
<PartnerKey xsi:nil="true" />
<ObjectID xsi:nil="true" />
<Recurrence xsi:type="DailyRecurrence">
<DailyRecurrencePatternType>Interval</DailyRecurrencePatternType>
<DayInterval>1</DayInterval>
</Recurrence>
<RecurrenceType>Daily</RecurrenceType>
<RecurrenceRangeType>EndAfter</RecurrenceRangeType>
<StartDateTime>2023-07-05T16:00:57</StartDateTime>
<Occurrences>1</Occurrences>
<TimeZone>
<PartnerKey xsi:nil="true" />
<ID>5</ID>
<ObjectID xsi:nil="true" />
</TimeZone>
</Object>
<Task />
</Result>
</Results>
<OverallStatus>OK</OverallStatus>
<OverallStatusMessage />
<RequestID>cfe97488-3c5e-49a9-b338-c0e9f6b6f684</RequestID>
</ScheduleResponseMsg>
</soap:Body>
</soap:Envelope>
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
<wsa:Action>ScheduleResponse</wsa:Action>
<wsa:MessageID>urn:uuid:b58a82d9-a251-4be4-b50c-bd300d71601d</wsa:MessageID>
<wsa:RelatesTo>urn:uuid:9d3dbeb3-68b7-4f0a-b0af-04855dc0fd1e</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-5ff54ff3-2408-496a-b4ea-6df5e9ebee03">
<wsu:Created>2023-07-05T10:29:58Z</wsu:Created>
<wsu:Expires>2023-07-05T10:34:58Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
<soap:Body>
<ScheduleResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
<Results>
<Result>
<StatusCode>OK</StatusCode>
<StatusMessage>Program scheduled.</StatusMessage>
<RequestID>3a677ca8-5423-4d59-a1bb-c5fbe1c87197</RequestID>
<Object>
<PartnerKey xsi:nil="true" />
<ObjectID xsi:nil="true" />
<Recurrence xsi:type="DailyRecurrence">
<DailyRecurrencePatternType>Interval</DailyRecurrencePatternType>
<DayInterval>1</DayInterval>
</Recurrence>
<RecurrenceType>Daily</RecurrenceType>
<RecurrenceRangeType>EndAfter</RecurrenceRangeType>
<StartDateTime>2023-07-05T16:00:57</StartDateTime>
<Occurrences>1</Occurrences>
<TimeZone>
<PartnerKey xsi:nil="true" />
<ID>5</ID>
<ObjectID xsi:nil="true" />
</TimeZone>
</Object>
<Task />
</Result>
</Results>
<OverallStatus>OK</OverallStatus>
<OverallStatusMessage />
<RequestID>cfe97488-3c5e-49a9-b338-c0e9f6b6f684</RequestID>
</ScheduleResponseMsg>
</soap:Body>
</soap:Envelope>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "08afb0e2-b00a-4c88-ad2e-pause",
"name": "testExisting_automation_paused",
"name": "testExisting_automation_pause",
"description": "bla bla",
"key": "testExisting_automation_pause",
"typeId": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"legacyId": "RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow-PAUSED",
"name": "testExisting_automation_paused",
"name": "testExisting_automation_pause",
"description": "updated on deploy",
"key": "testExisting_automation_paused",
"key": "testExisting_automation_pause",
"typeId": 1,
"type": "scheduled",
"statusId": 4,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"id": "08afb0e2-b00a-4c88-fixKey_pause",
"name": "testExisting_automation_fixedKey_paused",
"description": "testing fixKey on an a paused automation",
"key": "testExisting_automation_fixKey_pause",
"typeId": 1,
"type": "scheduled",
"statusId": 4,
"status": "PausedSchedule",
"categoryId": 290937,
"schedule": {
"id": "b393aa6c-a4a8-4c0f-a148-9250258a7339",
"typeId": 3,
"startDate": "2022-07-30T00:00:00",
"endDate": "2022-07-30T00:00:00",
"scheduledTime": "0001-01-01T07:00:00",
"rangeTypeId": 0,
"occurrences": 1,
"pattern": "<Pattern><PatternType>0</PatternType><DayInterval>1</DayInterval></Pattern>",
"icalRecur": "FREQ=DAILY;COUNT=1;INTERVAL=1",
"timezoneName": "W. Europe Standard Time",
"scheduleStatus": "paused",
"timezoneId": 5
},
"steps": [
{
"id": "13fda077-0e82-4936-b936-a36b0997fc44",
"name": "",
"step": 1,
"activities": [
{
"id": "8081a992-a27d-4a43-984a-d60114ea1025",
"name": "testExisting_dataExtract",
"activityObjectId": "56c5370a-f988-4f36-b0ee-0f876573f6d7",
"objectTypeId": 73,
"displayOrder": 1
},
{
"id": "d3774dc2-a271-4a44-8cbe-f630a6d6545e",
"name": "testExisting_emailSend",
"activityObjectId": "9b1c7bf9-4964-ed11-b849-48df37d1de8b",
"objectTypeId": 42,
"displayOrder": 2
},
{
"id": "2c77fc42-85eb-4611-98f9-223d29d89d72",
"name": "testExisting_fileTransfer",
"activityObjectId": "72c328ac-f5b0-4e37-91d3-a775666f15a6",
"objectTypeId": 53,
"displayOrder": 3
},
{
"id": "298b2794-28cb-4c70-b7ad-58b2c8cf48f7",
"name": "testExisting_importFile",
"activityObjectId": "9d16f42c-2260-ed11-b849-48df37d1de8b",
"objectTypeId": 43,
"displayOrder": 4,
"targetDataExtensions": [
{
"id": "21711373-72c1-ec11-b83b-48df37d1deb7",
"name": "testExisting_dataExtension",
"key": "testExisting_dataExtension",
"description": "bla bla",
"rowCount": 0
}
]
},
{
"id": "e3774dc2-a271-4a44-8cbe-f630a6d6545e",
"name": "testExisting_query_WRONG_NAME",
"activityObjectId": "549f0568-607c-4940-afef-437965094dat",
"objectTypeId": 300,
"displayOrder": 5
},
{
"id": "g3774dc2-a271-4a44-8cbe-f630a6d6545e",
"name": "testExisting_script",
"activityObjectId": "39f6a488-20eb-4ba0-b0b9-023725b574e4",
"objectTypeId": 423,
"displayOrder": 6
}
]
}
]
}
Loading

0 comments on commit bed0d64

Please sign in to comment.