This repository was archived by the owner on Feb 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +71
-249447
lines changed
routes/testbed/productizers/job Expand file tree Collapse file tree 9 files changed +71
-249447
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ PRH_MOCK_PRODUCTIZER_ENDPOINT=http://host.docker.internal:5059
77USERS_API_ENDPOINT_ORIGIN = http://host.docker.internal:5001
88AUTHENTICATION_GW_ENDPOINT_ORIGIN = https://virtualfinland-authgw.localhost
99TMT_PRODUCTIZER_ENDPOINT_ORIGIN = http://host.docker.internal:5286
10- JOBS_IN_FINLAND_PRODUCTIZER_ENDPOINT_ORIGIN = http://host.docker.internal:80
10+ JOBS_IN_FINLAND_PRODUCTIZER_ENDPOINT_ORIGIN = http://host.docker.internal:80
11+ CODESETS_BASE_URL = http://host.docker.internal:3166
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ lambda_http = "^0.7.1"
1616futures = " ^0.3.18"
1717itertools = " ^0.10.5"
1818libmath = " ^0.2.1"
19- stopwatch = " ^0.0.7 "
19+ stopwatch = { git = " https://github.com/jwpjrdev/rust-stopwatch.git " , branch = " master " }
2020utoipa = " 3"
2121tokio = { version = " ^1.21.2" , features = [" full" ] }
2222
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ FROM amazonlinux:2 as builder
99ENV RUSTUP_HOME=/usr/local/rustup \
1010 CARGO_HOME=/usr/local/cargo \
1111 PATH=/usr/local/cargo/bin:$PATH \
12- RUST_VERSION=1.64 .0
12+ RUST_VERSION=1.68 .0
1313
1414RUN yum install -y gcc gcc-c++ openssl-devel zip; \
1515 curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path --profile minimal --default-toolchain $RUST_VERSION -y; \
Original file line number Diff line number Diff line change 4040jobsInFinlandProductizerLambdaEndpoint = pulumi .StackReference (
4141 f"{ organization } /jobs-in-finland-productizer/dev"
4242).get_output ("ApplicationUrl" )
43-
43+ codesetsBaseUrl = pulumi .StackReference (f"{ organization } /codesets/{ stage } " ).get_output (
44+ "url"
45+ )
4446
4547#
4648# Lambda function
8789 "USERS_API_ENDPOINT_ORIGIN" : usersApiLambdaEndpoint ,
8890 "TMT_PRODUCTIZER_ENDPOINT_ORIGIN" : tmtProductizerLambdaEndpoint ,
8991 "JOBS_IN_FINLAND_PRODUCTIZER_ENDPOINT_ORIGIN" : jobsInFinlandProductizerLambdaEndpoint ,
92+ "CODESETS_BASE_URL" : codesetsBaseUrl ,
9093 "STAGE" : stage ,
9194 }
9295 ),
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ stopwatch = { workspace = true }
2121utoipa = { workspace = true }
2222tokio = { workspace = true }
2323lazy_static = " 1.4.0"
24+ memory-cache-rs = " 0.2.0"
25+ mockito = " 1.0.0"
2426
2527app = { path = " ./src/lib/app" }
2628utils = { path = " ./src/lib/utils" }
You can’t perform that action at this time.
0 commit comments