Update services to add dummy payment system (#130)

Co-authored-by: Andrey Fadeev <me@ciiol.net>
This commit is contained in:
vilorij 2020-11-11 20:40:54 +03:00 committed by GitHub
parent a8ae20e89d
commit 14b0b977ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 37 additions and 43 deletions

View File

@ -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"
}

View File

@ -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.

View File

@ -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.

View File

@ -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
% }}
]}
]},

View File

@ -2,9 +2,6 @@ replicaCount: 1
initializationTask:
create: true
repository: docker.io/rbkmoney/holmes
tag: 55e745b7c020c367bff202036af84726d66755f7
workdir: /opt/holmes
metrics:
serviceMonitor:

View File

@ -2,9 +2,6 @@ replicaCount: 1
initializationTask:
create: true
repository: docker.io/rbkmoney/holmes
tag: 55e745b7c020c367bff202036af84726d66755f7
workdir: /opt/holmes
metrics:
serviceMonitor:

View File

@ -3,4 +3,4 @@ name: capi-pcidss-v1
description: Common api pcidss
type: application
version: 0.1.0
appVersion: f791eeb4b3dd5217ceea3c9b4d40412311fa7f76
appVersion: 87e18699fb750e24f7b10bc03f4daa6a7e7eb29e

View File

@ -3,4 +3,4 @@ name: capi-pcidss-v2
description: Common api pcidss
type: application
version: 0.1.0
appVersion: f274e1c2400bdda314d761ed22d9331221190282
appVersion: c1d6c08351f96513aef4c83a5bcd7969343e6bd6

View File

@ -3,4 +3,4 @@ name: capi-v1
description: Common API service (v1)
type: application
version: 0.1.0
appVersion: 084fd94928b83ad2c349273a355a70953cc1a7b8
appVersion: b2b15a5b620cd7061f9e81fa44955e824ffdf806

View File

@ -3,4 +3,4 @@ name: capi-v2
description: Common API service
type: application
version: 0.1.0
appVersion: ef87be918078c7fe322994c99cd2f876755f2c1e
appVersion: 10510c2148fb3aaf1bf8893f8ddd2b4de900e557

View File

@ -3,4 +3,4 @@ name: cds
description: Card Data Storage Service
type: application
version: 0.1.0
appVersion: 5b41277a8e3bd255ab7194daa589abfc42e978d2
appVersion: 5cb8147a84bd446b0c9377994aadec866d16426e

View File

@ -3,4 +3,4 @@ name: dominant
description: Domain configuration service
type: application
version: 0.1.0
appVersion: 0b783b639cb33e629066df63509e8dd68642a649
appVersion: de2a937b3b92eb4fa6888be5aef3bde7d3c8b409

View File

@ -7,7 +7,7 @@ imagePullSecrets: []
initializationTask:
create: false
repository: docker.io/rbkmoney/holmes
tag: 55e745b7c020c367bff202036af84726d66755f7
tag: 07f58e297c03bcd50dc4695ddbcfa4eb30c9928e
script: "#! /bin/sh"
workdir: /opt/holmes

View File

@ -3,4 +3,4 @@ name: hellgate
description: Core payment service
type: application
version: 0.1.0
appVersion: cf0ff07a950af02e86d1816be9b91f80520b712b
appVersion: efe0b67a7a048bfa17cac871ff2e7b797ea13796

View File

@ -3,4 +3,4 @@ name: holmes
description: Management shell
type: application
version: 0.1.0
appVersion: 55e745b7c020c367bff202036af84726d66755f7
appVersion: 07f58e297c03bcd50dc4695ddbcfa4eb30c9928e

View File

@ -11,7 +11,7 @@ imagePullSecrets: []
initializationTask:
create: false
repository: docker.io/rbkmoney/holmes
tag: 55e745b7c020c367bff202036af84726d66755f7
tag: 07f58e297c03bcd50dc4695ddbcfa4eb30c9928e
script: "#! /bin/sh"
workdir: /opt/holmes