cloudfoundry-attic / blockhead

CF-Extensions Blockhead project
Apache License 2.0
3 stars 3 forks source link

app credentials format #64

Closed MHBauer closed 5 years ago

MHBauer commented 5 years ago

preliminary agreement between @MHBauer @swetharepakula @nimakaviani 2018-10-03 about 4PM pacific

  1. one "external_address" field for access from outside of the cluster/vm/bosh deployment (useful for application access to the delpoyed contracts/eth nodes)
  2. one "internal_address" field for access by in-cluster/local resources to avoid a hop to outside (for kubernetes this is the cluster-ip or service-name which resolves to cluster ip)
  3. a mapping of internal ports the geth-node/blockchain-client is listening on and used to be connected to.

mhb: I'm not sure we should be using the ports as the key for lookup. I'm thinking it should probably be an array of objects, and each object should be {"internalPort":80, "externalPort":8080}

MHBauer commented 5 years ago

ports as strings is still weird, but I consider this closed by #65