Skip to content

Commit

Permalink
fix(config): move mock configs to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Oct 25, 2023
1 parent f439346 commit 141cc32
Showing 1 changed file with 14 additions and 157 deletions.
171 changes: 14 additions & 157 deletions cfg/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,190 +168,47 @@
}
},
"client": {
"order": {
"address": "localhost:50051"
},
"acs-srv": {
"address": "localhost:50061",
"mock": {
"protoPath": "io/restorecommerce/access_control.proto",
"packageName": "io.restorecommerce.access_control",
"serviceName": "AccessControlService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50061"
},
"user": {
"address": "localhost:50065",
"mock": {
"protoPath": "io/restorecommerce/user.proto",
"packageName": "io.restorecommerce.user",
"serviceName": "UserService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50065"
},
"product": {
"address": "localhost:50066",
"mock": {
"protoPath": "io/restorecommerce/product.proto",
"packageName": "io.restorecommerce.product",
"serviceName": "ProductService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50066"
},
"contact_point": {
"address": "localhost:50067",
"mock": {
"protoPath": "io/restorecommerce/contact_point.proto",
"packageName": "io.restorecommerce.contact_point",
"serviceName": "ContactPointService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50067"
},
"address": {
"address": "localhost:50068",
"mock": {
"protoPath": "io/restorecommerce/address.proto",
"packageName": "io.restorecommerce.address",
"serviceName": "AddressService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50068"
},
"country": {
"address": "localhost:50069",
"mock": {
"protoPath": "io/restorecommerce/country.proto",
"packageName": "io.restorecommerce.country",
"serviceName": "CountryService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50069"
},
"tax": {
"address": "localhost:50070",
"mock": {
"protoPath": "io/restorecommerce/tax.proto",
"packageName": "io.restorecommerce.tax",
"serviceName": "TaxService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50070"
},
"tax_type": {
"address": "localhost:50071",
"mock": {
"protoPath": "io/restorecommerce/tax_type.proto",
"packageName": "io.restorecommerce.tax_type",
"serviceName": "TaxTypeService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50071"
},
"customer": {
"address": "localhost:50072",
"mock": {
"protoPath": "io/restorecommerce/customer.proto",
"packageName": "io.restorecommerce.customer",
"serviceName": "CustomerService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50072"
},
"shop": {
"address": "localhost:50073",
"mock": {
"protoPath": "io/restorecommerce/shop.proto",
"packageName": "io.restorecommerce.shop",
"serviceName": "ShopService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50073"
},
"organization": {
"address": "localhost:50074",
"mock": {
"protoPath": "io/restorecommerce/organization.proto",
"packageName": "io.restorecommerce.organization",
"serviceName": "OrganizationService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50074"
},
"fulfillment": {
"address": "localhost:50075",
"mock": {
"protoPath": "io/restorecommerce/fulfillment.proto",
"packageName": "io.restorecommerce.fulfillment",
"serviceName": "FulfillmentService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50075"
},
"fulfillment_product": {
"address": "localhost:50076",
"mock": {
"protoPath": "io/restorecommerce/fulfillment_product.proto",
"packageName": "io.restorecommerce.fulfillment_product",
"serviceName": "FulfillmentProductService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50076"
},
"invoice": {
"address": "localhost:50077",
"mock": {
"protoPath": "io/restorecommerce/invoice.proto",
"packageName": "io.restorecommerce.invoice",
"serviceName": "InvoiceService",
"protoLoadOptions": {
"includeDirs": [
"node_modules/@restorecommerce/protos/"
]
}
}
"address": "localhost:50077"
}
},
"server": {
Expand Down

0 comments on commit 141cc32

Please sign in to comment.