Please enable JavaScript.
Coggle requires JavaScript to display documents.
JAR-2934 Process activating events - Create DV360 Line items - Coggle…
JAR-2934 Process activating events - Create DV360 Line items
Jarvis.Events
Event definition is added
Activating Api
GET
Returns expected activatings per tacticId
All activating roles can use this endpoint
Shows not found error when tacticId doesnt exist
PUT
Persists changes from the flight DV360 sync (lineItemId, status, activatedDateTime)
Only Admin or Editor can use this endpoint
Shows validation errors when
Status doesnt exist
TacticId doesnt exist or ist present
FlightId doesnt exist or isnt present
LineItemId does not exist
POST
Pushes event on queue per tactic
Returns created object
Persists new data in table with status 'creating'
Only Admin or Editor can use this endpoint
Shows validation errors when
Flight doesnt exist or isnt present
Flight does not have activating settings
The description mentions that it triggers the Flight Dv360 sync
The API resource has a description (in Swagger) that is understandable by a 12 yo
All Swagger examples are present and realistic
Flight DV360 Sync
Makes a successful call to Google, creating the line item(s)
Updates the activatingTactics in the API as expected (status, lineItemId, activatedDateTime)
Activating UI
onClick button call to activating is implemented incl. errorhandling
Shows current activating status in the table (f.e. creating or created or creating failed)
After activating the 'activate tactics' and pencil (edit) button is hidden
When a line item is created the status 'created' is shown
When it's not possible to create a tactic, it shows the status 'creating failed'
Snowflake > data is exported