24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
<cfcomponent displayname="Application" output="true">
|
|
<cfset this.Name = "contractor"/>
|
|
<cfset this.applicationTimeout = createTimeSpan(0, 0, 3, 0)/>
|
|
<cfset this.sessionmanagement = "Yes"/>
|
|
<cfset this.datasource = "baza"/>
|
|
|
|
<cfset this.datasources["baza"] = {
|
|
class: "org.postgresql.Driver",
|
|
bundleName: "org.postgresql.jdbc",
|
|
bundleVersion: "42.6.0",
|
|
connectionString: "jdbc:postgresql://postgresqlk8s-master.418f9960-2eb7-4429-b2ec-ac64319d7268.svc.cluster.local:5432/baza?stringtype=unspecified",
|
|
username: "super",
|
|
password: "hoHdkA23yxlD9oMUlZ1bIbNyc6DE2mNJmyHMNkEpVD1F4suQs7O2lyN4t0qITyzt"
|
|
}/>
|
|
|
|
<cfsetting requesttimeout="120" showdebugoutput="false" enablecfoutputonly="false"/>
|
|
|
|
<cffunction name="onRequestStart" access="public" returntype="boolean">
|
|
<cfargument name="targetPage" type="string" required="true"/>
|
|
<cfif structKeyExists(url, "reload")><cfset applicationStop()/></cfif>
|
|
<cfreturn true/>
|
|
</cffunction>
|
|
</cfcomponent>
|