This repository was archived by the owner on Nov 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -102,15 +102,16 @@ type RelationalDbConfiguration struct {
102102 Database string `koanf:"database"`
103103 ClusterName string `koanf:"clusterName"` // When creating tables by Quesma - they'll use `ON CLUSTER ClusterName` clause
104104 AdminUrl * Url `koanf:"adminUrl"`
105- DisableTLS bool `koanf:"disableTLS"`
105+ DisableTLS bool `koanf:"disableTLS"
106+ `
107+ Token string `koanf:"token"`
108+ OrgId string `koanf:"orgId"`
109+ ProjectId string `koanf:"projectId"`
106110
107111 // This supports es backend only.
108112 ClientCertPath string `koanf:"clientCertPath"`
109113 ClientKeyPath string `koanf:"clientKeyPath"`
110114 CACertPath string `koanf:"caCertPath"`
111- Token string `koanf:"token"`
112- OrgId string `koanf:"orgId"`
113- ProjectId string `koanf:"projectId"`
114115}
115116
116117func (c * RelationalDbConfiguration ) IsEmpty () bool {
Original file line number Diff line number Diff line change @@ -81,9 +81,12 @@ func (l *LicenseModule) Run() {
8181func (l * LicenseModule ) validateConfig () error {
8282 // Check if connectors are allowed
8383 for _ , conn := range l .Config .Connectors {
84+ // TODO remove this once hydrolix connector is fully integrated
85+ if conn .ConnectorType == "hydrolix" {
86+ continue
87+ }
8488 if ! slices .Contains (l .License .Connectors , conn .ConnectorType ) {
85- // TODO !!!!!
86- //return fmt.Errorf("connector of type [%s] is not allowed within the current license", conn.ConnectorType)
89+ return fmt .Errorf ("connector of type [%s] is not allowed within the current license" , conn .ConnectorType )
8790 }
8891 }
8992 return nil
You can’t perform that action at this time.
0 commit comments