This repository was archived by the owner on Feb 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
src/lib/api_app/src/api/routes/testbed/productizers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# @TODO: needs a local testbed product gw router sim
22USER_PROFILE_PRODUCTIZER_ENDPOINT = http://host.docker.internal:5001/productizer
33USER_STATUS_INFO_PRODUCTIZER_ENDPOINT = http://host.docker.internal:5747/productizers
4+ PRH_MOCK_PRODUCTIZER_ENDPOINT = http://host.docker.internal:5059
45
56# All good for these endpoints
67USERS_API_ENDPOINT_ORIGIN = http://host.docker.internal:5001
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ use utils::environment::get_stage;
66
77pub mod figure;
88pub mod job;
9+ pub mod non_listed_company;
910pub mod person;
1011pub mod user;
11- pub mod non_listed_company;
1212
1313/**
1414 * Parses the authorization headers from the input request
@@ -69,6 +69,18 @@ fn build_data_product_uri(data_product: &str, data_source: &str) -> String {
6969 testbed_base_url = env:: var ( "USER_STATUS_INFO_PRODUCTIZER_ENDPOINT" )
7070 . expect ( "USER_STATUS_INFO_PRODUCTIZER_ENDPOINT must be set" ) ;
7171 }
72+ "draft/NSG/Agent/LegalEntity/NonListedCompany/Establishment/Write" => {
73+ testbed_base_url = env:: var ( "PRH_MOCK_PRODUCTIZER_ENDPOINT" )
74+ . expect ( "PRH_MOCK_PRODUCTIZER_ENDPOINT must be set" ) ;
75+ }
76+ "draft/NSG/Agent/LegalEntity/NonListedCompany/BeneficialOwners" => {
77+ testbed_base_url = env:: var ( "PRH_MOCK_PRODUCTIZER_ENDPOINT" )
78+ . expect ( "PRH_MOCK_PRODUCTIZER_ENDPOINT must be set" ) ;
79+ }
80+ "draft/NSG/Agent/LegalEntity/NonListedCompany/SignatoryRights" => {
81+ testbed_base_url = env:: var ( "PRH_MOCK_PRODUCTIZER_ENDPOINT" )
82+ . expect ( "PRH_MOCK_PRODUCTIZER_ENDPOINT must be set" ) ;
83+ }
7284 _ => { }
7385 }
7486 }
You can’t perform that action at this time.
0 commit comments