Skip to content

Commit

Permalink
cleanup obsolete packed mode code
Browse files Browse the repository at this point in the history
  • Loading branch information
pega-roska committed Jan 8, 2024
1 parent d44491c commit 27048f4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,5 @@ poolPreparedStatements=true
install.{{ .Env.DB_TYPE }}.connectionProperties={{ .Env.JDBC_CUSTOM_CONNECTION }}
install.{{ .Env.DB_TYPE }}.password={{ .Env.DB_PASSWORD }}

# When we bypass loading engine classes into database, then while querying also, we should not
# look into db. Instead we need to load engine classes from file system only.
# We cannot leave it to empty string as it causes validation failures in engine.
# With engine code set version set to FS_ONLY, we ensure engine classes gets loaded from packed engine
{{- if isTrue .Env.BYPASS_LOAD_ENGINE_CLASSES }}
com.pega.pegarules.bootstrap.codeset.version.Pega-EngineCode=FS_ONLY
{{- else }}
com.pega.pegarules.bootstrap.codeset.version.Pega-EngineCode={{ .Env.CODESET_VERSION }}
{{- end }}
com.pega.pegarules.bootstrap.engineclasses.dbcpsource=install.{{ .Env.DB_TYPE }}
8 changes: 0 additions & 8 deletions terratest/src/test/pega/data/expectedPRbootstrap.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,5 @@ poolPreparedStatements=true
install.{{ .Env.DB_TYPE }}.connectionProperties={{ .Env.JDBC_CUSTOM_CONNECTION }}
install.{{ .Env.DB_TYPE }}.password={{ .Env.DB_PASSWORD }}

# When we bypass loading engine classes into database, then while querying also, we should not
# look into db. Instead we need to load engine classes from file system only.
# We cannot leave it to empty string as it causes validation failures in engine.
# With engine code set version set to FS_ONLY, we ensure engine classes gets loaded from packed engine
{{- if isTrue .Env.BYPASS_LOAD_ENGINE_CLASSES }}
com.pega.pegarules.bootstrap.codeset.version.Pega-EngineCode=FS_ONLY
{{- else }}
com.pega.pegarules.bootstrap.codeset.version.Pega-EngineCode={{ .Env.CODESET_VERSION }}
{{- end }}
com.pega.pegarules.bootstrap.engineclasses.dbcpsource=install.{{ .Env.DB_TYPE }}

0 comments on commit 27048f4

Please sign in to comment.