Adding TLS authentication 15/1715/1
authorenyinna1234 <enyinna.ochulor@intel.com>
Fri, 13 Sep 2019 00:13:40 +0000 (17:13 -0700)
committerKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Wed, 2 Oct 2019 20:43:10 +0000 (13:43 -0700)
commitf863cd9c51cdfccc3996bedfd650c147d095eea3
tree1aa9ccdbd3a49897eb407b994feb1bcae08af9be
parent0e03f090b02ca0ee5f2d85d1e7b32f40ef4e10c7
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: I7f6d8d210618e4630e9240c3596ced2f672df67e
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