Now Reading
Managing and scaling different white label development and testing environments | by Thammarith | Agoda Engineering & Design | Mar, 2022
[vc_row thb_full_width=”true” thb_row_padding=”true” thb_column_padding=”true” css=”.vc_custom_1608290870297{background-color: #ffffff !important;}”][vc_column][vc_row_inner][vc_column_inner][vc_empty_space height=”20px”][thb_postcarousel style=”style3″ navigation=”true” infinite=”” source=”size:6|post_type:post”][vc_empty_space height=”20px”][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row]

Managing and scaling different white label development and testing environments | by Thammarith | Agoda Engineering & Design | Mar, 2022

Managing and scaling different white label development and testing environments | by Thammarith | Agoda Engineering & Design | Mar, 2022

White-labelling (Part 2): how Agoda manages development environments for white labels

Using domain names for white labels

  • a subdomain for each stage of the development process, e.g., development.notyetadoga.com to indicate the development stage
  • a sub-sub domain to represent a pull request, e.g., pull1234.pre-live.notyetadoga.com for pull request #1234.
  • The costs of creating and renewing the domain names and certificates
  • Cross-Origin Resource Sharing (CORS) issues when forcing API endpoints on other domain names, etc.

Using a header for white labels

Back to domain names, but this time, its better!

  • Overheads in preparing for a new white label
  • No consolidated system for end-to-end (E2E) tests for white-labels
  • Difficulties for the partners to access the website for user acceptance test (UAT)
  • We created a unified white label domain name, agoda-whitelabel.com
  • We added another layer, white-label proxy, to resolve the new white label URL scheme
  • The white label reverse proxy tokenises the URL and maps back to the corresponding pull request, white-label, and environment
  • The white label proxy then passes the mapped information to the reverse proxy to prepare information for the downstream systems
View Comments (0)

Leave a Reply

Your email address will not be published.