# ACC Services - Environment Breakdown

**Date**: 2026-03-05
**Total Services**: 13 staged

---

## Environment Summary

| Service | Technology | Environments | Count |
|---------|-----------|--------------|-------|
| tbi-acc-booking-service | Node.js + NestJS | dev, qa, uat, prod | 4 |
| tbi-acc-quotes-service | Node.js + NestJS | dev, qa, uat, prod | 4 |
| tbi-acc-notification-service | Node.js + NestJS | dev, qa, uat, prod | 4 |
| tbi-acc-mybooking-service | Node.js + NestJS | dev, prod, uat | 3 |
| tbi-acc-ceetiz-connector | Node.js + NestJS | dev, prod, uat | 3 |
| tbi-acc-exotiktours-connector | Node.js + NestJS | dev, prod, uat | 3 |
| tbi-acc-profile-service | Node.js + NestJS | dev, qa, uat, prod | 4 |
| tbi-acc-profile-sync-service | Node.js + NestJS | dev, prod, qa, tbi-retail, uat | 5 |
| tbi-acc-hotel-service | PHP Lumen | dev, qa, uat, prod, tbi-acc-his, tbi-acc-gx | 6 |
| tbi-acc-package-service | PHP Lumen | dev, qa, uat, prod, tbi-acc-his, tbi-acc-gx | 6 |
| tbi-acc-hotel-service-connector | PHP Lumen | dev, qa, uat, prod, tbi-acc-his, tbi-acc-gx | 6 |
| tbi-acc-travelbrandsagent | PHP Laravel | dev, qa, uat, prod, tbi-acc-his, tbi-acc-gx | 6 |
| tbi-acc-gimmonix-automation | PHP Laravel | dev | 1 |

---

## By Environment

### dev (13 services)
All 13 services have dev environment

### prod (12 services)
All except tbi-acc-gimmonix-automation

### qa (9 services)
- tbi-acc-booking-service
- tbi-acc-quotes-service
- tbi-acc-notification-service
- tbi-acc-profile-service
- tbi-acc-profile-sync-service
- tbi-acc-hotel-service
- tbi-acc-package-service
- tbi-acc-hotel-service-connector
- tbi-acc-travelbrandsagent

### uat (12 services)
All except tbi-acc-gimmonix-automation

### tbi-acc-his (4 services - PHP only)
- tbi-acc-hotel-service
- tbi-acc-package-service
- tbi-acc-hotel-service-connector
- tbi-acc-travelbrandsagent

### tbi-acc-gx (4 services - PHP only)
- tbi-acc-hotel-service
- tbi-acc-package-service
- tbi-acc-hotel-service-connector
- tbi-acc-travelbrandsagent

### tbi-retail (1 service)
- tbi-acc-profile-sync-service

---

## Environment Patterns

### Standard 4-Environment Pattern (4 services)
**Environments**: dev, qa, uat, prod
- tbi-acc-booking-service
- tbi-acc-quotes-service
- tbi-acc-notification-service
- tbi-acc-profile-service

### 3-Environment Pattern (3 services)
**Environments**: dev, prod, uat (no qa)
- tbi-acc-mybooking-service
- tbi-acc-ceetiz-connector
- tbi-acc-exotiktours-connector

### Extended 5-Environment Pattern (1 service)
**Environments**: dev, prod, qa, tbi-retail, uat
- tbi-acc-profile-sync-service

### Full 6-Environment Pattern (4 services - PHP)
**Environments**: dev, qa, uat, prod, tbi-acc-his, tbi-acc-gx
- tbi-acc-hotel-service
- tbi-acc-package-service
- tbi-acc-hotel-service-connector
- tbi-acc-travelbrandsagent

### Dev-Only Pattern (1 service)
**Environments**: dev
- tbi-acc-gimmonix-automation

---

## Special Environments

### tbi-acc-his
- **Purpose**: HIS (Hotel Information System) specific environment
- **Services**: 4 PHP services (hotel, package, connector, agent)
- **Technology**: PHP Lumen/Laravel only

### tbi-acc-gx
- **Purpose**: GX specific environment
- **Services**: 4 PHP services (hotel, package, connector, agent)
- **Technology**: PHP Lumen/Laravel only

### tbi-retail
- **Purpose**: Retail-specific environment
- **Services**: 1 service (profile-sync-service)
- **Technology**: Node.js + NestJS

---

## Namespace

All 13 services use the **`access`** namespace in Kubernetes.

---

## CircleCI Pipeline Parameters

Each service has environment-specific boolean parameters:

### Node.js Services (8 services)
Use workflow-based deployment with branch triggers

### PHP Services (5 services)
Use parameter-based deployment:
- `deploy_dev: boolean`
- `deploy_qa: boolean`
- `deploy_uat: boolean`
- `deploy_prod: boolean`
- `deploy_tbi_acc_his: boolean` (4 services)
- `deploy_tbi_acc_gx: boolean` (4 services)

---

## Total Environment Deployments

Counting all service × environment combinations:
- **Node.js services**: 8 services × avg 3.75 envs = 30 deployments
- **PHP services**: 5 services × avg 5 envs = 25 deployments
- **Total**: 55 environment deployments across 13 services

---

**Last Updated**: 2026-03-05

