senzing-garage/community-roadmap

Senzing License as environment variable

docktermj opened this issue · 1 comments

The G2Engine accepts a base64 Senzing license representation in its JSON configuration string. It is the PIPELINE.LICENSESTRINGBASE64 value.

{
	"PIPELINE": {
		"CONFIGPATH": "/etc/opt/senzing",
		"LICENSESTRINGBASE64": "AQAAADgCAAAAAAAAU2...",
		"RESOURCEPATH": "/opt/senzing/g2/resources",
		"SUPPORTPATH": "/opt/senzing/data"
	},
	"SQL": {
                :
	}
}

This roadmap item is to enable components that utilize the Senzing Engine to accept the Base64 representation as an environment variable. Both in SENZING_ENGINE_CONFIGURATION_JSON at PIPELINE.LICENSESTRINGBASE64 and as an environment variable SENZING_LICENSE_BASE64_ENCODED for the simplified case.

References

Information about the current blockage:

  1. Public senzing/senzingapi-runtime version 3.1.x (Senzing/senzingapi-runtime#6)
  2. senzing/senzingapi-tools for use by:
    1. https://github.com/Senzing/docker-senzing-console
    2. https://github.com/Senzing/docker-sshd
    3. https://github.com/Senzing/docker-xterm
  3. Fixed PIPELINE.LICENSESTRINGBASE64 (GDEV-3455)
  4. Use of SENZING_ENGINE_CONFIGURATION_JSON in G2Tools (list in senzing-garage/g2command#70)