Implement secure communications 65/6965/5
authorelinuxhenrik <henrik.b.andersson@est.tech>
Thu, 28 Oct 2021 14:27:57 +0000 (16:27 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Fri, 29 Oct 2021 14:38:47 +0000 (16:38 +0200)
commitc4960f1dc6688b039d6ee29da03e0c0de47b6fbb
tree8fc2539debf52361892c0094455b5a3317407e4d
parent766e2a9fa843e55bb32f17e59d7d0ccae7cfc22e
Implement secure communications

The communication towards the consumer is not secured in this commit.

Also changed the configuration so that the address of the DMaaP Message
Router is given in one variable, named DMAAP_MR_ADDR.

Issue-ID: NONRTRIC-601
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Icb5b3c255367e823fcae2168ab37603092815893
15 files changed:
dmaap-mediator-producer/.gitignore
dmaap-mediator-producer/README.md
dmaap-mediator-producer/configs/producer.crt [new file with mode: 0644]
dmaap-mediator-producer/configs/producer.key [new file with mode: 0644]
dmaap-mediator-producer/configs/type_config.json
dmaap-mediator-producer/internal/config/config.go
dmaap-mediator-producer/internal/config/config_test.go
dmaap-mediator-producer/internal/config/registrator_test.go
dmaap-mediator-producer/internal/jobs/jobs.go
dmaap-mediator-producer/internal/jobs/jobs_test.go
dmaap-mediator-producer/internal/restclient/HTTPClient.go
dmaap-mediator-producer/internal/restclient/HTTPClient_test.go
dmaap-mediator-producer/main.go
dmaap-mediator-producer/simulator/consumer/consumersimulator.go [moved from dmaap-mediator-producer/simulator/consumersimulator.go with 97% similarity]
dmaap-mediator-producer/simulator/dmaap/mrsimulator.go [new file with mode: 0644]