Skip to content

Commit c095e50

Browse files
authored
feat: add configs for aali-proxy (#227)
1 parent 4663146 commit c095e50

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pkg/config/types.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,18 @@ type Config struct {
153153
FLOWKIT_PYTHON_ADDRESS string `yaml:"FLOWKIT_PYTHON_ADDRESS" json:"FLOWKITPYTHONADDRESS"`
154154
FLOWKIT_PYTHON_API_KEY string `yaml:"FLOWKIT_PYTHON_API_KEY" json:"FLOWKITPYTHONAPIKEY"`
155155

156+
// Aali Proxy / ADS
157+
///////////////////
158+
// ads proxy uses this to determine which port to listen on for graphdb proxy requests
159+
GRAPHDB_PROXY_ADDRESS string `yaml:"GRAPHDB_PROXY_ADDRESS" json:"GRAPHDBPROXYADDRESS"`
160+
// ads proxy uses this to determine which port to listen on for qdrant proxy requests
161+
QDRANT_PROXY_ADDRESS string `yaml:"QDRANT_PROXY_ADDRESS" json:"QDRANTPROXYADDRESS"`
162+
// other services use this to determine what address to call to get encrypted graphdb data from
163+
GRAPHDB_ADDRESS_ENCRYPTED string `yaml:"GRAPHDB_ADDRESS_ENCRYPTED" json:"GRAPHDBADDRESSENCRYPTED"`
164+
// other services use these to determine what address to call to get encrypted qdrant data from
165+
QDRANT_HOST_ENCRYPTED string `yaml:"QDRANT_HOST_ENCRYPTED" json:"QDRANTHOSTENCRYPTED"`
166+
QDRANT_PORT_ENCRYPTED int `yaml:"QDRANT_PORT_ENCRYPTED" json:"QDRANTPORTENCRYPTED"`
167+
156168
// Legacy Port definitions (are overwritten by the new ADDRESS variables)
157169
/////////////////////////////////////////////////////////////////////////
158170
AGENT_PORT string `yaml:"AGENT_PORT" json:"AGENTPORT"`

0 commit comments

Comments
 (0)