Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#146 Adjust tests for transitions alias #119

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global.handler.fragmentsHandler.config {
tasks {
tags-listing {
action = tags
onTransitions {
on {
_success {
action = te-hbs
}
Expand All @@ -13,7 +13,7 @@ global.handler.fragmentsHandler.config {
}
authors-listing {
action = author
onTransitions {
on {
_success {
action = te-hbs
}
Expand All @@ -28,7 +28,7 @@ global.handler.fragmentsHandler.config {
action = author
}
]
onTransitions {
on {
_success {
action = te-hbs
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global.handler.fragmentsHandler.config {
tasks {
web-api-test {
action = fetch-user-info
onTransitions._success {
on._success {
actions = [
{
action = fetch-payment-providers
Expand All @@ -11,7 +11,7 @@ global.handler.fragmentsHandler.config {
action = fetch-offers-with-cb
}
]
onTransitions {
on {
_success {
action = create-response
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ global.handler.fragmentsHandler.config {
tasks {
web-api-test {
action = fetch-user-info
onTransitions._success {
on._success {
actions = [
{
action = fetch-payment-providers
}
{
action = fetch-offers-with-cb
onTransitions._fallback {
on._fallback {
action = fetch-offers-fallback
}
}
]
onTransitions._success {
on._success {
action = create-response
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ global.handler.fragmentsHandler.config {
tasks {
web-api-test {
action = obtain-auth-token
onTransitions._success {
on._success {
action = reload-database
onTransitions {
on {
_success {
action = create-response
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global.handler.fragmentsHandler.config {
tasks {
error-task {
action = fetch-incorrect-data
onTransitions._success {
on._success {
action = te-pebble
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ global.handler.fragmentsHandler.config {
tasks {
books-listing {
action = book
onTransitions {
on {
_error {
action = book-inline-body-fallback
}
}
}
authors-listing {
action = author
onTransitions {
on {
_error {
action = author-inline-payload-fallback
onTransitions._success {
on._success {
action = te-hbs
}
}
Expand All @@ -23,18 +23,18 @@ global.handler.fragmentsHandler.config {
subtasks = [
{
action = book
onTransitions._error {
on._error {
action = book-inline-payload-fallback
}
},
{
action = author
}
]
onTransitions {
on {
_error {
action = author-inline-payload-fallback
onTransitions._success {
on._success {
action = te-hbs
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,48 +3,48 @@ global.handler.fragmentsHandler.config {
# HTML Templating Scenario
user-task {
action = fetch-user-info // _success
onTransitions._success {
on._success {
action = te-hbs
}
}
# HTML Templating Scenario
payments-task {
action = fetch-user-info // _success
onTransitions._success {
on._success {
actions = [
{
action = fetch-payment-providers // _success
onTransitions._error {
on._error {
action = fetch-payment-providers-fallback
}
}
{
action = fetch-offers // _error
onTransitions._error {
on._error {
action = fetch-offers-fallback // _success
}
}
{
action = fetch-delivery-options-cb // 2 x 500 -> _fallback
onTransitions._fallback {
on._fallback {
action = fetch-delivery-fallback // _success
}
}
{
action = notify-analytics-cb // 2 x timeout -> _fallback
onTransitions._fallback {
on._fallback {
action = notify-analytics-fallback // _success
}
}
]
onTransitions._success {
on._success {
action = te-pebble // _success
}
}
onTransitions._error {
on._error {
action = fetch-user-info-fallback
}
onTransitions._custom {
on._custom {
action = fetch-user-info-custom
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ global.handler.fragmentsHandler.config {
tasks {
web-api-test {
action = fetch-user-info
onTransitions._success {
on._success {
actions = [
{
action = fetch-payment-providers
}
{
action = fetch-offers
onTransitions._error {
on._error {
action = fetch-offers-fallback
}
}
]
onTransitions._success {
on._success {
action = create-response
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ global.handler.fragmentsHandler.config {
tasks {
books-listing {
action = book-with-circuit-breaker
onTransitions._fallback {
on._fallback {
action = book-inline-body-fallback
}
}
authors-listing {
action = author
onTransitions {
on {
_success {
action = te-hbs
}
Expand All @@ -18,15 +18,15 @@ global.handler.fragmentsHandler.config {
actions = [
{
action = book-with-circuit-breaker
onTransitions._fallback {
on._fallback {
action = book-inline-payload-fallback
}
},
{
action = author
}
]
onTransitions {
on {
_success {
action = te-hbs
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global.handler.fragmentsHandler.config {
tasks {
tags-listing {
action = tags
onTransitions {
on {
_success {
action = te-pebble
}
Expand All @@ -13,15 +13,15 @@ global.handler.fragmentsHandler.config {
}
books-listing {
action = book
onTransitions {
on {
_success {
action = te-pebble
}
}
}
authors-listing {
action = author
onTransitions {
on {
_success {
action = te-pebble
}
Expand All @@ -36,7 +36,7 @@ global.handler.fragmentsHandler.config {
action = author
}
]
onTransitions {
on {
_success {
action = te-pebble
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ global.handler.fragmentsHandler.config {
tasks {
user-task {
action = fetch-user-info // _success
onTransitions._success {
on._success {
action = te-hbs
}
}
payments-task {
action = fetch-user-info // _success
onTransitions._success {
on._success {
actions = [
{
action = fetch-payment-providers // _success
Expand All @@ -17,7 +17,7 @@ global.handler.fragmentsHandler.config {
action = fetch-offers // _success
}
]
onTransitions._success {
on._success {
action = te-pebble // _success
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ global.handler.fragmentsHandler.config {
action = head
}
]
onTransitions._success {
on._success {
action = te-hbs
}
}
Expand Down
Loading