chore(gateway): remove routes to dropped services
Removed 41 routes whose target service is not part of Co-Lite: bonus, payment (payment, wallet, paymentMethod, voucher, onlinePayment), inventory (product, category, sku, pricing, deliveryOrder, promotion, stockist stock and related), job, drive (storage), staff (staff, staffGroup), css (feedback), sms, stockist, notification service, kyc and report. Their app.services.name entries are removed too. Kept targets: auth, system, member, log, counter, email. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
c922be1e0b
commit
6fee337927
2 files changed
+1
-177
No files matched your search
@@ -12,7 +12,7 @@ Run serially: every group touches build files or shared config.
|
||||
|
||||
- [x] 2.1 Set the core-libs version to `colite-v1` in `solvway-core-libs/pom.xml` (and core-session if it shares the scheme), and set `core-project.version` to `colite-v1` in every kept module pom. Verify: `grep -rn "tastefully-v1\|babyboo-v1" --include=pom.xml .` is empty.
|
||||
- [x] 2.2 Add a root `pom.xml` aggregator (groupId `com.solvway`, artifactId `co-lite`, packaging `pom`) listing the ten modules, core-libs and core-session first. Verify: `mvn -T 1C verify` at the root passes, and `ls ~/.m2/repository/com/solvway/core/solvway-core-libs/` still contains `tastefully-v1` with an unchanged timestamp. Do not run `mvn install` against the Tastefully or babyboo repos.
|
||||
- [ ] 2.3 Remove gateway routes to dropped services in `solvway-api-gateway/src/main/resources/application.yml`, and any `app.services.name.*` entries only they use. Verify: the existing gateway tests pass, and `grep -nE "bonus|payment|inventory|stockist|wallet" solvway-api-gateway/src/main/resources/application.yml` is empty.
|
||||
- [x] 2.3 Remove gateway routes to dropped services in `solvway-api-gateway/src/main/resources/application.yml`, and any `app.services.name.*` entries only they use. Verify: the existing gateway tests pass, and `grep -nE "bonus|payment|inventory|stockist|wallet" solvway-api-gateway/src/main/resources/application.yml` is empty.
|
||||
|
||||
## 3. Local stack (without seed)
|
||||
|
||||
|
||||
@@ -18,23 +18,11 @@ app:
|
||||
services:
|
||||
name:
|
||||
auth: service-auth
|
||||
bonus: service-bonus
|
||||
email: service-email
|
||||
sms: service-sms
|
||||
system: service-system
|
||||
member: service-member
|
||||
log: service-log
|
||||
payment: service-payment
|
||||
inventory: service-inventory
|
||||
notification: service-notification
|
||||
job: service-job
|
||||
drive: service-drive
|
||||
counter: service-counter
|
||||
staff: service-staff
|
||||
css: service-css
|
||||
stockist: service-stockist
|
||||
kyc: service-kyc
|
||||
report: service-report
|
||||
|
||||
spring:
|
||||
cloud:
|
||||
@@ -44,10 +32,6 @@ spring:
|
||||
uri: http://${app.services.name.auth}
|
||||
predicates:
|
||||
- Path=/auth/**
|
||||
- id: bonus
|
||||
uri: http://${app.services.name.bonus}
|
||||
predicates:
|
||||
- Path=/bonus/**
|
||||
- id: user
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
@@ -80,18 +64,6 @@ spring:
|
||||
uri: http://${app.services.name.log}
|
||||
predicates:
|
||||
- Path=/log/**
|
||||
- id: payment
|
||||
uri: http://${app.services.name.payment}
|
||||
predicates:
|
||||
- Path=/payment/**
|
||||
- id: wallet
|
||||
uri: http://${app.services.name.payment}
|
||||
predicates:
|
||||
- Path=/wallet/**
|
||||
- id: inventory
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/inventory/**
|
||||
- id: counter
|
||||
uri: http://${app.services.name.counter}
|
||||
predicates:
|
||||
@@ -116,38 +88,6 @@ spring:
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/nationality/**
|
||||
- id: product
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/product/**
|
||||
- id: category
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/category/**
|
||||
- id: siCategory
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/siCategory/**
|
||||
- id: sku
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/sku/**
|
||||
- id: skutype
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/skutype/**
|
||||
- id: variation
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/variation/**
|
||||
- id: skuVariation
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/skuVariation/**
|
||||
- id: productDetails
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/productDetails/**
|
||||
- id: race
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
@@ -160,18 +100,6 @@ spring:
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/preferredLanguage/**
|
||||
- id: categoryLevel
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/categoryLevel/**
|
||||
- id: pricing
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/pricing/**
|
||||
- id: priceType
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/priceType/**
|
||||
- id: state
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
@@ -192,26 +120,10 @@ spring:
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/geoLocationHierarchy/**
|
||||
- id: job
|
||||
uri: http://${app.services.name.job}
|
||||
predicates:
|
||||
- Path=/job/**
|
||||
- id: deliveryCharges
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/deliveryCharges/**
|
||||
- id: paymentMethod
|
||||
uri: http://${app.services.name.payment}
|
||||
predicates:
|
||||
- Path=/paymentMethod/**
|
||||
- id: voucher
|
||||
uri: http://${app.services.name.payment}
|
||||
predicates:
|
||||
- Path=/voucher/**
|
||||
- id: onlinePayment
|
||||
uri: http://${app.services.name.payment}
|
||||
predicates:
|
||||
- Path=/onlinePayment/**
|
||||
- id: deliveryChargesZone
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
@@ -220,10 +132,6 @@ spring:
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/systemProperty/**
|
||||
- id: storage
|
||||
uri: http://${app.services.name.drive}
|
||||
predicates:
|
||||
- Path=/storage/**
|
||||
- id: jwt
|
||||
uri: http://${app.services.name.auth}
|
||||
predicates:
|
||||
@@ -232,18 +140,10 @@ spring:
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/passwordRule/**
|
||||
- id: deliveryOrder
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/deliveryOrder/**
|
||||
- id: bulletin
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/bulletin/**
|
||||
- id: promotion
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/promotion/**
|
||||
- id: blockLoginPeriod
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
@@ -260,22 +160,10 @@ spring:
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/pdpa/**
|
||||
- id: staff
|
||||
uri: http://${app.services.name.staff}
|
||||
predicates:
|
||||
- Path=/staff/**
|
||||
- id: staffGroup
|
||||
uri: http://${app.services.name.staff}
|
||||
predicates:
|
||||
- Path=/staffGroup/**
|
||||
- id: purchaserDraw
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/purchaserDraw/**
|
||||
- id: feedback
|
||||
uri: http://${app.services.name.css}
|
||||
predicates:
|
||||
- Path=/feedback/**
|
||||
- id: email
|
||||
uri: http://${app.services.name.email}
|
||||
predicates:
|
||||
@@ -292,30 +180,14 @@ spring:
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/reasonCode/**
|
||||
- id: sms
|
||||
uri: http://${app.services.name.sms}
|
||||
predicates:
|
||||
- Path=/sms/**
|
||||
- id: logisticSetup
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/logisticSetup/**
|
||||
- id: salutation
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/salutation/**
|
||||
- id: picking
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/picking/**
|
||||
- id: taxationSetup
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/taxationSetup/**
|
||||
- id: backOrder
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/backOrder/**
|
||||
- id: appInitialize
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
@@ -332,42 +204,14 @@ spring:
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/notification/**
|
||||
- id: stockist
|
||||
uri: http://${app.services.name.stockist}
|
||||
predicates:
|
||||
- Path=/stockist/**
|
||||
- id: pickupPointLocation
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/pickupPointLocation/**
|
||||
- id: agility
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/integration/agility/**
|
||||
- id: appProduct
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/appProduct/**
|
||||
- id: pickupPointType
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/pickupPointType/**
|
||||
- id: salesItemTrxn
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/salesItemTrxn/**
|
||||
- id: inventoryFreeze
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/inventoryFreeze/**
|
||||
- id: notification
|
||||
uri: http://${app.services.name.notification}
|
||||
predicates:
|
||||
- Path=/pushnotification/**
|
||||
- id: kyc
|
||||
uri: http://${app.services.name.kyc}
|
||||
predicates:
|
||||
- Path=/kyc/**
|
||||
- id: userAuth
|
||||
uri: http://${app.services.name.auth}
|
||||
predicates:
|
||||
@@ -384,26 +228,6 @@ spring:
|
||||
uri: http://${app.services.name.system}
|
||||
predicates:
|
||||
- Path=/maintenance/**
|
||||
- id: inventoryTrxn
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/inventoryTrxn/**
|
||||
- id: stockistStockAccept
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/stockistStockAccept/**
|
||||
- id: pricingProduct
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/pricingProduct/**
|
||||
- id: report
|
||||
uri: http://${app.services.name.report}
|
||||
predicates:
|
||||
- Path=/report/**
|
||||
- id: integration
|
||||
uri: http://${app.services.name.inventory}
|
||||
predicates:
|
||||
- Path=/integration/**
|
||||
- id: npwp
|
||||
uri: http://${app.services.name.member}
|
||||
predicates:
|
||||
|
||||
Reference in new issue
Block a user