@@ -4,9 +4,9 @@ The application consists of a **frontend** Angular single-page web application
4
4
and a Node.js ** backend** API. The frontend app is served
5
5
as static files by the backend.
6
6
7
- Requests to ** Cloud Fleet Routing ** are proxied from the frontend
7
+ Requests to ** Route Optimization ** are proxied from the frontend
8
8
through the backend. The backend forwards requests to the
9
- ** Google Cloud Optimization client library for Node.js** (pre-release build) ,
9
+ ** Route Optimization client library for Node.js** ,
10
10
authenticated as the backend's dedicated service account.
11
11
12
12
Optionally, "scenario" and "solution" JSON files created in the app
@@ -17,7 +17,7 @@ This GCS integration must be explicitly enabled in the deployment configuration,
17
17
``` mermaid
18
18
flowchart LR
19
19
F[Angular Frontend] --- B["Node.js Backend (Cloud Run)"]
20
- B --- C["Cloud Fleet Routing (Cloud Optimization API)"]
20
+ B --- C["Route Optimization (Route Optimization API)"]
21
21
B -.- S[Google Cloud Storage]
22
22
```
23
23
@@ -35,7 +35,7 @@ Container images are pulled from an **Artifact Registry**
35
35
repository in the ` fleetrouting-app-ops ` project.
36
36
37
37
The Cloud Run service runs as a dedicated ** Service Account** (` fleetrouting-app ` )
38
- with the * Cloud Optimization AI Editor* (` roles/cloudoptimization .editor ` ) IAM role.
38
+ with the * Route Optimization Editor* (` roles/routeoptimization .editor ` ) IAM role.
39
39
The Cloud Run instances run on a ** private VPC network** (i.e. not publicly-accessible).
40
40
* No default VPCs or service accounts are utilized* .
41
41
@@ -87,9 +87,8 @@ are enabled for the project:
87
87
- Secret Manager
88
88
- Serverless VPC Access
89
89
- Storage
90
- - Optimization / Fleet Routing
91
- - Cloud Optimization API
92
- - Maps for Fleet Routing
90
+ - Optimization
91
+ - Route Optimization API
93
92
- Google Maps
94
93
- Distance Matrix API
95
94
- Geocoding API
@@ -101,7 +100,7 @@ are enabled for the project:
101
100
## Frontend
102
101
The frontend is an Angular single-page application (SPA).
103
102
104
- - The user constructs a Cloud Fleet Routing vehicle routing * scenario*
103
+ - The user constructs a Route Optimization vehicle routing * scenario*
105
104
from scratch with the forms in the application
106
105
or imports a JSON or CSV file populated with * scenario* data.
107
106
- In the app forms, vehicle and shipment locations are specified
@@ -114,7 +113,7 @@ The frontend is an Angular single-page application (SPA).
114
113
- Vehicle start/end locations
115
114
- Shipment pickup/dropoff locations
116
115
- The * scenario* can exported to local disk as a JSON file
117
- - When the user is ready, the app sends the * scenario* to ** Cloud Fleet Routing **
116
+ - When the user is ready, the app sends the * scenario* to ** Route Optimization **
118
117
via the ** backend** , which returns a * solution* containing the optimized routes
119
118
- Any errors for the request are presented to the user
120
119
- With an active * solution* , users can explore the optimized routes
@@ -133,8 +132,8 @@ The backend service is a **Node.js Express API**, written in **TypeScript**.
133
132
- Serves the frontend app as static content
134
133
- Injects environment-specific variables (URLs, Maps API key, feature flags)
135
134
into the frontend's ` config.json ` file at runtime
136
- - Proxies ** Cloud Fleet Routing ** requests, forwarding them to the
137
- ** Google Cloud Optimization client library**
135
+ - Proxies ** Route Optimization ** requests, forwarding them to the
136
+ ** Route Optimization client library**
138
137
- If configured, writes and reads * scenario* and * solution* JSON files
139
138
to/from Google Cloud Storage with the Google Cloud Storage client library
140
139
- Requests have 1-hour to allow for long-running optimization requests
@@ -155,7 +154,7 @@ Runtime:
155
154
- Angular
156
155
- Deck.gl
157
156
- Google Maps JavaScript API
158
- - Google Cloud Optimization client (pre-release)
157
+ - Google Maps Route Optimization Client
159
158
- NgRx
160
159
- Turf
161
160
@@ -170,9 +169,7 @@ Development:
170
169
### Backend
171
170
Runtime:
172
171
- Express
173
- - Google Cloud Optimization Client
174
- > The optimization client library is an pre-release build provided by Google.
175
- > It is not publicly distributed.
172
+ - Google Maps Route Optimization Client
176
173
- Google Cloud Storage Client
177
174
- Pino
178
175
@@ -191,11 +188,11 @@ Development:
191
188
## External APIs
192
189
The following external APIs are used by the app:
193
190
194
- - Google Cloud Optimization API
195
191
- Google Fonts
196
192
- Google Maps Platform:
197
193
- Geocoding API
198
194
- Maps JavaScript API
199
195
- Places API
200
196
- Static Maps API
197
+ - Route Optimization API
201
198
- Google Cloud Storage API
0 commit comments