daml/ci
Brian Healey ca66061b28
Ledger Api Oracle support (#9277)
* WIP : first cut at changed schema files for oracle
Define Oracle as DbType and handle necessary case match switches for it
recomputed shas for oracle migration scripts
Oracle fixtures
get things compiling
Able to connect to Oracle
Working through getting schema definitions functional with Oracle
runnable schema definitions only for active tables on oracle
delete commented lines in schema scripts
use oracle enterprise
correct inadvertently changed postgres schemas
WIP - latest oracle-ificiation
passing upload packages spec
add additional test for package upload entry read
correct typo in oracle database spec name
use BLOB for parties ledger_offset
package_entries use hex version of offset for range queries
reformat and update shas for sql scripts
binary numeric implicit conversion for oracle
correct duplicate exception text for oracle
parties test passing on oracle
add additional column to hold hex offset for party_entries
party_entries working for all dbs
scalafmt
Configuration ledger_offset should be BLOB
update sha of oracle sql files
enable passing tests in order
remove misleading null comments
define additional custom VARRAY types
add participant-integration-api-oracle tests to linux-oracle job
Add TODO for places where we need to deal with separate implicit imports for Oracle vs Postgres/H2
oracle implicit conversions for custom arrays and other problematic types

Do not override default debug level for all tests in participant-integration-api

CHANGELOG_BEGIN
Ledger API and Indexer Oracle Support
CHANGELOG_END

passing TransactionWriterSpec
passing JdbcLedgerDaoCompletionsSpec JdbcLedgerDaoDivulgenceSpec
passing JdbcLedgerDaoContractsSpec
All Oracle tests passing apart from one post-commit validation test

* Remove JdbcLedgerDaoValidatedOracleSpec as this is only relevant for classic postgres-backed sandbox

* rebase to master -- offsets are now varchar2 rather than blob

* remove use of DBMS_LOB operations

* remove all greater than/less than variants for DBMS_LOB

* revert postgres files that need not be touched

* code review feedback : avoid code duplication

* avoid indirection in type names for oracle arrays

* code review: HexString implicit conversions are not needed

* code review: Oracle case is not yet implemented for appendonlydao

* code review: Oracle case is not yet implemented for appendonlydao (cleanup import)

* code review: revert files that should not be touched

* address code review feedback: db specific imports for command completion become part of queries

* code review: perform db-specific reserved word escape to avoid case match

* code review: remove all dbms_lob comparison operations

* use simpler insert into with ignore dupes hint for oracle

* code review: avoid db specific match case in events range, use db specific limitClause

* code review: restore group by on Binary and Array fields for H2 and Postgres, disable for Oracle

* code review: restore group by on Binary and Array fields for H2 and Postgres, disable for Oracle

* code review: restore group by on binary and array fields for non-oracle dbs, honour the calculation of limit size from QueryParty.ByArith

* code review: honour the calculation of limit size from QueryParty.ByArith

* code review: drop user after oracle test

* code review: remove drop user as it throws errors due to dangling sessions

* code review: revert incorrectly changed postgres schema files

* code review: clean up TODOs

* Remove // before hostname for consistency with other oracle connection strings

* code review: unambiguously scope table column referenced in select and where queries

* code review: correct duplicate table alias
2021-04-26 18:34:17 -04:00
..
cron Make non-repudiation integration exclusive to enterprise edition (#9219) 2021-03-24 20:25:47 +01:00
da-ghc-lib Add try-catch syntax. (#9203) 2021-03-25 13:36:09 +00:00
docker ci/docker: sync with hub (#9184) 2021-03-18 16:01:58 +00:00
patch_bazel_windows Upgrade to Bazel 4.0 (#8798) 2021-02-11 10:08:47 +01:00
bash-lib.yml fix slack notifs (#9234) 2021-03-24 18:38:41 +00:00
build-unix.yml Move artifact publishing out of yaml files (#9071) 2021-03-11 11:44:02 +01:00
build-windows.yml Move artifact publishing out of yaml files (#9071) 2021-03-11 11:44:02 +01:00
build.yml Ledger Api Oracle support (#9277) 2021-04-26 18:34:17 -04:00
check-changelog.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
clean-up.yml more robust macOS cleanup (#9456) 2021-04-21 12:10:47 +02:00
clear-shared-segments-macos.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
compatibility_ts_libs.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
compatibility-windows.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
compatibility.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
configure-bazel.sh Avoid base64 encoding of cache suffixes (#9303) 2021-03-31 11:30:46 +02:00
copy-unix-release-artifacts.sh Publish EE JSON API to artifactory (#9392) 2021-04-13 16:12:18 +02:00
copy-windows-release-artifacts.sh ci/windows: add missing mkdir (#9103) 2021-03-11 18:16:19 +00:00
dev-env-install.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
dev-env-push.py update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
postgresql.conf CI: Increase the PostgreSQL connections from 100 to 200. (#6647) 2020-07-08 10:49:11 +00:00
prs.yml skip Oracle test on forks (#8930) 2021-02-24 12:19:57 +00:00
publish-artifactory.sh Publish EE JSON API to artifactory (#9392) 2021-04-13 16:12:18 +02:00
report-end.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
report-start.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
slack_user_ids stop notifying shayne on pr builds (#7581) 2020-10-06 14:20:43 +02:00
tell-slack-failed.yml send CI failures on separate channel (#9038) 2021-03-05 14:10:30 +00:00
windows-diagnostics.ps1 windows: CI agent diagnostics (#1146) 2019-05-15 11:59:56 +02:00