cloud-gov / cg-dashboard

Unarchived due to stratos bug in user management: https://github.com/cloudfoundry/stratos/issues/4103
Other
30 stars 18 forks source link

[WIP] - Add ability for dashboard to send email to relay #1307

Closed jontours closed 6 years ago

jontours commented 6 years ago

TLS send code needs to be added.

jontours commented 6 years ago

Added code for initializing cert store. I remembered while copying this code over from the buildpack PR that I've done this before in Java. Although in Java it was different, there I'd use command line and add a needed cert to the store that's referenced in the ca folder in the JDK for your Java runtime. I know little of Go, but this seems like we are building the store everytime the code is ran? Or will the code in mailer.go only be ran once?

pburkholder commented 6 years ago

Hi @jontours - have you succeeded in getting a local cg-dashboard dev env set up?

jontours commented 6 years ago

I'm working on that currently.

timothy-spencer commented 6 years ago

I have no idea why codeclimate is sad, but it looks like you need to add the cert variable to the env_vars.go file too.

jontours commented 6 years ago

I did catch that after finally getting this to build on PCF dev. But now I'm back to not being able to build due to problems with pulling git dependencies.

jontours commented 6 years ago

When trying to push this app to PCF dev having problems pulling dependencies, usually, but not every time, at this step:

git clone --recursive -v --progress https://github.com/gogo/protobuf /tmp/gobuildpack.gopath118224769/.go/pkg/dep/sources/https---github.com-gogo-protobuf
jmcarp commented 6 years ago

Looks like this got resubmitted as #1308. Closing.