Advertisement
Guest User

Untitled

a guest
Nov 15th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.87 KB | None | 0 0
  1. $ kubectl logs web-deployment-1144607824-m9n2b
  2. [INFO] [11/15/2016 12:33:47.803] [default-akka.actor.default-dispatcher-5] [Main$(akka://default)] Server started on port 9050
  3. 12:33:49 INFO VersionPrinter {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Flyway 4.0.3 by Boxfuse
  4. 12:33:49 INFO DbSupportFactory {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Database: jdbc:postgresql://postgres-test.crr8yowtsgxt.eu-central-1.rds.amazonaws.com/postgres (PostgreSQL 9.5)
  5. 12:33:49 DEBUG Flyway {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - DDL Transactions Supported: true
  6. 12:33:49 DEBUG Flyway {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Schema: public
  7. 12:33:49 DEBUG FeatureDetector {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Spring Jdbc available: false
  8. 12:33:49 DEBUG SqlScriptFlywayCallback {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning for SQL callbacks ...
  9. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning for classpath resources at 'classpath:db/migration' (Prefix: '', Suffix: '.sql')
  10. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Determining location urls for classpath:db/migration using ClassLoader sun.misc.Launcher$AppClassLoader@7f31245a ...
  11. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning URL: jar:file:/app/service-go-cardless-api-server-assembly-1.0-SNAPSHOT.jar!/db/migration
  12. 12:33:49 DEBUG FeatureDetector {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - JBoss VFS v2 available: false
  13. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/ (filename: )
  14. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V1__Create_customers.sql
  15. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V2__Create_bank_accounts.sql
  16. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V3__Create_mandates.sql
  17. 12:33:49 DEBUG DbValidate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Validating migrations ...
  18. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning for classpath resources at 'classpath:db/migration' (Prefix: 'V', Suffix: '.sql')
  19. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning URL: jar:file:/app/service-go-cardless-api-server-assembly-1.0-SNAPSHOT.jar!/db/migration
  20. 12:33:49 DEBUG FeatureDetector {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - JBoss VFS v2 available: false
  21. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/ (filename: )
  22. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V1__Create_customers.sql
  23. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V2__Create_bank_accounts.sql
  24. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V3__Create_mandates.sql
  25. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning for classpath resources at 'classpath:db/migration' (Prefix: 'R', Suffix: '.sql')
  26. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning URL: jar:file:/app/service-go-cardless-api-server-assembly-1.0-SNAPSHOT.jar!/db/migration
  27. 12:33:49 DEBUG FeatureDetector {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - JBoss VFS v2 available: false
  28. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/ (filename: )
  29. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V1__Create_customers.sql (filename: V1__Create_customers.sql)
  30. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V2__Create_bank_accounts.sql (filename: V2__Create_bank_accounts.sql)
  31. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V3__Create_mandates.sql (filename: V3__Create_mandates.sql)
  32. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning for classes at 'classpath:db/migration' (Implementing: 'org.flywaydb.core.api.migration.jdbc.JdbcMigration')
  33. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning URL: jar:file:/app/service-go-cardless-api-server-assembly-1.0-SNAPSHOT.jar!/db/migration
  34. 12:33:49 DEBUG FeatureDetector {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - JBoss VFS v2 available: false
  35. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/ (filename: )
  36. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V1__Create_customers.sql (filename: V1__Create_customers.sql)
  37. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V2__Create_bank_accounts.sql (filename: V2__Create_bank_accounts.sql)
  38. 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V3__Create_mandates.sql (filename: V3__Create_mandates.sql)
  39. 12:33:49 INFO DbValidate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Successfully validated 3 migrations (execution time 00:00.072s)
  40. 12:33:49 DEBUG DbSchemas {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Schema "public" already exists. Skipping schema creation.
  41. 12:33:49 INFO MetaDataTableImpl {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Creating Metadata table: "public"."schema_version"
  42. 12:33:49 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 17: CREATE TABLE "public"."schema_version" (
  43. "installed_rank" INT NOT NULL,
  44. "version" VARCHAR(50),
  45. "description" VARCHAR(200) NOT NULL,
  46. "type" VARCHAR(20) NOT NULL,
  47. "script" VARCHAR(1000) NOT NULL,
  48. "checksum" INTEGER,
  49. "installed_by" VARCHAR(100) NOT NULL,
  50. "installed_on" TIMESTAMP NOT NULL DEFAULT now(),
  51. "execution_time" INTEGER NOT NULL,
  52. "success" BOOLEAN NOT NULL
  53. ) WITH (
  54. OIDS=FALSE
  55. )
  56. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 31: ALTER TABLE "public"."schema_version" ADD CONSTRAINT "schema_version_pk" PRIMARY KEY ("installed_rank")
  57. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 33: CREATE INDEX "schema_version_s_idx" ON "public"."schema_version" ("success")
  58. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: CREATE TABLE "public"."schema_version" (
  59. "installed_rank" INT NOT NULL,
  60. "version" VARCHAR(50),
  61. "description" VARCHAR(200) NOT NULL,
  62. "type" VARCHAR(20) NOT NULL,
  63. "script" VARCHAR(1000) NOT NULL,
  64. "checksum" INTEGER,
  65. "installed_by" VARCHAR(100) NOT NULL,
  66. "installed_on" TIMESTAMP NOT NULL DEFAULT now(),
  67. "execution_time" INTEGER NOT NULL,
  68. "success" BOOLEAN NOT NULL
  69. ) WITH (
  70. OIDS=FALSE
  71. )
  72. 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
  73. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: ALTER TABLE "public"."schema_version" ADD CONSTRAINT "schema_version_pk" PRIMARY KEY ("installed_rank")
  74. 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
  75. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: CREATE INDEX "schema_version_s_idx" ON "public"."schema_version" ("success")
  76. 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
  77. 12:33:50 DEBUG MetaDataTableImpl {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Metadata table "public"."schema_version" created.
  78. 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Locking table "public"."schema_version"...
  79. 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Lock acquired for table "public"."schema_version"
  80. 12:33:50 INFO DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Current version of schema "public": << Empty Schema >>
  81. 12:33:50 INFO DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Migrating schema "public" to version 1 - Create customers
  82. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 1: CREATE TABLE "customers" (
  83. "id" BIGSERIAL PRIMARY KEY,
  84. "salesforce_id" VARCHAR(40) NOT NULL,
  85. "gocardless_id" VARCHAR(40) NOT NULL
  86. )
  87. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: CREATE TABLE "customers" (
  88. "id" BIGSERIAL PRIMARY KEY,
  89. "salesforce_id" VARCHAR(40) NOT NULL,
  90. "gocardless_id" VARCHAR(40) NOT NULL
  91. )
  92. 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
  93. 12:33:50 DEBUG DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Successfully completed migration of schema "public" to version 1 - Create customers
  94. 12:33:50 DEBUG MetaDataTableImpl {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - MetaData table "public"."schema_version" successfully updated to reflect changes
  95. 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Locking table "public"."schema_version"...
  96. 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Lock acquired for table "public"."schema_version"
  97. 12:33:50 INFO DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Migrating schema "public" to version 2 - Create bank accounts
  98. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 1: CREATE TABLE "bank_accounts" (
  99. "id" BIGSERIAL PRIMARY KEY,
  100. "customer_id" BIGSERIAL NOT NULL REFERENCES customers(id),
  101. "gocardless_id" VARCHAR(40) NOT NULL,
  102. "enabled" BOOLEAN NOT NULL
  103. )
  104. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: CREATE TABLE "bank_accounts" (
  105. "id" BIGSERIAL PRIMARY KEY,
  106. "customer_id" BIGSERIAL NOT NULL REFERENCES customers(id),
  107. "gocardless_id" VARCHAR(40) NOT NULL,
  108. "enabled" BOOLEAN NOT NULL
  109. )
  110. 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
  111. 12:33:50 DEBUG DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Successfully completed migration of schema "public" to version 2 - Create bank accounts
  112. 12:33:50 DEBUG MetaDataTableImpl {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - MetaData table "public"."schema_version" successfully updated to reflect changes
  113. 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Locking table "public"."schema_version"...
  114. 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Lock acquired for table "public"."schema_version"
  115. 12:33:50 INFO DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Migrating schema "public" to version 3 - Create mandates
  116. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 1: CREATE TABLE "mandates" (
  117. "id" BIGSERIAL PRIMARY KEY,
  118. "bankaccount_id" BIGSERIAL NOT NULL REFERENCES bank_accounts(id),
  119. "scheme" VARCHAR(30) NOT NULL,
  120. "gocardless_id" VARCHAR(40) NOT NULL,
  121. "reference" VARCHAR(60) NOT NULL,
  122. "status" VARCHAR(60) NOT NULL
  123. )
  124. 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: CREATE TABLE "mandates" (
  125. "id" BIGSERIAL PRIMARY KEY,
  126. "bankaccount_id" BIGSERIAL NOT NULL REFERENCES bank_accounts(id),
  127. "scheme" VARCHAR(30) NOT NULL,
  128. "gocardless_id" VARCHAR(40) NOT NULL,
  129. "reference" VARCHAR(60) NOT NULL,
  130. "status" VARCHAR(60) NOT NULL
  131. )
  132. 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
  133. 12:33:50 DEBUG DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Successfully completed migration of schema "public" to version 3 - Create mandates
  134. 12:33:50 DEBUG MetaDataTableImpl {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - MetaData table "public"."schema_version" successfully updated to reflect changes
  135. 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Locking table "public"."schema_version"...
  136. 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Lock acquired for table "public"."schema_version"
  137. 12:33:50 INFO DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Successfully applied 3 migrations to schema "public" (execution time 00:00.613s).
  138. [INFO] [11/15/2016 12:33:50.596] [main] [Main$(akka://default)] Database is up to date
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement