mirror of
https://gitlab.com/mobicoop/v3/service/matcher.git
synced 2025-12-31 05:42:42 +00:00
Rename geocoder service to geography
This commit is contained in:
@@ -3,7 +3,7 @@ export const SERVICE_NAME = 'matcher';
|
|||||||
|
|
||||||
// grpc
|
// grpc
|
||||||
export const GRPC_PACKAGE_NAME = 'matcher';
|
export const GRPC_PACKAGE_NAME = 'matcher';
|
||||||
export const GRPC_GEOGRAPHY_PACKAGE_NAME = 'geocoder';
|
export const GRPC_GEOGRAPHY_PACKAGE_NAME = 'geography';
|
||||||
export const GRPC_GEOROUTER_SERVICE_NAME = 'GeorouterService';
|
export const GRPC_GEOROUTER_SERVICE_NAME = 'GeorouterService';
|
||||||
|
|
||||||
// messaging output
|
// messaging output
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { registerAs } from '@nestjs/config';
|
import { registerAs } from '@nestjs/config';
|
||||||
|
|
||||||
export default registerAs('producerServices', () => ({
|
export default registerAs('producerServices', () => ({
|
||||||
geographyUrl: process.env.GEOGRAPHY_SERVICE_URL ?? 'v3-geocoder-api',
|
geographyUrl: process.env.GEOGRAPHY_SERVICE_URL ?? 'v3-geography-api',
|
||||||
geographyPort: process.env.GEOGRAPHY_SERVICE_PORT
|
geographyPort: process.env.GEOGRAPHY_SERVICE_PORT
|
||||||
? parseInt(process.env.GEOGRAPHY_SERVICE_PORT, 10)
|
? parseInt(process.env.GEOGRAPHY_SERVICE_PORT, 10)
|
||||||
: 5007,
|
: 5007,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package geocoder;
|
package geography;
|
||||||
|
|
||||||
service GeorouterService {
|
service GeorouterService {
|
||||||
rpc GetRoute(RouteRequest) returns (Route);
|
rpc GetRoute(RouteRequest) returns (Route);
|
||||||
|
|||||||
Reference in New Issue
Block a user