Integrate billing-service microservice: add API gateway routing, service discovery with Consul, Docker support, and Spring configuration. Update frontend with API integration, BillingRepository, and BillingViewModel.

This commit is contained in:
2026-04-12 18:00:38 +02:00
parent 11abbf0179
commit 0f2060fc14
12 changed files with 376 additions and 59 deletions
@@ -15,7 +15,8 @@ class GatewayConfig(
@Value("\${events.service.url:http://localhost:8085}") private val eventsServiceUrl: String,
@Value("\${zns.import.service.url:http://localhost:8095}") private val znsImportServiceUrl: String,
@Value("\${results.service.url:http://localhost:8088}") private val resultsServiceUrl: String,
@Value("\${series.service.url:http://localhost:8089}") private val seriesServiceUrl: String
@Value("\${series.service.url:http://localhost:8089}") private val seriesServiceUrl: String,
@Value("\${billing.service.url:http://localhost:8087}") private val billingServiceUrl: String
) {
@Bean
@@ -52,6 +53,10 @@ class GatewayConfig(
path("/api/v1/series/**")
uri(seriesServiceUrl)
}
route(id = "billing-service") {
path("/api/v1/billing/**")
uri(billingServiceUrl)
}
}
}
}