Adding TLS authentication 05/1605/5
authorenyinna1234 <enyinna.ochulor@intel.com>
Fri, 13 Sep 2019 00:13:40 +0000 (17:13 -0700)
committerenyinna1234 <enyinna.ochulor@intel.com>
Mon, 23 Sep 2019 23:11:11 +0000 (16:11 -0700)
commite96fbe6074261f1aedec8707e01b6a954d0468c0
tree730409a1828ef3999c16e1aad48fd037f3c0031e
parent4e75e36176a11d46da4944cd4c6afa5efbc1f2d5
Adding TLS authentication

This creates auth.go and adds tls authentication to main.go.
Also, containerization is introduced using Dockerfile.
It also fixes patch 1431 revert issues.

Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com>
Change-Id: I4cdc690226f66725e725568dda544e8ff4f4061d
cmd/bpa-restapi-agent/Makefile
cmd/bpa-restapi-agent/README.md
cmd/bpa-restapi-agent/api/imagehandler.go
cmd/bpa-restapi-agent/build/Dockerfile [new file with mode: 0644]
cmd/bpa-restapi-agent/go.mod
cmd/bpa-restapi-agent/go.sum
cmd/bpa-restapi-agent/internal/app/image.go
cmd/bpa-restapi-agent/internal/auth/auth.go [new file with mode: 0644]
cmd/bpa-restapi-agent/main.go