fix: убрать getDS, только hardcode datasource

This commit is contained in:
2026-06-18 12:40:18 +04:00
parent bfbc206a63
commit 718a1c3281
+1 -2
View File
@@ -12,14 +12,13 @@
<cfset this.sessiontimeout=CreateTimeSpan(0, 0, 120, 0)/>
<cfset this.setclientcookies="No"/>
<cfset this.datasource = "baza"/><!--- default datasource name --->
<cfset this.datasource = "baza"/>
<cfset this.datasources["baza"] = {
class: "org.postgresql.Driver",
connectionString: "jdbc:postgresql://postgresqlk8s-master.418f9960-2eb7-4429-b2ec-ac64319d7268.svc.cluster.local:5432/baza",
username: "super",
password: "hoHdkA23yxlD9oMUlZ1bIbNyc6DE2mNJmyHMNkEpVD1F4suQs7O2lyN4t0qITyzt"
}/>
<cfset getDS(this.datasource,"baza")/><!--- тоже попробуем из env --->
<!--- REST API --->
<cfset this.restEnabled = true/>