dcdx 1.2.0-next.3 → 1.2.0-next.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/assets/versions.json +1 -1
  2. package/lib/commands/build.js +2 -0
  3. package/lib/commands/{database-mysql.js → database/mysql.js} +1 -1
  4. package/lib/commands/{database-postgres.js → database/postgres.js} +1 -1
  5. package/lib/commands/database.js +1 -1
  6. package/lib/commands/reset/bamboo.js +2 -0
  7. package/lib/commands/reset/bitbucket.js +2 -0
  8. package/lib/commands/reset/confluence.js +2 -0
  9. package/lib/commands/reset/jira.js +2 -0
  10. package/lib/commands/{run-bamboo.js → run/bamboo.js} +1 -1
  11. package/lib/commands/{run-bitbucket.js → run/bitbucket.js} +1 -1
  12. package/lib/commands/{run-confluence.js → run/confluence.js} +1 -1
  13. package/lib/commands/run/jira.js +2 -0
  14. package/lib/commands/run.js +1 -1
  15. package/lib/commands/start.js +1 -1
  16. package/lib/commands/stop/bamboo.js +2 -0
  17. package/lib/commands/stop/bitbucket.js +2 -0
  18. package/lib/commands/stop/confluence.js +2 -0
  19. package/lib/commands/stop/jira.js +2 -0
  20. package/lib/commands/stop.js +2 -0
  21. package/lib/index.js +1 -1
  22. package/lib/types/src/applications/bamboo.d.ts +1 -1
  23. package/lib/types/src/applications/base.d.ts +1 -0
  24. package/lib/types/src/applications/bitbucket.d.ts +1 -1
  25. package/lib/types/src/applications/confluence.d.ts +1 -1
  26. package/lib/types/src/applications/jira.d.ts +1 -1
  27. package/lib/types/src/commands/run/jira.d.ts +2 -0
  28. package/lib/types/src/commands/stop/bamboo.d.ts +2 -0
  29. package/lib/types/src/commands/stop/bitbucket.d.ts +2 -0
  30. package/lib/types/src/commands/stop/confluence.d.ts +2 -0
  31. package/lib/types/src/commands/stop/jira.d.ts +2 -0
  32. package/lib/types/src/commands/stop.d.ts +2 -0
  33. package/lib/types/src/helpers/docker.d.ts +5 -0
  34. package/lib/types/src/types/ApplicationOptions.d.ts +1 -0
  35. package/package.json +3 -1
  36. package/lib/commands/reset-bamboo.js +0 -2
  37. package/lib/commands/reset-bitbucket.js +0 -2
  38. package/lib/commands/reset-confluence.js +0 -2
  39. package/lib/commands/reset-jira.js +0 -2
  40. package/lib/commands/run-jira.js +0 -2
  41. /package/lib/commands/{database-mssql.js → database/mssql.js} +0 -0
  42. /package/lib/types/src/commands/{database-mssql.d.ts → build.d.ts} +0 -0
  43. /package/lib/types/src/commands/{database-mysql.d.ts → database/mssql.d.ts} +0 -0
  44. /package/lib/types/src/commands/{database-postgres.d.ts → database/mysql.d.ts} +0 -0
  45. /package/lib/types/src/commands/{reset-bamboo.d.ts → database/postgres.d.ts} +0 -0
  46. /package/lib/types/src/commands/{reset-bitbucket.d.ts → reset/bamboo.d.ts} +0 -0
  47. /package/lib/types/src/commands/{reset-confluence.d.ts → reset/bitbucket.d.ts} +0 -0
  48. /package/lib/types/src/commands/{reset-jira.d.ts → reset/confluence.d.ts} +0 -0
  49. /package/lib/types/src/commands/{run-bamboo.d.ts → reset/jira.d.ts} +0 -0
  50. /package/lib/types/src/commands/{run-bitbucket.d.ts → run/bamboo.d.ts} +0 -0
  51. /package/lib/types/src/commands/{run-confluence.d.ts → run/bitbucket.d.ts} +0 -0
  52. /package/lib/types/src/commands/{run-jira.d.ts → run/confluence.d.ts} +0 -0
  53. /package/lib/types/src/{applications → helpers}/amps.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import{program as u,Option as t}from"commander";import{gracefulExit as d}from"exit-hook";import{dirname as n,join as o}from"path";import e from"axios";import{spawn as p}from"child_process";import{stop as k,downAll as j,ps as a,execCompose as b,upAll as i}from"docker-compose/dist/v2.js";import s from"events";import{existsSync as r,mkdirSync as m,readFileSync as l}from"fs";import{dump as c}from"js-yaml";import{homedir as h}from"os";import{cwd as g}from"process";import w from"simple-git";import{upAll as A}from"docker-compose";import{Sequelize as f,ConnectionError as S,TimeoutError as v,ConnectionTimedOutError as y,ConnectionRefusedError as E,ConnectionAcquireTimeoutError as C}from"sequelize";import{DOMParser as P,XMLSerializer as D}from"@xmldom/xmldom";import{XMLParser as x}from"fast-xml-parser";import T from"xpath";import{hideBin as R}from"yargs/helpers";import M from"yargs/yargs";var O=["8.7-ubuntu-jdk17","8.7-jdk17","8.7.2-ubuntu-jdk17","8.6.0-jdk17","8.7.2","8.6.0-ubuntu-jdk17","8.7.2-jdk17","8.6.0","8.7","8.5.5-ubuntu-jdk17","8.5.5-jdk17","8.8.0-ubuntu-jdk17","8.8.0-jdk17","8.5.5","8.7-jdk11","8.7-ubuntu-jdk11","8.8.0","8.7.2-ubuntu-jdk11","8.7.2-jdk11","8.1-jdk11","8.1-ubuntu-jdk11","8.1.4-ubuntu-jdk11","8.1.4-jdk11","8.1","8.1.4","7.19-ubuntu-jdk11","7.19-jdk11","7.19.21-ubuntu-jdk11","7.19.21","7.19.21-jdk11","8.8-ubuntu-jdk17","8.8.1-ubi9","8.8.1-ubi9-jdk17","8.8.0-ubuntu-jdk11","8.8.1-jdk17","8.8.0-jdk11","8.6.1","8.6.1-jdk17","8.6.1-ubuntu-jdk17","8.5.6-ubuntu-jdk17","8.5.6-jdk17","8.5.6","8.5.5-ubuntu-jdk11","8.5.1-ubuntu-jdk17","8.5.5-jdk11","8.5.1-jdk17","8.5.1","8.4.4-jdk17","8.4.4-ubuntu-jdk17","8.4.4","8.0.3-jdk11","8.0.3","8.0.3-ubuntu-jdk11","7.20.2-jdk11","7.20.2-ubuntu-jdk11","7.20.2","8.8-jdk17","8.8.1-ubuntu-jdk17","8.8.1","8.8","8.6.0-ubuntu-jdk11","8.0-jdk11","8.0.4-ubuntu-jdk11","8.3.3-ubuntu-jdk17","8.6.0-jdk11","8.0.4-jdk11","8.3.3","8.0","8.3.3-jdk17","7.19.7-ubuntu-jdk11","7.19.7-jdk11","8.8-ubuntu-jdk11","8.8-jdk11","8.8.1-ubuntu-jdk11","7.19.7","7.19.17-ubuntu-jdk11","8.8.1-jdk11","7.19.17-jdk11","7.19.17","8.7.2-ubi9-jdk17","8.6-ubuntu-jdk17","8.7.2-ubi9","8.6-jdk17","8.6.2-ubuntu-jdk17","8.6.2-ubi9-jdk17","8.6.2-ubi9","8.6","8.6.2-jdk17","8.6.2","8.5.7-ubuntu-jdk17","8.5.7","8.5.7-jdk17","8.5.6-ubuntu-jdk11","8.5.6-jdk11","8.5.2-ubuntu-jdk17","8.5.2-jdk17","8.4.5-ubuntu-jdk17","8.4-jdk17","8.5.2","8.4-ubuntu-jdk17","latest","8.4.5-jdk17","8.4.5","8.4.1-ubuntu-jdk17","8.4","8.4.1-jdk17","8.4.1","8.2.0-jdk11","8.2.0-ubuntu-jdk11","8.3.0","8.3.0-ubuntu-jdk17","8.3.0-jdk17","8.0.4","8.0-ubuntu-jdk11","7-jdk11","7-ubuntu-jdk11","7.20-ubuntu-jdk11","7.20-jdk11","7.20.3-jdk11","7.20.3-ubuntu-jdk11","7.20.3","7.20","8.6.1-ubuntu-jdk11","7","8.6.1-jdk11","8.5.1-jdk11","8.5.1-ubuntu-jdk11","8.4.4-ubuntu-jdk11","8.3-ubuntu-jdk17","8.4.4-jdk11","8.3-jdk17","8.3.4-ubuntu-jdk17","8.3.4","8.3.4-jdk17","8.3.3-ubuntu-jdk11","8.3.3-jdk11","8.3","7.19.3-ubuntu-jdk11","7.19.18-jdk11","7.19.3-jdk11","7.19.18-ubuntu-jdk11","7.19.3","7.19.18","7.19.12-ubuntu-jdk11","7.19.12-jdk11","7.19.12","ubuntu-jdk17","ubi9-jdk17","jdk17","ubi9","8-ubuntu-jdk17","8-jdk17","8.9-ubuntu-jdk17","8.9-jdk17","8.9.0-ubuntu-jdk17","8.9.0-ubi9","8.9.0-ubi9-jdk17","8.9.0","8.9.0-jdk17","8.9","8.5-ubuntu-jdk17","8.5-jdk17","8.5.8-ubuntu-jdk17","8","8.5","8.5.8","8.5.8-jdk17","7.19.8-jdk11","7.19.8-ubuntu-jdk11","7.19.8","7.19.0-ubuntu-jdk11","7.19.0-jdk11","7.19.0","8.5.8-ubi9-jdk17","8.5.7-ubuntu-jdk11","8.5.7-jdk11","8.5.8-ubi9","8.5.3-jdk17","8.5.3-ubuntu-jdk17","8.5.3","8.4.2-ubuntu-jdk17","8.4.2-jdk17","8.3.1-ubuntu-jdk17","8.4.2","8.3.1-jdk17","8.6-ubuntu-jdk11","8.3.1","8.6-jdk11","8.6.2-ubuntu-jdk11","8.2.1-jdk11","8.2.1-ubuntu-jdk11","8.6.2-jdk11","8.2.1","8.2.0-ubuntu-jdk17","8.5.2-ubuntu-jdk11","8.5.2-jdk11","8.2.0-jdk17","8.4-ubuntu-jdk11","8.4.5-ubuntu-jdk11","8.4-jdk11","8.4.5-jdk11","8.4.1-ubuntu-jdk11","8.3-ubuntu-jdk11","8.4.1-jdk11","8.3-jdk11","8.3.4-ubuntu-jdk11","8.3.4-jdk11","8.3.0-ubuntu-jdk11","8.3.0-jdk11","8.1.3-jdk17","8.1.3-ubuntu-jdk17","7.19.4-ubuntu-jdk11","7.19.4-jdk11","7.19.4","7.19.1-ubuntu-jdk11","7.19.19-ubuntu-jdk11","7.19.1-jdk11","7.19.19-jdk11","7.19.19","8.8.0-ubi9-jdk17","7.19.14-ubuntu-jdk11","7.19.14-jdk11","8.8.0-ubi9","8.7.1-ubuntu-jdk17","7.19.14","7.19","8.7.1-ubi9-jdk17","7.19.1","8.7.1-jdk17","8.7.1-ubi9","8.7.1","8.6.1-ubi9-jdk17","8.6.1-ubi9","8.6.0-ubi9-jdk17","8.6.0-ubi9","8.5.7-ubi9-jdk17","8.5.7-ubi9","8.5.6-ubi9-jdk17","8.5.6-ubi9","8.5.0-ubuntu-jdk17","8.5.0-jdk17","8.5.0","8.4.0-ubuntu-jdk17","8.4.0","8.4.0-jdk17","8.3.2-jdk17","8.3.2","8.3.2-ubuntu-jdk17","8.2.2-ubuntu-jdk17","8.2.2-ubuntu-jdk11","8.2.2-jdk17","8.2.2-jdk11","8.2.2","8.2.1-ubuntu-jdk17","8.2.1-jdk17","8.1.0-jdk11","8.1.0-ubuntu-jdk11","8.1.0","8.0.3-ubuntu-jdk17","8.0.3-jdk17","8.0.0-ubuntu-jdk11","8.0.0-jdk11","8.2.0","8.0.0","7.19.9-ubuntu-jdk11","7.19.9-jdk11","7.19.9","jdk11","ubuntu-jdk11","8-jdk11","8-ubuntu-jdk11","8.9-ubuntu-jdk11","8.9-jdk11","8.9.0-ubuntu-jdk11","8.9.0-jdk11","8.5-ubuntu-jdk11","8.5-jdk11","8.5.4-ubuntu-jdk17","8.5.8-jdk11","8.5.8-ubuntu-jdk11","8.5.4-jdk17","8.5.4","8.4.3-ubuntu-jdk17","8.4.3-jdk17","8.4.3","8.0.0-ubuntu-jdk17","8.0.0-jdk17","8.5.3-ubuntu-jdk11","8.5.3-jdk11","8.4.2-ubuntu-jdk11","8.4.2-jdk11","8.3.1-ubuntu-jdk11","8.3.1-jdk11","8.2-ubuntu-jdk17","8.2-jdk17","8.2.3-jdk17","8.2.3-ubuntu-jdk17","8.1-ubuntu-jdk17","8.1.4-ubuntu-jdk17","8.1.4-jdk17","8.1-jdk17","8.1.0-ubuntu-jdk17","8.1.0-jdk17","8.0-ubuntu-jdk17","8.0.4-ubuntu-jdk17","8.0-jdk17","8.0.4-jdk17","7.19.5-ubuntu-jdk11","7.19.5","7.19.2-ubuntu-jdk11","7.19.5-jdk11","7.19.2-jdk11","7.19.2","7.19.15-ubuntu-jdk11","7.19.15-jdk11","7.19.10-jdk11","7.19.15","7.19.10-ubuntu-jdk11","7.19.10","8.2-ubuntu-jdk11","8.2-jdk11","8.2.3-jdk11","8.2.3","8.2","8.1.1-ubuntu-jdk11","8.1.1-jdk11","8.1.1","8.0.1-ubuntu-jdk11","8.0.1-jdk11","7.20.0-ubuntu-jdk11","8.0.1","7.20.0-jdk11","7.20.0","8.5.4-jdk11","8.5.4-ubuntu-jdk11","8.5.0-ubuntu-jdk11","8.5.0-jdk11","8.7.1-jdk11","8.7.1-ubuntu-jdk11","8.4.3-jdk11","8.4.3-ubuntu-jdk11","8.4.0-ubuntu-jdk11","8.4.0-jdk11","8.1.1-ubuntu-jdk17","8.1.3-ubuntu-jdk11","8.3.2-ubuntu-jdk11","8.3.2-jdk11","8.0.2-ubuntu-jdk17","8.1.3","8.1.3-jdk11","8.0.2-ubuntu-jdk11","8.2.3-ubuntu-jdk11","8.0.2-jdk11","8.0.1-ubuntu-jdk17","8.0.2","7.20.1","7.20.1-jdk11","7.19.6-ubuntu-jdk11","8.1.1-jdk17","7.19.20","7.19.16-ubuntu-jdk11","7.19.6","8.0.2-jdk17","7.19.20-jdk11","7.19.16","8.0.1-jdk17","7.20.1-ubuntu-jdk11","7.19.6-jdk11","7.19.20-ubuntu-jdk11","7.19.16-jdk11","7.19.11","7.19.11-jdk11","7.19.11-ubuntu-jdk11","eap-ubuntu-jdk11","eap-jdk17","eap-jdk11","9.0.0-m41-jdk17","9.0.0-m41","9.0.0-m41-jdk11","9.0.0-m41-ubuntu-jdk17","9.0.0-m41-ubi9","9.0.0-m41-ubi9-jdk17","eap-ubuntu-jdk17","eap","9.0.0-m41-ubuntu-jdk11","9.0.0-m30-jdk17","9.0.0-m30-ubuntu-jdk17","9.0.0-m30-jdk11","9.0.0-m30","9.0.0-m30-ubuntu-jdk11","9.0.0-m26-ubuntu-jdk17","9.0.0-m26-jdk17","9.0.0-m26-ubuntu-jdk11","9.0.0-m26-ubi9","9.0.0-m26-jdk11","9.0.0-m26","9.0.0-m26-ubi9-jdk17","8.9.0-rc1-ubuntu-jdk11","8.9.0-rc1-jdk11","8.9.0-rc1-ubi9","8.9.0-rc1-jdk17","8.9.0-rc1-ubi9-jdk17","8.9.0-rc1-ubuntu-jdk17","8.9.0-rc1","9.0.0-m23-jdk11","9.0.0-m23-ubi9-jdk17","9.0.0-m23-ubi9","9.0.0-m23-ubuntu-jdk11","9.0.0-m23","9.0.0-m23-jdk17","9.0.0-m23-ubuntu-jdk17","8.9.0-beta2-ubi9-jdk17","8.9.0-beta2-ubi9","8.9.0-beta2-ubuntu-jdk17","8.9.0-beta2-jdk17","8.9.0-beta2-jdk11","8.9.0-beta2-ubuntu-jdk11","8.9.0-beta2","9.0.0-m16-ubuntu-jdk17","9.0.0-m16-jdk17","9.0.0-m16-ubi9-jdk17","9.0.0-m16-ubi9","9.0.0-m16-jdk11","9.0.0-m16-ubuntu-jdk11","9.0.0-m16","8.9.0-m58-ubuntu-jdk11","8.9.0-m58-jdk11","8.9.0-m58-jdk17","8.9.0-m58-ubuntu-jdk17","8.9.0-m58","9.0.0-m15-jdk17","9.0.0-m15-ubuntu-jdk17","9.0.0-m15","9.0.0-m15-jdk11","9.0.0-m15-ubuntu-jdk11","8.9.0-m50-jdk17","8.9.0-m50-ubuntu-jdk11","8.9.0-m50-ubuntu-jdk17","8.9.0-m50","8.9.0-m50-jdk11","9.0.0-m14-ubuntu-jdk11","9.0.0-m14-jdk17","9.0.0-m14-jdk11","9.0.0-m14","9.0.0-m14-ubuntu-jdk17","9.0.0-m13-jdk11","9.0.0-m13-jdk17","9.0.0-m13","9.0.0-m13-ubuntu-jdk17","9.0.0-m13-ubuntu-jdk11","8.9.0-m43-jdk17","8.9.0-m43","8.9.0-m43-jdk11","8.9.0-m43-ubuntu-jdk11","8.9.0-m43-ubuntu-jdk17","9.0.0-m11-jdk17","9.0.0-m11","9.0.0-m11-ubuntu-jdk17","9.0.0-m10-ubuntu-jdk11","9.0.0-m10-jdk11","9.0.0-m10-ubuntu-jdk17","9.0.0-m10-jdk17","9.0.0-m10","9.0.0-m09-ubuntu-jdk17","9.0.0-m09-jdk17","9.0.0-m09-ubuntu-jdk11","9.0.0-m09-jdk11","9.0.0-m09","8.8.0-rc1-jdk17","8.8.0-rc1-jdk11","8.8.0-rc1-ubuntu-jdk11","8.8.0-rc1","8.8.0-rc1-ubuntu-jdk17","9.0.0-m08-jdk17","9.0.0-m08-ubuntu-jdk17","9.0.0-m08","9.0.0-m08-ubuntu-jdk11","9.0.0-m08-jdk11","8.8.0-beta1-jdk17","8.8.0-beta1-ubuntu-jdk17","8.8.0-beta1-jdk11","8.8.0-beta1","8.8.0-beta1-ubuntu-jdk11","9.0.0-m07-ubuntu-jdk17","9.0.0-m07-jdk17","9.0.0-m07-jdk11","9.0.0-m07","9.0.0-m07-ubuntu-jdk11","7.16.2-ubuntu-jdk11","7.16.2","7.16.2-jdk11","7.13.7-ubuntu-jdk11","7.13.7-jdk11","7.13.7","7.11.0-ubuntu-jdk11","7.11.0-jdk11","7.11.0","7.13.12-ubuntu-jdk11","7.13.12-jdk11","7.13.12","7.16.3-ubuntu-jdk11","7.16.3-jdk11","7.16.3","7.13.8-ubuntu-jdk11","7.13.8-jdk11","7.13.8","7.11.1-ubuntu-jdk11","7.11.1-jdk11","7.11.1","7.13.13-ubuntu-jdk11","7.13.13-jdk11","7.13.13","7.16.4-ubuntu-jdk11","7.16.4-jdk11","7.16.4","7.11.2-ubuntu-jdk11","7.11.2-jdk11","7.11.2","7.13.9-ubuntu-jdk11","7.13.9-jdk11","7.13.9","7.16-ubuntu-jdk11","7.16-jdk11","7.16.5-ubuntu-jdk11","7.16.5-jdk11","7.16.5","7.16","7.13.14-ubuntu-jdk11","7.13.14-jdk11","7.13.14","7.14.0-ubuntu-jdk11","7.14.0-jdk11","7.14.0","7.11.3-ubuntu-jdk11","7.11.3-jdk11","7.11.3","7.13.15-ubuntu-jdk11","7.13.15-jdk11","7.11-ubuntu-jdk11","7.13.15","7.11.6-ubuntu-jdk11","7.11.6","7.11","7.17.0-ubuntu-jdk11","7.17.0-jdk11","7.17.0","7.14.1-ubuntu-jdk11","7.14.1-jdk11","7.14.1","7.11-jdk11","7.11.6-jdk11","7.13.16-ubuntu-jdk11","7.13.16-jdk11","7.13.16","7.17.1-ubuntu-jdk11","7.17.1-jdk11","7.17.1","7.14.2-ubuntu-jdk11","7.14.2-jdk11","7.14.2","7.13.17-ubuntu-jdk11","7.13.17-jdk11","7.13.17","7.12.0-ubuntu-jdk11","7.12.0-jdk11","7.12.0","7.17.2-ubuntu-jdk11","7.17.2-jdk11","7.17.2","7.14.3-ubuntu-jdk11","7.14.3-jdk11","7.14.3","7.13.18-ubuntu-jdk11","7.13.18-jdk11","7.13.18","7.17.3-ubuntu-jdk11","7.17.3-jdk11","7.17.3","7.14-ubuntu-jdk11","7.14-jdk11","7.14.4-ubuntu-jdk11","7.14.4-jdk11","7.14.4","7.14","7.12.1-ubuntu-jdk11","7.12.1-jdk11","7.12.1","7.17.4-ubuntu-jdk11","7.17.4-jdk11","7.17.4","7.13.19-ubuntu-jdk11","7.13.19-jdk11","7.13.19","7.12.2-ubuntu-jdk11","7.12.2-jdk11","7.12.2","7.15.0-ubuntu-jdk11","7.15.0-jdk11","7.15.0","7.13.2-ubuntu-jdk11","7.13.2-jdk11","7.13.2","7.12.3-ubuntu-jdk11","7.12.3-jdk11","7.12.3","7.17-ubuntu-jdk11","7.17-jdk11","7.17.5-ubuntu-jdk11","7.17.5-jdk11","7.17.5","7.17","7.15.1-ubuntu-jdk11","7.15.1-jdk11","7.15.1","7.13-ubuntu-jdk11","7.13-jdk11","7.13.20-ubuntu-jdk11","7.13.20-jdk11","7.13.20","7.13","7.12.4-ubuntu-jdk11","7.12.4-jdk11","7.12.4","7.18.0-ubuntu-jdk11","7.18.0-jdk11","7.18.0","7.15.2-ubuntu-jdk11","7.15.2-jdk11","7.15.2","7.12-ubuntu-jdk11","7.12.5","7.12-jdk11","7.12.5-ubuntu-jdk11","7.12.5-jdk11","7.12","7.15-ubuntu-jdk11","7.15-jdk11","7.15.3-ubuntu-jdk11","7.15.3-jdk11","7.15.3","7.15","7.13.3-ubuntu-jdk11","7.13.3-jdk11","7.13.3","7.18.1-ubuntu-jdk11","7.18.1-jdk11","7.18.1","7.18.2-ubuntu-jdk11","7.18.2-jdk11","7.18.2","7.13.4-ubuntu-jdk11","7.13.4-jdk11","7.13.4","7.13.0-ubuntu-jdk11","7.13.0-jdk11","7.13.0","7.16.0-ubuntu-jdk11","7.16.0-jdk11","7.16.0","7.18-ubuntu-jdk11","7.18-jdk11","7.18.3-ubuntu-jdk11","7.18.3-jdk11","7.18.3","7.18","7.13.5-ubuntu-jdk11","7.13.5-jdk11","7.13.5","7.13.1-ubuntu-jdk11","7.13.1-jdk11","7.13.1","7.16.1-ubuntu-jdk11","7.16.1-jdk11","7.16.1","7.13.6-ubuntu-jdk11","7.13.6-jdk11","7.13.6","7.13.11-ubuntu-jdk11","7.13.11-jdk11","7.13.11","8.8.0-m61-ubuntu-jdk11","8.8.0-m61-jdk11","8.8.0-m61","8.8.0-m61-ubuntu-jdk17","8.8.0-m61-jdk17","8.8.0-m46-ubuntu-jdk11","8.8.0-m46-ubuntu-jdk17","8.8.0-m46-jdk17","8.8.0-m46","8.8.0-m46-jdk11","8.7.0-rc1-ubuntu-jdk17","8.7.0-rc1-jdk17","8.7.0-rc1-jdk11","8.7.0-rc1","8.7.0-rc1-ubuntu-jdk11","8.7.0-beta1-ubuntu-jdk11","8.7.0-beta1","8.7.0-beta1-jdk11","8.7.0-beta1-jdk17","8.7.0-beta1-ubuntu-jdk17","8.7.0-m48-ubuntu-jdk17","8.7.0-m48-jdk17","8.7.0-m48-jdk11","8.7.0-m48-ubuntu-jdk11","8.7.0-m48","8.7.0-m41-ubuntu-jdk17","8.7.0-m41-ubuntu-jdk11","8.7.0-m41-jdk17","8.7.0-m41-jdk11","8.7.0-m41","8.6.0-rc1-ubuntu-jdk17","8.6.0-rc1-jdk17","8.6.0-rc1-ubuntu-jdk11","8.6.0-rc1-jdk11","8.6.0-rc1","8.6.0-beta2-jdk17","8.6.0-beta2","8.6.0-beta2-jdk11","8.6.0-beta2-ubuntu-jdk11","8.6.0-beta2-ubuntu-jdk17","8.6.0-beta1-jdk17","8.6.0-beta1-ubuntu-jdk17","8.6.0-beta1","8.6.0-beta1-ubuntu-jdk11","8.6.0-beta1-jdk11","8.6.0-m85-ubuntu-jdk17","8.6.0-m85-jdk17","8.6.0-m85","8.6.0-m85-ubuntu-jdk11","8.6.0-m85-jdk11","8.6.0-m79-jdk11","8.6.0-m79-ubuntu-jdk11","8.6.0-m79-ubuntu-jdk17","8.6.0-m79-jdk17","8.6.0-m79","8.5.0-rc1-jdk11","8.5.0-rc1","8.5.0-rc1-jdk17","8.5.0-rc1-ubuntu-jdk11","8.5.0-rc1-ubuntu-jdk17","8.5.0-beta1-ubuntu-jdk17","8.5.0-beta1-jdk17","8.5.0-beta1","8.5.0-beta1-ubuntu-jdk11","8.5.0-beta1-jdk11","8.5.0-m06-jdk17","8.5.0-m06-ubuntu-jdk17","8.5.0-m06-jdk11","8.5.0-m06","8.5.0-m06-ubuntu-jdk11","8.5.0-m05-jdk17","8.5.0-m05-jdk11","8.5.0-m05-ubuntu-jdk17","8.5.0-m05-ubuntu-jdk11","8.5.0-m05","8.5.0-m04-jdk17","8.5.0-m04-ubuntu-jdk11","8.5.0-m04-ubuntu-jdk17","8.5.0-m04","8.5.0-m04-jdk11","8.4.0-rc2-ubuntu-jdk17","8.4.0-rc2-jdk17","8.4.0-rc2-ubuntu-jdk11","8.4.0-rc2","8.4.0-rc2-jdk11","8.4.0-rc1-jdk17","8.4.0-rc1-ubuntu-jdk17","8.4.0-rc1-jdk11","8.4.0-rc1","8.4.0-rc1-ubuntu-jdk11","8.4.0-beta1-jdk17","8.4.0-beta1-ubuntu-jdk17","8.4.0-beta1","8.4.0-beta1-jdk11","8.4.0-beta1-ubuntu-jdk11","8.4.0-m48-jdk17","8.4.0-m48-ubuntu-jdk11","8.4.0-m48-jdk11","8.4.0-m48-ubuntu-jdk17","8.4.0-m48","8.4.0-m22","8.4.0-m22-jdk17","8.4.0-m22-ubuntu-jdk11","8.4.0-m22-jdk11","8.4.0-m22-ubuntu-jdk17","8.4.0-m21-ubuntu-jdk17","8.4.0-m21-jdk17","8.4.0-m21","8.4.0-m21-ubuntu-jdk11","8.4.0-m21-jdk11","8.3.0-rc2-ubuntu-jdk11","8.3.0-rc2-jdk11","8.3.0-rc2-ubuntu-jdk17","8.3.0-rc2-jdk17","8.3.0-rc2","8.3.0-rc1-ubuntu-jdk11","8.3.0-rc1-ubuntu-jdk17","8.3.0-rc1-jdk11","8.3.0-rc1-jdk17","8.3.0-rc1","8.3.0-beta1-jdk11","8.3.0-beta1-jdk17","8.3.0-beta1-ubuntu-jdk11","8.3.0-beta1","8.3.0-beta1-ubuntu-jdk17","8.3.0-tinymce6-m01-ubuntu-jdk11","8.3.0-tinymce6-m01","8.3.0-tinymce6-m01-ubuntu-jdk17","8.3.0-tinymce6-m01-jdk11","8.3.0-tinymce6-m01-jdk17","8.3.0-m48","8.3.0-m48-ubuntu-jdk17","8.3.0-m48-jdk11","8.3.0-m48-ubuntu-jdk11","8.3.0-m48-jdk17","8.3.0-m42-ubuntu-jdk17","8.3.0-m42-jdk17","8.3.0-m42-jdk11","8.3.0-m42-ubuntu-jdk11","8.3.0-m42","8.3.0-m37-jdk11","8.3.0-m37-ubuntu-jdk11","8.3.0-m37-jdk17","8.3.0-m37","8.3.0-m37-ubuntu-jdk17","8.3.0-m31-ubuntu-jdk17","8.3.0-m31","8.3.0-m31-ubuntu-jdk11","8.3.0-m31-jdk11","8.3.0-m31-jdk17","8.2.0-rc1-jdk11","8.2.0-rc1-jdk17","8.2.0-rc1-ubuntu-jdk11","8.2.0-rc1-ubuntu-jdk17","8.2.0-rc1","8.2.0-beta2","8.2.0-beta2-ubuntu-jdk11","8.2.0-beta2-jdk17","8.2.0-beta2-ubuntu-jdk17","8.2.0-beta2-jdk11","8.2.0-beta1-ubuntu-jdk11","8.2.0-beta1-ubuntu-jdk17","8.2.0-beta1-jdk17","8.2.0-beta1-jdk11","8.2.0-beta1","8.2.0-m36-jdk11","8.2.0-m36-jdk17","8.2.0-m36","8.2.0-m36-ubuntu-jdk17","8.2.0-m36-ubuntu-jdk11","8.2.0-m27-ubuntu-jdk11","8.2.0-m27-jdk17","8.2.0-m27-jdk11","8.2.0-m27","8.2.0-m27-ubuntu-jdk17","8.2.0-m20","8.2.0-m20-jdk11","8.2.0-m20-ubuntu-jdk11","8.2.0-m20-ubuntu-jdk17","8.2.0-m20-jdk17","8.1.0-rc1-jdk11","8.1.0-rc1","8.1.0-rc1-ubuntu-jdk11","8.1.0-rc1-ubuntu-jdk17","8.1.0-rc1-jdk17","8.1.0-beta2","8.1.0-beta2-jdk11","8.1.0-beta2-ubuntu-jdk11","8.1.0-beta2-ubuntu-jdk17","8.1.0-beta2-jdk17","8.1.0-beta1-jdk11","8.1.0-beta1","8.1.0-beta1-ubuntu-jdk11","8.1.0-beta1-jdk17","8.1.0-beta1-ubuntu-jdk17","8.1.0-m78-jdk11","8.1.0-m78-ubuntu-jdk17","8.1.0-m78-ubuntu-jdk11","8.1.0-m78","8.1.0-m78-jdk17","7.6.2-ubuntu-jdk11","7.6.2-jdk11","7.6.2","7.6.1-ubuntu-jdk11","7.6.1-jdk11","7.6.1","7.9-ubuntu-jdk11","7.9-jdk11","7.9.3-ubuntu-jdk11","7.9.3-jdk11","7.9.3","7.9.1-ubuntu-jdk11","7.9.1-jdk11","7.9.1","7.9.0-ubuntu-jdk11","7.9.0-jdk11","7.9.0","7.9","7.8-ubuntu-jdk11","7.8-jdk11","7.8.3-ubuntu-jdk11","7.8.3-jdk11","7.8.3","7.8","7.6.0-ubuntu-jdk11","7.6.0-jdk11","7.6.0","7.5-ubuntu-jdk11","7.5-jdk11","7.5.2-ubuntu-jdk11","7.5.2-jdk11","7.8.1-ubuntu-jdk11","7.8.1-jdk11","7.5.2","7.8.1","7.8.0-ubuntu-jdk11","7.8.0-jdk11","7.5.1-ubuntu-jdk11","7.8.0","7.7-ubuntu-jdk11","7.5.1-jdk11","7.7-jdk11","7.7.4-ubuntu-jdk11","7.5.1","7.7.4-jdk11","7.7.4","7.5.0-ubuntu-jdk11","7.7.3-ubuntu-jdk11","7.7.3-jdk11","7.7.3","7.5.0-jdk11","7.7.2-ubuntu-jdk11","7.7.2-jdk11","7.5.0","7.7.2","7.7","7.6-ubuntu-jdk11","7.5","7.6-jdk11","7.6.3-ubuntu-jdk11","7.4.9-ubuntu-jdk11","7.6.3-jdk11","7.6.3","7.6","7.4.9-jdk11","7.4.9","7.4.17-ubuntu-jdk11","7.4.17-jdk11","7.4-ubuntu-jdk11","7.4.17","7.4-jdk11","7.4.16-ubuntu-jdk11","7.4.8-ubuntu-jdk11","7.4.16-jdk11","7.4.8-jdk11","7.4.8","7.4.16","7.4.7-ubuntu-jdk11","7.4.7-jdk11","7.4.7","7.4.15-ubuntu-jdk11","7.4.6-ubuntu-jdk11","7.4.6-jdk11","7.4.6","7.4.15-jdk11","7.4.5-ubuntu-jdk11","7.4.5-jdk11","7.4.5","7.4.4-ubuntu-jdk11","7.4.15","7.4.4-jdk11","7.4.4","7.4.3-ubuntu-jdk11","7.4.3-jdk11","7.4.14-ubuntu-jdk11","7.4.3","7.4.1-ubuntu-jdk11","7.4.1-jdk11","7.4.14-jdk11","7.4.18-ubuntu-jdk11","7.4.18-jdk11","7.4.18","7.4.14","7.4.13-ubuntu-jdk11","7.4.13-jdk11","7.4.13","7.4.12-ubuntu-jdk11","7.4.12-jdk11","7.4.12","7.4.11-ubuntu-jdk11","7.4.11-jdk11","7.4.11","7.4.10-ubuntu-jdk11","7.4.10-jdk11","7.4.10","7.4.1","7.4.0-ubuntu-jdk11","7.4.0-jdk11","7.4.0","7.4","7.10-ubuntu-jdk11","7.10-jdk11","7.10.2-ubuntu-jdk11","7.10.2-jdk11","7.10.2","7.10.1-ubuntu-jdk11","7.10.1-jdk11","7.10.1","7.10.0-ubuntu-jdk11","7.10.0-jdk11","7.10.0","7.10","8.0.0-rc1-ubuntu-jdk11","8.0.0-rc1-jdk17","8.0.0-rc1-jdk11","8.0.0-rc1","8.0.0-rc1-ubuntu-jdk17","8.0.0-beta1-ubuntu-jdk17","8.0.0-beta1","8.0.0-beta1-ubuntu-jdk11","8.0.0-beta1-jdk17","8.0.0-beta1-jdk11","8.0.0-m90-ubuntu-jdk17","8.0.0-m90-ubuntu-jdk11","8.0.0-m90-jdk11","8.0.0-m90-jdk17","8.0.0-m90","8.0.0-m89-ubuntu-jdk17","8.0.0-m89-jdk17","8.0.0-m89-jdk11","8.0.0-m89","8.0.0-m89-ubuntu-jdk11","8.0.0-m86","8.0.0-m86-ubuntu-jdk17","8.0.0-m86-jdk11","8.0.0-m86-ubuntu-jdk11","8.0.0-m86-jdk17","8.0.0-m82-ubuntu-jdk11","8.0.0-m82-jdk11","8.0.0-m82","8.0.0-m82-ubuntu-jdk17","8.0.0-m82-jdk17","8.0.0-m76-ubuntu-jdk17","8.0.0-m76-ubuntu-jdk11","8.0.0-m76-jdk17","8.0.0-m76","8.0.0-m76-jdk11","8.0.0-m69","8.0.0-m69-ubuntu-jdk11","8.0.0-m69-jdk17","8.0.0-m69-ubuntu-jdk17","8.0.0-m69-jdk11","8.0.0-m60","8.0.0-m60-jdk17","8.0.0-m60-jdk11","8.0.0-m60-ubuntu-jdk17","8.0.0-m60-ubuntu-jdk11","7.20.0-rc1-ubuntu-jdk11","7.20.0-rc1-jdk11","7.20.0-rc1","8.0.0-struts-m48-ubuntu-jdk17","8.0.0-struts-m48-ubuntu-jdk11","8.0.0-struts-m48-jdk11","8.0.0-struts-m48","8.0.0-struts-m48-jdk17","7.20.0-beta4-jdk11","7.20.0-beta4-ubuntu-jdk11","7.20.0-beta4","8.0.0-m45-ubuntu-jdk11","8.0.0-m45-jdk17","8.0.0-m45-jdk11","8.0.0-m45-ubuntu-jdk17","8.0.0-m45","8.0.0-struts-m39-ubuntu-jdk11","8.0.0-struts-m39-ubuntu-jdk17","8.0.0-struts-m39-jdk11","8.0.0-struts-m39-jdk17","8.0.0-struts-m39","8.0.0-struts-m027-ubuntu-jdk11","8.0.0-struts-m027-ubuntu-jdk17","8.0.0-struts-m027","8.0.0-struts-m027-jdk17","8.0.0-struts-m027-jdk11","7.20.0-beta2-ubuntu-jdk11","7.20.0-beta2-jdk11","7.20.0-beta2-jdk17","7.20.0-beta2","7.20.0-beta2-ubuntu-jdk17","8.0.0-m026-ubuntu-jdk11","8.0.0-m026-ubuntu-jdk17","8.0.0-m026","8.0.0-m026-jdk17","8.0.0-m026-jdk11","8.0.0-struts-m020-ubuntu-jdk17","8.0.0-m023-jdk17","8.0.0-m023-ubuntu-jdk17","8.0.0-struts-m020-jdk17","7.20.0-m104-jdk17","7.20.0-m104-ubuntu-jdk17","8.0.0-m023-jdk11","7.20.0-m104","8.0.0-m023-ubuntu-jdk11","7.20.0-m104-ubuntu-jdk11","8.0.0-m023","7.20.0-m104-jdk11","8.0.0-m021-ubuntu-jdk11","8.0.0-m021","8.0.0-m021-jdk11","7.20.0-m99","7.20.0-m99-ubuntu-jdk11","7.20.0-m99-jdk11","8.0.0-struts-m020-jdk11","8.0.0-struts-m020-ubuntu-jdk11","8.0.0-struts-m020","8.0.0-m020-jdk11","8.0.0-m020","8.0.0-m020-ubuntu-jdk11","7.20.0-m78-ubuntu-jdk11","7.20.0-m78","7.20.0-m78-jdk11","7.19.0-rc3-jdk11","7.19.0-rc3-ubuntu-jdk11","7.19.0-rc3","8.0.0-m018-ubuntu-jdk11","8.0.0-m018-jdk11","8.0.0-m018","8.0.0-m017-ubuntu-jdk11","8.0.0-m017-jdk11","8.0.0-m017","7.19.0-rc2-ubuntu-jdk11","7.19.0-rc2-jdk11","7.19.0-rc2","8.0.0-m015-ubuntu-jdk11","8.0.0-m015","8.0.0-m015-jdk11","7.19.0-rc1-jdk11","7.19.0-rc1","7.19.0-rc1-ubuntu-jdk11","7.19.0-beta1-jdk11","7.19.0-beta1-ubuntu-jdk11","7.19.0-beta1","8.0.0-m014","8.0.0-m014-ubuntu-jdk11","8.0.0-m014-jdk11","7.17-ubuntu-18.04-adoptopenjdk11","7.17-ubuntu","7.17-adoptopenjdk11","7.17.5-ubuntu-18.04-adoptopenjdk11","7.17.5-ubuntu","7.17.5-adoptopenjdk11","eap-ubuntu-18.04-adoptopenjdk11","eap-ubuntu","8.0.0-m012-ubuntu-18.04-adoptopenjdk11","eap-adoptopenjdk11","8.0.0-m012-ubuntu","8.0.0-m012-adoptopenjdk11","8.0.0-m012","8.0.0-m012-jdk11","7.19.0-m02-jdk11","7.19.0-m02-ubuntu-18.04-adoptopenjdk11","7.19.0-m02-adoptopenjdk11","7.19.0-m02-ubuntu","7.19.0-m02","ubuntu-18.04-adoptopenjdk11","ubuntu","adoptopenjdk11","7-ubuntu-18.04-adoptopenjdk11","7-ubuntu","7-adoptopenjdk11","7.9.1-ubuntu-18.04-adoptopenjdk11","7.9.1-ubuntu","7.9.1-adoptopenjdk11","7.9.0-ubuntu-18.04-adoptopenjdk11","7.9.0-ubuntu","7.9.0-adoptopenjdk11","7.8-ubuntu-18.04-adoptopenjdk11","7.8-ubuntu","7.8-adoptopenjdk11","7.8.3-ubuntu-18.04-adoptopenjdk11","7.8.3-ubuntu","7.8.3-adoptopenjdk11","7.8.1-ubuntu-18.04-adoptopenjdk11","7.8.1-ubuntu","7.8.1-adoptopenjdk11","7.8.0-ubuntu-18.04-adoptopenjdk11","7.8.0-ubuntu","7.8.0-adoptopenjdk11","7.7-ubuntu-18.04-adoptopenjdk11","7.7-ubuntu","7.7-adoptopenjdk11","7.7.4-ubuntu-18.04-adoptopenjdk11","7.7.4-ubuntu","7.7.4-adoptopenjdk11","7.7.3-ubuntu-18.04-adoptopenjdk11","7.7.3-ubuntu","7.7.3-adoptopenjdk11","7.7.2-ubuntu-18.04-adoptopenjdk11","7.7.2-ubuntu","7.7.2-adoptopenjdk11","7.6-ubuntu-18.04-adoptopenjdk11","7.6-ubuntu","7.6-adoptopenjdk11","7.6.3-ubuntu-18.04-adoptopenjdk11","7.6.3-ubuntu","7.6.3-adoptopenjdk11","7.6.0-ubuntu-18.04-adoptopenjdk11","7.6.0-ubuntu","7.6.0-adoptopenjdk11","7.5-ubuntu-18.04-adoptopenjdk11","7.5-ubuntu","7.5-adoptopenjdk11","7.5.2-ubuntu-18.04-adoptopenjdk11","7.5.2-ubuntu","7.5.2-adoptopenjdk11","7.5.1-ubuntu-18.04-adoptopenjdk11","7.5.1-ubuntu","7.5.1-adoptopenjdk11","7.5.0-ubuntu-18.04-adoptopenjdk11","7.5.0-ubuntu","7.5.0-adoptopenjdk11","7.4-ubuntu-18.04-adoptopenjdk11","7.4-ubuntu","7.4-adoptopenjdk11","7.4.9-ubuntu-18.04-adoptopenjdk11","7.4.9-ubuntu","7.4.9-adoptopenjdk11","7.4.8-ubuntu-18.04-adoptopenjdk11","7.4.8-ubuntu","7.4.8-adoptopenjdk11","7.4.7-ubuntu-18.04-adoptopenjdk11","7.4.7-ubuntu","7.4.7-adoptopenjdk11","7.4.6-ubuntu-18.04-adoptopenjdk11","7.4.6-ubuntu","7.4.6-adoptopenjdk11","7.4.3-ubuntu-18.04-adoptopenjdk11","7.4.3-ubuntu","7.4.3-adoptopenjdk11","7.4.1-ubuntu","7.4.1-adoptopenjdk11","7.4.17-ubuntu-18.04-adoptopenjdk11","7.4.17-ubuntu","7.4.17-adoptopenjdk11","7.4.16-ubuntu-18.04-adoptopenjdk11","7.4.16-ubuntu","7.4.16-adoptopenjdk11","7.4.15-ubuntu-18.04-adoptopenjdk11","7.4.15-ubuntu","7.4.15-adoptopenjdk11","7.4.14-ubuntu-18.04-adoptopenjdk11","7.4.14-ubuntu","7.4.14-adoptopenjdk11","7.4.13-ubuntu-18.04-adoptopenjdk11","7.4.13-ubuntu","7.4.13-adoptopenjdk11","7.4.12-ubuntu-18.04-adoptopenjdk11","7.4.12-ubuntu","7.4.12-adoptopenjdk11","7.4.0-ubuntu-18.04-adoptopenjdk11","7.4.0-ubuntu","7.4.0-adoptopenjdk11","7.18-ubuntu-18.04-adoptopenjdk11","7.18-ubuntu","7.18-adoptopenjdk11","7.18.1-ubuntu-18.04-adoptopenjdk11","7.18.1-ubuntu","7.18.1-adoptopenjdk11","7.18.0-ubuntu-18.04-adoptopenjdk11","7.18.0-ubuntu","7.18.0-adoptopenjdk11","7.17.4-ubuntu-18.04-adoptopenjdk11","7.17.4-ubuntu","7.17.4-adoptopenjdk11","7.17.3-ubuntu-18.04-adoptopenjdk11","7.17.3-ubuntu","7.17.3-adoptopenjdk11","7.17.2-ubuntu-18.04-adoptopenjdk11","7.17.2-ubuntu","7.17.2-adoptopenjdk11","7.16-ubuntu-18.04-adoptopenjdk11","7.16-ubuntu","7.16-adoptopenjdk11","7.16.4-ubuntu-18.04-adoptopenjdk11","7.16.4-ubuntu","7.16.4-adoptopenjdk11","7.16.3-ubuntu-18.04-adoptopenjdk11","7.16.3-ubuntu","7.16.3-adoptopenjdk11","7.16.2-ubuntu-18.04-adoptopenjdk11","7.16.2-ubuntu","7.16.2-adoptopenjdk11","7.16.1-ubuntu-18.04-adoptopenjdk11","7.16.1-ubuntu","7.16.1-adoptopenjdk11","7.16.0-ubuntu-18.04-adoptopenjdk11","7.16.0-ubuntu","7.16.0-adoptopenjdk11","7.15-ubuntu-18.04-adoptopenjdk11","7.15-ubuntu","7.15-adoptopenjdk11","7.15.2-ubuntu-18.04-adoptopenjdk11","7.15.2-ubuntu","7.15.2-adoptopenjdk11","7.15.1-ubuntu-18.04-adoptopenjdk11","7.15.1-ubuntu","7.15.1-adoptopenjdk11","7.14-ubuntu-18.04-adoptopenjdk11","7.14.3-ubuntu-18.04-adoptopenjdk11","7.14.3-ubuntu","7.14.0-ubuntu","7.14.0-adoptopenjdk11","7.13-ubuntu-18.04-adoptopenjdk11","7.13-ubuntu","7.13-adoptopenjdk11","7.13.7-ubuntu-18.04-adoptopenjdk11","7.13.7-ubuntu","7.13.7-adoptopenjdk11","7.13.6-ubuntu-18.04-adoptopenjdk11","7.13.6-ubuntu","7.13.6-adoptopenjdk11","7.13.5-ubuntu-18.04-adoptopenjdk11","7.13.5-ubuntu","7.13.5-adoptopenjdk11","7.13.4-ubuntu-18.04-adoptopenjdk11","7.13.4-ubuntu","7.13.4-adoptopenjdk11","7.12.5-ubuntu-18.04-adoptopenjdk11","7.12.5-ubuntu","7.12.4-ubuntu-18.04-adoptopenjdk11","7.12.4-ubuntu","7.12.4-adoptopenjdk11","7.12.3-ubuntu-18.04-adoptopenjdk11","7.12.3-ubuntu","7.12.3-adoptopenjdk11","7.12.2-ubuntu-18.04-adoptopenjdk11","7.12.2-ubuntu","7.12.2-adoptopenjdk11","7.12.1-ubuntu-18.04-adoptopenjdk11","7.12.1-ubuntu","7.12.1-adoptopenjdk11","7.11.1-ubuntu-18.04-adoptopenjdk11","7.11.1-ubuntu","7.11.1-adoptopenjdk11","7.11.0-ubuntu-18.04-adoptopenjdk11","7.11.0-ubuntu","7.11.0-adoptopenjdk11","7.10-ubuntu-18.04-adoptopenjdk11","7.10-ubuntu","7.10-adoptopenjdk11","7.10.2-ubuntu-18.04-adoptopenjdk11","7.10.2-ubuntu","7.10.2-adoptopenjdk11","7.10.1-ubuntu-18.04-adoptopenjdk11","7.10.1-ubuntu","7.10.1-adoptopenjdk11","7.10.0-ubuntu-18.04-adoptopenjdk11","7.10.0-ubuntu","7.10.0-adoptopenjdk11","7.14-adoptopenjdk11","7.9-ubuntu-18.04-adoptopenjdk11","7.9-ubuntu","7.9-adoptopenjdk11","7.14.3-adoptopenjdk11","7.9.3-ubuntu-18.04-adoptopenjdk11","7.9.3-ubuntu","7.9.3-adoptopenjdk11","7.14.2-ubuntu-18.04-adoptopenjdk11","7.6.2-ubuntu-18.04-adoptopenjdk11","7.6.2-ubuntu","7.14.2-ubuntu","7.6.2-adoptopenjdk11","7.6.1-ubuntu-18.04-adoptopenjdk11","7.6.1-ubuntu","7.14.2-adoptopenjdk11","7.6.1-adoptopenjdk11","7.14.1-ubuntu-18.04-adoptopenjdk11","7.4.5-ubuntu-18.04-adoptopenjdk11","7.4.5-ubuntu","7.14.1-ubuntu","7.4.5-adoptopenjdk11","7.4.4-ubuntu-18.04-adoptopenjdk11","7.14.1-adoptopenjdk11","7.4.4-ubuntu","7.4.4-adoptopenjdk11","7.14.0-ubuntu-18.04-adoptopenjdk11","7.4.1-ubuntu-18.04-adoptopenjdk11","7.13.3-ubuntu-18.04-adoptopenjdk11","7.4.11-ubuntu-18.04-adoptopenjdk11","7.13.3-ubuntu","7.4.11-ubuntu","7.13.3-adoptopenjdk11","7.4.11-adoptopenjdk11","7.13.2-ubuntu-18.04-adoptopenjdk11","7.4.10-ubuntu-18.04-adoptopenjdk11","7.13.2-ubuntu","7.4.10-ubuntu","7.13.2-adoptopenjdk11","7.4.10-adoptopenjdk11","7.13.1-ubuntu-18.04-adoptopenjdk11","7.17.1-ubuntu-18.04-adoptopenjdk11","7.13.1-ubuntu","7.17.1-ubuntu","7.13.1-adoptopenjdk11","7.17.1-adoptopenjdk11","7.13.0-ubuntu-18.04-adoptopenjdk11","7.13.0-ubuntu","7.17.0-ubuntu-18.04-adoptopenjdk11","7.17.0-ubuntu","7.13.0-adoptopenjdk11","7.17.0-adoptopenjdk11","7.12-ubuntu-18.04-adoptopenjdk11","7.12-ubuntu","7.12-adoptopenjdk11","7.15.0-ubuntu-18.04-adoptopenjdk11","7.12.5-adoptopenjdk11","7.15.0-ubuntu","7.12.0-ubuntu-18.04-adoptopenjdk11","7.15.0-adoptopenjdk11","7.12.0-ubuntu","7.11-ubuntu-18.04-adoptopenjdk11","7.14-ubuntu","7.11-ubuntu","7.11.6-ubuntu-18.04-adoptopenjdk11","7.11.6-ubuntu","7.11.6-adoptopenjdk11","7.11.3-ubuntu-18.04-adoptopenjdk11","7.11.3-ubuntu","7.11.3-adoptopenjdk11","7.11.2-ubuntu-18.04-adoptopenjdk11","7.11.2-ubuntu","7.11.2-adoptopenjdk11","7.12.0-adoptopenjdk11","7.11-adoptopenjdk11","8.0.0-m011-jdk11","8.0.0-m011","8.0.0-m011-ubuntu-18.04-adoptopenjdk11","8.0.0-m011-ubuntu","7.19.0-m01-ubuntu-18.04-adoptopenjdk11","7.19.0-m01-jdk11","7.19.0-m01-adoptopenjdk11","8.0.0-m011-adoptopenjdk11","7.19.0-m01","7.19.0-m01-ubuntu","7.18.0-rc1-ubuntu-18.04-adoptopenjdk11","7.18.0-rc1-ubuntu","7.18.0-rc1-jdk11","7.18.0-rc1-adoptopenjdk11","7.18.0-rc1","7.18.0-beta1-ubuntu-18.04-adoptopenjdk11","7.18.0-beta1-ubuntu","7.18.0-beta1-jdk11","7.18.0-beta1-adoptopenjdk11","7.18.0-beta1","7.18.0-m68-jdk11","7.18.0-m68","7.18.0-m68-ubuntu-18.04-adoptopenjdk11","7.18.0-m68-ubuntu","7.18.0-m68-adoptopenjdk11","7.18.0-m61-ubuntu","7.18.0-m61-adoptopenjdk11","7.18.0-m61","7.18.0-m61-ubuntu-18.04-adoptopenjdk11","7.18.0-m61-jdk11","7.18.0-m53-ubuntu-18.04-adoptopenjdk11","7.18.0-m53-ubuntu","7.18.0-m53","7.18.0-m53-jdk11","7.18.0-m53-adoptopenjdk11","7.18.0-m46-ubuntu","7.18.0-m46-adoptopenjdk11","7.18.0-m46","7.18.0-m46-ubuntu-18.04-adoptopenjdk11","7.18.0-m46-jdk11","7.18.0-m40-ubuntu-18.04-adoptopenjdk11","7.18.0-m40-ubuntu","7.18.0-m40-jdk11","7.18.0-m40-adoptopenjdk11","7.18.0-m40","temurin-7.17.0","7.17.0-rc1-ubuntu-18.04-adoptopenjdk11","7.17.0-rc1-ubuntu","7.17.0-rc1-jdk11","7.17.0-rc1-adoptopenjdk11","7.17.0-rc1","7.4.6-ubuntu-jdk-11","7.4.5-ubuntu-jdk-11","7.4.4-ubuntu-jdk-11","7.4.3-ubuntu-jdk-11","7.4.1-ubuntu-jdk-11","7.4.0-ubuntu-jdk-11","7.3.2","7.3.2-jdk11","7.3.2-adoptopenjdk11","7.3.2-ubuntu-18.04-adoptopenjdk11","7.3.2-ubuntu","7.3.3-ubuntu-18.04-adoptopenjdk11","7.3.3-adoptopenjdk11","7.3.3-jdk11","7.3.3","7.3.3-ubuntu","7.3.4-jdk11","7.3.4-ubuntu-18.04-adoptopenjdk11","7.3.4-adoptopenjdk11","7.3.4-ubuntu","7.3.4","7.3.5-ubuntu","7.3-adoptopenjdk11","7.3-jdk11","7.3.5-ubuntu-18.04-adoptopenjdk11","7.3.5","7.3","7.3.5-adoptopenjdk11","7.3-ubuntu-18.04-adoptopenjdk11","7.3.5-jdk11","7.3-ubuntu","7.3.1-jdk11","7.3.1-ubuntu-18.04-adoptopenjdk11","7.3.1-adoptopenjdk11","7.3.1","7.3.1-ubuntu","7.17.0-beta1-jdk11","7.17.0-beta1-adoptopenjdk11","7.17.0-beta1","7.17.0-beta1-ubuntu-18.04-adoptopenjdk11","7.17.0-beta1-ubuntu","7.17.0-m61-adoptopenjdk11","7.17.0-m61","7.17.0-m61-ubuntu","7.17.0-m61-jdk11","7.17.0-m61-ubuntu-18.04-adoptopenjdk11","7.17.0-m59-ubuntu","7.17.0-m59-adoptopenjdk11","7.17.0-m59","7.17.0-m59-jdk11","7.17.0-m59-ubuntu-18.04-adoptopenjdk11","7.17.0-m47-jdk11","7.17.0-m47","7.17.0-m47-ubuntu","7.17.0-m47-adoptopenjdk11","7.17.0-m47-ubuntu-18.04-adoptopenjdk11","7.16.0-rc1","7.16.0-rc1-ubuntu-18.04-adoptopenjdk11","7.16.0-rc1-ubuntu","7.16.0-rc1-adoptopenjdk11","7.16.0-rc1-jdk11","7.2.0-adoptopenjdk11","7.2.0-ubuntu-18.04-adoptopenjdk11","7.2.0","7.2.0-jdk11","7.2.0-ubuntu","7.2.1","7.2.1-jdk11","7.2.1-ubuntu","7.2.1-adoptopenjdk11","7.2.1-ubuntu-18.04-adoptopenjdk11","7.2.2","7.2.2-adoptopenjdk11","7.2-jdk11","7.2-adoptopenjdk11","7.2-ubuntu","7.2","7.2.2-jdk11","7.2.2-ubuntu","7.2.2-ubuntu-18.04-adoptopenjdk11","7.2-ubuntu-18.04-adoptopenjdk11","7.16.0-beta2","7.16.0-beta2-adoptopenjdk11","7.16.0-beta2-ubuntu-18.04-adoptopenjdk11","7.16.0-beta2-ubuntu","7.16.0-beta2-jdk11","7.16.0-m49-ubuntu-18.04-adoptopenjdk11","7.16.0-m49-jdk11","7.16.0-m49-adoptopenjdk11","7.16.0-m49","7.16.0-m49-ubuntu","7.16.0-m39","7.16.0-m39-adoptopenjdk11","7.16.0-m39-ubuntu-18.04-adoptopenjdk11","7.16.0-m39-ubuntu","7.16.0-m39-jdk11","7.16.0-m30-ubuntu","7.16.0-m30","7.16.0-m30-adoptopenjdk11","7.16.0-m30-jdk11","7.16.0-m30-ubuntu-18.04-adoptopenjdk11","7.15.0-rc1-adoptopenjdk11","7.15.0-rc1-ubuntu-18.04-adoptopenjdk11","7.15.0-rc1-ubuntu","7.15.0-rc1","7.15.0-rc1-jdk11","7.15.0-beta3-jdk11","7.15.0-beta3-adoptopenjdk11","7.15.0-beta3","7.15.0-beta3-ubuntu-18.04-adoptopenjdk11","7.15.0-beta3-ubuntu","7.15.0-beta2-adoptopenjdk11","7.15.0-beta2-jdk11","7.15.0-beta2-ubuntu","7.15.0-beta2-ubuntu-18.04-adoptopenjdk11","7.15.0-beta2","7.15.0-beta1-ubuntu-18.04-adoptopenjdk11","7.15.0-beta1","7.15.0-beta1-jdk11","7.15.0-beta1-ubuntu","7.15.0-beta1-adoptopenjdk11","7.15.0-m35-jdk11","7.15.0-m35-adoptopenjdk11","7.15.0-m35-ubuntu-18.04-adoptopenjdk11","7.15.0-m35-ubuntu","7.15.0-m35","7.15.0-m27","7.15.0-m27-ubuntu","7.15.0-m27-ubuntu-18.04-adoptopenjdk11","7.15.0-m27-jdk11","7.15.0-m27-adoptopenjdk11","7.15.0-m20-ubuntu","7.15.0-m20","7.15.0-m20-ubuntu-18.04-adoptopenjdk11","7.15.0-m20-jdk11","7.15.0-m20-adoptopenjdk11","7.14.0-rc1-jdk11","7.14.0-rc1","7.14.0-rc1-ubuntu","7.14.0-rc1-ubuntu-18.04-adoptopenjdk11","7.14.0-rc1-adoptopenjdk11","7.14.0-beta1-ubuntu","7.14.0-beta1-jdk11","7.14.0-beta1","7.14.0-beta1-ubuntu-18.04-adoptopenjdk11","7.14.0-beta1-adoptopenjdk11","7.14.0-m176-jdk11","7.14.0-m176-ubuntu-18.04-adoptopenjdk11","7.14.0-m176","7.14.0-m176-ubuntu","7.14.0-m176-adoptopenjdk11","7.13.0-rc1-jdk11","7.13.0-rc1","7.13.0-rc1-adoptopenjdk11","7.13.0-rc1-ubuntu","7.13.0-rc1-ubuntu-18.04-adoptopenjdk11","7.13.0-beta-jdk11","7.13.0-beta","7.13.0-beta-ubuntu","7.13.0-beta-ubuntu-18.04-adoptopenjdk11","7.13.0-beta-adoptopenjdk11","7.13.0-m17","7.13.0-m17-adoptopenjdk11","7.13.0-m17-jdk11","7.13.0-m17-ubuntu-18.04-adoptopenjdk11","7.13.0-m17-ubuntu","7.13.0-m16-adoptopenjdk11","7.13.0-m16","7.13.0-m16-ubuntu","7.13.0-m16-ubuntu-18.04-adoptopenjdk11","7.13.0-m16-jdk11","6.13.20-ubuntu","6.5.2-jdk8","6.14.0-jdk8","6.15.7-jdk8","6.3.2-jdk8","6.6.8-adoptopenjdk8","6.11.1","6.6.15-ubuntu","6.1.1","6.13.10","6.8.3-ubuntu-18.04-adoptopenjdk8","6.5.2-ubuntu-18.04-adoptopenjdk8","6.13.20-adoptopenjdk8","6.14.0-ubuntu","6.15.7-ubuntu","6.6.8-ubuntu-18.04-adoptopenjdk8","6.3.2-ubuntu-18.04-adoptopenjdk8","6.11.1-ubuntu","6.6.15-jdk8","6.1.1-jdk8","6.13.10-adoptopenjdk8","6.8.3-adoptopenjdk8","6.5.2-adoptopenjdk8","6.13.20-ubuntu-18.04-adoptopenjdk8","6.14.0-ubuntu-18.04-adoptopenjdk8","6.15.7-adoptopenjdk8","6.6.8-ubuntu","6.3.2-adoptopenjdk8","6.6.15-ubuntu-18.04-adoptopenjdk8","6.8.3","6.13.3-ubuntu-18.04-adoptopenjdk8","6.13.3-adoptopenjdk8","6.6.0","6.13.3-ubuntu","6.6.0-ubuntu-18.04-adoptopenjdk8","6.13.3-jdk8","6.6.0-adoptopenjdk8","6.13.3","6.6.0-jdk8","6.6.0-ubuntu","6.13.4-ubuntu","6.13.4-jdk8","6.6.2","6.6.1-jdk8","6.13.4","6.6.2-adoptopenjdk8","6.6.1-ubuntu-18.04-adoptopenjdk8","6.13.4-ubuntu-18.04-adoptopenjdk8","6.6.2-ubuntu-18.04-adoptopenjdk8","6.6.1-ubuntu","6.13.4-adoptopenjdk8","6.6.2-ubuntu","6.6.1","6.6.2-jdk8","6.6.1-adoptopenjdk8","6.13.5-ubuntu-18.04-adoptopenjdk8","6.13.5-jdk8","6.6.3-ubuntu-18.04-adoptopenjdk8","6.6.10-jdk8","6.13.5","6.6.3-jdk8","6.6.10","6.13.5-adoptopenjdk8","6.6.3-adoptopenjdk8","6.6.10-ubuntu-18.04-adoptopenjdk8","6.13.5-ubuntu","6.6.3-ubuntu","6.6.10-ubuntu","6.6.3","6.6.10-adoptopenjdk8","6.13.6-ubuntu-18.04-adoptopenjdk8","6.13.6-ubuntu","6.6.4-jdk8","6.6.11","6.13.6-jdk8","6.6.4-adoptopenjdk8","6.6.11-adoptopenjdk8","6.13.6-adoptopenjdk8","6.6.11-jdk8","6.6.4-ubuntu-18.04-adoptopenjdk8","6.13.6","6.6.11-ubuntu","6.6.4","6.6.11-ubuntu-18.04-adoptopenjdk8","6.6.4-ubuntu","6.13.7-ubuntu-18.04-adoptopenjdk8","6.15.2-ubuntu","6.8.0-ubuntu","6.13.7-adoptopenjdk8","6.15.2-adoptopenjdk8","6.6.5-ubuntu-18.04-adoptopenjdk8","6.8.0-adoptopenjdk8","6.6.12-ubuntu-18.04-adoptopenjdk8","6.13.7-ubuntu","6.15.2","6.6.5-ubuntu","6.8.0-ubuntu-18.04-adoptopenjdk8","6.6.12-jdk8","6.13.7","6.15.2-jdk8","6.6.5","6.8.0-jdk8","6.6.12","6.13.7-jdk8","6.15.2-ubuntu-18.04-adoptopenjdk8","6.6.5-jdk8","6.8.0","6.6.12-ubuntu","6.6.5-adoptopenjdk8","6.6.12-adoptopenjdk8","6.13.0-jdk8","6.13.8-ubuntu","6.8.1","6.15.4-ubuntu","6.5.0-ubuntu","6.13.0-adoptopenjdk8","6.13.8","6.8.1-ubuntu-18.04-adoptopenjdk8","6.15.4-adoptopenjdk8","6.6.6-ubuntu","6.6.13-adoptopenjdk8","6.5.0-jdk8","6.13.0-ubuntu","6.13.8-jdk8","6.15.4","6.6.6-ubuntu-18.04-adoptopenjdk8","6.8.1-ubuntu","6.6.13","6.5.0-adoptopenjdk8","6.13.0","6.13.8-adoptopenjdk8","6.6.13-jdk8","6.8.1-jdk8","6.15.4-jdk8","6.6.6-jdk8","6.5.0","6.13.0-ubuntu-18.04-adoptopenjdk8","6.13.8-ubuntu-18.04-adoptopenjdk8","6.6.13-ubuntu-18.04-adoptopenjdk8","6.6.6","6.15.4-ubuntu-18.04-adoptopenjdk8","6.8.1-adoptopenjdk8","6.5.0-ubuntu-18.04-adoptopenjdk8","6.6.13-ubuntu","6.6.6-adoptopenjdk8","6.13.1-ubuntu","6.15.6-ubuntu-18.04-adoptopenjdk8","6.11.0-adoptopenjdk8","6.13.9-jdk8","6.1.0-ubuntu-18.04-adoptopenjdk8","6.5.1-ubuntu-18.04-adoptopenjdk8","6.3.1-jdk8","6.8.2-jdk8","6.13.1-jdk8","6.6.7-ubuntu","6.15.6-ubuntu","6.11.0-ubuntu-18.04-adoptopenjdk8","6.6.14-adoptopenjdk8","6.1.0-adoptopenjdk8","6.13.9","6.5.1-adoptopenjdk8","6.3.1","6.8.2-adoptopenjdk8","6.13.1-adoptopenjdk8","6.6.7-ubuntu-18.04-adoptopenjdk8","6.15.6-jdk8","6.6.14-ubuntu","6.11.0-ubuntu","6.13.9-ubuntu","6.1.0-ubuntu","6.5.1-ubuntu","6.3.1-ubuntu","6.8.2-ubuntu-18.04-adoptopenjdk8","6.13.1-ubuntu-18.04-adoptopenjdk8","6.6.7-adoptopenjdk8","6.15.6-adoptopenjdk8","6.6.14-jdk8","6.13.9-adoptopenjdk8","6.11.0-jdk8","6.1.0-jdk8","6.3.1-ubuntu-18.04-adoptopenjdk8","6.5.1","6.8.2","6.13.1","6.6.7-jdk8","6.15.6","6.6.14-ubuntu-18.04-adoptopenjdk8","6.13.9-ubuntu-18.04-adoptopenjdk8","6.1.0","6.11.0","6.3.1-adoptopenjdk8","6.5.1-jdk8","6.8.2-ubuntu","6.6.7","6.6.14","6.11.1-adoptopenjdk8","6.1.1-adoptopenjdk8","6.5.2-ubuntu","6.8.3-jdk8","6.13.10-ubuntu","6.6.8-jdk8","6.15.7-ubuntu-18.04-adoptopenjdk8","6.14.0-adoptopenjdk8","6.1.1-ubuntu-18.04-adoptopenjdk8","6.11.1-jdk8","6.8.3-ubuntu","6.6.15","6.15.7","6.14.0","6.1.1-ubuntu","6.3.2","6.5.2","6.13.10-ubuntu-18.04-adoptopenjdk8","6.6.8","6.3.2-ubuntu","6.13.10-jdk8","6.11.1-ubuntu-18.04-adoptopenjdk8","6.6.15-adoptopenjdk8","6.13.11-ubuntu-18.04-adoptopenjdk8","6.13.11-ubuntu","6.13.11-jdk8","6.13.11","6.13.11-adoptopenjdk8","6.13.12","6.13.12-jdk8","6.13.12-ubuntu-18.04-adoptopenjdk8","6.13.12-ubuntu","6.13.12-adoptopenjdk8","6.13.13-jdk8","6.13.13-ubuntu","6.13.13","6.13.13-ubuntu-18.04-adoptopenjdk8","6.13.13-adoptopenjdk8","6.13.15-ubuntu","6.13.15-adoptopenjdk8","6.13.15","6.13.15-jdk8","6.13.15-ubuntu-18.04-adoptopenjdk8","6.13.17","6.13.17-adoptopenjdk8","6.13.17-jdk8","6.13.17-ubuntu-18.04-adoptopenjdk8","6.13.17-ubuntu","6.13.18","6.13.18-ubuntu","6.13.18-jdk8","6.13.18-ubuntu-18.04-adoptopenjdk8","6.13.18-adoptopenjdk8","6.13.19-jdk8","6.13.19-ubuntu-18.04-adoptopenjdk8","6.13.19","6.13.19-adoptopenjdk8","6.13.19-ubuntu","6.13.2-adoptopenjdk8","6.13.2-jdk8","6.13.2","6.13.2-ubuntu","6.13.2-ubuntu-18.04-adoptopenjdk8","6.13.20-jdk8","6.13.20","7.13.0-m15-adoptopenjdk11","7.13.0-m15-ubuntu","7.13.0-m15-jdk11","7.13.0-m15","7.13.0-m14-jdk11","7.13.0-m14-ubuntu-18.04-adoptopenjdk11","7.13.0-m14-adoptopenjdk11","7.13.0-m14-ubuntu","7.13.0-m14","7.1.0-ubuntu","7.1.0-jdk11","7.1.0-ubuntu-18.04-adoptopenjdk11","7.1.0","7.1.0-adoptopenjdk11","7.1.1-ubuntu","7.1.1-adoptopenjdk11","7.1.1-ubuntu-18.04-adoptopenjdk11","7.1.1-jdk11","7.1.1","7.13.0-m13-adoptopenjdk11","7.13.0-m13","7.13.0-m13-ubuntu-18.04-adoptopenjdk11","7.13.0-m13-ubuntu","7.13.0-m13-jdk11","7.1.2-ubuntu-18.04-adoptopenjdk11","6.4.2-jdk8","6.7.3-adoptopenjdk8","6.12.3-jdk8","6.15.10","6.10.1","6.0.6-jdk8","6.4.2-adoptopenjdk8","6.7-jdk8","6.15.10-adoptopenjdk8","6.2.3","6.0.6-ubuntu-18.04-adoptopenjdk8","6.7-adoptopenjdk8","7.0.2-ubuntu","6-jdk8","6.2.3-jdk8","6.0.6-adoptopenjdk8","7.0.2-jdk8","6.7","6.12.4-jdk8","6","6.2.3-ubuntu","6.10.2-ubuntu","6.0.6","6.4-adoptopenjdk8","7.0.2","6.7-ubuntu-18.04-adoptopenjdk8","6.12-ubuntu","6.15-ubuntu","6.2.3-ubuntu-18.04-adoptopenjdk8","6.10.2-adoptopenjdk8","6.0.6-ubuntu","6.4","7.0.2-ubuntu-18.04-adoptopenjdk8","6.12.4-ubuntu","6.7.3-ubuntu","6.2.3-adoptopenjdk8","6.10.2","6.4-ubuntu","7.0.2-adoptopenjdk8","6.12-adoptopenjdk8","6.10.2-ubuntu-18.04-adoptopenjdk8","6.4.3","6.12.4-adoptopenjdk8","6.0-jdk8","6.4.3-ubuntu-18.04-adoptopenjdk8","6.10.2-jdk8","6.12.4","6.2.4-jdk8","6.4.3-jdk8","6.0-ubuntu","6.12.4-ubuntu-18.04-adoptopenjdk8","7.0.3-adoptopenjdk8","6.2.4","6.0","6.4.3-adoptopenjdk8","6.12","7.0.3-jdk8","6.2.4-ubuntu","6.0.7-jdk8","6.10-adoptopenjdk8","6.4-ubuntu-18.04-adoptopenjdk8","6.12-jdk8","7.0.3-ubuntu-18.04-adoptopenjdk8","6.10.3","6.0.7-ubuntu-18.04-adoptopenjdk8","6.2-jdk8","6.4-jdk8","6.12-ubuntu-18.04-adoptopenjdk8","6.0-adoptopenjdk8","6.2","6.10.3-ubuntu","7.0.3","6.4.3-ubuntu","6.0-ubuntu-18.04-adoptopenjdk8","6.2-ubuntu-18.04-adoptopenjdk8","6.10.3-jdk8","7.0.3-ubuntu","6.0.7-adoptopenjdk8","6.2-adoptopenjdk8","6.10.3-ubuntu-18.04-adoptopenjdk8","6.0.7","6.10-ubuntu-18.04-adoptopenjdk8","6.2.4-ubuntu-18.04-adoptopenjdk8","6.0.7-ubuntu","6.10","6.2.4-adoptopenjdk8","7.0.4-jdk8","6.10.3-adoptopenjdk8","6.2-ubuntu","7.0.4","6.10-ubuntu","7.0.4-ubuntu-18.04-adoptopenjdk8","6.10-jdk8","7.0.4-adoptopenjdk8","7.0.4-ubuntu","7.0.5-adoptopenjdk8","7.0-adoptopenjdk8","7.0.5-ubuntu","7.0-ubuntu","7.0.5-jdk8","7.0.5-ubuntu-18.04-adoptopenjdk8","7.0","7.0-ubuntu-18.04-adoptopenjdk8","7.0-jdk8","7.0.5","7.13.0-m12-jdk11","7.13.0-m12-ubuntu-18.04-adoptopenjdk11","7.13.0-m12","7.13.0-m12-ubuntu","7.13.0-m12-adoptopenjdk11","6.14.1-adoptopenjdk8","6.14.1-ubuntu-18.04-adoptopenjdk8","6.14.1-ubuntu","6.8-ubuntu","6.14.1","6.8-adoptopenjdk8","6.14.1-jdk8","6.8.5-jdk8","6.8.5","6.8.5-ubuntu","6.8-ubuntu-18.04-adoptopenjdk8","6.1.2-adoptopenjdk8","6.14.2-ubuntu","6.8-jdk8","6.1.2-ubuntu","6.14.2-adoptopenjdk8","6.8","6.1.2","6.14.2","6.8.5-ubuntu-18.04-adoptopenjdk8","6.1.2-ubuntu-18.04-adoptopenjdk8","6.14.2-jdk8","6.8.5-adoptopenjdk8","6.1.2-jdk8","6.14.2-ubuntu-18.04-adoptopenjdk8","6.3.3-adoptopenjdk8","6.1.3-ubuntu","6.14-adoptopenjdk8","6.3.3-jdk8","6.1.3-ubuntu-18.04-adoptopenjdk8","6.3.3-ubuntu-18.04-adoptopenjdk8","6.14","6.1.3-jdk8","6.3.3-ubuntu","6.14-ubuntu-18.04-adoptopenjdk8","6.1.3","6.9.0-ubuntu-18.04-adoptopenjdk8","6.3.3","6.14.3-ubuntu-18.04-adoptopenjdk8","6.1.3-adoptopenjdk8","6.9.0-adoptopenjdk8","6.0.1-adoptopenjdk8","6.14-ubuntu","6.9.0-jdk8","6.0.1-ubuntu","6.14-jdk8","6.9.0","6.0.1","6.14.3-ubuntu","6.9.0-ubuntu","6.3.4-jdk8","6.0.1-ubuntu-18.04-adoptopenjdk8","6.1.4-ubuntu-18.04-adoptopenjdk8","6.14.3","6.3-adoptopenjdk8","6.6.16-ubuntu-18.04-adoptopenjdk8","6.6.9-jdk8","6.1-jdk8","6.0.1-jdk8","6.14.3-adoptopenjdk8","6.3.4","6.6.9-ubuntu-18.04-adoptopenjdk8","6.1.4","6.6.16-ubuntu","6.14.3-jdk8","6.3-ubuntu-18.04-adoptopenjdk8","6.6.9","6.1-adoptopenjdk8","6.6.16","6.9.1-adoptopenjdk8","6.6.9-adoptopenjdk8","6.1.4-ubuntu","6.3-jdk8","6.6.16-adoptopenjdk8","6.9.1-ubuntu","6.0.2-adoptopenjdk8","6.6.9-ubuntu","6.3.4-ubuntu","6.6.16-jdk8","6.1-ubuntu","6.0.2","6.9.1-ubuntu-18.04-adoptopenjdk8","6.3","6.0.2-ubuntu","6.1.4-jdk8","6.9.1-jdk8","6.3-ubuntu","6.0.2-jdk8","6.1-ubuntu-18.04-adoptopenjdk8","6.9.1","6.3.4-ubuntu-18.04-adoptopenjdk8","6.7.0-adoptopenjdk8","6.0.2-ubuntu-18.04-adoptopenjdk8","6.1.4-adoptopenjdk8","6.6","6.15.1-jdk8","6.3.4-adoptopenjdk8","6.7.0","6.1","6.6.17-ubuntu","6.15.1-adoptopenjdk8","6.7.0-ubuntu","6.6-jdk8","6.9.3-jdk8","6.15.1-ubuntu","6.7.0-jdk8","6.0.3-ubuntu-18.04-adoptopenjdk8","6.6.17","6.9.3","6.15.1-ubuntu-18.04-adoptopenjdk8","6.7.0-ubuntu-18.04-adoptopenjdk8","6.0.3","6.6.17-ubuntu-18.04-adoptopenjdk8","6.9-adoptopenjdk8","6.15.1","6.0.3-adoptopenjdk8","6.9-jdk8","6.6-ubuntu","6.0.3-jdk8","6.6.17-jdk8","6.9.3-adoptopenjdk8","6.0.3-ubuntu","6.4.0-adoptopenjdk8","6.7.1-jdk8","6.10.0-ubuntu-18.04-adoptopenjdk8","6.6-adoptopenjdk8","6.9-ubuntu-18.04-adoptopenjdk8","6.4.0","6.7.1-adoptopenjdk8","6.10.0-jdk8","6.6.17-adoptopenjdk8","6.9-ubuntu","6.4.0-ubuntu-18.04-adoptopenjdk8","6.7.1-ubuntu","6.15.10-ubuntu","6.10.0-adoptopenjdk8","6.9.3-ubuntu-18.04-adoptopenjdk8","6.6-ubuntu-18.04-adoptopenjdk8","6.4.0-ubuntu","6.7.1","6.15","6.10.0-ubuntu","6.9.3-ubuntu","6.0.4-jdk8","6.4.0-jdk8","6.7.1-ubuntu-18.04-adoptopenjdk8","6-adoptopenjdk8","6.10.0","6.9","6.0.4-adoptopenjdk8","6.0.4-ubuntu","6.15-jdk8","6.0.4-ubuntu-18.04-adoptopenjdk8","6.15.10-ubuntu-18.04-adoptopenjdk8","6.4.1-ubuntu","6.0.4","7.1-ubuntu-18.04-adoptopenjdk11","6.7.2-ubuntu-18.04-adoptopenjdk8","6.4.1-ubuntu-18.04-adoptopenjdk8","6-ubuntu-18.04-adoptopenjdk8","6.7.2-ubuntu","7.1.2","6.10.1-ubuntu-18.04-adoptopenjdk8","6.4.1-adoptopenjdk8","6.15.10-jdk8","6.7.2","6.10.1-ubuntu","7.1","6.4.1-jdk8","6.15-ubuntu-18.04-adoptopenjdk8","6.7.2-jdk8","6.10.1-adoptopenjdk8","6.0.5","7.1.2-ubuntu","7.0.1-jdk8","6.4.1","6.7.2-adoptopenjdk8","6.10.1-jdk8","6.0.5-adoptopenjdk8","7.1-ubuntu","7.0.1","6.0.5-ubuntu-18.04-adoptopenjdk8","7.1.2-jdk11","7.0.1-adoptopenjdk8","6-ubuntu","6.0.5-jdk8","7.0.1-ubuntu","6.15-adoptopenjdk8","6.4.2-ubuntu-18.04-adoptopenjdk8","6.0.5-ubuntu","7.1.2-adoptopenjdk11","7.0.1-ubuntu-18.04-adoptopenjdk8","6.7.3-ubuntu-18.04-adoptopenjdk8","7.1-adoptopenjdk11","7.1-jdk11","6.4.2","6.4.2-ubuntu","6.7.3","6.7.3-jdk8","6.7-ubuntu","6.13","6.13.21-adoptopenjdk8","6.13.21-ubuntu-18.04-adoptopenjdk8","6.13-ubuntu","6.13.21-jdk8","6.13-adoptopenjdk8","6.13-ubuntu-18.04-adoptopenjdk8","6.13.21-ubuntu","6.13-jdk8","6.13.21","6.12.2-jdk8","6.12.3-ubuntu-18.04-adoptopenjdk8","6.12.3-adoptopenjdk8","6.12.3","6.12.3-ubuntu","7.13.0-m09-jdk11","7.13.0-m09","7.13.0-m09-adoptopenjdk11","7.13.0-m09-ubuntu-18.04-adoptopenjdk11","7.13.0-m09-ubuntu","6.11.2-ubuntu","6.11-adoptopenjdk8","6.11.2-adoptopenjdk8","6.11.2-ubuntu-18.04-adoptopenjdk8","6.11.2","6.11-ubuntu-18.04-adoptopenjdk8","6.11.2-jdk8","6.11-jdk8","6.11","6.11-ubuntu","6.15.8-ubuntu-18.04-adoptopenjdk8","6.15.8-ubuntu","6.15.8-adoptopenjdk8","6.15.8","6.15.8-jdk8","6.12.0-jdk8","6.5.3-ubuntu","6.12.0","6.5.3-jdk8","6.5","6.15.9","6.5-ubuntu","6.15.9-ubuntu","6.5-jdk8","6.15.9-jdk8","6.5.3-adoptopenjdk8","6.15.9-adoptopenjdk8","6.5.3-ubuntu-18.04-adoptopenjdk8","6.15.9-ubuntu-18.04-adoptopenjdk8","6.5-ubuntu-18.04-adoptopenjdk8","6.5-adoptopenjdk8","6.12.0-ubuntu","6.5.3","6.12.0-ubuntu-18.04-adoptopenjdk8","6.2.0","6.12.0-adoptopenjdk8","6.2.0-jdk8","6.2.0-adoptopenjdk8","6.2.0-ubuntu-18.04-adoptopenjdk8","6.12.1-ubuntu-18.04-adoptopenjdk8","6.2.0-ubuntu","6.12.1","6.12.1-ubuntu","6.12.1-adoptopenjdk8","6.2.1-jdk8","6.12.1-jdk8","6.2.1-adoptopenjdk8","6.2.1-ubuntu","6.2.1","6.2.1-ubuntu-18.04-adoptopenjdk8","6.12.2-ubuntu","6.12.2","6.12.2-adoptopenjdk8","6.2.2-ubuntu","6.12.2-ubuntu-18.04-adoptopenjdk8","6.2.2-ubuntu-18.04-adoptopenjdk8","6.2.2-adoptopenjdk8","6.2.2","6.2.2-jdk8","7.13.0-m08","7.13.0-m08-adoptopenjdk11","7.13.0-m08-ubuntu-18.04-adoptopenjdk11","7.13.0-m08-jdk11","7.13.0-m08-ubuntu","6.15.2-alpine-adoptopenjdk8","6.15.2-alpine","6.13.0-alpine-adoptopenjdk8","6.13.0-alpine","6.15.4-alpine","6.15.4-alpine-adoptopenjdk8","6.13.1-alpine","6.13.1-alpine-adoptopenjdk8","6.15.6-alpine","6.15.6-alpine-adoptopenjdk8","6.13.10-alpine","6.13.10-alpine-adoptopenjdk8","6.15.7-alpine","6.15.7-alpine-adoptopenjdk8","6.13.11-alpine","6.0.1-alpine","6.15.8-alpine-adoptopenjdk8","6.13.11-alpine-adoptopenjdk8","6.0.1-alpine-adoptopenjdk8","6.15.8-alpine","6.6.9-alpine","6.13.12-alpine-adoptopenjdk8","6.13.3-alpine","6.0.2-alpine","6.12.0-alpine-adoptopenjdk8","6.15.9-alpine-adoptopenjdk8","6.13.12-alpine","6.7.0-alpine-adoptopenjdk8","6.6.0-alpine","6.13.3-alpine-adoptopenjdk8","6.0.2-alpine-adoptopenjdk8","6.12.0-alpine","6.15.9-alpine","6.6.0-alpine-adoptopenjdk8","6.7.0-alpine","6.13.13-alpine","6.0.3-alpine-adoptopenjdk8","6.13.4-alpine-adoptopenjdk8","6.2.0-alpine","6.12.1-alpine-adoptopenjdk8","6.6.2-alpine-adoptopenjdk8","6.6.1-alpine","6.7.1-alpine","6.13.13-alpine-adoptopenjdk8","6.0.3-alpine","6.2.0-alpine-adoptopenjdk8","6.12.1-alpine","6.13.4-alpine","6.6.2-alpine","6.6.1-alpine-adoptopenjdk8","6.7.1-alpine-adoptopenjdk8","6.10.0-alpine-adoptopenjdk8","6.13.15-alpine","6.0.4-alpine","6.13.5-alpine","6.2.1-alpine","6.6.3-alpine","6.12.2-alpine-adoptopenjdk8","6.15.1-alpine-adoptopenjdk8","6.7.2-alpine-adoptopenjdk8","6.6.10-alpine-adoptopenjdk8","6.10.0-alpine","6.13.15-alpine-adoptopenjdk8","6.0.4-alpine-adoptopenjdk8","6.13.5-alpine-adoptopenjdk8","6.2.1-alpine-adoptopenjdk8","6.6.3-alpine-adoptopenjdk8","6.12.2-alpine","6.15.1-alpine","6.7.2-alpine","6.6.10-alpine","7.13.0-m07-jdk11","7.13.0-m07-ubuntu-18.04-adoptopenjdk11","7.13.0-m07-ubuntu","7.13.0-m07-adoptopenjdk11","7.13.0-m07","6.6.4-alpine","6.6.4-alpine-adoptopenjdk8","6.6.5-alpine-adoptopenjdk8","6.6.5-alpine","6.6.6-alpine","6.6.6-alpine-adoptopenjdk8","6.6.7-alpine-adoptopenjdk8","6.6.7-alpine","6.6.8-alpine","6.6.8-alpine-adoptopenjdk8","6.6.9-alpine-adoptopenjdk8","6.4.0-alpine","6.4.0-alpine-adoptopenjdk8","6.4.1-alpine","6.4.1-alpine-adoptopenjdk8","7.13.0-m06-ubuntu-18.04-adoptopenjdk11","7.13.0-m06-adoptopenjdk11","7.13.0-m06","7.13.0-m06-ubuntu","7.13.0-m06-jdk11","6.7-alpine-adoptopenjdk8","6.7.3-alpine-adoptopenjdk8","6.7.3-alpine","6.10.1-alpine","6.7-alpine","6.2.2-alpine","6.10.1-alpine-adoptopenjdk8","6.2.2-alpine-adoptopenjdk8","6.4.2-alpine","6-alpine-adoptopenjdk8","6.4.2-alpine-adoptopenjdk8","6.10.2-alpine","6.15.10-alpine","6.13.17-alpine","6.2.3-alpine-adoptopenjdk8","6.13.6-alpine-adoptopenjdk8","6.12.3-alpine","6.10.2-alpine-adoptopenjdk8","6.15-alpine","6.13.17-alpine-adoptopenjdk8","6.8.0-alpine","6.13.6-alpine","6.2.3-alpine","6.4.3-alpine","6.12.3-alpine-adoptopenjdk8","6.8.0-alpine-adoptopenjdk8","6.15-alpine-adoptopenjdk8","6.6.11-alpine-adoptopenjdk8","6.4-alpine-adoptopenjdk8","6-alpine","6.6.11-alpine","6.10.3-alpine","6.4-alpine","6.13.18-alpine-adoptopenjdk8","6.15.10-alpine-adoptopenjdk8","6.12-alpine","6.2-alpine","6.13.7-alpine-adoptopenjdk8","6.10-alpine","6.4.3-alpine-adoptopenjdk8","6.8.1-alpine-adoptopenjdk8","6.13.18-alpine","6.12-alpine-adoptopenjdk8","6.13.7-alpine","6.10.3-alpine-adoptopenjdk8","6.2.4-alpine","6.8.1-alpine","6.6.12-alpine-adoptopenjdk8","6.12.4-alpine-adoptopenjdk8","6.10-alpine-adoptopenjdk8","6.2-alpine-adoptopenjdk8","6.6.12-alpine","6.12.4-alpine","6.13.19-alpine-adoptopenjdk8","6.2.4-alpine-adoptopenjdk8","6.13.8-alpine","6.8.2-alpine-adoptopenjdk8","6.13.19-alpine","6.13.8-alpine-adoptopenjdk8","6.5.0-alpine-adoptopenjdk8","6.8.2-alpine","6.6.13-alpine","6.5.0-alpine","6.6.13-alpine-adoptopenjdk8","6.13.2-alpine","6.11.0-alpine-adoptopenjdk8","6.13.9-alpine-adoptopenjdk8","6.8.3-alpine-adoptopenjdk8","6.13.2-alpine-adoptopenjdk8","6.11.0-alpine","6.3.1-alpine","6.13.9-alpine","6.5.1-alpine","6.8.3-alpine","6.6.14-alpine","6.3.1-alpine-adoptopenjdk8","6.6.14-alpine-adoptopenjdk8","6.5.1-alpine-adoptopenjdk8","6.13.20-alpine","6.11.1-alpine","6.14.0-alpine","6.8-alpine-adoptopenjdk8","6.11.1-alpine-adoptopenjdk8","6.13.20-alpine-adoptopenjdk8","6.3.2-alpine-adoptopenjdk8","6.14.0-alpine-adoptopenjdk8","6.6.15-alpine","6.5.2-alpine-adoptopenjdk8","6.8.5-alpine","6.3.2-alpine","6.6.15-alpine-adoptopenjdk8","6.8.5-alpine-adoptopenjdk8","6.5.2-alpine","6.13.21-alpine-adoptopenjdk8","6.11.2-alpine","6.8-alpine","6.14.1-alpine-adoptopenjdk8","6.13.21-alpine","6.3.3-alpine-adoptopenjdk8","6.11-alpine","6.6.16-alpine","6.14.1-alpine","6.5-alpine","6.13-alpine","6.3.3-alpine","6.11.2-alpine-adoptopenjdk8","6.6.16-alpine-adoptopenjdk8","6.5-alpine-adoptopenjdk8","6.13-alpine-adoptopenjdk8","6.11-alpine-adoptopenjdk8","6.5.3-alpine","6.14.2-alpine","6.3-alpine","6.5.3-alpine-adoptopenjdk8","6.6-alpine-adoptopenjdk8","6.9.0-alpine-adoptopenjdk8","6.14.2-alpine-adoptopenjdk8","6.3-alpine-adoptopenjdk8","6.6.17-alpine","6.9.0-alpine","6.3.4-alpine-adoptopenjdk8","6.6-alpine","6.6.17-alpine-adoptopenjdk8","6.3.4-alpine","6.14.3-alpine","6.9.1-alpine","6.14-alpine-adoptopenjdk8","6.9.1-alpine-adoptopenjdk8","6.1-alpine","6.14.3-alpine-adoptopenjdk8","6.14-alpine","6.9-alpine","6.9.3-alpine-adoptopenjdk8","6.9.3-alpine","6.9-alpine-adoptopenjdk8","6.1.3-alpine","6.1.4-alpine","6.1.4-alpine-adoptopenjdk8","6.1-alpine-adoptopenjdk8","6.1.3-alpine-adoptopenjdk8","6.1.2-alpine-adoptopenjdk8","6.1.2-alpine","6.0.5-alpine-adoptopenjdk8","6.0.5-alpine","6.0.6-alpine-adoptopenjdk8","6.0.6-alpine","7.13.0-m04-jdk11","7.13.0-m04","7.13.0-m04-ubuntu-18.04-adoptopenjdk11","7.13.0-m04-ubuntu","7.13.0-m04-adoptopenjdk11","7.13.0-m03-ubuntu-18.04-adoptopenjdk11","7.13.0-m03","7.13.0-m03-ubuntu","7.13.0-m03-jdk11","7.13.0-m03-adoptopenjdk11","7.13.0-m02-jdk11","7.13.0-m02-adoptopenjdk11","7.13.0-m02-ubuntu","7.13.0-m02","7.13.0-m02-ubuntu-18.04-adoptopenjdk11","6.0.7-alpine","6.0-alpine","6.0-alpine-adoptopenjdk8","6.0.7-alpine-adoptopenjdk8","6.1.0-alpine","6.1.0-alpine-adoptopenjdk8","6.1.1-alpine","6.1.1-alpine-adoptopenjdk8"];const L="AAACzg0ODAoPeNp9VO9v2jAQ/Z6/wtK+IYWGsEKHFGmQmJau/GgIm9iYJhMOYprYke1A4a+fSchGKtqPPvvevXv3zp/6gqLHLEb2HbKsTvNzp9lC98MA2ZbdNKYgdiAGntPDQ2z688HcdH/aM7P5o2kZTzQEJiE4pDAiCTgBngaD0b0RCr5f1S9uHfcUWXSQBzuIeQrCCDlb10mo6A4cJTLQSVlIlzFUggpI8ickMbAVEbI+ypIliPG6R5Il5z4kXEF3A0xJp1Gywa8pFQePKHAmDdt6+A9cJVQEK5yWmhMV8HGZLRWkwrF8PZMgpGPfGh7IUNBUUc6cAKRCcVEYrblAaZxtKEOrsqj8V/US85zxXd+fUGwD70ickRwyf7ARACziqUYo+8Irmt/jUYD9iT+YYmNIKFPACAuvyHIaQEUSHYgz0G8rorgC8rp5qvaEZVp3pt0u8sve3TiTCsSIr0A6llGr1VwfdwPsmb25PjjbVwq2EcZcm6nS6DKX+I3iT1yP/Cy42TBe4FAK0WhZVtu6azYbZeZlB0U2wrpnkQoqq40Uyst67RqB9zU8k64olYeqKnGmNCzWiseOUoKwhLLoK1ExkZISVg95cr3ZN/YqdueSYW649/mdrfJAZOQM3b3b96DRuhVk3261kkFvexwe41UQtJN12u5Gz6GcPT7Pn71H70t69CPcbx/a9rcj3rDuwlk4xprKCA5VN+oJjsaB2R/75sQfezM3GIxH5myKT6PN/QErtDwgFQE6E9VDCLUZtN8F30Ko0K9IqXTRubnZ8HpFlZtzAyYUGb/ryOOIcYVWVCpBl5kCjUwlUhyF2mY80WaoXxdzEhOWe2YsNoRRWWxMt6xX/hH6P5uxF8b3rLJIlz1LpQW95pQPvqfLq0kmwohIeLs2l9PMzfQ48LvvWTbfMY1AXDg9KJDLCV2C9HUMH+CaJfOfudi/v0kIGVswLAIUEMQ9X77gqGBdfH0HIzBaV8NadPUCFBn+RiUA4D+IqVQpTTouLVY66aCGX02121",toAbsolutePath=u=>{const[,t]=process.argv,d=n(t),e=d.substring(0,d.indexOf("dcdx")+4);return o(e,u.replaceAll("../",""))};var q;!function(u){u.JIRA="jira",u.CONFLUENCE="confluence",u.BITBUCKET="bitbucket",u.BAMBOO="bamboo"}(q||(q={}));const $={name:"shared",driver:"bridge"};let I=class Base extends s{options;sequelize=null;constructor(u){super(),this.options=u}async run(u,t){try{if(!this.sequelize)throw new Error("Database connection does not exist");await this.sequelize.query(u,{logging:t})}catch(t){console.error("An error occurred while trying to run the following SQL query:",u,t),d()}return null}async start(u=this.options.clean){console.log(`Starting instance of ${this.name} ⏳`),u&&await this.down(),await this.up(),this.emit(`${this.name}:up`);if(await this.waitUntilReady()){if(console.log(`Database is ready and accepting connections on localhost:${this.options.port} 🗄️`),await this.onDatabaseReady(),this.emit("db:ready"),this.options.logging){const u=await this.getServiceState();u&&await this.showDockerLogs(u.name)}}else console.log(`Failed to start database ${this.name} ⛔`),d(0)}async stop(u=this.options.prune){if(u)await this.down();else{const u=c(this.getDockerComposeConfig());await k({cwd:g(),configAsString:u,log:!0})}this.emit("db:stopped")}async onDatabaseReady(){}getDockerComposeConfig(){return{version:"3.8",services:{db:this.getService()},networks:{shared:$}}}async up(){const u=c(this.getDockerComposeConfig());return A({cwd:g(),configAsString:u,log:!0})}async down(){const u=c(this.getDockerComposeConfig());return j({cwd:g(),configAsString:u,commandOptions:["-v","--remove-orphans","--rmi","local"],log:!0})}async waitUntilReady(){try{const u="mssql"===this.name?"master":this.options.database;return this.sequelize=new f(u,this.options.username,this.options.password,{host:"localhost",port:this.options.port,dialect:this.name.replace("postgresql","postgres"),retry:{max:30,match:[S,v,y,E,C],backoffBase:1e3,backoffExponent:1},logging:!1}),this.sequelize.authenticate().then((()=>!0)).catch((u=>(console.log(u),!1)))}catch(u){return!1}}async getServiceState(){const u=c(this.getDockerComposeConfig());return(await a({configAsString:u,log:!1,commandOptions:["--all"]})).data.services.find((u=>u.name.includes(this.name)))}async showDockerLogs(u){return new Promise(((t,d)=>{p("docker",["logs","-f","-n","5000",u],{cwd:g(),stdio:"inherit"}).on("exit",(u=>0===u?t():d(new Error(`Docker exited with code ${u}`))))}))}};const U={port:1433,database:"dcdx",username:"sa",password:"DataCenterDX!",edition:"Developer",version:"2022"};class MSSQL extends I{name="mssql";driver="com.microsoft.sqlserver.jdbc.SQLServerDriver";options=U;version="2022";get url(){return`jdbc:sqlserver://db:${this.options.port};databaseName=${this.options.database};trustServerCertificate=true`}constructor(u=U){super({...U,...u})}async onDatabaseReady(){await this.run(`CREATE DATABASE ${this.options.database}`),await this.run(`ALTER DATABASE ${this.options.database} COLLATE SQL_Latin1_General_CP1_CS_AS`),await this.run(`ALTER DATABASE ${this.options.database} SET READ_COMMITTED_SNAPSHOT ON WITH ROLLBACK IMMEDIATE;`)}getService=()=>({image:`mcr.microsoft.com/mssql/server:${this.version}-latest`,ports:[`${this.options.port||1433}:1433`],environment:{ACCEPT_EULA:"y",MSSQL_SA_PASSWORD:this.options.password||"dcdx",MSSQL_PID:this.options.edition},networks:{shared:{aliases:["db","database"]}}})}const _={port:3306,database:"dcdx",username:"dcdx",password:"dcdx",version:"8.0"};class MySQL extends I{name="mysql";driver="com.mysql.jdbc.Driver";options=_;version="8.0";get url(){return`jdbc:mysql://db:${this.options.port}/${this.options.database}?sessionVariables=transaction_isolation='READ-COMMITTED'`}constructor(u=_){super({..._,...u})}async onDatabaseReady(){await this.run(`ALTER DATABASE ${this.options.database} CHARACTER SET 'utf8mb4' COLLATE utf8mb4_bin`)}getService=()=>({image:`mysql:${this.version}`,ports:[`${this.options.port||3306}:3306`],environment:{MYSQL_ROOT_PASSWORD:this.options.password||"dcdx",MYSQL_USER:this.options.username||"dcdx",MYSQL_PASSWORD:this.options.password||"dcdx",MYSQL_DATABASE:this.options.database||"dcdx"},command:["--log_bin_trust_function_creators=1"],networks:{shared:{aliases:["db","database"]}}})}const N={version:"15",database:"dcdx",port:5432,username:"dcdx",password:"dcdx"};class Postgres extends I{name="postgresql";driver="org.postgresql.Driver";options=N;version="15";get url(){return`jdbc:postgresql://db:${this.options.port}/${this.options.database}`}constructor(u=N){super({...N,...u})}getService=()=>({image:`postgres:${this.version}`,ports:[`${this.options.port||5432}:5432`],environment:{POSTGRES_USER:this.options.username||"dcdx",POSTGRES_PASSWORD:this.options.password||"dcdx",POSTGRES_DB:this.options.database||"dcdx",POSTGRES_HOST_AUTH_METHOD:"md5",POSTGRES_INITDB_ARGS:"--encoding=UTF-8 --lc-collate=C --lc-ctype=C"},networks:{shared:{aliases:["db","database"]}}})}const B=o(h(),".dcdx");class Base extends s{options;constructor(u){super(),this.options=u}get baseUrl(){let u="http://localhost";return this.options.port&&(u+=`:${this.options.port}`),this.options.contextPath?`${u}/${this.options.contextPath}`:u}getDatabaseEngine(u){switch(u){case"postgresql":return new Postgres;case"mssql":return new MSSQL;case"mysql":return new MySQL}}async start(){this.options.clean&&await this.down(),await this.build(this.options.version),await this.database.start(this.options.clean),await this.up()}async stop(){if(await this.database.stop(this.options.prune),this.options.prune)await this.down();else{const u=c(this.getDockerComposeConfig());await k({cwd:g(),configAsString:u,log:!0})}this.emit(`${this.name}:stopped`)}async reset(){await this.database.stop(!0),await this.down()}async cp(u){const t=await this.getServiceState();if(t&&t.state.toLowerCase().startsWith("up")){const t=this.getDockerComposeConfig(),d=c(t);await b("cp",[u,`${this.name}:/opt/quickreload/`],{cwd:g(),configAsString:d,log:!1})}}getJVMArgs(){const u=[];return u.push("-Dupm.plugin.upload.enabled=true"),this.options.devMode&&(u.push("-Djira.dev.mode=true"),u.push("-Datlassian.dev.mode=true")),this.options.quickReload&&u.push("-Dquickreload.dirs=/opt/quickreload"),u}async isApplicationReady(){try{const u=await e.get(`${this.baseUrl}/status`,{validateStatus:()=>!0}).catch((()=>null));if(u&&200===u.status){const{data:t}=u;if("FIRST_RUN"===t.state||"RUNNING"===t.state)return console.log(`The application ${this.name} is ready on ${this.baseUrl} 🎉`),!0}return!1}catch(u){return!1}}getDockerComposeConfig(){return{version:"3.8",services:{[this.name]:this.getService()},networks:{shared:$}}}async up(){const u=this.getDockerComposeConfig(),t=c(u);await i({cwd:g(),configAsString:t,log:!0}),this.emit(`${this.name}:up`);await this.waitUntilReady()?(this.emit(`${this.name}:ready`),await this.tailApplicationLogs()):console.log(`Failed to start ${this.name} ⛔`),d(0)}async down(){const u=c(this.getDockerComposeConfig());await j({cwd:g(),configAsString:u,commandOptions:["-v","--remove-orphans","--rmi","local"],log:!0})}async getServiceState(){const u=c(this.getDockerComposeConfig());return(await a({configAsString:u,log:!1,commandOptions:["--all"]})).data.services.find((u=>u.name.includes(this.name)))}async waitUntilReady(u=0){console.log(`Waiting for ${this.name} to become available... ${u}s`);const t=await this.getServiceState();return!!(t&&t.state.toLowerCase().startsWith("up")&&await this.isApplicationReady())||(u>=300?(console.error(`A timeout occurred while waiting for ${this.name} to become available ⛔`),t&&await this.showDockerLogs(t.name),!1):(await new Promise((u=>setTimeout(u,1e3))),this.waitUntilReady(u+1)))}getDockerRepositoryUrl(){return`https://bitbucket.org/atlassian-docker/docker-${"jira"===this.name?"atlassian-jira":"bamboo"===this.name?`${this.name}-server`:`atlassian-${this.name}-server`}.git`}async build(u){const t=this.getDockerRepositoryUrl(),d=o(B,this.name,"source");r(d)?await w({baseDir:d}).pull({"--recurse-submodule":null}):(m(o(B,this.name),{recursive:!0}),await w().clone(t,d,{"--recurse-submodule":null})),await new Promise(((t,n)=>{p("docker",["build","-t",`dcdx/${this.name}:${u}`,"--build-arg",`${this.name.toUpperCase()}_VERSION=${u}`,"."],{cwd:d,stdio:"inherit"}).on("exit",(u=>0===u?t():n(new Error(`Docker exited with code ${u}`))))}))}async tailApplicationLogs(){const u=await this.getServiceState();u&&u.state.toLowerCase().startsWith("up")&&await this.showApplicationLogs(u.name).catch((()=>null))}async showDockerLogs(u){return new Promise(((t,d)=>{p("docker",["logs","-f","-n","5000",u],{cwd:g(),stdio:"inherit"}).on("exit",(u=>0===u?t():d(new Error(`Docker exited with code ${u}`))))}))}async showApplicationLogs(u){return new Promise(((t,d)=>{p("docker",["exec","-i",u,"tail","-F","-n","5000",this.logFilePath],{cwd:g(),stdio:"inherit"}).on("exit",(u=>0===u?t():d(new Error(`Docker exited with code ${u}`))))}))}}class Confluence extends Base{name=q.CONFLUENCE;database;logFilePath="/var/atlassian/application-data/confluence/logs/atlassian-confluence.log";constructor(u){super(u),this.database=this.getDatabaseEngine(u.database)}getService(){const u=this.getVolumes(),t=this.getEnvironmentVariables();return{build:{context:toAbsolutePath("../../assets"),dockerfile_inline:`\nFROM dcdx/${this.name}:${this.options.version}\nCOPY ./mysql-connector-j-8.3.0.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/mysql-connector-j-8.3.0.jar\nCOPY ./quickreload-5.0.2.jar /opt/atlassian/confluence/confluence/WEB-INF/atlassian-bundled-plugins/quickreload-5.0.2.jar\nRUN echo "/opt/quickreload" > /var/atlassian/application-data/confluence/quickreload.properties; mkdir -p /opt/quickreload; chown -R confluence:confluence /opt/quickreload;\n\nRUN chown -R confluence:confluence /opt/atlassian/confluence`},ports:[`${this.options.port||80}:8090`,...this.options.debug?["5005:5005"]:[]],environment:Object.keys(t).length>0?t:void 0,volumes:u.length>0?u:void 0,networks:["shared"]}}getJVMArgs(){const u=super.getJVMArgs();return this.options.debug&&(u.push("-Xdebug"),u.push("-Xrunjdwp:transport=dt_socket,address=*:5005,server=y,suspend=n"),u.push("-Dcom.sun.management.jmxremote.port=9999"),u.push("-Dcom.sun.management.jmxremote.rmi.port=9998"),u.push("-Dcom.sun.management.jmxremote.authenticate=false"),u.push("-Dcom.sun.management.jmxremote.ssl=false")),u}getEnvironmentVariables(){return{...this.options.contextPath?{ATL_TOMCAT_CONTEXTPATH:this.options.contextPath}:"",JVM_SUPPORT_RECOMMENDED_ARGS:this.getJVMArgs().join(" "),ATL_LICENSE_KEY:this.options.license||L,ATL_JDBC_URL:this.database.url,ATL_JDBC_USER:this.database.options.username,ATL_JDBC_PASSWORD:this.database.options.password,ATL_DB_TYPE:`${this.database.name}`}}getVolumes(){return[...this.options.quickReload?[`${this.options.quickReload}:/opt/quickreload`]:""]}}const{P:V,activeProfiles:Q}=M(R(process.argv)).parseSync(),G=V||Q||void 0;class AMPS{static maven;static stop(){AMPS.maven&&AMPS.maven.kill(0)}static async build(u){return new Promise(((t,d)=>{if(AMPS.maven){AMPS.maven.kill(0)||d(new Error("Failed to terminate existing Maven process"))}AMPS.maven=p("mvn",["package",...u],{cwd:g(),stdio:"inherit"}),AMPS.maven.on("exit",(u=>{AMPS.maven=null,0===u||130===u?t():d(new Error(`Maven exited with code ${u}`))}))}))}static isAtlassianPlugin=()=>{try{return AMPS.getNodes("//*[local-name()='packaging']").some((u=>"atlassian-plugin"===u.textContent))}catch(u){return!1}};static getApplicationVersion(){const u=G?AMPS.getNodes(`//*[local-name()='profile']/*[local-name()='id' and text()='${G}']/..//*[local-name()='groupId' and text()='com.atlassian.maven.plugins']`,!0):AMPS.getNodes("//*[local-name()='groupId' and text()='com.atlassian.maven.plugins']",!0);if(u){const t=u.parentNode;if(t){const{plugin:u}=AMPS.toObject(t),d=u?.configuration?.productVersion;return d?this.doPropertyReplacement(d):void 0}}}static getApplication(){const u=AMPS.getApplications();if(1===u.length)return u[0];if(G){const u=AMPS.getApplications(G);if(1===u.length)return u[0]}return null}static getApplications(u){const t=new Set;return(u?AMPS.getNodes(`//*[local-name()='profile']/*[local-name()='id' and text()='${u}']/..//*[local-name()='groupId' and text()='com.atlassian.maven.plugins']`):AMPS.getNodes("//*[local-name()='groupId' and text()='com.atlassian.maven.plugins']")).forEach((u=>{const d=u.parentNode;if(d){const{plugin:u}=AMPS.toObject(d);u?.artifactId?.includes(q.JIRA)?t.add(q.JIRA):u?.artifactId?.includes(q.CONFLUENCE)?t.add(q.CONFLUENCE):u?.artifactId?.includes(q.BAMBOO)?t.add(q.BAMBOO):u?.artifactId?.includes(q.BITBUCKET)&&t.add(q.BITBUCKET)}})),Array.from(t)}static doPropertyReplacement(u){let t=u;const d=G?AMPS.getProperties(G):{};Object.entries(d).forEach((([u,d])=>{t=t.replaceAll(`\${${u}}`,d)}));const n=AMPS.getProperties();return Object.entries(n).forEach((([u,d])=>{t=t.replaceAll(`\${${u}}`,d)})),t}static getProperties(u){const t={};return(u?AMPS.getNodes(`//*[local-name()='profile']/*[local-name()='id' and text()='${u}']/..//*[local-name()='properties']`):AMPS.getNodes("//*[local-name()='properties']")).forEach((u=>{const{properties:d}=AMPS.toObject(u);Object.entries(d).forEach((([u,d])=>t[u]=d))})),t}static getNodes(u,t){if(r("./pom.xml")){const d=l("./pom.xml","utf8"),n=(new P).parseFromString(d,"text/xml"),o=t?T.select(u,n,!0):T.select(u,n,!1);return Array.isArray(o)||t?o:[]}return[]}static toObject(u){try{return(new x).parse((new D).serializeToString(u))}catch(u){return null}}}const F=AMPS.getApplicationVersion()||"latest";(async()=>{const d=u.showHelpAfterError(!0).addOption(new t("-v, --version <version>","The version of the host application").choices(O).default(F)).addOption(new t("-d, --database <name>","The database engine to remove data from").choices(["postgresql","mysql","mssql"]).default("postgresql")).parse(process.argv).opts(),n=new Confluence({version:d.version,database:d.database});await n.reset()})(),process.on("SIGINT",(()=>{console.log("Received term signal, trying to stop gracefully 💪"),d()}));
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import{program as u,Option as t}from"commander";import{gracefulExit as d}from"exit-hook";import{dirname as n,join as k}from"path";import j from"axios";import{spawn as b}from"child_process";import{stop as e,downAll as s,ps as i,execCompose as a,upAll as o}from"docker-compose/dist/v2.js";import r from"events";import{existsSync as c,mkdirSync as A,readFileSync as l}from"fs";import{dump as P}from"js-yaml";import{homedir as E}from"os";import{cwd as p}from"process";import C from"simple-git";import{upAll as h}from"docker-compose";import{Sequelize as m,ConnectionError as R,TimeoutError as g,ConnectionTimedOutError as w,ConnectionRefusedError as S,ConnectionAcquireTimeoutError as v}from"sequelize";import{DOMParser as f,XMLSerializer as y}from"@xmldom/xmldom";import{XMLParser as x}from"fast-xml-parser";import D from"xpath";import{hideBin as T}from"yargs/helpers";import M from"yargs/yargs";var O=["latest","ubuntu-jdk11","ubi9-jdk17","ubi9","9-ubuntu-jdk11","jdk11","9-jdk11","9.15-ubuntu-jdk11","9.15.1-ubuntu-jdk11","9.15-jdk11","9.15.1-ubi9-jdk17","9.15.1-jdk11","9","9.15.1-ubi9","9.15.1","9.15","9.8.0-ubuntu-jdk11","9.8.0-jdk11","9.8.0","9.5-ubuntu-jdk11","9.5-jdk11","9.5.1-ubuntu-jdk11","9.5.1-jdk11","9.5.1","9.5","9.14.0-ubuntu-jdk11","9.14.0-jdk11","9.14-ubuntu-jdk11","9.14.0","9.14-jdk11","9.14.1-ubuntu-jdk11","9.14","9.14.1","9.12.5-ubuntu-jdk11","9.12.5-jdk11","9.12.5","9.0-ubuntu-jdk11","9.0-jdk11","9.0.0-ubuntu-jdk11","9.0.0-jdk11","9.0.0","9.0","9.8.1-ubuntu-jdk11","9.8.1-jdk11","9.8.1","9.14.1-jdk11","9.10-ubuntu-jdk11","9.10-jdk11","9.10.2-ubuntu-jdk11","9.10.2-jdk11","9.10.2","9.8","9.10","9.12.6-jdk11","9.12.6-ubuntu-jdk11","9.12.6","9.8-ubuntu-jdk11","9.8-jdk11","9.8.2-ubuntu-jdk11","9.8.2-jdk11","9.8.2","9.6-ubuntu-jdk11","9.6-jdk11","9.6.0-ubuntu-jdk11","9.6.0-jdk11","9.6.0","9.6","9.4.2-ubuntu-jdk11","9.4.2-jdk11","9.4.2","9.3.0-ubuntu-jdk11","9.3.0-jdk11","9.3.0","9.14.0-ubi9-jdk17","9.14.0-ubi9","9.12.7-ubi9-jdk17","9.12.7-ubi9","9.5.0-ubi9-jdk17","9.5.0-ubi9","9.12-ubuntu-jdk11","9.12-jdk11","9.12.7-ubuntu-jdk11","9.12.7-jdk11","9.12.7","9.12","9.1.0-ubuntu-jdk11","9.1.0-jdk11","9.1.0","9.4-ubuntu-jdk11","9.4-jdk11","9.4.20-ubuntu-jdk11","9.4.20-jdk11","9.4.20","9.4","9.3.1-ubuntu-jdk11","9.3.1-jdk11","9.3.1","9.15.0-ubuntu-jdk11","9.15.0-jdk11","9.15.0","9.12.0-ubuntu-jdk11","9.12.0-jdk11","9.12.0","9.11.0-ubuntu-jdk11","9.11.0-jdk11","9.11.0","9.8.0-ubi9-jdk17","9.8.0-ubi9","9.7.0-ubi9-jdk17","9.7.0-ubi9","9.5.1-ubi9-jdk17","9.5.1-ubi9","9.1-ubuntu-jdk11","9.1-jdk11","9.14.1-ubi9-jdk17","9.14.1-ubi9","9.1.1-ubuntu-jdk11","9.1.1-jdk11","9.1.1","9.9.0-ubuntu-jdk11","9.1","9.9.0-ubi9-jdk17","9.9.0-ubi9","9.9.0-jdk11","9.9.0","9.7.0-ubuntu-jdk11","9.7.0-jdk11","9.7.0","9.4.6-ubuntu-jdk11","9.4.6-jdk11","9.4.6","9.4.1-ubuntu-jdk11","9.4.1-jdk11","9.4.15-ubuntu-jdk11","9.4.15-jdk11","9.4.15","9.4.1","9.3.2-ubuntu-jdk11","9.3.2-jdk11","9.3.2","9.12.1-ubuntu-jdk11","9.12.1-jdk11","9.12.1","9.11.1-ubuntu-jdk11","9.11.1-jdk11","9.11.1","9.8.1-ubi9-jdk17","9.8.1-ubi9","9.7.1-ubi9-jdk17","9.7.1-ubi9","9.4.10-ubuntu-jdk11","9.4.10-jdk11","9.4.10","9.13.0-ubuntu-jdk11","9.13.0-ubi9-jdk17","9.13.0-ubi9","9.13.0-jdk11","9.13.0","9.11.3-ubi9-jdk17","9.11.3-ubi9","9.10.2-ubi9-jdk17","9.10.2-ubi9","9.9.1-ubuntu-jdk11","9.9.1-ubi9-jdk17","9.9.1-ubi9","9.9.1-jdk11","9.9.1","9.7.1-ubuntu-jdk11","9.7.1-jdk11","9.7.1","9.4.7-ubuntu-jdk11","9.4.7-jdk11","9.4.7","9.4.16-ubuntu-jdk11","9.4.16-jdk11","9.4.16","9.3-ubuntu-jdk11","9.3-jdk11","9.3.3-ubuntu-jdk11","9.3.3-jdk11","9.3.3","9.3","9.2.0-ubuntu-jdk11","9.2.0-jdk11","9.2.0","9.12.4-ubi9-jdk17","9.12.4-ubi9","9.12.1-ubi9-jdk17","9.12.1-ubi9","9.11.2-ubuntu-jdk11","9.11.2-jdk11","9.11.2","9.8.2-ubi9-jdk17","9.8.2-ubi9","9.7.2-ubi9-jdk17","9.7.2-ubi9","9.6.0-ubi9-jdk17","9.6.0-ubi9","9.4.8-ubuntu-jdk11","9.4.8-jdk11","9.4.8","9.4.3-ubuntu-jdk11","9.4.3-jdk11","9.4.3","9.4.11-ubuntu-jdk11","9.4.11-jdk11","9.4.11","9.15.0-ubi9-jdk17","9.15.0-ubi9","9.13-ubuntu-jdk11","9.13-jdk11","9.13.1-ubuntu-jdk11","9.13.1-ubi9-jdk17","9.13.1-ubi9","9.13.1-jdk11","9.13.1","9.13","9.12.2-ubuntu-jdk11","9.12.2-jdk11","9.12.2","9.9-ubuntu-jdk11","9.9-jdk11","9.9.2-ubuntu-jdk11","9.9.2-ubi9-jdk17","9.9.2-ubi9","9.9.2-jdk11","9.9.2","9.9","9.7-ubuntu-jdk11","9.7-jdk11","9.7.2-ubuntu-jdk11","9.7.2-jdk11","9.7.2","9.7","9.4.17-ubuntu-jdk11","9.4.17-jdk11","9.4.17","9.2-ubuntu-jdk11","9.2-jdk11","9.2.1-ubuntu-jdk11","9.2.1-jdk11","9.2.1","9.2","9.12.5-ubi9-jdk17","9.12.5-ubi9","9.11-ubuntu-jdk11","9.11-jdk11","9.11.3-ubuntu-jdk11","9.11.3-jdk11","9.11.3","9.11.1-ubi9-jdk17","9.11.1-ubi9","9.11","9.10.0-ubuntu-jdk11","9.10.0-ubi9-jdk17","9.10.0-ubi9","9.10.0-jdk11","9.10.0","9.4.9-ubuntu-jdk11","9.4.9-jdk11","9.4.9","9.4.4-ubuntu-jdk11","9.4.4-jdk11","9.4.4","9.4.12-ubuntu-jdk11","9.4.12-jdk11","9.4.12","9.12.3-ubuntu-jdk11","9.12.3-jdk11","9.12.3","9.12.2-ubi9-jdk17","9.12.2-ubi9","9.4.18-ubuntu-jdk11","9.4.18-jdk11","9.4.18","9.5.0-ubuntu-jdk11","9.5.0-jdk11","9.5.0","9.4.5-ubuntu-jdk11","9.4.5-jdk11","9.4.5","9.4.19-ubuntu-jdk11","9.4.19-jdk11","9.4.19","9.4.14-ubuntu-jdk11","9.4.14-jdk11","9.4.14","9.4.0-ubuntu-jdk11","9.4.0-jdk11","9.4.0","9.12.6-ubi9-jdk17","9.12.6-ubi9","9.12.4-ubuntu-jdk11","9.12.4-jdk11","9.12.4","9.12.3-ubi9-jdk17","9.12.3-ubi9","9.12.0-ubi9-jdk17","9.12.0-ubi9","9.11.2-ubi9-jdk17","9.11.2-ubi9","9.11.0-ubi9-jdk17","9.11.0-ubi9","9.10.1-ubuntu-jdk11","9.10.1-ubi9-jdk17","9.10.1-ubi9","9.10.1-jdk11","9.10.1","10.0.0-EAP02-ubi9-jdk17","10.0.0-EAP02","10.0.0-EAP02-ubi9","10.0.0-EAP02-ubuntu-jdk11","10.0.0-EAP02-jdk11","9.15.0-RC","9.15.0-RC-jdk11","9.15.0-RC-ubuntu-jdk11","9.15.0-RC-ubi9","9.15.0-RC-ubi9-jdk17","9.15.0-EAP02-ubi9-jdk17","9.15.0-EAP02-ubi9","9.15.0-EAP02-jdk11","9.15.0-EAP02-ubuntu-jdk11","9.15.0-EAP02","8.22.3-ubuntu-jdk11","8.22.3-jdk11","8.22.3","8.22.4-ubuntu-jdk11","8.22.4-jdk11","8.22.4","8.22.5-ubuntu-jdk11","8.22.5","8.22.5-jdk11","8.16-ubuntu-jdk11","8.16-jdk11","8.16.2-ubuntu-jdk11","8.16.2-jdk11","8.16.2","8.16","8-ubuntu-jdk11","8-jdk11","8.22-ubuntu-jdk11","8.22-jdk11","8.22.6-ubuntu-jdk11","8.22.6-jdk11","8.22.6","8.22","8","8.17.0-ubuntu-jdk11","8.17.0-jdk11","8.17.0","8.20.21-ubuntu-jdk11","8.20.21-jdk11","8.20.21","8.20.4-ubuntu-jdk11","8.20.4-jdk11","8.20.4","8.17-ubuntu-jdk11","8.17-jdk11","8.17.1-ubuntu-jdk11","8.17.1-jdk11","8.17.1","8.17","8.20.22-ubuntu-jdk11","8.20.22-jdk11","8.20.22","8.13.5-ubuntu-jdk11","8.13.5-jdk11","8.13.5","8.20.5-ubuntu-jdk11","8.20.5-jdk11","8.20.5","8.13.19-ubuntu-jdk11","8.13.19-jdk11","8.13.19","8.13.6-jdk11","8.20.23-ubuntu-jdk11","8.20.23-jdk11","8.20.23","8.20.11-ubuntu-jdk11","8.20.11-jdk11","8.20.11","8.13.6-ubuntu-jdk11","8.13.6","8.13.2-ubuntu-jdk11","8.13.2-jdk11","8.13.2","8.20.6-ubuntu-jdk11","8.20.6-jdk11","8.20.6","8.18.0-ubuntu-jdk11","8.18.0-jdk11","8.18.0","8.13.0-ubuntu-jdk11","8.13.0-jdk11","8.13.0","8.20.24-ubuntu-jdk11","8.20.24-jdk11","8.20.24","8.20.12-ubuntu-jdk11","8.20.12-jdk11","8.20.12","8.13.7-ubuntu-jdk11","8.13.7-jdk11","8.20.7-ubuntu-jdk11","8.13.7","8.20.7-jdk11","8.20.7","8.18.1-ubuntu-jdk11","8.18.1-jdk11","8.18.1","8.13.20-ubuntu-jdk11","8.13.20-jdk11","8.13.20","8.13.1-ubuntu-jdk11","8.13.1-jdk11","8.13.1","8.13.8-ubuntu-jdk11","8.13.8-jdk11","8.13.8","8.20.25-ubuntu-jdk11","8.20.25-jdk11","8.20.25","8.20.13-ubuntu-jdk11","8.20.13-jdk11","8.20.13","8.13.21-ubuntu-jdk11","8.13.21-jdk11","8.13.21","8.13.10-ubuntu-jdk11","8.13.10-jdk11","8.20.8-ubuntu-jdk11","8.13.10","8.20.8-jdk11","8.20.8","8.18-ubuntu-jdk11","8.18-jdk11","8.18.2-ubuntu-jdk11","8.18.2-jdk11","8.18.2","8.18","8.13.9-ubuntu-jdk11","8.13.9-jdk11","8.13.9","8.20.26-ubuntu-jdk11","8.20.26-jdk11","8.20.26","8.20.14-ubuntu-jdk11","8.20.14-jdk11","8.20.14","8.13.22-ubuntu-jdk11","8.13.22-jdk11","8.13.22","8.20.9-ubuntu-jdk11","8.20.9-jdk11","8.20.9","8.14.0-ubuntu-jdk11","8.14.0-jdk11","8.14.0","8.13.11-ubuntu-jdk11","8.13.11-jdk11","8.13.11","8.20.15-ubuntu-jdk11","8.20.15-jdk11","8.20.15","8.13.24-ubuntu-jdk11","8.13.24-jdk11","8.13.24","8.20.27-ubuntu-jdk11","8.20.27-jdk11","8.20.27","8.19.0-ubuntu-jdk11","8.19.0-jdk11","8.19.0","8.14-ubuntu-jdk11","8.14-jdk11","8.14.1-ubuntu-jdk11","8.14.1-jdk11","8.14.1","8.14","8.13.12-ubuntu-jdk11","8.13.12-jdk11","8.13.12","8.21.0-ubuntu-jdk11","8.21.0-jdk11","8.21.0","8.20.28-ubuntu-jdk11","8.20.28-jdk11","8.20.28","8.20.16-ubuntu-jdk11","8.20.16-jdk11","8.20.16","8.13.25-ubuntu-jdk11","8.13.25-jdk11","8.13.25","8.13.13-ubuntu-jdk11","8.13.13-jdk11","8.13.13","8.21-ubuntu-jdk11","8.21-jdk11","8.21.1-ubuntu-jdk11","8.21.1-jdk11","8.21.1","8.21","8.19-ubuntu-jdk11","8.19-jdk11","8.19.1-ubuntu-jdk11","8.19.1-jdk11","8.19.1","8.19","8.20.17-ubuntu-jdk11","8.20.17-jdk11","8.20.17","8.15.0-ubuntu-jdk11","8.15.0-jdk11","8.15.0","8.13.26-ubuntu-jdk11","8.13.26-jdk11","8.13.26","8.13.14-ubuntu-jdk11","8.13.14-jdk11","8.20.29-ubuntu-jdk11","8.20.29-jdk11","8.20.29","8.13.14","8.13-ubuntu-jdk11","8.13-jdk11","8.13.27-ubuntu-jdk11","8.13.27-jdk11","8.13.27","8.13","8.20.3-ubuntu-jdk11","8.20.3-jdk11","8.20.3","8.20.18-ubuntu-jdk11","8.20.18-jdk11","8.20.18","8.15-ubuntu-jdk11","8.15-jdk11","8.15.1-ubuntu-jdk11","8.15.1-jdk11","8.15.1","8.15","8.13.15-ubuntu-jdk11","8.13.15-jdk11","8.13.15","8.22.0-ubuntu-jdk11","8.22.0-jdk11","8.22.0","8.20.19-ubuntu-jdk11","8.20.19-jdk11","8.20.19","8.20.0-ubuntu-jdk11","8.20.0-jdk11","8.20.0","8.13.16-ubuntu-jdk11","8.13.16-jdk11","8.20-ubuntu-jdk11","8.13.16","8.20-jdk11","8.20.30-ubuntu-jdk11","8.20.30-jdk11","8.20.30","8.20","8.22.1-ubuntu-jdk11","8.22.1-jdk11","8.22.1","8.20.2-ubuntu-jdk11","8.20.2-jdk11","8.20.2","8.20.1-ubuntu-jdk11","8.20.1-jdk11","8.20.1","8.13.17-ubuntu-jdk11","8.13.17-jdk11","8.13.17","8.16.0-ubuntu-jdk11","8.16.0-jdk11","8.16.0","8.13.3-ubuntu-jdk11","8.13.3-jdk11","8.13.3","8.22.2-ubuntu-jdk11","8.22.2-jdk11","8.22.2","8.20.20-ubuntu-jdk11","8.20.20-jdk11","8.20.20","8.20.10-ubuntu-jdk11","8.20.10-jdk11","8.20.10","8.13.4-ubuntu-jdk11","8.13.4-jdk11","8.13.4","8.13.18-ubuntu-jdk11","8.13.18-jdk11","8.13.18","8.16.1-ubuntu-jdk11","8.16.1-jdk11","8.16.1","9.15.0-EAP01-ubuntu-jdk11","9.15.0-EAP01","9.15.0-EAP01-jdk11","10.0.0-EAP01-jdk11","10.0.0-EAP01-ubuntu-jdk11","10.0.0-EAP01","9.14.0-RC-ubuntu-jdk11","9.14.0-RC-jdk11","9.14.0-RC","9.14.0-EAP02","9.14.0-EAP02-ubuntu-jdk11","9.14.0-EAP02-jdk11","9.14.0-EAP01-ubuntu-jdk11","9.14.0-EAP01-jdk11","9.14.0-EAP01","9.13.0-EAP02","9.13.0-EAP02-ubuntu-jdk11","9.13.0-EAP02-jdk11","9.4.13-jdk11","9.4.13","9.4.13-ubuntu-jdk11","9.13.0-EAP01-ubuntu-jdk11","9.13.0-EAP01-jdk11","9.13.0-EAP01","8.11.0-ubuntu-jdk11","8.11.0-jdk11","8.11.0","8.11-ubuntu-jdk11","8.11-jdk11","8.11.1-ubuntu-jdk11","8.11.1-jdk11","8.11.1","8.11","8.12.0-ubuntu-jdk11","8.12.0-jdk11","8.12.0","8.12.1-ubuntu-jdk11","8.12.1-jdk11","8.12.1","8.12.2-ubuntu-jdk11","8.12.2-jdk11","8.12.2","8.12-ubuntu-jdk11","8.12-jdk11","8.12.3-ubuntu-jdk11","8.12.3-jdk11","8.12.3","8.12","9.12.0-EAP01-ubuntu-jdk11","9.12.0-EAP01-jdk11","9.12.0-EAP01","9.11.0-RC-jdk11","9.11.0-RC-ubuntu-jdk11","9.11.0-RC","9.11.0-EAP02-ubuntu-jdk11","9.11.0-EAP02-jdk11","9.11.0-EAP02","9.11.0-EAP01-ubuntu-jdk11","9.11.0-EAP01-jdk11","9.11.0-EAP01","9.10.0-RC-ubuntu-jdk11","9.10.0-RC-jdk11","9.10.0-RC","9.10.0-EAP02-ubuntu-jdk11","9.10.0-EAP02-jdk11","9.10.0-EAP02","9.10.0-EAP01-ubuntu-jdk11","9.10.0-EAP01","9.10.0-EAP01-jdk11","9.9.0-RC02-jdk11","9.9.0-RC02-ubuntu-jdk11","9.9.0-RC02","9.9.0-RC01-jdk11","9.9.0-RC01-ubuntu-jdk11","9.9.0-RC01","9.9.0-EAP02-ubuntu-jdk11","9.9.0-EAP02-jdk11","9.9.0-EAP02","9.9.0-EAP01-jdk11","9.9.0-EAP01-ubuntu-jdk11","9.9.0-EAP01","9.8.0-RC01-jdk11","9.8.0-RC01-ubuntu-jdk11","9.8.0-RC01","9.8.0-EAP02","eap-jdk11","eap","9.8.0-EAP02-ubuntu-jdk11","eap-ubuntu-jdk11","9.8.0-EAP02-jdk11","9.8.0-EAP01","9.8.0-EAP01-jdk11","9.8.0-EAP01-ubuntu-jdk11","9.7.0-RC01-jdk11","9.7.0-RC01","9.7.0-RC01-ubuntu-jdk11","9.7.0-EAP02","9.7.0-EAP02-ubuntu-jdk11","9.7.0-EAP02-jdk11","9.7.0-EAP01-ubuntu-jdk11","9.7.0-EAP01-jdk11","9.7.0-EAP01","9.6.0-RC01","9.6.0-RC01-ubuntu-jdk11","9.6.0-EAP02-ubuntu-jdk11","9.6.0-EAP02","9.6.0-EAP02-jdk11","9.6.0-EAP01","9.6.0-EAP01-jdk11","9.6.0-EAP01-ubuntu-jdk11","9.5.0-RC01","9.5.0-RC01-ubuntu-jdk11","9.5.0-RC01-jdk11","9.5.0-EAP03-ubuntu-jdk11","9.5.0-EAP03-jdk11","9.5.0-EAP03","9.5.0-EAP02-ubuntu-jdk11","9.5.0-EAP02","9.5.0-EAP02-jdk11","9.4.0-RC02-jdk11","9.4.0-RC02","9.4.0-RC02-ubuntu-jdk11","9.4.0-RC01-ubuntu-jdk11","9.4.0-RC01-jdk11","9.4.0-RC01","9.4.0-EAP01","9.4.0-EAP01-ubuntu-jdk11","9.4.0-EAP01-jdk11","9.5.0-EAP01-ubuntu-jdk11","9.5.0-EAP01","9.5.0-EAP01-jdk11","9.3.0-RC01","9.3.0-RC01-ubuntu-jdk11","9.3.0-RC01-jdk11","9.3.0-EAP02-jdk11","9.3.0-EAP02","9.3.0-EAP02-ubuntu-jdk11","9.3.0-EAP01-jdk11","9.3.0-EAP01-ubuntu-jdk11","9.3.0-EAP01","9.2.0-RC01-ubuntu-jdk11","9.2.0-RC01-jdk11","9.2.0-RC01","9.2.0-EAP03-jdk11","9.2.0-EAP03-ubuntu-jdk11","9.2.0-EAP03","9.2.0-EAP02-ubuntu-jdk11","9.2.0-EAP02-jdk11","9.2.0-EAP02","9.2.0-EAP01-jdk11","9.2.0-EAP01-ubuntu-jdk11","9.2.0-EAP01","9.1.0-RC01-ubuntu-jdk11","9.1.0-RC01-jdk11","9.1.0-RC01","9.1.0-EAP02-ubuntu-jdk11","9.1.0-EAP02-jdk11","9.1.0-EAP02","9.1.0-EAP01-jdk11","9.1.0-EAP01-ubuntu-jdk11","9.1.0-EAP01","8.8.0-ubuntu-jdk11","8.8.0-jdk11","8.8.0","8.9-ubuntu-jdk11","8.9-jdk11","8.9.1-ubuntu-jdk11","8.9.1-jdk11","8.9.1","8.9.0-ubuntu-jdk11","8.9.0-jdk11","8.9.0","8.9","8.8-ubuntu-jdk11","8.8-jdk11","8.8.1-ubuntu-jdk11","8.8.1-jdk11","8.8.1","8.8","8.10-ubuntu-jdk11","8.10-jdk11","8.10.1-ubuntu-jdk11","8.10.1-jdk11","8.10.1","8.10.0-ubuntu-jdk11","8.10.0-jdk11","8.10.0","8.10","9.0.0-RC02-jdk11","9.0.0-RC02-ubuntu-jdk11","9.0.0-RC02","9.0.0-RC01-jdk11","9.0.0-RC01-ubuntu-jdk11","9.0.0-RC01","9.0.0-EAP04-ubuntu-jdk11","9.0.0-EAP04-jdk11","9.0.0-EAP04","9.0.0-EAP03-ubuntu-jdk11","9.0.0-EAP03-jdk11","9.0.0-EAP03","9.0.0-EAP02-ubuntu-jdk11","9.0.0-EAP02-jdk11","9.0.0-EAP02","9.0.0-EAP01-ubuntu-jdk11","9.0.0-EAP01-jdk11","9.0.0-EAP01","8.22.0-RC01-ubuntu-jdk11","8.22.0-RC01-jdk11","8.22.0-RC01","8.22.0-EAP02-ubuntu-jdk11","8.22.0-EAP02-jdk11","8.22.0-EAP02","8.22.0-EAP01-ubuntu-jdk11","8.22.0-EAP01-jdk11","8.22.0-EAP01","8.21.0-RC01-ubuntu-jdk11","8.21.0-RC01-jdk11","8.21.0-RC01","8.21.0-EAP02-ubuntu-jdk11","8.21.0-EAP02-jdk11","8.21.0-EAP02","8.21.0-EAP01-ubuntu-jdk11","8.21.0-EAP01-jdk11","8.21.0-EAP01","8.20-ubuntu-jdk-11","8.20.7-ubuntu-jdk-11","8.20.0-RC01-ubuntu-jdk11","8.20.0-RC01-jdk11","8.20.0-RC01","8.20.0-EAP01-ubuntu-jdk11","8.20.0-EAP01-jdk11","8.20.0-EAP01","8.19.0-RC01-ubuntu-jdk11","8.19.0-RC01-jdk11","8.19.0-RC01","8.19.0-EAP02-ubuntu-jdk11","8.19.0-EAP02-jdk11","8.19.0-EAP02","8.19.0-EAP01-ubuntu-jdk-11","8.19.0-EAP01-jdk11","8.19.0-EAP01","8.18.0-RC01-ubuntu-jdk11","8.18.0-RC01-jdk11","8.18.0-RC01","8.18.0-EAP02-ubuntu-jdk-11","8.18.0-EAP02-jdk11","8.18.0-EAP02","8.18.0-EAP01-ubuntu-jdk11","8.18.0-EAP01-jdk11","8.18.0-EAP01","8.17.0-RC02-ubuntu-jdk11","8.17.0-RC02-jdk11","8.17.0-RC02","8.17.0-RC01-ubuntu-jdk11","8.17.0-RC01-jdk11","8.17.0-RC01","8.17.0-EAP02-ubuntu-jdk11","8.17.0-EAP02-jdk11","8.17.0-EAP02","8.17.0-EAP01-ubuntu-jdk11","8.17.0-EAP01-jdk11","8.17.0-EAP01","8.8.0-ubuntu-jdk-11","8.8.1-ubuntu-jdk-11","8.8-ubuntu-jdk-11","8.7-jdk11","8.7-ubuntu-jdk11","8.7","8.7.1-jdk11","8.7.1","8.7.1-ubuntu-jdk11","8.7.0-jdk11","8.7.0-ubuntu-jdk11","8.7.0","8.5.18","8.5.18-jdk11","8.5.18-ubuntu-jdk11","8.5.19-jdk11","8.5.19-ubuntu-jdk11","8.5-jdk11","8.5-ubuntu-jdk11","8.5","8.5.19","8.5.2-ubuntu-jdk11","8.5.2","8.5.2-jdk11","8.5.3","8.5.3-ubuntu-jdk11","8.5.3-jdk11","8.5.4-ubuntu-jdk11","8.5.4","8.5.4-jdk11","8.5.5-jdk11","8.5.5-ubuntu-jdk11","8.5.5","8.5.6-ubuntu-jdk11","8.5.6","8.5.6-jdk11","8.5.7-ubuntu-jdk11","8.5.7","8.5.12-ubuntu-jdk11","8.5.7-jdk11","8.5.12","8.5.12-jdk11","8.5.8","8.5.8-jdk11","8.5.8-ubuntu-jdk11","8.5.13-jdk11","8.5.13","8.5.13-ubuntu-jdk11","8.5.9-jdk11","8.5.9","8.5.9-ubuntu-jdk11","8.5.14-jdk11","8.5.0-ubuntu-jdk11","8.5.14","8.5.0","8.5.14-ubuntu-jdk11","8.5.0-jdk11","8.6.0-jdk11","8.6.0","8.6.0-ubuntu-jdk11","8.5.15-jdk11","8.5.1","8.5.15","8.5.1-ubuntu-jdk11","8.5.15-ubuntu-jdk11","8.5.1-jdk11","8.6","8.6-ubuntu-jdk11","8.6.1-ubuntu-jdk11","8.6.1","8.5.16","8.5.10-ubuntu-jdk11","8.6.1-jdk11","8.5.16-ubuntu-jdk11","8.5.10","8.6-jdk11","8.5.16-jdk11","8.5.10-jdk11","8.5.17","8.5.11","8.5.17-ubuntu-jdk11","8.5.11-jdk11","8.5.17-jdk11","8.5.11-ubuntu-jdk11","8.14.0-jdk8","8.14.0-ubuntu-jdk8","8.14.0-ubuntu","8.14.1-jdk8","8.14-jdk8","8.14.1-ubuntu","8.14.1-ubuntu-jdk8","8.14-ubuntu","8.14-ubuntu-jdk8","8.15.0-ubuntu","8.15.0-jdk8","8.15.0-ubuntu-jdk8","8.15-ubuntu","8.15.1-ubuntu","8.15-ubuntu-jdk8","8.15.1-ubuntu-jdk8","8.15.1-jdk8","8.15-jdk8","8.16.0-ubuntu","8.16.0-ubuntu-jdk8","8.16.0-jdk8","8.18.1-jdk8","8.18.1-ubuntu","8.7.1-ubuntu-jdk8","8.18.1-ubuntu-jdk8","8.7-jdk8","8.16.1-jdk8","8.16.1-ubuntu-jdk8","8.7.1-ubuntu","8.16.1-ubuntu","8.7.1-jdk8","8.7-ubuntu","8.18.2-ubuntu","8.7-ubuntu-jdk8","8.18-ubuntu","8.18-jdk8","8.16-ubuntu","8.18.2-jdk8","8.18-ubuntu-jdk8","8.16-ubuntu-jdk8","8.10.0-ubuntu-jdk8","8.18.2-ubuntu-jdk8","8.10.0-ubuntu","8.16.2-jdk8","8.13.1-ubuntu","8.10.0-jdk8","8.16-jdk8","8.13.1-ubuntu-jdk8","8.16.2-ubuntu","8.12.0-ubuntu-jdk8","8.12.0-ubuntu","8.16.2-ubuntu-jdk8","8.8.0-ubuntu","8.8.0-jdk8","8.5.8-jdk8","8.5.15-ubuntu","8.10.1-ubuntu","8.5.8-ubuntu-jdk8","8.5.15-ubuntu-jdk8","8.8.0-ubuntu-jdk8","8.12.0-jdk8","8.5.15-jdk8","8.13.1-jdk8","8.5.8-ubuntu","8.10.1-ubuntu-jdk8","8.19-ubuntu-jdk8","8.10-ubuntu-jdk8","8.5.16-jdk8","8.12.1-ubuntu-jdk8","8.8.1-ubuntu-jdk8","8.10.1-jdk8","8.13-jdk8","8.12.1-ubuntu","8.8-ubuntu","8.10-ubuntu","8.13.10-jdk8","8.5.16-ubuntu-jdk8","8.5.9-ubuntu-jdk8","8.12.1-jdk8","8.8.1-ubuntu","8.13.10-ubuntu-jdk8","8.19.0-ubuntu-jdk8","8.5.16-ubuntu","8.5.9-jdk8","8.17.0-ubuntu-jdk8","8.10-jdk8","8.13-ubuntu","8-ubuntu-jdk8","8.5.9-ubuntu","8.8-jdk8","jdk8","8.8.1-jdk8","8.19-ubuntu","8.17.0-ubuntu","8.8-ubuntu-jdk8","8.5.3-ubuntu-jdk8","8.13.5-ubuntu-jdk8","8.19-jdk8","8.5.10-jdk8","8.17.0-jdk8","8.5.17-jdk8","8.5.3-jdk8","8.13.5-ubuntu","8.12.2-ubuntu","8.5.10-ubuntu","8.19.0-ubuntu","8.13-ubuntu-jdk8","8.6.0-ubuntu-jdk8","8.5.17-ubuntu","8.13.5-jdk8","8.12.2-ubuntu-jdk8","8.5.10-ubuntu-jdk8","8.6.0-ubuntu","8.5.17-ubuntu-jdk8","8.5.3-ubuntu","ubuntu-jdk8","8.12.2-jdk8","8.19.0-jdk8","8.17-ubuntu","8.6.0-jdk8","8-jdk8","8.17.1-jdk8","8.13.6-jdk8","ubuntu","8.11.0-ubuntu","8.5.11-jdk8","8-ubuntu","8.5.4-jdk8","8.5.18-ubuntu-jdk8","8.17.1-ubuntu","8.12.3-ubuntu","8.11.0-jdk8","8.13.6-ubuntu-jdk8","8.5.11-ubuntu","8.5.4-ubuntu","8.17.1-ubuntu-jdk8","8.6.1-jdk8","8.5.18-jdk8","8.13.6-ubuntu","8.5.11-ubuntu-jdk8","8.9.0-ubuntu-jdk8","8.5.4-ubuntu-jdk8","8.12.3-jdk8","8.17-jdk8","8.5-ubuntu-jdk8","8.11.0-ubuntu-jdk8","8.9.0-jdk8","8.12-jdk8","8.5-jdk8","8.9.0-ubuntu","8.12-ubuntu-jdk8","8.6.1-ubuntu","8.17-ubuntu-jdk8","8.12.3-ubuntu-jdk8","8.6.1-ubuntu-jdk8","8.5-ubuntu","8.13.7-jdk8","8.13.2-ubuntu-jdk8","8.5.5-jdk8","8.6-ubuntu","8.13.7-ubuntu-jdk8","8.11-jdk8","8.13.2-ubuntu","8.5.5-ubuntu-jdk8","8.6-jdk8","8.12-ubuntu","8.5.12-ubuntu-jdk8","8.11-ubuntu-jdk8","8.5.18-ubuntu","8.13.7-ubuntu","8.5.5-ubuntu","8.6-ubuntu-jdk8","8.5.12-ubuntu","8.13.2-jdk8","8.5.12-jdk8","8.11.1-jdk8","8.9-ubuntu-jdk8","8.11-ubuntu","8.9.1-jdk8","8.11.1-ubuntu","8.9.1-ubuntu-jdk8","8.11.1-ubuntu-jdk8","8.9-jdk8","8.13.3-ubuntu","8.13.8-ubuntu-jdk8","8.5.6-jdk8","8.9-ubuntu","8.5.0-jdk8","8.5.13-jdk8","8.5.0-ubuntu-jdk8","8.13.3-jdk8","8.5.6-ubuntu-jdk8","8.13.8-ubuntu","8.5.13-ubuntu","8.9.1-ubuntu","8.5.0-ubuntu","8.13.3-ubuntu-jdk8","8.5.6-ubuntu","8.13.8-jdk8","8.5.13-ubuntu-jdk8","8.18.0-jdk8","8.13.0-jdk8","8.5.7-jdk8","8.5.2-jdk8","8.13.9-ubuntu-jdk8","8.7.0-ubuntu","8.5.14-ubuntu","8.18.0-ubuntu","8.5.1-ubuntu-jdk8","8.5.7-ubuntu","8.5.2-ubuntu-jdk8","8.13.4-ubuntu-jdk8","8.13.0-ubuntu-jdk8","8.7.0-jdk8","8.18.0-ubuntu-jdk8","8.5.2-ubuntu","8.13.4-jdk8","8.13.0-ubuntu","8.13.9-jdk8","8.5.1-ubuntu","8.5.14-jdk8","8.5.7-ubuntu-jdk8","8.13.4-ubuntu","8.13.9-ubuntu","8.5.1-jdk8","8.5.14-ubuntu-jdk8","8.7.0-ubuntu-jdk8","8.13.10-ubuntu","8.3.5-jdk8","8.3.5","8.3.5-ubuntu-jdk8","8.3-ubuntu","8.3-jdk8","8.3","8.3.5-ubuntu","7.13.13-ubuntu","8.3-ubuntu-jdk8","7.13.13-jdk8","7.13.4-ubuntu-jdk8","7.13.13-ubuntu-jdk8","7.13.4","7.13.13","7.13.4-ubuntu","7.13.4-jdk8","8.2.4","8.2.4-ubuntu-jdk8","8.2.4-ubuntu","8.1.3-jdk8","7.13.14-ubuntu-jdk8","8.2.4-jdk8","7.13.14","8.1.3-ubuntu","7.13.5-jdk8","7.13.14-jdk8","8.1-ubuntu","7.13.5-ubuntu-jdk8","7.13.14-ubuntu","8.4.0","7.13.5-ubuntu","8.4.0-jdk8","8.2.5-ubuntu","7.13.5","8.4.0-ubuntu-jdk8","8.2.5","8.4.0-ubuntu","8.2.5-ubuntu-jdk8","8.2.5-jdk8","7.13.15","7.13.15-jdk8","7.13.6-ubuntu","7.13.15-ubuntu","7.13.6-ubuntu-jdk8","7.13.15-ubuntu-jdk8","8.4.1-ubuntu-jdk8","7.13.6","8.4.1-ubuntu","8.2","7.13.6-jdk8","8.4.1-jdk8","8.2-jdk8","8.4.1","8.2-ubuntu-jdk8","8.2-ubuntu","7.13.16-ubuntu-jdk8","8.2.6-ubuntu","7.13.16-jdk8","8.2.6-jdk8","7.13.8-ubuntu","7.13.16","8.2.6-ubuntu-jdk8","7.13.16-ubuntu","8.4.2","7.13.8-jdk8","8.2.6","8.4.2-jdk8","7.13.8-ubuntu-jdk8","8.4.2-ubuntu","7.13.8","8.4.2-ubuntu-jdk8","7.13.17-ubuntu-jdk8","8.4.1-ubuntu-jdk11","8.2.2-ubuntu-jdk11","7.13.17-ubuntu","8.4.1-jdk11","8.3.1-ubuntu-jdk11","8.2.2-jdk11","7.13.17","7.13.9-ubuntu","8.3.1-jdk11","7.13.17-jdk8","8.4.3-ubuntu","7.13.9","8.4.3-jdk8","7.13.9-ubuntu-jdk8","8.4.3","7.13.9-jdk8","8.2.3-jdk11","8.4.2-ubuntu-jdk11","8.4-jdk8","8.2.3-ubuntu-jdk11","8.3.2-ubuntu-jdk11","7.13-jdk8","8.4.3-ubuntu-jdk8","8.4.2-jdk11","8.3.2-jdk11","7.13-ubuntu-jdk8","8.4-ubuntu-jdk8","8.3.0-ubuntu-jdk8","7-jdk8","8.4-ubuntu","8.0.0-jdk8","8.3.0","7.13.18","8.4","8.0.0-ubuntu","8.3.0-ubuntu","7.13","8.2.4-ubuntu-jdk11","8.0.0-ubuntu-jdk8","8.4-jdk11","8.3.0-jdk8","7.13-ubuntu","8.2.4-jdk11","8.3.3-ubuntu-jdk11","8.0.0","8.4.3-jdk11","7-ubuntu","8.3.3-jdk11","8.4-ubuntu-jdk11","7","7-ubuntu-jdk8","8.4.3-ubuntu-jdk11","7.13.18-jdk8","8.3.1-jdk8","8.0.2","8.2.5-jdk11","7.13.18-ubuntu-jdk8","8.3.1","8.2.0","8.0.2-ubuntu","8.3.4-ubuntu-jdk11","8.2.5-ubuntu-jdk11","8.3.1-ubuntu-jdk8","7.13.18-ubuntu","8.2.0-ubuntu-jdk8","8.0.2-jdk8","8.3.4-jdk11","8.3.1-ubuntu","8.2.0-ubuntu","8.0.2-ubuntu-jdk8","8.2.0-jdk8","8.2-ubuntu-jdk11","8.3-jdk11","8.2.6-jdk11","8.3.2-ubuntu-jdk8","8.0-jdk8","8.3.5-jdk11","8.2.1","8.3.2","8.2-jdk11","8.0.3-jdk8","8.3.5-ubuntu-jdk11","8.2.1-ubuntu-jdk8","8.3.2-jdk8","8.2.6-ubuntu-jdk11","8.0-ubuntu","8.3-ubuntu-jdk11","8.2.1-ubuntu","8.3.2-ubuntu","8.0","8.2.1-jdk8","8.0.3","8.0.3-ubuntu","8.0-ubuntu-jdk8","7.13.2-jdk8","8.0.3-ubuntu-jdk8","8.3.3-jdk8","7.13.2-ubuntu-jdk8","8.2.2-ubuntu","8.3.3-ubuntu","7.13.2","8.2.2-ubuntu-jdk8","8.3.3","7.13.2-ubuntu","8.2.2-jdk8","8.2.0-ubuntu-jdk11","8.3.3-ubuntu-jdk8","8.2.2","8.2.0-jdk11","7.13.3-ubuntu","8.3.0-ubuntu-jdk11","7.13.3-ubuntu-jdk8","8.3.4-ubuntu-jdk8","8.2.3-ubuntu-jdk8","8.4.0-ubuntu-jdk11","8.2.1-ubuntu-jdk11","7.13.3-jdk8","8.3.0-jdk11","8.3.4-jdk8","8.2.3","8.4.0-jdk11","8.2.1-jdk11","7.13.3","8.3.4-ubuntu","8.2.3-jdk8","8.3.4","8.2.3-ubuntu","8.19.0-RC01-ubuntu-jdk8","8.19.0-RC01-jdk8","8.19.0-RC01-ubuntu","7.13.0-ubuntu-jdk8","7.13.0","7.13.0-ubuntu","7.13.0-jdk8","7.13.1-ubuntu-jdk8","7.13.1-jdk8","7.13.1-ubuntu","7.13.1","7.13.11-ubuntu","7.13.11","8.1.0-jdk8","8.1.0","7.13.11-ubuntu-jdk8","8.1.0-ubuntu-jdk8","7.13.11-jdk8","8.1.0-ubuntu","7.13.12-ubuntu","8.1.1-ubuntu","7.13.12","8.1.1-jdk8","7.13.12-jdk8","8.1.1","7.13.12-ubuntu-jdk8","8.1.1-ubuntu-jdk8","8.1.2-ubuntu-jdk8","8.1.2-ubuntu","8.1.2","8.1.2-jdk8","8.1.3-ubuntu-jdk8","8.1","8.1.3","8.1-jdk8","8.1-ubuntu-jdk8","eap-ubuntu","8.19.0-EAP02-ubuntu","eap-ubuntu-jdk8","8.19.0-EAP02-ubuntu-jdk8","eap-jdk8","8.19.0-EAP02-jdk8","8.19.0-EAP01-ubuntu","8.19.0-EAP01-jdk8","8.19.0-EAP01-ubuntu-jdk8","8.19.0-EAP01-ubuntu-jdk11","8.18.0-ssmith-perm-build-1","8.18.0-RC01-ubuntu","8.18.0-RC01-ubuntu-jdk8","8.18.0-RC01-jdk8","8.18.0-EAP02-ubuntu-jdk8","8.18.0-EAP02-jdk8","8.18.0-EAP02-ubuntu","8.18.0-EAP02-ubuntu-jdk11","8.18.0-EAP01-ubuntu","8.18.0-EAP01-jdk8","8.18.0-EAP01-ubuntu-jdk8","8.17.0-RC02-jdk8","8.17.0-RC02-ubuntu","8.17.0-RC02-ubuntu-jdk8","8.17.0-RC01-jdk8","8.17.0-RC01-ubuntu-jdk8","8.17.0-RC01-ubuntu","8.17.0-EAP02-ubuntu","8.17.0-EAP02-jdk8","8.17.0-EAP02-ubuntu-jdk8","8.17.0-EAP01-ubuntu","8.17.0-EAP01-ubuntu-jdk8","8.17.0-EAP01-jdk8","8.16.0-EAP02-ubuntu-jdk8","8.16.0-EAP02-jdk8","8.16.0-EAP02-ubuntu","8.16.0-EAP02","8.16.0-EAP02-jdk11","8.16.0-EAP02-ubuntu-jdk11","8.16.0-RC01-ubuntu-jdk11","8.16.0-RC01-jdk11","8.16.0-EAP03","8.16.0-EAP03-ubuntu-jdk11","8.16.0-EAP03-ubuntu-jdk8","8.16.0-EAP03-jdk11","8.16.0-EAP03-jdk8","8.16.0-EAP03-ubuntu","8.16.0-RC01-ubuntu-jdk8","8.16.0-RC01-ubuntu","8.16.0-RC01","8.16.0-RC01-jdk8","8.16.0-RC02-ubuntu-jdk11","8.16.0-RC02-jdk11","8.16.0-RC02","8.16.0-RC02-ubuntu","8.16.0-RC02-ubuntu-jdk8","8.16.0-RC02-jdk8","8.16.0-EAP01","8.16.0-EAP01-jdk8","8.16.0-EAP01-ubuntu","8.16.0-EAP01-ubuntu-jdk11","8.16.0-EAP01-jdk11","8.15.0-RC01","8.15.0-RC01-jdk8","8.15.0-RC01-ubuntu-jdk11","8.15.0-RC01-ubuntu","8.15.0-RC01-jdk11","8.15.0-EAP03-jdk11","8.15.0-EAP03-ubuntu-jdk11","8.15.0-EAP03-jdk8","8.15.0-EAP03","8.15.0-EAP03-ubuntu","8.15.0-EAP02-ubuntu","8.15.0-EAP02","8.15.0-EAP02-jdk8","8.15.0-EAP02-ubuntu-jdk11","8.15.0-EAP02-jdk11","8.15.0-EAP01-ubuntu-jdk11","8.15.0-EAP01-jdk11","8.15.0-EAP01","8.15.0-EAP01-ubuntu","8.15.0-EAP01-jdk8","8.14.0-RC01-jdk11","8.14.0-RC01-ubuntu-jdk11","8.14.0-RC01","8.14.0-RC01-ubuntu","8.14.0-RC01-jdk8","8.14.0-EAP01-ubuntu","8.14.0-EAP01","8.14.0-EAP01-jdk8","8.14.0-EAP01-ubuntu-jdk11","8.14.0-EAP01-jdk11","8.13.0-RC01","8.13.0-RC01-jdk11","8.13.0-RC01-ubuntu","8.13.0-RC01-ubuntu-jdk11","8.13.0-RC01-jdk8","8.13.0-EAP03-jdk8","8.13.0-EAP03","8.13.0-EAP03-ubuntu","8.13.0-EAP03-ubuntu-jdk11","8.13.0-EAP03-jdk11","8.13.0-EAP02","8.13.0-EAP02-ubuntu","8.13.0-EAP02-jdk8","8.13.0-EAP02-jdk11","8.13.0-EAP02-ubuntu-jdk11","8.12.0-RC02-jdk11","8.12.0-RC02-ubuntu-jdk11","8.12.0-RC02-jdk8","8.12.0-RC02-ubuntu","8.12.0-RC02","8.13.0-EAP01-jdk11","8.13.0-EAP01-ubuntu-jdk11","8.12.0-RC01-jdk11","8.12.0-RC01-ubuntu-jdk11","8.13.0-EAP01-jdk8","8.13.0-EAP01-ubuntu","8.13.0-EAP01","8.12.0-RC01-jdk8","8.12.0-RC01-ubuntu","8.12.0-RC01","8.12.0-EAP02-ubuntu-jdk11","8.12.0-EAP02-jdk11","8.12.0-EAP02","8.12.0-EAP02-ubuntu","8.12.0-EAP02-jdk8","8.12.0-EAP01-jdk11","8.12.0-EAP01-ubuntu-jdk11","8.12.0-EAP01","8.12.0-EAP01-jdk8","8.12.0-EAP01-ubuntu","8.5.6-RC02-jdk8","8.5.6-RC02-ubuntu","8.5.6-RC02","8.5.6-RC02-ubuntu-jdk11","8.5.6-RC02-jdk11","8.11.0-RC01","8.11.0-RC01-jdk8","8.11.0-RC01-ubuntu","8.11.0-RC01-jdk11","8.11.0-RC01-ubuntu-jdk11","8.11.0-EAP01-ubuntu-jdk11","8.11.0-EAP01-jdk11","8.11.0-EAP01-jdk8","8.11.0-EAP01-ubuntu","8.11.0-EAP01","8.10.0-RC01-ubuntu","8.10.0-RC01","8.10.0-RC01-jdk8","8.10.0-RC01-jdk11","8.10.0-RC01-ubuntu-jdk11","7.13.14-RC01","7.13.14-RC01-ubuntu","7.13.14-RC01-jdk8","8.10.0-EAP02-jdk8","8.10.0-EAP02","8.10.0-EAP02-ubuntu","8.10.0-EAP01-jdk8","8.10.0-EAP01","8.10.0-EAP01-ubuntu","8.10.0-EAP01-ubuntu-jdk11","7.13.15-RC01-ubuntu","8.10.0-EAP01-jdk11","7.13.15-RC01","7.13.15-RC01-jdk8","8.10.0-EAP02-ubuntu-jdk11","8.10.0-EAP02-jdk11","8.5.6-RC01-jdk11","8.5.6-RC01-ubuntu-jdk11","8.5.6-RC01","8.5.6-RC01-ubuntu","8.5.6-RC01-jdk8","8.5.5-RC01-jdk11","8.5.5-RC01-ubuntu-jdk11","8.5.5-RC01","8.5.5-RC01-jdk8","8.5.5-RC01-ubuntu","8.9.0-RC01-ubuntu","8.9.0-RC01-jdk8","8.9.0-RC01","8.9.0-RC01-jdk11","8.9.0-RC01-ubuntu-jdk11","8.9.0-EAP02-jdk11","8.9.0-EAP02-ubuntu-jdk11","8.9.0-EAP02-jdk8","8.9.0-EAP02-ubuntu","8.9.0-EAP02","8.9.0-EAP01-ubuntu-jdk11","8.9.0-EAP01-jdk11","8.9.0-EAP01-ubuntu","8.9.0-EAP01","8.9.0-EAP01-jdk8","8.8.0-RC02-ubuntu-jdk11","8.8.0-RC02-jdk11","8.8.0-RC02-jdk8","8.8.0-RC02-ubuntu","8.8.0-RC02"];const L="AAACBA0ODAoPeNp9kl1v2jAUhu/zK460OyQHSLuVIkUaTbwNVBKUhEnbugsTDuA2sSPbgbFfPxOC1i+4yEXO5+vnPR+yGiGSW/CuoXc7vBoMvT4ENAOv5/WctUIUG1lVqNx7nqPQSJfccCl8GmU0mSXjlDpRXS5Qxau5RqV90ncCKQzLTcRK9Eu944Ip/cQ/M1MwrTkTbi5LZ1arfMM0hsyg7/X6A9LvE89z2j3ZvsJmQBBPpzQJxqP7U4r+qbjaN32zG+/baR2dMl6c35ei2qIah/4dvaHkOvzpkU/x5IZ8vbodOI9cMbdSclnnxj38EC1XZscUunYy36JvVI3OxGZmbZXdzwIU5lVJWi90rnjVQGoi70B873GNhPOQO51OFGfkS5yQWRKH8yAbxxGZp9Qm/EChpbGExR7MBqGdAlTkcokK7MMeMTfwa2NM9TDsdtfSfQGnWxw7CB47frsQShDSwJJro/iiNmgncw1GQl5rI0trtetY4sKgYCJ/Y4qVFSR0lNGQ3P04aDxrTKvWOjMXT0LuxCU33txaSiPffuRjr3fsO/mC6og/VmsmuGYN0Ij93TFYcVXunQaaDb4+wJbFd7vg0OI5If53NENtoK2AlVQwGScjSFt5lrjdWymu8WEIgSwtppyzAsLgxRk8P5hG9PMA3bKiPspdsULjJRwX7ukf5/NX7TAtAhUAhQSHz9DgycOX7wcwERMJb3TLGb4CFGkB/xUWSRK3BZLrPF9Rn6ZmrUqJX02oc",q="AAACzg0ODAoPeNp9VO9v2jAQ/Z6/wtK+IYWGsEKHFGmQmJau/GgIm9iYJhMOYprYke1A4a+fSchGKtqPPvvevXv3zp/6gqLHLEb2HbKsTvNzp9lC98MA2ZbdNKYgdiAGntPDQ2z688HcdH/aM7P5o2kZTzQEJiE4pDAiCTgBngaD0b0RCr5f1S9uHfcUWXSQBzuIeQrCCDlb10mo6A4cJTLQSVlIlzFUggpI8ickMbAVEbI+ypIliPG6R5Il5z4kXEF3A0xJp1Gywa8pFQePKHAmDdt6+A9cJVQEK5yWmhMV8HGZLRWkwrF8PZMgpGPfGh7IUNBUUc6cAKRCcVEYrblAaZxtKEOrsqj8V/US85zxXd+fUGwD70ickRwyf7ARACziqUYo+8Irmt/jUYD9iT+YYmNIKFPACAuvyHIaQEUSHYgz0G8rorgC8rp5qvaEZVp3pt0u8sve3TiTCsSIr0A6llGr1VwfdwPsmb25PjjbVwq2EcZcm6nS6DKX+I3iT1yP/Cy42TBe4FAK0WhZVtu6azYbZeZlB0U2wrpnkQoqq40Uyst67RqB9zU8k64olYeqKnGmNCzWiseOUoKwhLLoK1ExkZISVg95cr3ZN/YqdueSYW649/mdrfJAZOQM3b3b96DRuhVk3261kkFvexwe41UQtJN12u5Gz6GcPT7Pn71H70t69CPcbx/a9rcj3rDuwlk4xprKCA5VN+oJjsaB2R/75sQfezM3GIxH5myKT6PN/QErtDwgFQE6E9VDCLUZtN8F30Ko0K9IqXTRubnZ8HpFlZtzAyYUGb/ryOOIcYVWVCpBl5kCjUwlUhyF2mY80WaoXxdzEhOWe2YsNoRRWWxMt6xX/hH6P5uxF8b3rLJIlz1LpQW95pQPvqfLq0kmwohIeLs2l9PMzfQ48LvvWTbfMY1AXDg9KJDLCV2C9HUMH+CaJfOfudi/v0kIGVswLAIUEMQ9X77gqGBdfH0HIzBaV8NadPUCFBn+RiUA4D+IqVQpTTouLVY66aCGX02121",toAbsolutePath=u=>{const[,t]=process.argv,d=n(t),j=d.substring(0,d.indexOf("dcdx")+4);return k(j,u.replaceAll("../",""))};var I;!function(u){u.JIRA="jira",u.CONFLUENCE="confluence",u.BITBUCKET="bitbucket",u.BAMBOO="bamboo"}(I||(I={}));const U={name:"shared",driver:"bridge"};let N=class Base extends r{options;sequelize=null;constructor(u){super(),this.options=u}async run(u,t){try{if(!this.sequelize)throw new Error("Database connection does not exist");await this.sequelize.query(u,{logging:t})}catch(t){console.error("An error occurred while trying to run the following SQL query:",u,t),d()}return null}async start(u=this.options.clean){console.log(`Starting instance of ${this.name} ⏳`),u&&await this.down(),await this.up(),this.emit(`${this.name}:up`);if(await this.waitUntilReady()){if(console.log(`Database is ready and accepting connections on localhost:${this.options.port} 🗄️`),await this.onDatabaseReady(),this.emit("db:ready"),this.options.logging){const u=await this.getServiceState();u&&await this.showDockerLogs(u.name)}}else console.log(`Failed to start database ${this.name} ⛔`),d(0)}async stop(u=this.options.prune){if(u)await this.down();else{const u=P(this.getDockerComposeConfig());await e({cwd:p(),configAsString:u,log:!0})}this.emit("db:stopped")}async onDatabaseReady(){}getDockerComposeConfig(){return{version:"3.8",services:{db:this.getService()},networks:{shared:U}}}async up(){const u=P(this.getDockerComposeConfig());return h({cwd:p(),configAsString:u,log:!0})}async down(){const u=P(this.getDockerComposeConfig());return s({cwd:p(),configAsString:u,commandOptions:["-v","--remove-orphans","--rmi","local"],log:!0})}async waitUntilReady(){try{const u="mssql"===this.name?"master":this.options.database;return this.sequelize=new m(u,this.options.username,this.options.password,{host:"localhost",port:this.options.port,dialect:this.name.replace("postgresql","postgres"),retry:{max:30,match:[R,g,w,S,v],backoffBase:1e3,backoffExponent:1},logging:!1}),this.sequelize.authenticate().then((()=>!0)).catch((u=>(console.log(u),!1)))}catch(u){return!1}}async getServiceState(){const u=P(this.getDockerComposeConfig());return(await i({configAsString:u,log:!1,commandOptions:["--all"]})).data.services.find((u=>u.name.includes(this.name)))}async showDockerLogs(u){return new Promise(((t,d)=>{b("docker",["logs","-f","-n","5000",u],{cwd:p(),stdio:"inherit"}).on("exit",(u=>0===u?t():d(new Error(`Docker exited with code ${u}`))))}))}};const $={port:1433,database:"dcdx",username:"sa",password:"DataCenterDX!",edition:"Developer",version:"2022"};class MSSQL extends N{name="mssql";driver="com.microsoft.sqlserver.jdbc.SQLServerDriver";options=$;version="2022";get url(){return`jdbc:sqlserver://db:${this.options.port};databaseName=${this.options.database};trustServerCertificate=true`}constructor(u=$){super({...$,...u})}async onDatabaseReady(){await this.run(`CREATE DATABASE ${this.options.database}`),await this.run(`ALTER DATABASE ${this.options.database} COLLATE SQL_Latin1_General_CP1_CS_AS`),await this.run(`ALTER DATABASE ${this.options.database} SET READ_COMMITTED_SNAPSHOT ON WITH ROLLBACK IMMEDIATE;`)}getService=()=>({image:`mcr.microsoft.com/mssql/server:${this.version}-latest`,ports:[`${this.options.port||1433}:1433`],environment:{ACCEPT_EULA:"y",MSSQL_SA_PASSWORD:this.options.password||"dcdx",MSSQL_PID:this.options.edition},networks:{shared:{aliases:["db","database"]}}})}const _={port:3306,database:"dcdx",username:"dcdx",password:"dcdx",version:"8.0"};class MySQL extends N{name="mysql";driver="com.mysql.jdbc.Driver";options=_;version="8.0";get url(){return`jdbc:mysql://db:${this.options.port}/${this.options.database}?sessionVariables=transaction_isolation='READ-COMMITTED'`}constructor(u=_){super({..._,...u})}async onDatabaseReady(){await this.run(`ALTER DATABASE ${this.options.database} CHARACTER SET 'utf8mb4' COLLATE utf8mb4_bin`)}getService=()=>({image:`mysql:${this.version}`,ports:[`${this.options.port||3306}:3306`],environment:{MYSQL_ROOT_PASSWORD:this.options.password||"dcdx",MYSQL_USER:this.options.username||"dcdx",MYSQL_PASSWORD:this.options.password||"dcdx",MYSQL_DATABASE:this.options.database||"dcdx"},command:["--log_bin_trust_function_creators=1"],networks:{shared:{aliases:["db","database"]}}})}const Q={version:"15",database:"dcdx",port:5432,username:"dcdx",password:"dcdx"};class Postgres extends N{name="postgresql";driver="org.postgresql.Driver";options=Q;version="15";get url(){return`jdbc:postgresql://db:${this.options.port}/${this.options.database}`}constructor(u=Q){super({...Q,...u})}getService=()=>({image:`postgres:${this.version}`,ports:[`${this.options.port||5432}:5432`],environment:{POSTGRES_USER:this.options.username||"dcdx",POSTGRES_PASSWORD:this.options.password||"dcdx",POSTGRES_DB:this.options.database||"dcdx",POSTGRES_HOST_AUTH_METHOD:"md5",POSTGRES_INITDB_ARGS:"--encoding=UTF-8 --lc-collate=C --lc-ctype=C"},networks:{shared:{aliases:["db","database"]}}})}const G=k(E(),".dcdx");class Base extends r{options;constructor(u){super(),this.options=u}get baseUrl(){let u="http://localhost";return this.options.port&&(u+=`:${this.options.port}`),this.options.contextPath?`${u}/${this.options.contextPath}`:u}getDatabaseEngine(u){switch(u){case"postgresql":return new Postgres;case"mssql":return new MSSQL;case"mysql":return new MySQL}}async start(){this.options.clean&&await this.down(),await this.build(this.options.version),await this.database.start(this.options.clean),await this.up()}async stop(){if(await this.database.stop(this.options.prune),this.options.prune)await this.down();else{const u=P(this.getDockerComposeConfig());await e({cwd:p(),configAsString:u,log:!0})}this.emit(`${this.name}:stopped`)}async reset(){await this.database.stop(!0),await this.down()}async cp(u){const t=await this.getServiceState();if(t&&t.state.toLowerCase().startsWith("up")){const t=this.getDockerComposeConfig(),d=P(t);await a("cp",[u,`${this.name}:/opt/quickreload/`],{cwd:p(),configAsString:d,log:!1})}}getJVMArgs(){const u=[];return u.push("-Dupm.plugin.upload.enabled=true"),this.options.devMode&&(u.push("-Djira.dev.mode=true"),u.push("-Datlassian.dev.mode=true")),this.options.quickReload&&u.push("-Dquickreload.dirs=/opt/quickreload"),u}async isApplicationReady(){try{const u=await j.get(`${this.baseUrl}/status`,{validateStatus:()=>!0}).catch((()=>null));if(u&&200===u.status){const{data:t}=u;if("FIRST_RUN"===t.state||"RUNNING"===t.state)return console.log(`The application ${this.name} is ready on ${this.baseUrl} 🎉`),!0}return!1}catch(u){return!1}}getDockerComposeConfig(){return{version:"3.8",services:{[this.name]:this.getService()},networks:{shared:U}}}async up(){const u=this.getDockerComposeConfig(),t=P(u);await o({cwd:p(),configAsString:t,log:!0}),this.emit(`${this.name}:up`);await this.waitUntilReady()?(this.emit(`${this.name}:ready`),await this.tailApplicationLogs()):console.log(`Failed to start ${this.name} ⛔`),d(0)}async down(){const u=P(this.getDockerComposeConfig());await s({cwd:p(),configAsString:u,commandOptions:["-v","--remove-orphans","--rmi","local"],log:!0})}async getServiceState(){const u=P(this.getDockerComposeConfig());return(await i({configAsString:u,log:!1,commandOptions:["--all"]})).data.services.find((u=>u.name.includes(this.name)))}async waitUntilReady(u=0){console.log(`Waiting for ${this.name} to become available... ${u}s`);const t=await this.getServiceState();return!!(t&&t.state.toLowerCase().startsWith("up")&&await this.isApplicationReady())||(u>=300?(console.error(`A timeout occurred while waiting for ${this.name} to become available ⛔`),t&&await this.showDockerLogs(t.name),!1):(await new Promise((u=>setTimeout(u,1e3))),this.waitUntilReady(u+1)))}getDockerRepositoryUrl(){return`https://bitbucket.org/atlassian-docker/docker-${"jira"===this.name?"atlassian-jira":"bamboo"===this.name?`${this.name}-server`:`atlassian-${this.name}-server`}.git`}async build(u){const t=this.getDockerRepositoryUrl(),d=k(G,this.name,"source");c(d)?await C({baseDir:d}).pull({"--recurse-submodule":null}):(A(k(G,this.name),{recursive:!0}),await C().clone(t,d,{"--recurse-submodule":null})),await new Promise(((t,n)=>{b("docker",["build","-t",`dcdx/${this.name}:${u}`,"--build-arg",`${this.name.toUpperCase()}_VERSION=${u}`,"."],{cwd:d,stdio:"inherit"}).on("exit",(u=>0===u?t():n(new Error(`Docker exited with code ${u}`))))}))}async tailApplicationLogs(){const u=await this.getServiceState();u&&u.state.toLowerCase().startsWith("up")&&await this.showApplicationLogs(u.name).catch((()=>null))}async showDockerLogs(u){return new Promise(((t,d)=>{b("docker",["logs","-f","-n","5000",u],{cwd:p(),stdio:"inherit"}).on("exit",(u=>0===u?t():d(new Error(`Docker exited with code ${u}`))))}))}async showApplicationLogs(u){return new Promise(((t,d)=>{b("docker",["exec","-i",u,"tail","-F","-n","5000",this.logFilePath],{cwd:p(),stdio:"inherit"}).on("exit",(u=>0===u?t():d(new Error(`Docker exited with code ${u}`))))}))}}class Jira extends Base{name=I.JIRA;database;logFilePath="/var/atlassian/application-data/jira/log/atlassian-jira.log";constructor(u){super(u),this.database=this.getDatabaseEngine(u.database)}getService(){const u=this.getVolumes(),t=this.getEnvironmentVariables();return{build:{context:toAbsolutePath("../../assets"),dockerfile_inline:`\nFROM dcdx/${this.name}:${this.options.version}\nCOPY ./jira-data-generator-5.0.0.jar /var/atlassian/application-data/jira/plugins/installed-plugins/jira-data-generator-5.0.0.jar\nCOPY ./mysql-connector-j-8.3.0.jar /opt/atlassian/jira/lib/mysql-connector-j-8.3.0.jar\nCOPY ./quickreload-5.0.2.jar /var/atlassian/application-data/jira/plugins/installed-plugins/quickreload-5.0.2.jar\nRUN echo "/opt/quickreload" > /var/atlassian/application-data/jira/quickreload.properties; mkdir -p /opt/quickreload; chown -R jira:jira /opt/quickreload;\n\nRUN chown -R jira:jira /var/atlassian/application-data/jira`},ports:[`${this.options.port||80}:8080`,...this.options.debug?["5005:5005"]:[]],environment:Object.keys(t).length>0?t:void 0,volumes:u.length>0?u:void 0,networks:["shared"]}}getJVMArgs(){const u=super.getJVMArgs();return this.options.debug&&(u.push("-Xdebug"),u.push("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005")),u}getEnvironmentVariables(){const u="postgresql"===this.database.name?"postgres72":this.database.name;return{...this.options.contextPath?{ATL_TOMCAT_CONTEXTPATH:this.options.contextPath}:"",JVM_SUPPORT_RECOMMENDED_ARGS:this.getJVMArgs().join(" "),ATL_LICENSE_KEY:this.options.license||q,ATL_JDBC_URL:this.database.url,ATL_JDBC_USER:this.database.options.username,ATL_JDBC_PASSWORD:this.database.options.password,ATL_DB_DRIVER:this.database.driver,ATL_DB_TYPE:u,JIRA_SETUP_LICENSE:this.options.license||L}}getVolumes(){return[...this.options.quickReload?[`${this.options.quickReload}:/opt/quickreload`]:""]}}const{P:B,activeProfiles:V}=M(T(process.argv)).parseSync(),J=B||V||void 0;class AMPS{static maven;static stop(){AMPS.maven&&AMPS.maven.kill(0)}static async build(u){return new Promise(((t,d)=>{if(AMPS.maven){AMPS.maven.kill(0)||d(new Error("Failed to terminate existing Maven process"))}AMPS.maven=b("mvn",["package",...u],{cwd:p(),stdio:"inherit"}),AMPS.maven.on("exit",(u=>{AMPS.maven=null,0===u||130===u?t():d(new Error(`Maven exited with code ${u}`))}))}))}static isAtlassianPlugin=()=>{try{return AMPS.getNodes("//*[local-name()='packaging']").some((u=>"atlassian-plugin"===u.textContent))}catch(u){return!1}};static getApplicationVersion(){const u=J?AMPS.getNodes(`//*[local-name()='profile']/*[local-name()='id' and text()='${J}']/..//*[local-name()='groupId' and text()='com.atlassian.maven.plugins']`,!0):AMPS.getNodes("//*[local-name()='groupId' and text()='com.atlassian.maven.plugins']",!0);if(u){const t=u.parentNode;if(t){const{plugin:u}=AMPS.toObject(t),d=u?.configuration?.productVersion;return d?this.doPropertyReplacement(d):void 0}}}static getApplication(){const u=AMPS.getApplications();if(1===u.length)return u[0];if(J){const u=AMPS.getApplications(J);if(1===u.length)return u[0]}return null}static getApplications(u){const t=new Set;return(u?AMPS.getNodes(`//*[local-name()='profile']/*[local-name()='id' and text()='${u}']/..//*[local-name()='groupId' and text()='com.atlassian.maven.plugins']`):AMPS.getNodes("//*[local-name()='groupId' and text()='com.atlassian.maven.plugins']")).forEach((u=>{const d=u.parentNode;if(d){const{plugin:u}=AMPS.toObject(d);u?.artifactId?.includes(I.JIRA)?t.add(I.JIRA):u?.artifactId?.includes(I.CONFLUENCE)?t.add(I.CONFLUENCE):u?.artifactId?.includes(I.BAMBOO)?t.add(I.BAMBOO):u?.artifactId?.includes(I.BITBUCKET)&&t.add(I.BITBUCKET)}})),Array.from(t)}static doPropertyReplacement(u){let t=u;const d=J?AMPS.getProperties(J):{};Object.entries(d).forEach((([u,d])=>{t=t.replaceAll(`\${${u}}`,d)}));const n=AMPS.getProperties();return Object.entries(n).forEach((([u,d])=>{t=t.replaceAll(`\${${u}}`,d)})),t}static getProperties(u){const t={};return(u?AMPS.getNodes(`//*[local-name()='profile']/*[local-name()='id' and text()='${u}']/..//*[local-name()='properties']`):AMPS.getNodes("//*[local-name()='properties']")).forEach((u=>{const{properties:d}=AMPS.toObject(u);Object.entries(d).forEach((([u,d])=>t[u]=d))})),t}static getNodes(u,t){if(c("./pom.xml")){const d=l("./pom.xml","utf8"),n=(new f).parseFromString(d,"text/xml"),k=t?D.select(u,n,!0):D.select(u,n,!1);return Array.isArray(k)||t?k:[]}return[]}static toObject(u){try{return(new x).parse((new y).serializeToString(u))}catch(u){return null}}}const z=AMPS.getApplicationVersion()||"latest";(async()=>{const d=u.showHelpAfterError(!0).addOption(new t("-v, --version <version>","The version of the host application").choices(O).default(z)).addOption(new t("-d, --database <name>","The database engine to remove data from").choices(["postgresql","mysql","mssql"]).default("postgresql")).parse(process.argv).opts(),n=new Jira({version:d.version,database:d.database});await n.reset()})(),process.on("SIGINT",(()=>{console.log("Received term signal, trying to stop gracefully 💪"),d()}));
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{program as t,Option as e}from"commander";import{gracefulExit as s,asyncExitHook as o}from"exit-hook";import a from"axios";import{dirname as n,join as i}from"path";import{spawn as r}from"child_process";import{stop as u,downAll as d,ps as c,execCompose as p,upAll as l}from"docker-compose/dist/v2.js";import h from"events";import{existsSync as b,mkdirSync as m}from"fs";import{dump as k}from"js-yaml";import{homedir as g}from"os";import{cwd as w}from"process";import j from"simple-git";import{upAll as S}from"docker-compose";import{Sequelize as v,ConnectionError as A,TimeoutError as f,ConnectionTimedOutError as D,ConnectionRefusedError as y,ConnectionAcquireTimeoutError as E}from"sequelize";var T=["latest","9.4-ubuntu","9.4-jdk11","9.4.3-ubuntu","9.4","9.4.3","9.4.3-jdk11","ubuntu","jdk11","9-ubuntu","9-jdk11","9.5-ubuntu","9.5-jdk11","9.5.1-ubuntu","9.5.1-jdk11","9.5.1","9.5","9","9.2-ubuntu","9.2-jdk11","9.2","9.2.11-jdk11","9.2.11-ubuntu","9.2.11","9.3.3-ubuntu","9.3.3-jdk11","9.3.3","9.2.4-ubuntu","9.2.4-jdk11","9.3.2-ubuntu","9.3.2-jdk11","9.0-ubuntu","9.2.4","9.3.2","9.0-jdk11","9.0.4-ubuntu","9.0.4-jdk11","9.0.4","9.0","8.2.6-ubuntu","8.2.6","8.2.6-jdk11","8.1.11-ubuntu","8.1.11-jdk11","8.1.11","8.0.0-jdk11","8.0.0-ubuntu","8.1.8-ubuntu","9.3.4-ubuntu","8.1.8-jdk11","9.3.4-jdk11","8.1.8","8.0.0","8.0.4-ubuntu","9.3.4","8.0.4-jdk11","9.2.5-ubuntu","9.2.5-jdk11","8.0.4","9.2.5","9.1.0-ubuntu","9.1.0-jdk11","9.1.0","8.2.7-ubuntu","8.2.7-jdk11","8.2.7","8.1-ubuntu","8.1-jdk11","8.1.12-ubuntu","8.1.12-jdk11","8.1","8.1.12","8.0.5-ubuntu","8.0.5-jdk11","8.0.1-ubuntu","9.1.1-jdk11","8.1.9-ubuntu","8.0.1-jdk11","8.0.1","8.1.9-jdk11","9.1.1","8.1.9","8.2.8-ubuntu","8.2.8-jdk11","8.0.5","8.2.8","8.1.2-ubuntu","8.1.2-jdk11","8.1.2","8.0.10-ubuntu","9.3.5-ubuntu","8.0.10-jdk11","9.3.5-jdk11","8.0.10","9.3.5","9.2.6-jdk11","9.2.6-ubuntu","9.2.6","9.1.1-ubuntu","8.2.0-ubuntu","8.2.0-jdk11","9.1.2-ubuntu","8.2.0","9.1.2-jdk11","8.0.6-ubuntu","8.0.6-jdk11","9.1.2","8.0.6","8-ubuntu","8-jdk11","8.2-ubuntu","8.2-jdk11","8.2.9-ubuntu","8.2.9-jdk11","8.2.9","8.2","8.1.3-ubuntu","8.1.3-jdk11","8.1.3","8.0.11-jdk11","8.0.11-ubuntu","8.0.11","9.3-ubuntu","8","9.3-jdk11","9.3.6-ubuntu","9.3.6-jdk11","9.3.6","9.3","9.2.7-ubuntu","9.2.7-jdk11","9.2.7","8.2.1-ubuntu","8.2.1-jdk11","8.2.1","8.0.7-ubuntu","9.4.0-jdk11","8.0.7-jdk11","9.2.8-ubuntu","8.0.7","9.2.8-jdk11","9.2.8","9.1-ubuntu","9.1-jdk11","9.1.3-ubuntu","9.1.3-jdk11","9.1.3","9.1","9.0.0-jdk11","9.0.0-ubuntu","9.0.0","8.1.4-ubuntu","8.1.4-jdk11","8.1.4","8.0.8-ubuntu","8.0.8-jdk11","8.0.8","8.0.12-ubuntu","8.0.12","8.0.12-jdk11","8.2.2-ubuntu","8.2.2-jdk11","8.1.5-jdk11","8.2.2","8.1.5-ubuntu","8.1.5","8.0-ubuntu","8.0-jdk11","8.0.13-jdk11","8.0.13-ubuntu","8.0.13","9.4.1-ubuntu","8.0","9.4.1-jdk11","9.4.1","9.2.9-ubuntu","9.2.9","9.2.9-jdk11","9.2.1-ubuntu","9.2.1-jdk11","9.2.1","9.0.1-ubuntu","9.0.1-jdk11","9.0.1","8.2.3-ubuntu","8.2.3-jdk11","8.2.3","9.4.2-jdk11","8.0.9-ubuntu","8.0.9-jdk11","9.0.2-ubuntu","8.0.9","9.0.2-jdk11","9.0.2","8.1.6-ubuntu","8.1.6-jdk11","8.1.6","8.0.2-ubuntu","8.0.2-jdk11","8.0.2","7-ubuntu","7-jdk8","7.2-ubuntu","7.2-jdk8","7.2.7-jdk8","7.2.7-ubuntu","7.2.7","7.2.5-ubuntu","7.2.5-jdk8","7.2.5","7.2.3-ubuntu","7.2.3-jdk8","7.2.3","7.2.10-ubuntu","7.2.10-jdk8","7.2.10","7.2.0-ubuntu","7.2.0-jdk8","7.2.0","7.2","7.1.3-ubuntu","7.1.3-jdk8","7.1.3","7","9.3.0-ubuntu","9.3.0-jdk11","9.3.0","9.2.10-ubuntu","9.2.10-jdk11","9.2.10","8.2.4-ubuntu","8.2.4-jdk11","8.2.4","8.1.1-ubuntu","8.1.1-jdk11","8.1.1","8.1.7-ubuntu","8.1.7-jdk11","8.1.7","8.0.3-ubuntu","8.0.3-jdk11","8.0.3","jdk17","9-jdk17","9.5-jdk17","9.5.0-ubuntu","9.5.0-jdk17","9.5.0-jdk11","9.5.0","9.4-jdk17","9.4.2-ubuntu","9.4.0-ubuntu","9.4.2-jdk17","9.4.2","9.4.0","9.4.0-jdk17","9.3.1-ubuntu","9.3.1-jdk11","9.3.1","9.2.3-ubuntu","9.2.3-jdk11","9.2.3","9.0.3-ubuntu","9.0.3-jdk11","9.0.3","8.2.5-ubuntu","8.2.5-jdk11","8.2.5","8.1.10-ubuntu","8.1.10-jdk11","8.1.10","7.2.9-ubuntu","7.2.9","7.2.9-jdk8","7.2.6-ubuntu","7.2.6-jdk8","7.2.6","7.2.4-ubuntu","7.2.4-jdk8","7.2.4","7.2.2-ubuntu","7.2.2-jdk8","7.2.2","7.2.1-ubuntu","7.2.1-jdk8","7.2.1","7.1-ubuntu","7.1-jdk8","7.1.4-ubuntu","7.1.4-jdk8","7.1.4","7.1.2-ubuntu","7.1.2-jdk8","7.1.2","7.1.1-ubuntu","7.1.1-jdk8","7.1.1","7.1","9.4.1-jdk17","eap-jdk8","9.0.0-rc1-ubuntu","9.0.0-rc1-jdk11","9.0.0-rc1","eap-jdk11","eap-ubuntu","9.0.0-rc1-jdk8","eap","8.0.0-rc4","8.0.0-rc1","7.0.6","7.0","7.1.0-rc1","7.0.4","6.10","6.10.6","7.0.3","6.10.5","7.0.2","7.0.1","7.0.0-rc2","7.0.0-rc1","6.10.4","6.10.3","6.10.2","6.9.2","6.9","6.8.3","6.8","6.9.1","6.8.2","6.9.0","6.9.0-rc1","6.7","6.7.3","6.8.1","6.8.0","6.7.2","6.7.1","6.6.3","6.6","6.7.0-rc2","6.6.2","6.6.1","6.6.0"];const R="AAAB3w0ODAoPeNp9Ultr2zAYffevEOwtoMR10qYLGJbYWsno7GA7g90eZPlrotWWjCSnzX79FF8IYWkfDPJ3Oedwzvch2zdoWSvkzpF7v5jdLrwpCkiaIc/1POeRMxAasmMNEa3Az2xnHT04gQJquBQhNeB77vQGuzPs3jk5rXIpx5QZfgDfqAaGUtRUOaj4adX+PkpGy+UOhNE+vnGG5laDags9L3mtuToOJF5Pkja5ZorXJwEXHG+pJQdaNvS/cYtLAysBVFfu19ehvxXPQr4IJwV1AGULKzIneBb+8PBd/GWOH6Yf751No9ieaujleYMHKYl8++Fb13VGo1EUZ/hznOBNEofbIFvHEd6mxDb81kQoUH5EZg+op0dEMFmAQrWSf4AZ9HNvTP1rMZnsrLGmpFpzKsZMVpOy28DQbfweo1AiIQ0quDaK540Bi8w1MhKxRhtZWXvHTghn+zLQBvU46Ela1rLZcYEKOEApazvvfKXceiSoYG/kcTXhTUlFG+XVbgKVNHA+gF7BN8t3UuU5sdpRwXUXGnmlVV0CCmRVU3G8Evf5MKUw9vqIFV36tX7moNjfo7CPTxfenZIJErLMSIhX309pvDd8SUgK3smKMpJsknVKBtr26t4D+gd3AC5qMCwCFHOaTWfFvLCLJPft3qktVo3FafmZAhRojb9IAxj8KEqPDQy0stos394SQQ==X02mq",toAbsolutePath=t=>{const[,e]=process.argv,s=n(e),o=s.substring(0,s.indexOf("dcdx")+4);return i(o,t.replaceAll("../",""))};var C;!function(t){t.JIRA="jira",t.CONFLUENCE="confluence",t.BITBUCKET="bitbucket",t.BAMBOO="bamboo"}(C||(C={}));const O={name:"shared",driver:"bridge"};let x=class Base extends h{options;sequelize=null;constructor(t){super(),this.options=t}async run(t,e){try{if(!this.sequelize)throw new Error("Database connection does not exist");await this.sequelize.query(t,{logging:e})}catch(e){console.error("An error occurred while trying to run the following SQL query:",t,e),s()}return null}async start(t=this.options.clean){console.log(`Starting instance of ${this.name} ⏳`),t&&await this.down(),await this.up(),this.emit(`${this.name}:up`);if(await this.waitUntilReady()){if(console.log(`Database is ready and accepting connections on localhost:${this.options.port} 🗄️`),await this.onDatabaseReady(),this.emit("db:ready"),this.options.logging){const t=await this.getServiceState();t&&await this.showDockerLogs(t.name)}}else console.log(`Failed to start database ${this.name} ⛔`),s(0)}async stop(t=this.options.prune){if(t)await this.down();else{const t=k(this.getDockerComposeConfig());await u({cwd:w(),configAsString:t,log:!0})}this.emit("db:stopped")}async onDatabaseReady(){}getDockerComposeConfig(){return{version:"3.8",services:{db:this.getService()},networks:{shared:O}}}async up(){const t=k(this.getDockerComposeConfig());return S({cwd:w(),configAsString:t,log:!0})}async down(){const t=k(this.getDockerComposeConfig());return d({cwd:w(),configAsString:t,commandOptions:["-v","--remove-orphans","--rmi","local"],log:!0})}async waitUntilReady(){try{const t="mssql"===this.name?"master":this.options.database;return this.sequelize=new v(t,this.options.username,this.options.password,{host:"localhost",port:this.options.port,dialect:this.name.replace("postgresql","postgres"),retry:{max:30,match:[A,f,D,y,E],backoffBase:1e3,backoffExponent:1},logging:!1}),this.sequelize.authenticate().then((()=>!0)).catch((t=>(console.log(t),!1)))}catch(t){return!1}}async getServiceState(){const t=k(this.getDockerComposeConfig());return(await c({configAsString:t,log:!1,commandOptions:["--all"]})).data.services.find((t=>t.name.includes(this.name)))}async showDockerLogs(t){return new Promise(((e,s)=>{r("docker",["logs","-f","-n","5000",t],{cwd:w(),stdio:"inherit"}).on("exit",(t=>0===t?e():s(new Error(`Docker exited with code ${t}`))))}))}};const L={port:1433,database:"dcdx",username:"sa",password:"DataCenterDX!",edition:"Developer",version:"2022"};class MSSQL extends x{name="mssql";driver="com.microsoft.sqlserver.jdbc.SQLServerDriver";options=L;version="2022";get url(){return`jdbc:sqlserver://db:${this.options.port};databaseName=${this.options.database};trustServerCertificate=true`}constructor(t=L){super({...L,...t})}async onDatabaseReady(){await this.run(`CREATE DATABASE ${this.options.database}`),await this.run(`ALTER DATABASE ${this.options.database} COLLATE SQL_Latin1_General_CP1_CS_AS`),await this.run(`ALTER DATABASE ${this.options.database} SET READ_COMMITTED_SNAPSHOT ON WITH ROLLBACK IMMEDIATE;`)}getService=()=>({image:`mcr.microsoft.com/mssql/server:${this.version}-latest`,ports:[`${this.options.port||1433}:1433`],environment:{ACCEPT_EULA:"y",MSSQL_SA_PASSWORD:this.options.password||"dcdx",MSSQL_PID:this.options.edition},networks:{shared:{aliases:["db","database"]}}})}const q={port:3306,database:"dcdx",username:"dcdx",password:"dcdx",version:"8.0"};class MySQL extends x{name="mysql";driver="com.mysql.jdbc.Driver";options=q;version="8.0";get url(){return`jdbc:mysql://db:${this.options.port}/${this.options.database}?sessionVariables=transaction_isolation='READ-COMMITTED'`}constructor(t=q){super({...q,...t})}async onDatabaseReady(){await this.run(`ALTER DATABASE ${this.options.database} CHARACTER SET 'utf8mb4' COLLATE utf8mb4_bin`)}getService=()=>({image:`mysql:${this.version}`,ports:[`${this.options.port||3306}:3306`],environment:{MYSQL_ROOT_PASSWORD:this.options.password||"dcdx",MYSQL_USER:this.options.username||"dcdx",MYSQL_PASSWORD:this.options.password||"dcdx",MYSQL_DATABASE:this.options.database||"dcdx"},command:["--log_bin_trust_function_creators=1"],networks:{shared:{aliases:["db","database"]}}})}const _={version:"15",database:"dcdx",port:5432,username:"dcdx",password:"dcdx"};class Postgres extends x{name="postgresql";driver="org.postgresql.Driver";options=_;version="15";get url(){return`jdbc:postgresql://db:${this.options.port}/${this.options.database}`}constructor(t=_){super({..._,...t})}getService=()=>({image:`postgres:${this.version}`,ports:[`${this.options.port||5432}:5432`],environment:{POSTGRES_USER:this.options.username||"dcdx",POSTGRES_PASSWORD:this.options.password||"dcdx",POSTGRES_DB:this.options.database||"dcdx",POSTGRES_HOST_AUTH_METHOD:"md5",POSTGRES_INITDB_ARGS:"--encoding=UTF-8 --lc-collate=C --lc-ctype=C"},networks:{shared:{aliases:["db","database"]}}})}const $=i(g(),".dcdx");class Base extends h{options;constructor(t){super(),this.options=t}get baseUrl(){let t="http://localhost";return this.options.port&&(t+=`:${this.options.port}`),this.options.contextPath?`${t}/${this.options.contextPath}`:t}getDatabaseEngine(t){switch(t){case"postgresql":return new Postgres;case"mssql":return new MSSQL;case"mysql":return new MySQL}}async start(){this.options.clean&&await this.down(),await this.build(this.options.version),await this.database.start(this.options.clean),await this.up()}async stop(){if(await this.database.stop(this.options.prune),this.options.prune)await this.down();else{const t=k(this.getDockerComposeConfig());await u({cwd:w(),configAsString:t,log:!0})}this.emit(`${this.name}:stopped`)}async reset(){await this.database.stop(!0),await this.down()}async cp(t){const e=await this.getServiceState();if(e&&e.state.toLowerCase().startsWith("up")){const e=this.getDockerComposeConfig(),s=k(e);await p("cp",[t,`${this.name}:/opt/quickreload/`],{cwd:w(),configAsString:s,log:!1})}}async isApplicationReady(){try{const t=await a.get(`${this.baseUrl}/status`,{validateStatus:()=>!0}).catch((()=>null));if(t&&200===t.status){const{data:e}=t;if("FIRST_RUN"===e.state)return console.log(`The application ${this.name} is ready on ${this.baseUrl} 🎉`),!0}return!1}catch(t){return!1}}getDockerComposeConfig(){return{version:"3.8",services:{[this.name]:this.getService()},networks:{shared:O}}}async up(){const t=this.getDockerComposeConfig(),e=k(t);await l({cwd:w(),configAsString:e,log:!0}),this.emit(`${this.name}:up`);await this.waitUntilReady()?(this.emit(`${this.name}:ready`),await this.tailApplicationLogs()):console.log(`Failed to start ${this.name} ⛔`),s(0)}async down(){const t=k(this.getDockerComposeConfig());await d({cwd:w(),configAsString:t,commandOptions:["-v","--remove-orphans","--rmi","local"],log:!0})}async getServiceState(){const t=k(this.getDockerComposeConfig());return(await c({configAsString:t,log:!1,commandOptions:["--all"]})).data.services.find((t=>t.name.includes(this.name)))}async waitUntilReady(t=0){console.log(`Waiting for ${this.name} to become available... ${t}s`);const e=await this.getServiceState();return!!(e&&e.state.toLowerCase().startsWith("up")&&await this.isApplicationReady())||(t>=300?(console.error(`A timeout occurred while waiting for ${this.name} to become available ⛔`),e&&await this.showDockerLogs(e.name),!1):(await new Promise((t=>setTimeout(t,1e3))),this.waitUntilReady(t+1)))}getDockerRepositoryUrl(){return`https://bitbucket.org/atlassian-docker/docker-${"jira"===this.name?"atlassian-jira":"bamboo"===this.name?`${this.name}-server`:`atlassian-${this.name}-server`}.git`}async build(t){const e=this.getDockerRepositoryUrl(),s=i($,this.name,"source");b(s)?await j({baseDir:s}).pull({"--recurse-submodule":null}):(m(i($,this.name),{recursive:!0}),await j().clone(e,s,{"--recurse-submodule":null})),await new Promise(((e,o)=>{r("docker",["build","-t",`dcdx/${this.name}:${t}`,"--build-arg",`${this.name.toUpperCase()}_VERSION=${t}`,"."],{cwd:s,stdio:"inherit"}).on("exit",(t=>0===t?e():o(new Error(`Docker exited with code ${t}`))))}))}async tailApplicationLogs(){const t=await this.getServiceState();t&&t.state.toLowerCase().startsWith("up")&&await this.showApplicationLogs(t.name).catch((()=>null))}async showDockerLogs(t){return new Promise(((e,s)=>{r("docker",["logs","-f","-n","5000",t],{cwd:w(),stdio:"inherit"}).on("exit",(t=>0===t?e():s(new Error(`Docker exited with code ${t}`))))}))}async showApplicationLogs(t){return new Promise(((e,s)=>{r("docker",["exec","-i",t,"tail","-F","-n","5000",this.logFilePath],{cwd:w(),stdio:"inherit"}).on("exit",(t=>0===t?e():s(new Error(`Docker exited with code ${t}`))))}))}}class Bamboo extends Base{name=C.BAMBOO;database;logFilePath="/var/atlassian/application-data/bamboo/logs/atlassian-bamboo.log";constructor(t){super(t),this.database=this.getDatabaseEngine(t.database)}getService(){const t=this.getVolumes(),e=this.getEnvironmentVariables();return{build:{context:toAbsolutePath("../../assets"),dockerfile_inline:`\nFROM dcdx/${this.name}:${this.options.version}\nCOPY ./mysql-connector-j-8.3.0.jar /opt/atlassian/bamboo/lib/mysql-connector-j-8.3.0.jar\nCOPY ./quickreload-5.0.2.jar /var/atlassian/application-data/bamboo/shared/plugins/quickreload-5.0.2.jar\nRUN echo "/opt/quickreload" > /var/atlassian/application-data/bamboo/quickreload.properties; mkdir -p /opt/quickreload; chown -R bamboo:bamboo /opt/quickreload;\n\nRUN chown -R bamboo:bamboo /var/atlassian/application-data/bamboo`},ports:[`${this.options.port||80}:8085`,...this.options.debug?["5005:5005"]:[]],environment:Object.keys(e).length>0?e:void 0,volumes:t.length>0?t:void 0,networks:["shared"]}}async isApplicationReady(){try{const t=await a.get(`${this.baseUrl}/setup/setupGeneralConfiguration.action`,{validateStatus:()=>!0}).catch((()=>null));return 200===t?.status}catch(t){return!1}}getEnvironmentVariables(){return{...this.options.contextPath?{ATL_TOMCAT_CONTEXTPATH:this.options.contextPath}:"",...this.options.debug?{JVM_SUPPORT_RECOMMENDED_ARGS:this.getJVMArgs()}:"",ATL_BAMBOO_ENABLE_UNATTENDED_SETUP:"true",ATL_LICENSE:this.options.license||R,ATL_JDBC_URL:this.database.url,ATL_JDBC_USER:this.database.options.username,ATL_JDBC_PASSWORD:this.database.options.password,ATL_DB_TYPE:`${this.database.name}`}}getJVMArgs(){const t=[];return this.options.debug&&(t.push("-Dupm.plugin.upload.enabled=true"),t.push("-Xdebug"),t.push("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005")),this.options.quickReload&&t.push("-Dquickreload.dirs=/opt/quickreload"),t.join(" ")}getVolumes(){return[...this.options.quickReload?[`${this.options.quickReload}:/opt/quickreload`]:""]}}(async()=>{const s=t.showHelpAfterError(!0).addOption(new e("-v, --version <version>","The version of the host application").choices(T).default("latest")).addOption(new e("-d, --database <name>","The database engine on which the host application will run").choices(["postgresql","mysql","mssql"]).default("postgresql")).addOption(new e("-p, --port <port>","The HTTP port on which the host application will be accessible").default("80")).addOption(new e("-c, --contextPath <contextPath>","The context path on which the host application will be accessible")).addOption(new e("-qr, --quickReload <path_to_watch>","Add support for QuickReload and add the provided path to the watch list")).addOption(new e("--clean","Remove data files before starting the database").default(!1)).addOption(new e("--prune","Remove data files when stopping the database").default(!1)).addOption(new e("--debug","Add support for JVM debugger on port 5005")).parse(process.argv).opts(),a=new Bamboo({version:s.version,database:s.database,port:Number(s.port),contextPath:s.contextPath,quickReload:s.qr,clean:s.clean,prune:s.prune,debug:s.debug});o((async()=>{console.log(`Stopping ${a.name}... ⏳`),await a.stop(),console.log(`Stopped ${a.name} 💪`)}),{wait:3e4}),await a.start()})(),process.on("SIGINT",(()=>{console.log("Received term signal, trying to stop gracefully 💪"),s()}));
2
+ import{program as t,Option as e}from"commander";import{gracefulExit as s,asyncExitHook as o}from"exit-hook";import a from"axios";import{dirname as n,join as i}from"path";import{spawn as r}from"child_process";import{stop as u,downAll as d,ps as c,execCompose as p,upAll as l}from"docker-compose/dist/v2.js";import h from"events";import{existsSync as b,mkdirSync as m}from"fs";import{dump as g}from"js-yaml";import{homedir as k}from"os";import{cwd as w}from"process";import j from"simple-git";import{upAll as v}from"docker-compose";import{Sequelize as S,ConnectionError as A,TimeoutError as f,ConnectionTimedOutError as D,ConnectionRefusedError as y,ConnectionAcquireTimeoutError as E}from"sequelize";var T=["latest","9.4-ubuntu","9.4-jdk11","9.4.3-ubuntu","9.4","9.4.3","9.4.3-jdk11","ubuntu","jdk11","9-ubuntu","9-jdk11","9.5-ubuntu","9.5-jdk11","9.5.1-ubuntu","9.5.1-jdk11","9.5.1","9.5","9","9.2-ubuntu","9.2-jdk11","9.2","9.2.11-jdk11","9.2.11-ubuntu","9.2.11","9.3.3-ubuntu","9.3.3-jdk11","9.3.3","9.2.4-ubuntu","9.2.4-jdk11","9.3.2-ubuntu","9.3.2-jdk11","9.0-ubuntu","9.2.4","9.3.2","9.0-jdk11","9.0.4-ubuntu","9.0.4-jdk11","9.0.4","9.0","8.2.6-ubuntu","8.2.6","8.2.6-jdk11","8.1.11-ubuntu","8.1.11-jdk11","8.1.11","8.0.0-jdk11","8.0.0-ubuntu","8.1.8-ubuntu","9.3.4-ubuntu","8.1.8-jdk11","9.3.4-jdk11","8.1.8","8.0.0","8.0.4-ubuntu","9.3.4","8.0.4-jdk11","9.2.5-ubuntu","9.2.5-jdk11","8.0.4","9.2.5","9.1.0-ubuntu","9.1.0-jdk11","9.1.0","8.2.7-ubuntu","8.2.7-jdk11","8.2.7","8.1-ubuntu","8.1-jdk11","8.1.12-ubuntu","8.1.12-jdk11","8.1","8.1.12","8.0.5-ubuntu","8.0.5-jdk11","8.0.1-ubuntu","9.1.1-jdk11","8.1.9-ubuntu","8.0.1-jdk11","8.0.1","8.1.9-jdk11","9.1.1","8.1.9","8.2.8-ubuntu","8.2.8-jdk11","8.0.5","8.2.8","8.1.2-ubuntu","8.1.2-jdk11","8.1.2","8.0.10-ubuntu","9.3.5-ubuntu","8.0.10-jdk11","9.3.5-jdk11","8.0.10","9.3.5","9.2.6-jdk11","9.2.6-ubuntu","9.2.6","9.1.1-ubuntu","8.2.0-ubuntu","8.2.0-jdk11","9.1.2-ubuntu","8.2.0","9.1.2-jdk11","8.0.6-ubuntu","8.0.6-jdk11","9.1.2","8.0.6","8-ubuntu","8-jdk11","8.2-ubuntu","8.2-jdk11","8.2.9-ubuntu","8.2.9-jdk11","8.2.9","8.2","8.1.3-ubuntu","8.1.3-jdk11","8.1.3","8.0.11-jdk11","8.0.11-ubuntu","8.0.11","9.3-ubuntu","8","9.3-jdk11","9.3.6-ubuntu","9.3.6-jdk11","9.3.6","9.3","9.2.7-ubuntu","9.2.7-jdk11","9.2.7","8.2.1-ubuntu","8.2.1-jdk11","8.2.1","8.0.7-ubuntu","9.4.0-jdk11","8.0.7-jdk11","9.2.8-ubuntu","8.0.7","9.2.8-jdk11","9.2.8","9.1-ubuntu","9.1-jdk11","9.1.3-ubuntu","9.1.3-jdk11","9.1.3","9.1","9.0.0-jdk11","9.0.0-ubuntu","9.0.0","8.1.4-ubuntu","8.1.4-jdk11","8.1.4","8.0.8-ubuntu","8.0.8-jdk11","8.0.8","8.0.12-ubuntu","8.0.12","8.0.12-jdk11","8.2.2-ubuntu","8.2.2-jdk11","8.1.5-jdk11","8.2.2","8.1.5-ubuntu","8.1.5","8.0-ubuntu","8.0-jdk11","8.0.13-jdk11","8.0.13-ubuntu","8.0.13","9.4.1-ubuntu","8.0","9.4.1-jdk11","9.4.1","9.2.9-ubuntu","9.2.9","9.2.9-jdk11","9.2.1-ubuntu","9.2.1-jdk11","9.2.1","9.0.1-ubuntu","9.0.1-jdk11","9.0.1","8.2.3-ubuntu","8.2.3-jdk11","8.2.3","9.4.2-jdk11","8.0.9-ubuntu","8.0.9-jdk11","9.0.2-ubuntu","8.0.9","9.0.2-jdk11","9.0.2","8.1.6-ubuntu","8.1.6-jdk11","8.1.6","8.0.2-ubuntu","8.0.2-jdk11","8.0.2","7-ubuntu","7-jdk8","7.2-ubuntu","7.2-jdk8","7.2.7-jdk8","7.2.7-ubuntu","7.2.7","7.2.5-ubuntu","7.2.5-jdk8","7.2.5","7.2.3-ubuntu","7.2.3-jdk8","7.2.3","7.2.10-ubuntu","7.2.10-jdk8","7.2.10","7.2.0-ubuntu","7.2.0-jdk8","7.2.0","7.2","7.1.3-ubuntu","7.1.3-jdk8","7.1.3","7","9.3.0-ubuntu","9.3.0-jdk11","9.3.0","9.2.10-ubuntu","9.2.10-jdk11","9.2.10","8.2.4-ubuntu","8.2.4-jdk11","8.2.4","8.1.1-ubuntu","8.1.1-jdk11","8.1.1","8.1.7-ubuntu","8.1.7-jdk11","8.1.7","8.0.3-ubuntu","8.0.3-jdk11","8.0.3","jdk17","9-jdk17","9.5-jdk17","9.5.0-ubuntu","9.5.0-jdk17","9.5.0-jdk11","9.5.0","9.4-jdk17","9.4.2-ubuntu","9.4.0-ubuntu","9.4.2-jdk17","9.4.2","9.4.0","9.4.0-jdk17","9.3.1-ubuntu","9.3.1-jdk11","9.3.1","9.2.3-ubuntu","9.2.3-jdk11","9.2.3","9.0.3-ubuntu","9.0.3-jdk11","9.0.3","8.2.5-ubuntu","8.2.5-jdk11","8.2.5","8.1.10-ubuntu","8.1.10-jdk11","8.1.10","7.2.9-ubuntu","7.2.9","7.2.9-jdk8","7.2.6-ubuntu","7.2.6-jdk8","7.2.6","7.2.4-ubuntu","7.2.4-jdk8","7.2.4","7.2.2-ubuntu","7.2.2-jdk8","7.2.2","7.2.1-ubuntu","7.2.1-jdk8","7.2.1","7.1-ubuntu","7.1-jdk8","7.1.4-ubuntu","7.1.4-jdk8","7.1.4","7.1.2-ubuntu","7.1.2-jdk8","7.1.2","7.1.1-ubuntu","7.1.1-jdk8","7.1.1","7.1","9.4.1-jdk17","eap-jdk8","9.0.0-rc1-ubuntu","9.0.0-rc1-jdk11","9.0.0-rc1","eap-jdk11","eap-ubuntu","9.0.0-rc1-jdk8","eap","8.0.0-rc4","8.0.0-rc1","7.0.6","7.0","7.1.0-rc1","7.0.4","6.10","6.10.6","7.0.3","6.10.5","7.0.2","7.0.1","7.0.0-rc2","7.0.0-rc1","6.10.4","6.10.3","6.10.2","6.9.2","6.9","6.8.3","6.8","6.9.1","6.8.2","6.9.0","6.9.0-rc1","6.7","6.7.3","6.8.1","6.8.0","6.7.2","6.7.1","6.6.3","6.6","6.7.0-rc2","6.6.2","6.6.1","6.6.0"];const R="AAAB3w0ODAoPeNp9Ultr2zAYffevEOwtoMR10qYLGJbYWsno7GA7g90eZPlrotWWjCSnzX79FF8IYWkfDPJ3Oedwzvch2zdoWSvkzpF7v5jdLrwpCkiaIc/1POeRMxAasmMNEa3Az2xnHT04gQJquBQhNeB77vQGuzPs3jk5rXIpx5QZfgDfqAaGUtRUOaj4adX+PkpGy+UOhNE+vnGG5laDags9L3mtuToOJF5Pkja5ZorXJwEXHG+pJQdaNvS/cYtLAysBVFfu19ehvxXPQr4IJwV1AGULKzIneBb+8PBd/GWOH6Yf751No9ieaujleYMHKYl8++Fb13VGo1EUZ/hznOBNEofbIFvHEd6mxDb81kQoUH5EZg+op0dEMFmAQrWSf4AZ9HNvTP1rMZnsrLGmpFpzKsZMVpOy28DQbfweo1AiIQ0quDaK540Bi8w1MhKxRhtZWXvHTghn+zLQBvU46Ela1rLZcYEKOEApazvvfKXceiSoYG/kcTXhTUlFG+XVbgKVNHA+gF7BN8t3UuU5sdpRwXUXGnmlVV0CCmRVU3G8Evf5MKUw9vqIFV36tX7moNjfo7CPTxfenZIJErLMSIhX309pvDd8SUgK3smKMpJsknVKBtr26t4D+gd3AC5qMCwCFHOaTWfFvLCLJPft3qktVo3FafmZAhRojb9IAxj8KEqPDQy0stos394SQQ==X02mq",toAbsolutePath=t=>{const[,e]=process.argv,s=n(e),o=s.substring(0,s.indexOf("dcdx")+4);return i(o,t.replaceAll("../",""))};var C;!function(t){t.JIRA="jira",t.CONFLUENCE="confluence",t.BITBUCKET="bitbucket",t.BAMBOO="bamboo"}(C||(C={}));const O={name:"shared",driver:"bridge"};let x=class Base extends h{options;sequelize=null;constructor(t){super(),this.options=t}async run(t,e){try{if(!this.sequelize)throw new Error("Database connection does not exist");await this.sequelize.query(t,{logging:e})}catch(e){console.error("An error occurred while trying to run the following SQL query:",t,e),s()}return null}async start(t=this.options.clean){console.log(`Starting instance of ${this.name} ⏳`),t&&await this.down(),await this.up(),this.emit(`${this.name}:up`);if(await this.waitUntilReady()){if(console.log(`Database is ready and accepting connections on localhost:${this.options.port} 🗄️`),await this.onDatabaseReady(),this.emit("db:ready"),this.options.logging){const t=await this.getServiceState();t&&await this.showDockerLogs(t.name)}}else console.log(`Failed to start database ${this.name} ⛔`),s(0)}async stop(t=this.options.prune){if(t)await this.down();else{const t=g(this.getDockerComposeConfig());await u({cwd:w(),configAsString:t,log:!0})}this.emit("db:stopped")}async onDatabaseReady(){}getDockerComposeConfig(){return{version:"3.8",services:{db:this.getService()},networks:{shared:O}}}async up(){const t=g(this.getDockerComposeConfig());return v({cwd:w(),configAsString:t,log:!0})}async down(){const t=g(this.getDockerComposeConfig());return d({cwd:w(),configAsString:t,commandOptions:["-v","--remove-orphans","--rmi","local"],log:!0})}async waitUntilReady(){try{const t="mssql"===this.name?"master":this.options.database;return this.sequelize=new S(t,this.options.username,this.options.password,{host:"localhost",port:this.options.port,dialect:this.name.replace("postgresql","postgres"),retry:{max:30,match:[A,f,D,y,E],backoffBase:1e3,backoffExponent:1},logging:!1}),this.sequelize.authenticate().then((()=>!0)).catch((t=>(console.log(t),!1)))}catch(t){return!1}}async getServiceState(){const t=g(this.getDockerComposeConfig());return(await c({configAsString:t,log:!1,commandOptions:["--all"]})).data.services.find((t=>t.name.includes(this.name)))}async showDockerLogs(t){return new Promise(((e,s)=>{r("docker",["logs","-f","-n","5000",t],{cwd:w(),stdio:"inherit"}).on("exit",(t=>0===t?e():s(new Error(`Docker exited with code ${t}`))))}))}};const L={port:1433,database:"dcdx",username:"sa",password:"DataCenterDX!",edition:"Developer",version:"2022"};class MSSQL extends x{name="mssql";driver="com.microsoft.sqlserver.jdbc.SQLServerDriver";options=L;version="2022";get url(){return`jdbc:sqlserver://db:${this.options.port};databaseName=${this.options.database};trustServerCertificate=true`}constructor(t=L){super({...L,...t})}async onDatabaseReady(){await this.run(`CREATE DATABASE ${this.options.database}`),await this.run(`ALTER DATABASE ${this.options.database} COLLATE SQL_Latin1_General_CP1_CS_AS`),await this.run(`ALTER DATABASE ${this.options.database} SET READ_COMMITTED_SNAPSHOT ON WITH ROLLBACK IMMEDIATE;`)}getService=()=>({image:`mcr.microsoft.com/mssql/server:${this.version}-latest`,ports:[`${this.options.port||1433}:1433`],environment:{ACCEPT_EULA:"y",MSSQL_SA_PASSWORD:this.options.password||"dcdx",MSSQL_PID:this.options.edition},networks:{shared:{aliases:["db","database"]}}})}const q={port:3306,database:"dcdx",username:"dcdx",password:"dcdx",version:"8.0"};class MySQL extends x{name="mysql";driver="com.mysql.jdbc.Driver";options=q;version="8.0";get url(){return`jdbc:mysql://db:${this.options.port}/${this.options.database}?sessionVariables=transaction_isolation='READ-COMMITTED'`}constructor(t=q){super({...q,...t})}async onDatabaseReady(){await this.run(`ALTER DATABASE ${this.options.database} CHARACTER SET 'utf8mb4' COLLATE utf8mb4_bin`)}getService=()=>({image:`mysql:${this.version}`,ports:[`${this.options.port||3306}:3306`],environment:{MYSQL_ROOT_PASSWORD:this.options.password||"dcdx",MYSQL_USER:this.options.username||"dcdx",MYSQL_PASSWORD:this.options.password||"dcdx",MYSQL_DATABASE:this.options.database||"dcdx"},command:["--log_bin_trust_function_creators=1"],networks:{shared:{aliases:["db","database"]}}})}const _={version:"15",database:"dcdx",port:5432,username:"dcdx",password:"dcdx"};class Postgres extends x{name="postgresql";driver="org.postgresql.Driver";options=_;version="15";get url(){return`jdbc:postgresql://db:${this.options.port}/${this.options.database}`}constructor(t=_){super({..._,...t})}getService=()=>({image:`postgres:${this.version}`,ports:[`${this.options.port||5432}:5432`],environment:{POSTGRES_USER:this.options.username||"dcdx",POSTGRES_PASSWORD:this.options.password||"dcdx",POSTGRES_DB:this.options.database||"dcdx",POSTGRES_HOST_AUTH_METHOD:"md5",POSTGRES_INITDB_ARGS:"--encoding=UTF-8 --lc-collate=C --lc-ctype=C"},networks:{shared:{aliases:["db","database"]}}})}const $=i(k(),".dcdx");class Base extends h{options;constructor(t){super(),this.options=t}get baseUrl(){let t="http://localhost";return this.options.port&&(t+=`:${this.options.port}`),this.options.contextPath?`${t}/${this.options.contextPath}`:t}getDatabaseEngine(t){switch(t){case"postgresql":return new Postgres;case"mssql":return new MSSQL;case"mysql":return new MySQL}}async start(){this.options.clean&&await this.down(),await this.build(this.options.version),await this.database.start(this.options.clean),await this.up()}async stop(){if(await this.database.stop(this.options.prune),this.options.prune)await this.down();else{const t=g(this.getDockerComposeConfig());await u({cwd:w(),configAsString:t,log:!0})}this.emit(`${this.name}:stopped`)}async reset(){await this.database.stop(!0),await this.down()}async cp(t){const e=await this.getServiceState();if(e&&e.state.toLowerCase().startsWith("up")){const e=this.getDockerComposeConfig(),s=g(e);await p("cp",[t,`${this.name}:/opt/quickreload/`],{cwd:w(),configAsString:s,log:!1})}}getJVMArgs(){const t=[];return t.push("-Dupm.plugin.upload.enabled=true"),this.options.devMode&&(t.push("-Djira.dev.mode=true"),t.push("-Datlassian.dev.mode=true")),this.options.quickReload&&t.push("-Dquickreload.dirs=/opt/quickreload"),t}async isApplicationReady(){try{const t=await a.get(`${this.baseUrl}/status`,{validateStatus:()=>!0}).catch((()=>null));if(t&&200===t.status){const{data:e}=t;if("FIRST_RUN"===e.state||"RUNNING"===e.state)return console.log(`The application ${this.name} is ready on ${this.baseUrl} 🎉`),!0}return!1}catch(t){return!1}}getDockerComposeConfig(){return{version:"3.8",services:{[this.name]:this.getService()},networks:{shared:O}}}async up(){const t=this.getDockerComposeConfig(),e=g(t);await l({cwd:w(),configAsString:e,log:!0}),this.emit(`${this.name}:up`);await this.waitUntilReady()?(this.emit(`${this.name}:ready`),await this.tailApplicationLogs()):console.log(`Failed to start ${this.name} ⛔`),s(0)}async down(){const t=g(this.getDockerComposeConfig());await d({cwd:w(),configAsString:t,commandOptions:["-v","--remove-orphans","--rmi","local"],log:!0})}async getServiceState(){const t=g(this.getDockerComposeConfig());return(await c({configAsString:t,log:!1,commandOptions:["--all"]})).data.services.find((t=>t.name.includes(this.name)))}async waitUntilReady(t=0){console.log(`Waiting for ${this.name} to become available... ${t}s`);const e=await this.getServiceState();return!!(e&&e.state.toLowerCase().startsWith("up")&&await this.isApplicationReady())||(t>=300?(console.error(`A timeout occurred while waiting for ${this.name} to become available ⛔`),e&&await this.showDockerLogs(e.name),!1):(await new Promise((t=>setTimeout(t,1e3))),this.waitUntilReady(t+1)))}getDockerRepositoryUrl(){return`https://bitbucket.org/atlassian-docker/docker-${"jira"===this.name?"atlassian-jira":"bamboo"===this.name?`${this.name}-server`:`atlassian-${this.name}-server`}.git`}async build(t){const e=this.getDockerRepositoryUrl(),s=i($,this.name,"source");b(s)?await j({baseDir:s}).pull({"--recurse-submodule":null}):(m(i($,this.name),{recursive:!0}),await j().clone(e,s,{"--recurse-submodule":null})),await new Promise(((e,o)=>{r("docker",["build","-t",`dcdx/${this.name}:${t}`,"--build-arg",`${this.name.toUpperCase()}_VERSION=${t}`,"."],{cwd:s,stdio:"inherit"}).on("exit",(t=>0===t?e():o(new Error(`Docker exited with code ${t}`))))}))}async tailApplicationLogs(){const t=await this.getServiceState();t&&t.state.toLowerCase().startsWith("up")&&await this.showApplicationLogs(t.name).catch((()=>null))}async showDockerLogs(t){return new Promise(((e,s)=>{r("docker",["logs","-f","-n","5000",t],{cwd:w(),stdio:"inherit"}).on("exit",(t=>0===t?e():s(new Error(`Docker exited with code ${t}`))))}))}async showApplicationLogs(t){return new Promise(((e,s)=>{r("docker",["exec","-i",t,"tail","-F","-n","5000",this.logFilePath],{cwd:w(),stdio:"inherit"}).on("exit",(t=>0===t?e():s(new Error(`Docker exited with code ${t}`))))}))}}class Bamboo extends Base{name=C.BAMBOO;database;logFilePath="/var/atlassian/application-data/bamboo/logs/atlassian-bamboo.log";constructor(t){super(t),this.database=this.getDatabaseEngine(t.database)}getService(){const t=this.getVolumes(),e=this.getEnvironmentVariables();return{build:{context:toAbsolutePath("../../assets"),dockerfile_inline:`\nFROM dcdx/${this.name}:${this.options.version}\nCOPY ./mysql-connector-j-8.3.0.jar /opt/atlassian/bamboo/lib/mysql-connector-j-8.3.0.jar\nCOPY ./quickreload-5.0.2.jar /var/atlassian/application-data/bamboo/shared/plugins/quickreload-5.0.2.jar\nRUN echo "/opt/quickreload" > /var/atlassian/application-data/bamboo/quickreload.properties; mkdir -p /opt/quickreload; chown -R bamboo:bamboo /opt/quickreload;\n\nRUN chown -R bamboo:bamboo /var/atlassian/application-data/bamboo`},ports:[`${this.options.port||80}:8085`,...this.options.debug?["5005:5005"]:[]],environment:Object.keys(e).length>0?e:void 0,volumes:t.length>0?t:void 0,networks:["shared"]}}getJVMArgs(){const t=super.getJVMArgs();return this.options.debug&&(t.push("-Xdebug"),t.push("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005")),t}async isApplicationReady(){try{const t=await a.get(`${this.baseUrl}/setup/setupGeneralConfiguration.action`,{validateStatus:()=>!0}).catch((()=>null));return 200===t?.status}catch(t){return!1}}getEnvironmentVariables(){return{...this.options.contextPath?{ATL_TOMCAT_CONTEXTPATH:this.options.contextPath}:"",JVM_SUPPORT_RECOMMENDED_ARGS:this.getJVMArgs().join(" "),ATL_BAMBOO_ENABLE_UNATTENDED_SETUP:"true",ATL_LICENSE:this.options.license||R,ATL_JDBC_URL:this.database.url,ATL_JDBC_USER:this.database.options.username,ATL_JDBC_PASSWORD:this.database.options.password,ATL_DB_TYPE:`${this.database.name}`}}getVolumes(){return[...this.options.quickReload?[`${this.options.quickReload}:/opt/quickreload`]:""]}}(async()=>{const s=t.showHelpAfterError(!0).addOption(new e("-v, --version <version>","The version of the host application").choices(T).default("latest")).addOption(new e("-d, --database <name>","The database engine on which the host application will run").choices(["postgresql","mysql","mssql"]).default("postgresql")).addOption(new e("-p, --port <port>","The HTTP port on which the host application will be accessible").default("80")).addOption(new e("-c, --contextPath <contextPath>","The context path on which the host application will be accessible")).addOption(new e("-qr, --quickReload <path_to_watch>","Add support for QuickReload and add the provided path to the watch list")).addOption(new e("--clean","Remove data files before starting the database").default(!1)).addOption(new e("--prune","Remove data files when stopping the database").default(!1)).addOption(new e("--debug","Add support for JVM debugger on port 5005")).parse(process.argv).opts(),a=new Bamboo({version:s.version,database:s.database,port:Number(s.port),contextPath:s.contextPath,quickReload:s.qr,clean:s.clean,prune:s.prune,debug:s.debug});o((async()=>{console.log(`Stopping ${a.name}... ⏳`),await a.stop(),console.log(`Stopped ${a.name} 💪`)}),{wait:3e4}),await a.start()})(),process.on("SIGINT",(()=>{console.log("Received term signal, trying to stop gracefully 💪"),s()}));