Docker container for corda node version 4 execute registration process with deprecated "--initial-registration" option.

Description

There is a discrepancy in the use of "--initial-registration" command-line option to the node in the docker container regarding the Corda version. This affects nodes connected to a compatibility zone in Docker.

Steps to reproduce:
1. Pull official docker container. e.g.: corda/corda-zulu-4.3-rc01
2. Register a node connected to a Compatibility Zone in Docker.

1 docker run -ti --net="host" --name=Node1 -e MY_P2P_PORT="11520" -e MY_LEGAL_NAME="O=R3T_1915_Party_A,L=London,C=GB" -e MY_PUBLIC_ADDRESS="51.145.98.16" -e NETWORKMAP_URL="http://night4-netmap.cordaconnect.io:10001" -e DOORMAN_URL="http://night4-doorman.cordaconnect.io:10001" -e NETWORK_TRUST_PASSWORD="password" -e MY_EMAIL_ADDRESS="cordauser@r3.com" -v /home/maxim.shadrin/network-keys/nightwatchv4-network-root-truststore.jks:/opt/corda/certificates/network-root-truststore.jks -v /home/corda/docker/logs:/opt/corda/logs -v /home/corda/docker/cordapps:/opt/corda/cordapps -v /home/corda/docker/config:/etc/corda -v /home/corda/docker/certificates:/opt/corda/certificates corda/corda-zulu-4.3-rc01:latest config-generator --generic

 

Expected:
No errors/warnings are expected. Registration process run uses the “initial-registration”
Actual Result:
The warning appeared in the console during the node registration process:

Status

Assignee

Unassigned

Reporter

Maxim Shadrin

Labels

None

Priority

Medium

Fix versions

None

Ported to...

None

Feature Team

Select team

Severity

Medium

Affects versions

Corda 4.3 RC01
Configure