[#163] node: Add object notification support

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-02-21 15:30:12 +03:00 committed by Stanislav Bogatyrev
parent 3ed668a144
commit c8d48c9053
2 changed files with 19 additions and 0 deletions

View file

@ -40,6 +40,13 @@ NEOFS_MORPH_RPC_ENDPOINT=ws://morph-chain:30333/ws
# Common storage node attribute
NEOFS_NODE_ATTRIBUTE_0=User-Agent:NeoFS\/0.26
NEOFS_NODE_NOTIFICATION_ENABLED=true
NEOFS_NODE_NOTIFICATION_ENDPOINT=tls://nats.neofs.devenv:4222
NEOFS_NODE_NOTIFICATION_DEFAULT_TOPIC=test
NEOFS_NODE_NOTIFICATION_CERTIFICATE=/etc/neofs-node/nats.tls.cert
NEOFS_NODE_NOTIFICATION_KEY=/etc/neofs-node/nats.tls.key
NEOFS_NODE_NOTIFICATION_CA=/etc/neofs-node/nats.ca.crt
# Object section
## Worker pool capacity of API Object.Put client calls
## Default: 10

View file

@ -19,6 +19,9 @@ services:
- ./../../vendor/neofs-cli:/neofs-cli
- ./healthcheck.sh:/healthcheck.sh
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
- ../nats/client-cert.pem:/etc/neofs-node/nats.tls.cert
- ../nats/client-key.pem:/etc/neofs-node/nats.tls.key
- ../nats/ca-cert.pem:/etc/neofs-node/nats.ca.crt
stop_signal: SIGKILL
env_file: [ ".env", ".storage.env", ".int_test.env" ]
environment:
@ -54,6 +57,9 @@ services:
- ./../../vendor/neofs-cli:/neofs-cli
- ./healthcheck.sh:/healthcheck.sh
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
- ../nats/client-cert.pem:/etc/neofs-node/nats.tls.cert
- ../nats/client-key.pem:/etc/neofs-node/nats.tls.key
- ../nats/ca-cert.pem:/etc/neofs-node/nats.ca.crt
stop_signal: SIGKILL
env_file: [ ".env", ".storage.env", ".int_test.env" ]
environment:
@ -89,6 +95,9 @@ services:
- ./../../vendor/neofs-cli:/neofs-cli
- ./healthcheck.sh:/healthcheck.sh
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
- ../nats/client-cert.pem:/etc/neofs-node/nats.tls.cert
- ../nats/client-key.pem:/etc/neofs-node/nats.tls.key
- ../nats/ca-cert.pem:/etc/neofs-node/nats.ca.crt
stop_signal: SIGKILL
env_file: [ ".env", ".storage.env", ".int_test.env" ]
environment:
@ -125,6 +134,9 @@ services:
- ./healthcheck.sh:/healthcheck.sh
- ./s04tls.crt:/tls.crt
- ./s04tls.key:/tls.key
- ../nats/client-cert.pem:/etc/neofs-node/nats.tls.cert
- ../nats/client-key.pem:/etc/neofs-node/nats.tls.key
- ../nats/ca-cert.pem:/etc/neofs-node/nats.ca.crt
stop_signal: SIGKILL
env_file: [ ".env", ".storage.env", ".int_test.env" ]
environment: