Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 019700f

Browse files
committed
Improvements #4
1 parent 955dd01 commit 019700f

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

platform/config/config_v2.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

116117
func (c *RelationalDbConfiguration) IsEmpty() bool {

platform/licensing/runner.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,12 @@ func (l *LicenseModule) Run() {
8181
func (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

0 commit comments

Comments
 (0)