mirror of
https://github.com/valitydev/helmsdeep.git
synced 2024-11-06 08:55:21 +00:00
Update services to add dummy payment system (#130)
Co-authored-by: Andrey Fadeev <me@ciiol.net>
This commit is contained in:
parent
a8ae20e89d
commit
14b0b977ef
@ -1,7 +1,10 @@
|
||||
{
|
||||
"use": "enc",
|
||||
"kty": "oct",
|
||||
"kid": "1",
|
||||
"alg": "dir",
|
||||
"k": "ampDc1BaTUZtbVprQ2Q3RjNlRm9mU2hQNTNaVWlVODU"
|
||||
"use": "enc",
|
||||
"kty": "EC",
|
||||
"kid": "yx4bq8apE13Sv4R69YrAioQr2b7QhLovSiu2Pt7hdoA",
|
||||
"crv": "P-256",
|
||||
"alg": "ECDH-ES",
|
||||
"x": "5SKZ7tAdtxIRMp6BTbUs535xklduymk1kM_rxzstok4",
|
||||
"y": "5kjB7foc65yJ3sHshwH3pAwaXX5I6shs4t90Lv6mDkk",
|
||||
"d": "0rJc5gYA7LcrnUlVZ40KdVclUINexqKx3GJM1cRox_4"
|
||||
}
|
@ -80,10 +80,7 @@
|
||||
{erl_health, service , [<<"capi-pcidss-v1">>]}
|
||||
]},
|
||||
{lechiffre_opts, #{
|
||||
encryption_key_path => <<"/var/lib/capi/keys/token_encryption_key1.jwk">>,
|
||||
decryption_key_paths => [
|
||||
<<"/var/lib/capi/keys/token_encryption_key1.jwk">>
|
||||
]
|
||||
encryption_source => {json, {file, <<"/var/lib/capi/keys/token_encryption_key1.jwk">>}}
|
||||
}},
|
||||
{validation, #{
|
||||
%% By default now = current datetime.
|
||||
|
@ -81,10 +81,7 @@
|
||||
]},
|
||||
{max_request_deadline, 60000}, % milliseconds
|
||||
{lechiffre_opts, #{
|
||||
encryption_key_path => <<"/var/lib/capi/keys/token_encryption_key1.jwk">>,
|
||||
decryption_key_paths => [
|
||||
<<"/var/lib/capi/keys/token_encryption_key1.jwk">>
|
||||
]
|
||||
encryption_source => {json, {file, <<"/var/lib/capi/keys/token_encryption_key1.jwk">>}}
|
||||
}},
|
||||
{validation, #{
|
||||
%% By default now = current datetime.
|
||||
|
@ -28,6 +28,10 @@
|
||||
]}
|
||||
]},
|
||||
|
||||
{scoper, [
|
||||
{storage, scoper_storage_logger}
|
||||
]},
|
||||
|
||||
{capi, [
|
||||
{ip , "::" },
|
||||
{port , 8080 },
|
||||
@ -53,11 +57,11 @@
|
||||
504 => "/var/lib/capi/oops-bodies/oops-body2"
|
||||
}},
|
||||
{swagger_handler_opts, #{
|
||||
validation_opts => #{
|
||||
schema => #{
|
||||
response => mild
|
||||
}
|
||||
}
|
||||
validation_opts => #{
|
||||
schema => #{
|
||||
response => mild
|
||||
}
|
||||
}
|
||||
}},
|
||||
{health_check, #{
|
||||
disk => {erl_health, disk , ["/", 99]},
|
||||
@ -66,9 +70,8 @@
|
||||
}},
|
||||
{reporter_url_lifetime, 300}, % seconds
|
||||
{lechiffre_opts, #{
|
||||
encryption_key_path => <<"/var/lib/capi/keys/token_encryption_key1.jwk">>,
|
||||
decryption_key_paths => [
|
||||
<<"/var/lib/capi/keys/token_encryption_key1.jwk">>
|
||||
decryption_sources => [
|
||||
{json, {file, <<"/var/lib/capi/keys/token_encryption_key1.jwk">>}}
|
||||
]
|
||||
}}
|
||||
]},
|
||||
@ -110,11 +113,11 @@
|
||||
|
||||
{how_are_you, [
|
||||
{metrics_publishers, [
|
||||
%{hay_statsd_publisher, #{
|
||||
% key_prefix => <<"{{ service_name }}.">>,
|
||||
% host => "{{ salt['pillar.get']('wetkitty:statsd:host') }}",
|
||||
% port => {{ salt['pillar.get']('wetkitty:statsd:port') }}
|
||||
%}}
|
||||
% {hay_statsd_publisher, #{
|
||||
% key_prefix => <<"capi-v1.">>,
|
||||
% host => "localhost",
|
||||
% port => 8125
|
||||
% }}
|
||||
]}
|
||||
]},
|
||||
|
||||
|
@ -2,9 +2,6 @@ replicaCount: 1
|
||||
|
||||
initializationTask:
|
||||
create: true
|
||||
repository: docker.io/rbkmoney/holmes
|
||||
tag: 55e745b7c020c367bff202036af84726d66755f7
|
||||
workdir: /opt/holmes
|
||||
|
||||
metrics:
|
||||
serviceMonitor:
|
||||
|
@ -2,9 +2,6 @@ replicaCount: 1
|
||||
|
||||
initializationTask:
|
||||
create: true
|
||||
repository: docker.io/rbkmoney/holmes
|
||||
tag: 55e745b7c020c367bff202036af84726d66755f7
|
||||
workdir: /opt/holmes
|
||||
|
||||
metrics:
|
||||
serviceMonitor:
|
||||
|
@ -3,4 +3,4 @@ name: capi-pcidss-v1
|
||||
description: Common api pcidss
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: f791eeb4b3dd5217ceea3c9b4d40412311fa7f76
|
||||
appVersion: 87e18699fb750e24f7b10bc03f4daa6a7e7eb29e
|
||||
|
@ -3,4 +3,4 @@ name: capi-pcidss-v2
|
||||
description: Common api pcidss
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: f274e1c2400bdda314d761ed22d9331221190282
|
||||
appVersion: c1d6c08351f96513aef4c83a5bcd7969343e6bd6
|
||||
|
@ -3,4 +3,4 @@ name: capi-v1
|
||||
description: Common API service (v1)
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: 084fd94928b83ad2c349273a355a70953cc1a7b8
|
||||
appVersion: b2b15a5b620cd7061f9e81fa44955e824ffdf806
|
||||
|
@ -3,4 +3,4 @@ name: capi-v2
|
||||
description: Common API service
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: ef87be918078c7fe322994c99cd2f876755f2c1e
|
||||
appVersion: 10510c2148fb3aaf1bf8893f8ddd2b4de900e557
|
||||
|
@ -3,4 +3,4 @@ name: cds
|
||||
description: Card Data Storage Service
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: 5b41277a8e3bd255ab7194daa589abfc42e978d2
|
||||
appVersion: 5cb8147a84bd446b0c9377994aadec866d16426e
|
||||
|
@ -3,4 +3,4 @@ name: dominant
|
||||
description: Domain configuration service
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: 0b783b639cb33e629066df63509e8dd68642a649
|
||||
appVersion: de2a937b3b92eb4fa6888be5aef3bde7d3c8b409
|
||||
|
@ -7,7 +7,7 @@ imagePullSecrets: []
|
||||
initializationTask:
|
||||
create: false
|
||||
repository: docker.io/rbkmoney/holmes
|
||||
tag: 55e745b7c020c367bff202036af84726d66755f7
|
||||
tag: 07f58e297c03bcd50dc4695ddbcfa4eb30c9928e
|
||||
script: "#! /bin/sh"
|
||||
workdir: /opt/holmes
|
||||
|
||||
|
@ -3,4 +3,4 @@ name: hellgate
|
||||
description: Core payment service
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: cf0ff07a950af02e86d1816be9b91f80520b712b
|
||||
appVersion: efe0b67a7a048bfa17cac871ff2e7b797ea13796
|
||||
|
@ -3,4 +3,4 @@ name: holmes
|
||||
description: Management shell
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: 55e745b7c020c367bff202036af84726d66755f7
|
||||
appVersion: 07f58e297c03bcd50dc4695ddbcfa4eb30c9928e
|
||||
|
@ -11,7 +11,7 @@ imagePullSecrets: []
|
||||
initializationTask:
|
||||
create: false
|
||||
repository: docker.io/rbkmoney/holmes
|
||||
tag: 55e745b7c020c367bff202036af84726d66755f7
|
||||
tag: 07f58e297c03bcd50dc4695ddbcfa4eb30c9928e
|
||||
script: "#! /bin/sh"
|
||||
workdir: /opt/holmes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user