To support SSL mode in CLI 90/3590/2
authorabhijit_onap <abhijit.das.gupta@huawei.com>
Mon, 22 Jun 2020 10:41:28 +0000 (16:11 +0530)
committerabhijit_onap <abhijit.das.gupta@huawei.com>
Mon, 22 Jun 2020 12:35:58 +0000 (18:05 +0530)
commit3dde536b0a932c20f8eac9a1020d8723dff233f3
tree1b3e61dd8b49e471eb3ec80708c8cd0142828618
parentc256badd28c08d33c76b45e45f55cc536932e2d3
To support SSL mode in CLI

Support both HTTP and HTTPS Requests from CLI
Based on environment configuration file.

Environment Variable configurations
1. CertificateKeyFile
2. EALTSSLMode

New File Added
1. httputil.go

Added common.go

Signed-off-by: abhijit_onap <abhijit.das.gupta@huawei.com>
Change-Id: I9d62a544820e9d0fc7bab99870d8f37ff7bff96f
ocd/cli/ealt/cmd/adapter/httphelper.go
ocd/cli/ealt/cmd/adapter/httputil.go [new file with mode: 0644]
ocd/cli/ealt/cmd/common/constant.go