Advertisement
Guest User

postconfirm-lambda-2

a guest
Feb 19th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.17 KB | None | 0 0
  1. Tue, 19 Feb 2019 15:48:06 GMT sequelize deprecated String based operators are deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:239:14
  2. 2019-02-19T15:48:06.322Z 18dd0ea3-c443-462f-904e-d831438830ee REGION us-east-1
  3. 2019-02-19T15:48:06.452Z 18dd0ea3-c443-462f-904e-d831438830ee superagent: Enable experimental feature http2
  4. START RequestId: 18dd0ea3-c443-462f-904e-d831438830ee Version: $LATEST
  5. 2019-02-19T15:48:06.456Z 18dd0ea3-c443-462f-904e-d831438830ee (node:1) ExperimentalWarning: The http2 module is an experimental API.
  6. 2019-02-19T15:48:06.457Z 18dd0ea3-c443-462f-904e-d831438830ee event { version: '1',
  7. region: 'us-east-1',
  8. userPoolId: 'us-east-1_lsdwHkhug',
  9. userName: 'b97932db-1fbc-462c-9b53-89a174e015a0',
  10. callerContext:
  11. { awsSdkVersion: 'aws-sdk-unknown-unknown',
  12. clientId: '4mtmgruec14mo131430d9iddml' },
  13. triggerSource: 'PostConfirmation_ConfirmSignUp',
  14. request:
  15. { userAttributes:
  16. { sub: 'b97932db-1fbc-462c-9b53-89a174e015a0',
  17. 'cognito:email_alias': 'amitay+email@strattic.com',
  18. 'cognito:user_status': 'CONFIRMED',
  19. email_verified: 'true',
  20. email: 'amitay+email@strattic.com' } },
  21. response: {} }
  22. 2019-02-19T15:48:06.624Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): SELECT `codes`, `sitename`, `account_id` AS `accountId`, `email`, `ts`, `created` FROM `invitation_codes` AS `invitationCodes` WHERE `invitationCodes`.`email` = 'amitay+email@strattic.com' LIMIT 1; { logging: [Function: prettyConsoleLog],
  23. plain: true,
  24. raw: false,
  25. showWarnings: false,
  26. where: '`invitationCodes`.`email` = \'amitay+email@strattic.com\'',
  27. limit: 1,
  28. hooks: true,
  29. rejectOnEmpty: false,
  30. originalAttributes: [ 'codes', 'sitename', 'accountId', 'email', 'ts', 'created' ],
  31. attributes:
  32. [ 'codes',
  33. 'sitename',
  34. [ 'account_id', 'accountId' ],
  35. 'email',
  36. 'ts',
  37. 'created' ],
  38. tableNames: [ 'invitation_codes' ],
  39. type: 'SELECT',
  40. model: invitationCodes }
  41. 2019-02-19T15:48:06.641Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): UPDATE `invitation_codes` SET `created`=? WHERE `created` = ? AND `email` = ? { logging: [Function: prettyConsoleLog],
  42. plain: false,
  43. raw: false,
  44. showWarnings: false,
  45. where: { created: 0, email: 'amitay+email@strattic.com' },
  46. validate: true,
  47. hooks: true,
  48. individualHooks: false,
  49. returning: false,
  50. force: false,
  51. sideEffects: true,
  52. type: 'BULKUPDATE',
  53. fields: [ 'created' ],
  54. model: invitationCodes,
  55. skip: undefined,
  56. hasTrigger: undefined,
  57. dialect: 'mysql',
  58. dialectModule: null,
  59. dialectModulePath: null,
  60. host: 'mysql.system.dev.strattic.com',
  61. protocol: 'tcp',
  62. define: {},
  63. query: {},
  64. sync: {},
  65. timezone: '+00:00',
  66. omitNull: false,
  67. native: false,
  68. replication: false,
  69. ssl: undefined,
  70. pool: { max: 5, min: 0, acquire: 30000, idle: 10000 },
  71. quoteIdentifiers: true,
  72. retry: { max: 5, match: [ 'SQLITE_BUSY: database is locked' ] },
  73. transactionType: 'DEFERRED',
  74. isolationLevel: null,
  75. databaseVersion: '5.6.10',
  76. typeValidation: false,
  77. benchmark: false,
  78. operatorsAliases:
  79. { '$eq': Symbol(eq),
  80. '$ne': Symbol(ne),
  81. '$gte': Symbol(gte),
  82. '$gt': Symbol(gt),
  83. '$lte': Symbol(lte),
  84. '$lt': Symbol(lt),
  85. '$not': Symbol(not),
  86. '$in': Symbol(in),
  87. '$notIn': Symbol(notIn),
  88. '$is': Symbol(is),
  89. '$like': Symbol(like),
  90. '$notLike': Symbol(notLike),
  91. '$iLike': Symbol(iLike),
  92. '$notILike': Symbol(notILike),
  93. '$regexp': Symbol(regexp),
  94. '$notRegexp': Symbol(notRegexp),
  95. '$iRegexp': Symbol(iRegexp),
  96. '$notIRegexp': Symbol(notIRegexp),
  97. '$between': Symbol(between),
  98. '$notBetween': Symbol(notBetween),
  99. '$overlap': Symbol(overlap),
  100. '$contains': Symbol(contains),
  101. '$contained': Symbol(contained),
  102. '$adjacent': Symbol(adjacent),
  103. '$strictLeft': Symbol(strictLeft),
  104. '$strictRight': Symbol(strictRight),
  105. '$noExtendRight': Symbol(noExtendRight),
  106. '$noExtendLeft': Symbol(noExtendLeft),
  107. '$and': Symbol(and),
  108. '$or': Symbol(or),
  109. '$any': Symbol(any),
  110. '$all': Symbol(all),
  111. '$values': Symbol(values),
  112. '$col': Symbol(col) },
  113. allowNull: [],
  114. bind: [ 1, 0, 'amitay+email@strattic.com' ] }
  115. 2019-02-19T15:48:06.650Z 18dd0ea3-c443-462f-904e-d831438830ee count 1
  116. 2019-02-19T15:48:06.650Z 18dd0ea3-c443-462f-904e-d831438830ee rows undefined
  117. 2019-02-19T15:48:06.651Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (64148758-1e32-4fae-8743-decb5dd5f44d): START TRANSACTION; { logging: [Function: prettyConsoleLog],
  118. plain: false,
  119. raw: true,
  120. showWarnings: false,
  121. type: 'DEFERRED',
  122. isolationLevel: null,
  123. readOnly: false,
  124. where: { cognitoUsername: 'b97932db-1fbc-462c-9b53-89a174e015a0' },
  125. defaults:
  126. { customerName: 'amitay+email@strattic.com',
  127. contactEmail: 'amitay+email@strattic.com',
  128. createdAt: 1550591286 },
  129. transaction:
  130. Transaction {
  131. sequelize:
  132. Sequelize {
  133. options: [Object],
  134. config: [Object],
  135. dialect: [Object],
  136. queryInterface: [Object],
  137. models: [Object],
  138. modelManager: [Object],
  139. connectionManager: [Object],
  140. importCache: {},
  141. test: [Object] },
  142. savepoints: [],
  143. _afterCommitHooks: [],
  144. options:
  145. { type: 'DEFERRED',
  146. isolationLevel: null,
  147. readOnly: false,
  148. where: [Object],
  149. defaults: [Object] },
  150. parent: undefined,
  151. id: '64148758-1e32-4fae-8743-decb5dd5f44d',
  152. name: undefined,
  153. connection:
  154. Connection {
  155. domain: null,
  156. _events: [Object],
  157. _eventsCount: 1,
  158. _maxListeners: undefined,
  159. config: [Object],
  160. stream: [Object],
  161. _internalId: 1,
  162. _commands: [Object],
  163. _command: undefined,
  164. _paused: false,
  165. _paused_packets: [Object],
  166. _statements: LRUCache {
  167. max: 16000,
  168.  
  169. 'undefined/undefined/undefinedUPDATE `invitation_codes` SET `created`=? WHERE `created` = ? AND `email` = ?' => { value:
  170. PreparedStatementInfo {
  171. query: 'UPDATE `invitation_codes` SET `created`=? WHERE `created` = ? AND `email` = ?',
  172. id: 1,
  173. columns: [],
  174. parameters: [ [Object], [Object], [Object] ],
  175. rowParser: null,
  176. _connection: [Circular] } }
  177. },
  178. serverCapabilityFlags: 3229614079,
  179. authorized: true,
  180. sequenceId: 2,
  181. compressedSequenceId: 0,
  182. threadId: 442804,
  183. _handshakePacket: [Object],
  184. _fatalError: null,
  185. _protocolError: null,
  186. _outOfOrderPackets: [],
  187. clientEncoding: 'utf8',
  188. packetParser: [Object],
  189. serverEncoding: 'latin1',
  190. connectTimeout: null,
  191. connectionId: 442804,
  192. uuid: '64148758-1e32-4fae-8743-decb5dd5f44d' } } }
  193. 2019-02-19T15:48:06.669Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (64148758-1e32-4fae-8743-decb5dd5f44d): SELECT `id`, `cognito_username` AS `cognitoUsername`, `customer_name` AS `customerName`, `status`, `plan`, `contact_firstname` AS `contactFirstname`, `contact_lastname` AS `contactLastname`, `contact_title` AS `contactTitle`, `contact_phone` AS `contactPhone`, `contact_mobile` AS `contactMobile`, `contact_email` AS `contactEmail`, `contact_tz` AS `contactTz`, `contact_lang` AS `contactLang`, `created_at` AS `createdAt` FROM `account` AS `account` WHERE `account`.`cognito_username` = 'b97932db-1fbc-462c-9b53-89a174e015a0' LIMIT 1; { logging: [Function: prettyConsoleLog],
  194. plain: true,
  195. raw: false,
  196. showWarnings: false,
  197. transaction:
  198. Transaction {
  199. sequelize:
  200. Sequelize {
  201. options: [Object],
  202. config: [Object],
  203. dialect: [Object],
  204. queryInterface: [Object],
  205. models: [Object],
  206. modelManager: [Object],
  207. connectionManager: [Object],
  208. importCache: {},
  209. test: [Object] },
  210. savepoints: [],
  211. _afterCommitHooks: [],
  212. options:
  213. { type: 'DEFERRED',
  214. isolationLevel: null,
  215. readOnly: false,
  216. where: [Object],
  217. defaults: [Object] },
  218. parent: undefined,
  219. id: '64148758-1e32-4fae-8743-decb5dd5f44d',
  220. name: undefined,
  221. connection:
  222. Connection {
  223. domain: null,
  224. _events: [Object],
  225. _eventsCount: 1,
  226. _maxListeners: undefined,
  227. config: [Object],
  228. stream: [Object],
  229. _internalId: 1,
  230. _commands: [Object],
  231. _command: undefined,
  232. _paused: false,
  233. _paused_packets: [Object],
  234. _statements: LRUCache {
  235. max: 16000,
  236.  
  237. 'undefined/undefined/undefinedUPDATE `invitation_codes` SET `created`=? WHERE `created` = ? AND `email` = ?' => { value:
  238. PreparedStatementInfo {
  239. query: 'UPDATE `invitation_codes` SET `created`=? WHERE `created` = ? AND `email` = ?',
  240. id: 1,
  241. columns: [],
  242. parameters: [ [Object], [Object], [Object] ],
  243. rowParser: null,
  244. _connection: [Circular] } }
  245. },
  246. serverCapabilityFlags: 3229614079,
  247. authorized: true,
  248. sequenceId: 2,
  249. compressedSequenceId: 0,
  250. threadId: 442804,
  251. _handshakePacket: [Object],
  252. _fatalError: null,
  253. _protocolError: null,
  254. _outOfOrderPackets: [],
  255. clientEncoding: 'utf8',
  256. packetParser: [Object],
  257. serverEncoding: 'latin1',
  258. connectTimeout: null,
  259. connectionId: 442804,
  260. uuid: '64148758-1e32-4fae-8743-decb5dd5f44d' } },
  261. where: '`account`.`cognito_username` = \'b97932db-1fbc-462c-9b53-89a174e015a0\'',
  262. defaults:
  263. { customerName: 'amitay+email@strattic.com',
  264. contactEmail: 'amitay+email@strattic.com',
  265. createdAt: 1550591286 },
  266. limit: 1,
  267. hooks: true,
  268. rejectOnEmpty: false,
  269. originalAttributes:
  270. [ 'id',
  271. 'cognitoUsername',
  272. 'customerName',
  273. 'status',
  274. 'plan',
  275. 'contactFirstname',
  276. 'contactLastname',
  277. 'contactTitle',
  278. 'contactPhone',
  279. 'contactMobile',
  280. 'contactEmail',
  281. 'contactTz',
  282. 'contactLang',
  283. 'createdAt' ],
  284. attributes:
  285. [ 'id',
  286. [ 'cognito_username', 'cognitoUsername' ],
  287. [ 'customer_name', 'customerName' ],
  288. 'status',
  289. 'plan',
  290. [ 'contact_firstname', 'contactFirstname' ],
  291. [ 'contact_lastname', 'contactLastname' ],
  292. [ 'contact_title', 'contactTitle' ],
  293. [ 'contact_phone', 'contactPhone' ],
  294. [ 'contact_mobile', 'contactMobile' ],
  295. [ 'contact_email', 'contactEmail' ],
  296. [ 'contact_tz', 'contactTz' ],
  297. [ 'contact_lang', 'contactLang' ],
  298. [ 'created_at', 'createdAt' ] ],
  299. tableNames: [ 'account' ],
  300. type: 'SELECT',
  301. model: account }
  302. 2019-02-19T15:48:06.677Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (64148758-1e32-4fae-8743-decb5dd5f44d): INSERT INTO `account` (`id`,`cognito_username`,`customer_name`,`plan`,`contact_email`,`created_at`) VALUES (DEFAULT,?,?,?,?,?); { logging: [Function: prettyConsoleLog],
  303. plain: false,
  304. raw: false,
  305. showWarnings: false,
  306. where: { cognitoUsername: 'b97932db-1fbc-462c-9b53-89a174e015a0' },
  307. defaults:
  308. { customerName: 'amitay+email@strattic.com',
  309. contactEmail: 'amitay+email@strattic.com',
  310. createdAt: 1550591286 },
  311. transaction:
  312. Transaction {
  313. sequelize:
  314. Sequelize {
  315. options: [Object],
  316. config: [Object],
  317. dialect: [Object],
  318. queryInterface: [Object],
  319. models: [Object],
  320. modelManager: [Object],
  321. connectionManager: [Object],
  322. importCache: {},
  323. test: [Object] },
  324. savepoints: [],
  325. _afterCommitHooks: [],
  326. options:
  327. { type: 'DEFERRED',
  328. isolationLevel: null,
  329. readOnly: false,
  330. where: [Object],
  331. defaults: [Object] },
  332. parent: undefined,
  333. id: '64148758-1e32-4fae-8743-decb5dd5f44d',
  334. name: undefined,
  335. connection:
  336. Connection {
  337. domain: null,
  338. _events: [Object],
  339. _eventsCount: 1,
  340. _maxListeners: undefined,
  341. config: [Object],
  342. stream: [Object],
  343. _internalId: 1,
  344. _commands: [Object],
  345. _command: undefined,
  346. _paused: false,
  347. _paused_packets: [Object],
  348. _statements: LRUCache {
  349. max: 16000,
  350.  
  351. 'undefined/undefined/undefinedUPDATE `invitation_codes` SET `created`=? WHERE `created` = ? AND `email` = ?' => { value:
  352. PreparedStatementInfo {
  353. query: 'UPDATE `invitation_codes` SET `created`=? WHERE `created` = ? AND `email` = ?',
  354. id: 1,
  355. columns: [],
  356. parameters: [ [Object], [Object], [Object] ],
  357. rowParser: null,
  358. _connection: [Circular] } }
  359. },
  360. serverCapabilityFlags: 3229614079,
  361. authorized: true,
  362. sequenceId: 18,
  363. compressedSequenceId: 0,
  364. threadId: 442804,
  365. _handshakePacket: [Object],
  366. _fatalError: null,
  367. _protocolError: null,
  368. _outOfOrderPackets: [],
  369. clientEncoding: 'utf8',
  370. packetParser: [Object],
  371. serverEncoding: 'latin1',
  372. connectTimeout: null,
  373. connectionId: 442804,
  374. uuid: '64148758-1e32-4fae-8743-decb5dd5f44d' } },
  375. exception: true,
  376. hooks: true,
  377. validate: true,
  378. fields:
  379. [ 'id',
  380. 'cognitoUsername',
  381. 'customerName',
  382. 'status',
  383. 'plan',
  384. 'contactFirstname',
  385. 'contactLastname',
  386. 'contactTitle',
  387. 'contactPhone',
  388. 'contactMobile',
  389. 'contactEmail',
  390. 'contactTz',
  391. 'contactLang',
  392. 'createdAt' ],
  393. defaultFields:
  394. [ 'id',
  395. 'cognitoUsername',
  396. 'customerName',
  397. 'status',
  398. 'plan',
  399. 'contactFirstname',
  400. 'contactLastname',
  401. 'contactTitle',
  402. 'contactPhone',
  403. 'contactMobile',
  404. 'contactEmail',
  405. 'contactTz',
  406. 'contactLang',
  407. 'createdAt' ],
  408. returning: true,
  409. hasTrigger: undefined,
  410. dialect: 'mysql',
  411. dialectModule: null,
  412. dialectModulePath: null,
  413. host: 'mysql.system.dev.strattic.com',
  414. protocol: 'tcp',
  415. define: {},
  416. query: {},
  417. sync: {},
  418. timezone: '+00:00',
  419. omitNull: false,
  420. native: false,
  421. replication: false,
  422. ssl: undefined,
  423. pool: { max: 5, min: 0, acquire: 30000, idle: 10000 },
  424. quoteIdentifiers: true,
  425. retry: { max: 5, match: [ 'SQLITE_BUSY: database is locked' ] },
  426. transactionType: 'DEFERRED',
  427. isolationLevel: null,
  428. databaseVersion: '5.6.10',
  429. typeValidation: false,
  430. benchmark: false,
  431. operatorsAliases:
  432. { '$eq': Symbol(eq),
  433. '$ne': Symbol(ne),
  434. '$gte': Symbol(gte),
  435. '$gt': Symbol(gt),
  436. '$lte': Symbol(lte),
  437. '$lt': Symbol(lt),
  438. '$not': Symbol(not),
  439. '$in': Symbol(in),
  440. '$notIn': Symbol(notIn),
  441. '$is': Symbol(is),
  442. '$like': Symbol(like),
  443. '$notLike': Symbol(notLike),
  444. '$iLike': Symbol(iLike),
  445. '$notILike': Symbol(notILike),
  446. '$regexp': Symbol(regexp),
  447. '$notRegexp': Symbol(notRegexp),
  448. '$iRegexp': Symbol(iRegexp),
  449. '$notIRegexp': Symbol(notIRegexp),
  450. '$between': Symbol(between),
  451. '$notBetween': Symbol(notBetween),
  452. '$overlap': Symbol(overlap),
  453. '$contains': Symbol(contains),
  454. '$contained': Symbol(contained),
  455. '$adjacent': Symbol(adjacent),
  456. '$strictLeft': Symbol(strictLeft),
  457. '$strictRight': Symbol(strictRight),
  458. '$noExtendRight': Symbol(noExtendRight),
  459. '$noExtendLeft': Symbol(noExtendLeft),
  460. '$and': Symbol(and),
  461. '$or': Symbol(or),
  462. '$any': Symbol(any),
  463. '$all': Symbol(all),
  464. '$values': Symbol(values),
  465. '$col': Symbol(col) },
  466. type: 'INSERT',
  467. instance:
  468. account {
  469. dataValues:
  470. { plan: 'Mini',
  471. id: null,
  472. customerName: 'amitay+email@strattic.com',
  473. contactEmail: 'amitay+email@strattic.com',
  474. createdAt: 1550591286,
  475. cognitoUsername: 'b97932db-1fbc-462c-9b53-89a174e015a0' },
  476. _previousDataValues:
  477. { customerName: undefined,
  478. contactEmail: undefined,
  479. createdAt: undefined,
  480. cognitoUsername: undefined },
  481. _changed:
  482. { customerName: true,
  483. contactEmail: true,
  484. createdAt: true,
  485. cognitoUsername: true },
  486. _modelOptions:
  487. { timestamps: false,
  488. validate: {},
  489. freezeTableName: false,
  490. underscored: false,
  491. paranoid: false,
  492. rejectOnEmpty: false,
  493. whereCollection: [Object],
  494. schema: null,
  495. schemaDelimiter: '',
  496. defaultScope: {},
  497. scopes: [Object],
  498. indexes: [],
  499. name: [Object],
  500. omitNull: false,
  501. tableName: 'account',
  502. sequelize: [Object],
  503. hooks: {} },
  504. _options:
  505. { isNewRecord: true,
  506. _schema: null,
  507. _schemaDelimiter: '',
  508. attributes: undefined,
  509. include: undefined,
  510. raw: undefined,
  511. silent: undefined },
  512. isNewRecord: true },
  513. model: account,
  514. bind:
  515. [ 'b97932db-1fbc-462c-9b53-89a174e015a0',
  516. 'amitay+email@strattic.com',
  517. 'Mini',
  518. 'amitay+email@strattic.com',
  519. 1550591286 ] }
  520. 2019-02-19T15:48:06.683Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (64148758-1e32-4fae-8743-decb5dd5f44d): COMMIT; { logging: [Function: prettyConsoleLog],
  521. plain: false,
  522. raw: true,
  523. showWarnings: false,
  524. type: 'DEFERRED',
  525. isolationLevel: null,
  526. readOnly: false,
  527. where: { cognitoUsername: 'b97932db-1fbc-462c-9b53-89a174e015a0' },
  528. defaults:
  529. { customerName: 'amitay+email@strattic.com',
  530. contactEmail: 'amitay+email@strattic.com',
  531. createdAt: 1550591286 },
  532. transaction:
  533. Transaction {
  534. sequelize:
  535. Sequelize {
  536. options: [Object],
  537. config: [Object],
  538. dialect: [Object],
  539. queryInterface: [Object],
  540. models: [Object],
  541. modelManager: [Object],
  542. connectionManager: [Object],
  543. importCache: {},
  544. test: [Object] },
  545. savepoints: [],
  546. _afterCommitHooks: [],
  547. options:
  548. { type: 'DEFERRED',
  549. isolationLevel: null,
  550. readOnly: false,
  551. where: [Object],
  552. defaults: [Object] },
  553. parent: undefined,
  554. id: '64148758-1e32-4fae-8743-decb5dd5f44d',
  555. name: undefined,
  556. connection:
  557. Connection {
  558. domain: null,
  559. _events: [Object],
  560. _eventsCount: 1,
  561. _maxListeners: undefined,
  562. config: [Object],
  563. stream: [Object],
  564. _internalId: 1,
  565. _commands: [Object],
  566. _command: undefined,
  567. _paused: false,
  568. _paused_packets: [Object],
  569. _statements: LRUCache {
  570. max: 16000,
  571.  
  572. 'undefined/undefined/undefinedINSERT INTO `account` (`id`,`cognito_username`,`customer_name`,`plan`,`contact_email`,`created_at`) VALUES (DEFAULT,?,?,?,?,?);' => { value:
  573. PreparedStatementInfo {
  574. query: 'INSERT INTO `account` (`id`,`cognito_username`,`customer_name`,`plan`,`contact_email`,`created_at`) VALUES (DEFAULT,?,?,?,?,?);',
  575. id: 2,
  576. columns: [],
  577. parameters: [ [Object], [Object], [Object], [Object], [Object] ],
  578. rowParser: null,
  579. _connection: [Circular] } },
  580. 'undefined/undefined/undefinedUPDATE `invitation_codes` SET `created`=? WHERE `created` = ? AND `email` = ?' => { value:
  581. PreparedStatementInfo {
  582. query: 'UPDATE `invitation_codes` SET `created`=? WHERE `created` = ? AND `email` = ?',
  583. id: 1,
  584. columns: [],
  585. parameters: [ [Object], [Object], [Object] ],
  586. rowParser: null,
  587. _connection: [Circular] } }
  588. },
  589. serverCapabilityFlags: 3229614079,
  590. authorized: true,
  591. sequenceId: 2,
  592. compressedSequenceId: 0,
  593. threadId: 442804,
  594. _handshakePacket: [Object],
  595. _fatalError: null,
  596. _protocolError: null,
  597. _outOfOrderPackets: [],
  598. clientEncoding: 'utf8',
  599. packetParser: [Object],
  600. serverEncoding: 'latin1',
  601. connectTimeout: null,
  602. connectionId: 442804,
  603. uuid: '64148758-1e32-4fae-8743-decb5dd5f44d' },
  604. finished: 'commit' },
  605. supportsSearchPath: false }
  606. 2019-02-19T15:48:06.694Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): SELECT `id`, `cognito_username` AS `cognitoUsername`, `customer_name` AS `customerName`, `status`, `plan`, `contact_firstname` AS `contactFirstname`, `contact_lastname` AS `contactLastname`, `contact_title` AS `contactTitle`, `contact_phone` AS `contactPhone`, `contact_mobile` AS `contactMobile`, `contact_email` AS `contactEmail`, `contact_tz` AS `contactTz`, `contact_lang` AS `contactLang`, `created_at` AS `createdAt` FROM `account` AS `account` WHERE `account`.`id` = 66; { logging: [Function: prettyConsoleLog],
  607. plain: true,
  608. raw: false,
  609. showWarnings: false,
  610. where: '`account`.`id` = 66',
  611. hooks: true,
  612. rejectOnEmpty: false,
  613. originalAttributes:
  614. [ 'id',
  615. 'cognitoUsername',
  616. 'customerName',
  617. 'status',
  618. 'plan',
  619. 'contactFirstname',
  620. 'contactLastname',
  621. 'contactTitle',
  622. 'contactPhone',
  623. 'contactMobile',
  624. 'contactEmail',
  625. 'contactTz',
  626. 'contactLang',
  627. 'createdAt' ],
  628. attributes:
  629. [ 'id',
  630. [ 'cognito_username', 'cognitoUsername' ],
  631. [ 'customer_name', 'customerName' ],
  632. 'status',
  633. 'plan',
  634. [ 'contact_firstname', 'contactFirstname' ],
  635. [ 'contact_lastname', 'contactLastname' ],
  636. [ 'contact_title', 'contactTitle' ],
  637. [ 'contact_phone', 'contactPhone' ],
  638. [ 'contact_mobile', 'contactMobile' ],
  639. [ 'contact_email', 'contactEmail' ],
  640. [ 'contact_tz', 'contactTz' ],
  641. [ 'contact_lang', 'contactLang' ],
  642. [ 'created_at', 'createdAt' ] ],
  643. tableNames: [ 'account' ],
  644. type: 'SELECT',
  645. model: account }
  646. 2019-02-19T15:48:06.697Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): UPDATE `invitation_codes` SET `account_id`=? WHERE `codes` = ? { logging: [Function: prettyConsoleLog],
  647. plain: false,
  648. raw: false,
  649. showWarnings: false,
  650. hooks: true,
  651. validate: true,
  652. fields: [ 'accountId' ],
  653. defaultFields: [ 'accountId' ],
  654. hasTrigger: false,
  655. dialect: 'mysql',
  656. dialectModule: null,
  657. dialectModulePath: null,
  658. host: 'mysql.system.dev.strattic.com',
  659. protocol: 'tcp',
  660. define: {},
  661. query: {},
  662. sync: {},
  663. timezone: '+00:00',
  664. omitNull: false,
  665. native: false,
  666. replication: false,
  667. ssl: undefined,
  668. pool: { max: 5, min: 0, acquire: 30000, idle: 10000 },
  669. quoteIdentifiers: true,
  670. retry: { max: 5, match: [ 'SQLITE_BUSY: database is locked' ] },
  671. transactionType: 'DEFERRED',
  672. isolationLevel: null,
  673. databaseVersion: '5.6.10',
  674. typeValidation: false,
  675. benchmark: false,
  676. operatorsAliases:
  677. { '$eq': Symbol(eq),
  678. '$ne': Symbol(ne),
  679. '$gte': Symbol(gte),
  680. '$gt': Symbol(gt),
  681. '$lte': Symbol(lte),
  682. '$lt': Symbol(lt),
  683. '$not': Symbol(not),
  684. '$in': Symbol(in),
  685. '$notIn': Symbol(notIn),
  686. '$is': Symbol(is),
  687. '$like': Symbol(like),
  688. '$notLike': Symbol(notLike),
  689. '$iLike': Symbol(iLike),
  690. '$notILike': Symbol(notILike),
  691. '$regexp': Symbol(regexp),
  692. '$notRegexp': Symbol(notRegexp),
  693. '$iRegexp': Symbol(iRegexp),
  694. '$notIRegexp': Symbol(notIRegexp),
  695. '$between': Symbol(between),
  696. '$notBetween': Symbol(notBetween),
  697. '$overlap': Symbol(overlap),
  698. '$contains': Symbol(contains),
  699. '$contained': Symbol(contained),
  700. '$adjacent': Symbol(adjacent),
  701. '$strictLeft': Symbol(strictLeft),
  702. '$strictRight': Symbol(strictRight),
  703. '$noExtendRight': Symbol(noExtendRight),
  704. '$noExtendLeft': Symbol(noExtendLeft),
  705. '$and': Symbol(and),
  706. '$or': Symbol(or),
  707. '$any': Symbol(any),
  708. '$all': Symbol(all),
  709. '$values': Symbol(values),
  710. '$col': Symbol(col) },
  711. allowNull: [],
  712. type: 'UPDATE',
  713. instance:
  714. invitationCodes {
  715. dataValues:
  716. { codes: '033F0-D297',
  717. sitename: 'email',
  718. accountId: 66,
  719. email: 'amitay+email@strattic.com',
  720. ts: '2019-02-19 15:45:47',
  721. created: 0 },
  722. _previousDataValues:
  723. { codes: '033F0-D297',
  724. sitename: 'email',
  725. accountId: null,
  726. email: 'amitay+email@strattic.com',
  727. ts: '2019-02-19 15:45:47',
  728. created: 0 },
  729. _changed: { accountId: true },
  730. _modelOptions:
  731. { timestamps: false,
  732. validate: {},
  733. freezeTableName: false,
  734. underscored: false,
  735. paranoid: false,
  736. rejectOnEmpty: false,
  737. whereCollection: [Object],
  738. schema: null,
  739. schemaDelimiter: '',
  740. defaultScope: {},
  741. scopes: {},
  742. indexes: [],
  743. name: [Object],
  744. omitNull: false,
  745. tableName: 'invitation_codes',
  746. sequelize: [Object],
  747. hooks: {} },
  748. _options:
  749. { isNewRecord: false,
  750. _schema: null,
  751. _schemaDelimiter: '',
  752. raw: true,
  753. attributes: [Array] },
  754. isNewRecord: false },
  755. model: invitationCodes,
  756. bind: [ 66, '033F0-D297' ] }
  757. 2019-02-19T15:48:06.706Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): SELECT `site`.*, `distributions`.`id` AS `distributions.id`, `distributions`.`site_id` AS `distributions.siteId`, `distributions`.`stack_id` AS `distributions.stackId`, `distributions`.`bucket_id` AS `distributions.bucketId`, `distributions`.`type` AS `distributions.type`, `distributions`.`cloudfront_id` AS `distributions.cloudfrontId`, `distributions`.`cloudfront_domain` AS `distributions.cloudfrontDomain`, `distributions`.`custom_domain` AS `distributions.customDomain`, `distributions`.`domain_name` AS `distributions.domainName`, `distributions`.`domain_acm_arn` AS `distributions.domainAcmArn`, `distributions`.`domain_hosted_zone` AS `distributions.domainHostedZone`, `distributions`.`pending_domain_name` AS `distributions.pendingDomainName`, `distributions`.`pending_acm_arn` AS `distributions.pendingAcmArn`, `distributions`.`created` AS `distributions.created`, `distributions`.`updated` AS `distributions.updated` FROM (SELECT `site`.`id`, `site`.`account_id` AS `accountId`, `site`.`name`, `site`.`site_type` AS `siteType`, `site`.`stack_name` AS `stackName`, `site`.`stack_id` AS `stackId`, `site`.`ecs_service` AS `ecsService`, `site`.`sql_username` AS `sqlUsername`, `site`.`sql_password` AS `sqlPassword`, `site`.`sql_database` AS `sqlDatabase`, `site`.`staging_domain` AS `stagingDomain`, `site`.`ip_whitelist` AS `ipWhitelist`, `site`.`host_whitelist` AS `hostWhitelist`, `site`.`scraping`, `site`.`is_on` AS `isOn`, `site`.`created`, `site`.`updated`, `site`.`sftp_user` AS `sftpUser`, `site`.`sftp_password` AS `sftpPassword`, `site`.`iam_user` AS `iamUser`, `site`.`iam_secret` AS `iamSecret`, `site`.`http_basic_user` AS `httpBasicUser`, `site`.`http_basic_password` AS `httpBasicPassword`, `site`.`thumbnail_url` AS `thumbnailUrl`, `site`.`deleted`, `site`.`failed`, `site`.`last_started` AS `lastStarted`, `site`.`created_at` AS `createdAt` FROM `site` AS `site` WHERE `site`.`name` = 'email' LIMIT 1) AS `site` LEFT OUTER JOIN `site_distribution` AS `distributions` ON `site`.`id` = `distributions`.`site_id`; { logging: [Function: prettyConsoleLog],
  758. plain: true,
  759. raw: false,
  760. showWarnings: false,
  761. where: '`site`.`name` = \'email\'',
  762. limit: 1,
  763. hooks: true,
  764. rejectOnEmpty: false,
  765. include:
  766. [ { model: siteDistribution,
  767. association: distributions,
  768. as: 'distributions',
  769. parent: [Object],
  770. topLimit: 1,
  771. include: [Array],
  772. attributes: [Array],
  773. required: false,
  774. includeNames: [Array],
  775. includeMap: [Object],
  776. hasSingleAssociation: false,
  777. hasMultiAssociation: true,
  778. hasDuplicating: true,
  779. hasRequired: false,
  780. hasWhere: false,
  781. hasIncludeWhere: false,
  782. hasIncludeRequired: false,
  783. duplicating: true,
  784. hasParentWhere: true,
  785. hasParentRequired: false,
  786. subQuery: false,
  787. subQueryFilter: false } ],
  788. originalAttributes:
  789. [ 'id',
  790. 'accountId',
  791. 'name',
  792. 'siteType',
  793. 'stackName',
  794. 'stackId',
  795. 'ecsService',
  796. 'sqlUsername',
  797. 'sqlPassword',
  798. 'sqlDatabase',
  799. 'stagingDomain',
  800. 'ipWhitelist',
  801. 'hostWhitelist',
  802. 'scraping',
  803. 'isOn',
  804. 'created',
  805. 'updated',
  806. 'sftpUser',
  807. 'sftpPassword',
  808. 'iamUser',
  809. 'iamSecret',
  810. 'httpBasicUser',
  811. 'httpBasicPassword',
  812. 'thumbnailUrl',
  813. 'deleted',
  814. 'failed',
  815. 'lastStarted',
  816. 'createdAt' ],
  817. hasJoin: true,
  818. model: site,
  819. includeNames: [ 'distributions' ],
  820. includeMap:
  821. { distributions:
  822. { model: siteDistribution,
  823. association: distributions,
  824. as: 'distributions',
  825. parent: [Object],
  826. topLimit: 1,
  827. include: [Array],
  828. attributes: [Array],
  829. required: false,
  830. includeNames: [Array],
  831. includeMap: [Object],
  832. hasSingleAssociation: false,
  833. hasMultiAssociation: true,
  834. hasDuplicating: true,
  835. hasRequired: false,
  836. hasWhere: false,
  837. hasIncludeWhere: false,
  838. hasIncludeRequired: false,
  839. duplicating: true,
  840. hasParentWhere: true,
  841. hasParentRequired: false,
  842. subQuery: false,
  843. subQueryFilter: false } },
  844. hasSingleAssociation: false,
  845. hasMultiAssociation: true,
  846. topModel: site,
  847. topLimit: 1,
  848. hasDuplicating: true,
  849. hasRequired: false,
  850. hasWhere: false,
  851. subQuery: true,
  852. hasIncludeWhere: false,
  853. hasIncludeRequired: false,
  854. attributes:
  855. [ 'id',
  856. [ 'account_id', 'accountId' ],
  857. 'name',
  858. [ 'site_type', 'siteType' ],
  859. [ 'stack_name', 'stackName' ],
  860. [ 'stack_id', 'stackId' ],
  861. [ 'ecs_service', 'ecsService' ],
  862. [ 'sql_username', 'sqlUsername' ],
  863. [ 'sql_password', 'sqlPassword' ],
  864. [ 'sql_database', 'sqlDatabase' ],
  865. [ 'staging_domain', 'stagingDomain' ],
  866. [ 'ip_whitelist', 'ipWhitelist' ],
  867. [ 'host_whitelist', 'hostWhitelist' ],
  868. 'scraping',
  869. [ 'is_on', 'isOn' ],
  870. 'created',
  871. 'updated',
  872. [ 'sftp_user', 'sftpUser' ],
  873. [ 'sftp_password', 'sftpPassword' ],
  874. [ 'iam_user', 'iamUser' ],
  875. [ 'iam_secret', 'iamSecret' ],
  876. [ 'http_basic_user', 'httpBasicUser' ],
  877. [ 'http_basic_password', 'httpBasicPassword' ],
  878. [ 'thumbnail_url', 'thumbnailUrl' ],
  879. 'deleted',
  880. 'failed',
  881. [ 'last_started', 'lastStarted' ],
  882. [ 'created_at', 'createdAt' ] ],
  883. tableNames: [ 'site', 'site_distribution', 'scrape_job' ],
  884. type: 'SELECT',
  885. keysEscaped: true }
  886. 2019-02-19T15:48:06.712Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): SELECT `codes`, `sitename`, `account_id` AS `accountId`, `email`, `ts`, `created` FROM `invitation_codes` AS `invitationCodes` WHERE `invitationCodes`.`sitename` = 'email' LIMIT 1; { logging: [Function: prettyConsoleLog],
  887. plain: true,
  888. raw: false,
  889. showWarnings: false,
  890. where: '`invitationCodes`.`sitename` = \'email\'',
  891. limit: 1,
  892. hooks: true,
  893. rejectOnEmpty: false,
  894. originalAttributes: [ 'codes', 'sitename', 'accountId', 'email', 'ts', 'created' ],
  895. attributes:
  896. [ 'codes',
  897. 'sitename',
  898. [ 'account_id', 'accountId' ],
  899. 'email',
  900. 'ts',
  901. 'created' ],
  902. tableNames: [ 'invitation_codes' ],
  903. type: 'SELECT',
  904. model: invitationCodes }
  905. 2019-02-19T15:48:06.715Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): INSERT INTO `site` (`id`,`account_id`,`name`,`scraping`,`is_on`,`created`,`updated`,`deleted`,`failed`) VALUES (DEFAULT,?,?,?,?,?,?,?,?); { logging: [Function: prettyConsoleLog],
  906. plain: false,
  907. raw: false,
  908. showWarnings: false,
  909. hooks: true,
  910. validate: true,
  911. fields:
  912. [ 'id',
  913. 'accountId',
  914. 'name',
  915. 'siteType',
  916. 'stackName',
  917. 'stackId',
  918. 'ecsService',
  919. 'sqlUsername',
  920. 'sqlPassword',
  921. 'sqlDatabase',
  922. 'stagingDomain',
  923. 'ipWhitelist',
  924. 'hostWhitelist',
  925. 'scraping',
  926. 'isOn',
  927. 'created',
  928. 'updated',
  929. 'sftpUser',
  930. 'sftpPassword',
  931. 'iamUser',
  932. 'iamSecret',
  933. 'httpBasicUser',
  934. 'httpBasicPassword',
  935. 'thumbnailUrl',
  936. 'deleted',
  937. 'failed',
  938. 'lastStarted',
  939. 'createdAt' ],
  940. defaultFields:
  941. [ 'id',
  942. 'accountId',
  943. 'name',
  944. 'siteType',
  945. 'stackName',
  946. 'stackId',
  947. 'ecsService',
  948. 'sqlUsername',
  949. 'sqlPassword',
  950. 'sqlDatabase',
  951. 'stagingDomain',
  952. 'ipWhitelist',
  953. 'hostWhitelist',
  954. 'scraping',
  955. 'isOn',
  956. 'created',
  957. 'updated',
  958. 'sftpUser',
  959. 'sftpPassword',
  960. 'iamUser',
  961. 'iamSecret',
  962. 'httpBasicUser',
  963. 'httpBasicPassword',
  964. 'thumbnailUrl',
  965. 'deleted',
  966. 'failed',
  967. 'lastStarted',
  968. 'createdAt' ],
  969. returning: true,
  970. hasTrigger: undefined,
  971. dialect: 'mysql',
  972. dialectModule: null,
  973. dialectModulePath: null,
  974. host: 'mysql.system.dev.strattic.com',
  975. protocol: 'tcp',
  976. define: {},
  977. query: {},
  978. sync: {},
  979. timezone: '+00:00',
  980. omitNull: false,
  981. native: false,
  982. replication: false,
  983. ssl: undefined,
  984. pool: { max: 5, min: 0, acquire: 30000, idle: 10000 },
  985. quoteIdentifiers: true,
  986. retry: { max: 5, match: [ 'SQLITE_BUSY: database is locked' ] },
  987. transactionType: 'DEFERRED',
  988. isolationLevel: null,
  989. databaseVersion: '5.6.10',
  990. typeValidation: false,
  991. benchmark: false,
  992. operatorsAliases:
  993. { '$eq': Symbol(eq),
  994. '$ne': Symbol(ne),
  995. '$gte': Symbol(gte),
  996. '$gt': Symbol(gt),
  997. '$lte': Symbol(lte),
  998. '$lt': Symbol(lt),
  999. '$not': Symbol(not),
  1000. '$in': Symbol(in),
  1001. '$notIn': Symbol(notIn),
  1002. '$is': Symbol(is),
  1003. '$like': Symbol(like),
  1004. '$notLike': Symbol(notLike),
  1005. '$iLike': Symbol(iLike),
  1006. '$notILike': Symbol(notILike),
  1007. '$regexp': Symbol(regexp),
  1008. '$notRegexp': Symbol(notRegexp),
  1009. '$iRegexp': Symbol(iRegexp),
  1010. '$notIRegexp': Symbol(notIRegexp),
  1011. '$between': Symbol(between),
  1012. '$notBetween': Symbol(notBetween),
  1013. '$overlap': Symbol(overlap),
  1014. '$contains': Symbol(contains),
  1015. '$contained': Symbol(contained),
  1016. '$adjacent': Symbol(adjacent),
  1017. '$strictLeft': Symbol(strictLeft),
  1018. '$strictRight': Symbol(strictRight),
  1019. '$noExtendRight': Symbol(noExtendRight),
  1020. '$noExtendLeft': Symbol(noExtendLeft),
  1021. '$and': Symbol(and),
  1022. '$or': Symbol(or),
  1023. '$any': Symbol(any),
  1024. '$all': Symbol(all),
  1025. '$values': Symbol(values),
  1026. '$col': Symbol(col) },
  1027. type: 'INSERT',
  1028. instance:
  1029. site {
  1030. dataValues:
  1031. { scraping: '0',
  1032. isOn: '1',
  1033. created: '0',
  1034. updated: '0',
  1035. deleted: '0',
  1036. failed: '0',
  1037. id: null,
  1038. accountId: 66,
  1039. name: 'email' },
  1040. _previousDataValues: { accountId: undefined, name: undefined },
  1041. _changed: { accountId: true, name: true },
  1042. _modelOptions:
  1043. { timestamps: false,
  1044. validate: {},
  1045. freezeTableName: false,
  1046. underscored: false,
  1047. paranoid: false,
  1048. rejectOnEmpty: false,
  1049. whereCollection: [Object],
  1050. schema: null,
  1051. schemaDelimiter: '',
  1052. defaultScope: [Object],
  1053. scopes: [Object],
  1054. indexes: [],
  1055. name: [Object],
  1056. omitNull: false,
  1057. tableName: 'site',
  1058. sequelize: [Object],
  1059. hooks: {} },
  1060. _options:
  1061. { isNewRecord: true,
  1062. _schema: null,
  1063. _schemaDelimiter: '',
  1064. attributes: undefined,
  1065. include: undefined,
  1066. raw: undefined,
  1067. silent: undefined },
  1068. isNewRecord: true },
  1069. model: site,
  1070. bind: [ 66, 'email', '0', '1', '0', '0', '0', '0' ] }
  1071. 2019-02-19T15:48:06.789Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): SHOW DATABASES where `Database` = 'site_65' { logging: [Function: prettyConsoleLog],
  1072. plain: false,
  1073. raw: true,
  1074. showWarnings: false,
  1075. type: 'RAW' }
  1076. 2019-02-19T15:48:06.792Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): SELECT * FROM mysql.user WHERE User = 'site_65' { logging: [Function: prettyConsoleLog],
  1077. plain: false,
  1078. raw: true,
  1079. showWarnings: false,
  1080. type: 'RAW' }
  1081. 2019-02-19T15:48:06.795Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): CREATE DATABASE site_65 { logging: [Function: prettyConsoleLog],
  1082. plain: false,
  1083. raw: true,
  1084. showWarnings: false,
  1085. type: 'RAW' }
  1086. 2019-02-19T15:48:06.813Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): CREATE USER 'site_65' IDENTIFIED BY 'YqAecQzzGN' { logging: [Function: prettyConsoleLog],
  1087. plain: false,
  1088. raw: true,
  1089. showWarnings: false,
  1090. type: 'RAW' }
  1091. 2019-02-19T15:48:06.832Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): GRANT ALL PRIVILEGES ON site_65.* TO 'site_65'; { logging: [Function: prettyConsoleLog],
  1092. plain: false,
  1093. raw: true,
  1094. showWarnings: false,
  1095. type: 'RAW' }
  1096. 2019-02-19T15:48:06.840Z 18dd0ea3-c443-462f-904e-d831438830ee params { StackName: 'site-65-dev',
  1097. Parameters:
  1098. [ { ParameterKey: 'Stage', ParameterValue: 'dev' },
  1099. { ParameterKey: 'CustomerDashboardHost',
  1100. ParameterValue: 'app.dev.strattic.com' },
  1101. { ParameterKey: 'SiteDistributionStackTemplateUrl',
  1102. ParameterValue: 'https://strattic-infra-dev-templatebucket-1xvnp7q2x5vi2.s3.amazonaws.com/site-distribution.yml' },
  1103. { ParameterKey: 'SiteId', ParameterValue: '65' },
  1104. { ParameterKey: 'SiteOn', ParameterValue: 'true' },
  1105. { ParameterKey: 'SiteName', ParameterValue: 'email' },
  1106. { ParameterKey: 'TaskCpu', ParameterValue: '1024' },
  1107. { ParameterKey: 'TaskMemory', ParameterValue: '2048' },
  1108. { ParameterKey: 'WpDbHost',
  1109. ParameterValue: 'mysql.dev.strattic.com' },
  1110. { ParameterKey: 'WpDbUser', ParameterValue: 'site_65' },
  1111. { ParameterKey: 'WpDbPass', ParameterValue: 'YqAecQzzGN' },
  1112. { ParameterKey: 'WpDbName', ParameterValue: 'site_65' },
  1113. { ParameterKey: 'HttpBasicUser', ParameterValue: 'email' },
  1114. { ParameterKey: 'HttpBasicPassword',
  1115. ParameterValue: 'tGMmBdAdhw' },
  1116. { ParameterKey: 'ApacheUser', ParameterValue: 'email' },
  1117. { ParameterKey: 'ApacheUserId', ParameterValue: '1065' },
  1118. { ParameterKey: 'ZipUrl',
  1119. ParameterValue: 'https://wordpress.org/wordpress-5.0.1.zip' },
  1120. { ParameterKey: 'TargetGroupName',
  1121. ParameterValue: 'site-65-tg-dev' },
  1122. { ParameterKey: 'ListenerPriority', ParameterValue: '65' },
  1123. { ParameterKey: 'RedirectListenerPriority',
  1124. ParameterValue: '25065' },
  1125. { ParameterKey: 'SiteStageDomain',
  1126. ParameterValue: 'email.site.dev.strattic.io' },
  1127. { ParameterKey: 'PreviewDomainName',
  1128. ParameterValue: 'email.preview.dev.strattic.io' },
  1129. { ParameterKey: 'PreviewCertificateArn',
  1130. ParameterValue: 'arn:aws:acm:us-east-1:948697449098:certificate/f2e0f40b-53e1-4b19-9f54-ba717684c3e5' },
  1131. { ParameterKey: 'PreviewDnsHostedZone',
  1132. ParameterValue: 'dev.strattic.io' },
  1133. { ParameterKey: 'LiveDomainName',
  1134. ParameterValue: 'email.live.dev.strattic.io' },
  1135. { ParameterKey: 'LiveCertificateArn',
  1136. ParameterValue: 'arn:aws:acm:us-east-1:948697449098:certificate/9c357cc5-a91a-41fb-b69e-fcd883f5ca7a' },
  1137. { ParameterKey: 'LiveDnsHostedZone',
  1138. ParameterValue: 'dev.strattic.io' } ],
  1139. OnFailure: 'ROLLBACK',
  1140. Capabilities: [ 'CAPABILITY_IAM', 'CAPABILITY_NAMED_IAM' ],
  1141. TemplateURL: 'https://strattic-infra-dev-templatebucket-1xvnp7q2x5vi2.s3.amazonaws.com/site-stack.yml',
  1142. NotificationARNs:
  1143. [ 'arn:aws:sns:us-east-1:948697449098:ClientsStackNotificationsSnsTopic-dev' ] }
  1144. 2019-02-19T15:48:07.365Z 18dd0ea3-c443-462f-904e-d831438830ee stackRes { ResponseMetadata: { RequestId: 'bff5075a-345d-11e9-8891-f3feb655d68c' },
  1145. StackId: 'arn:aws:cloudformation:us-east-1:948697449098:stack/site-65-dev/bffaac30-345d-11e9-bb03-0a9fca2e6786',
  1146. stackName: 'site-65-dev',
  1147. stagingDomain: 'email.site.dev.strattic.io',
  1148. previewDomain: 'email.preview.dev.strattic.io',
  1149. liveDomain: 'email.live.dev.strattic.io' }
  1150. 2019-02-19T15:48:07.440Z 18dd0ea3-c443-462f-904e-d831438830ee Executing (default): UPDATE `site` SET `sql_username`=?,`sql_password`=?,`sql_database`=?,`http_basic_user`=?,`http_basic_password`=?,`sftp_user`=?,`sftp_password`=?,`stack_name`=?,`stack_id`=?,`staging_domain`=? WHERE `id` = ? { logging: [Function: prettyConsoleLog],
  1151. plain: false,
  1152. raw: false,
  1153. showWarnings: false,
  1154. hooks: true,
  1155. validate: true,
  1156. fields:
  1157. [ 'sqlUsername',
  1158. 'sqlPassword',
  1159. 'sqlDatabase',
  1160. 'httpBasicUser',
  1161. 'httpBasicPassword',
  1162. 'sftpUser',
  1163. 'sftpPassword',
  1164. 'stackName',
  1165. 'stackId',
  1166. 'stagingDomain' ],
  1167. defaultFields:
  1168. [ 'sqlUsername',
  1169. 'sqlPassword',
  1170. 'sqlDatabase',
  1171. 'httpBasicUser',
  1172. 'httpBasicPassword',
  1173. 'sftpUser',
  1174. 'sftpPassword',
  1175. 'stackName',
  1176. 'stackId',
  1177. 'stagingDomain' ],
  1178. hasTrigger: false,
  1179. dialect: 'mysql',
  1180. dialectModule: null,
  1181. dialectModulePath: null,
  1182. host: 'mysql.system.dev.strattic.com',
  1183. protocol: 'tcp',
  1184. define: {},
  1185. query: {},
  1186. sync: {},
  1187. timezone: '+00:00',
  1188. omitNull: false,
  1189. native: false,
  1190. replication: false,
  1191. ssl: undefined,
  1192. pool: { max: 5, min: 0, acquire: 30000, idle: 10000 },
  1193. quoteIdentifiers: true,
  1194. retry: { max: 5, match: [ 'SQLITE_BUSY: database is locked' ] },
  1195. transactionType: 'DEFERRED',
  1196. isolationLevel: null,
  1197. databaseVersion: '5.6.10',
  1198. typeValidation: false,
  1199. benchmark: false,
  1200. operatorsAliases:
  1201. { '$eq': Symbol(eq),
  1202. '$ne': Symbol(ne),
  1203. '$gte': Symbol(gte),
  1204. '$gt': Symbol(gt),
  1205. '$lte': Symbol(lte),
  1206. '$lt': Symbol(lt),
  1207. '$not': Symbol(not),
  1208. '$in': Symbol(in),
  1209. '$notIn': Symbol(notIn),
  1210. '$is': Symbol(is),
  1211. '$like': Symbol(like),
  1212. '$notLike': Symbol(notLike),
  1213. '$iLike': Symbol(iLike),
  1214. '$notILike': Symbol(notILike),
  1215. '$regexp': Symbol(regexp),
  1216. '$notRegexp': Symbol(notRegexp),
  1217. '$iRegexp': Symbol(iRegexp),
  1218. '$notIRegexp': Symbol(notIRegexp),
  1219. '$between': Symbol(between),
  1220. '$notBetween': Symbol(notBetween),
  1221. '$overlap': Symbol(overlap),
  1222. '$contains': Symbol(contains),
  1223. '$contained': Symbol(contained),
  1224. '$adjacent': Symbol(adjacent),
  1225. '$strictLeft': Symbol(strictLeft),
  1226. '$strictRight': Symbol(strictRight),
  1227. '$noExtendRight': Symbol(noExtendRight),
  1228. '$noExtendLeft': Symbol(noExtendLeft),
  1229. '$and': Symbol(and),
  1230. '$or': Symbol(or),
  1231. '$any': Symbol(any),
  1232. '$all': Symbol(all),
  1233. '$values': Symbol(values),
  1234. '$col': Symbol(col) },
  1235. allowNull: [],
  1236. type: 'UPDATE',
  1237. instance:
  1238. site {
  1239. dataValues:
  1240. { scraping: '0',
  1241. isOn: '1',
  1242. created: '0',
  1243. updated: '0',
  1244. deleted: '0',
  1245. failed: '0',
  1246. id: 65,
  1247. accountId: 66,
  1248. name: 'email',
  1249. sqlUsername: 'site_65',
  1250. sqlPassword: 'YqAecQzzGN',
  1251. sqlDatabase: 'site_65',
  1252. httpBasicUser: 'email',
  1253. httpBasicPassword: 'tGMmBdAdhw',
  1254. sftpUser: 'email',
  1255. sftpPassword: 'kdTznX8wd9',
  1256. stackName: 'site-65-dev',
  1257. stackId: 'arn:aws:cloudformation:us-east-1:948697449098:stack/site-65-dev/bffaac30-345d-11e9-bb03-0a9fca2e6786',
  1258. stagingDomain: 'email.site.dev.strattic.io' },
  1259. _previousDataValues:
  1260. { accountId: 66,
  1261. name: 'email',
  1262. id: 65,
  1263. siteType: undefined,
  1264. stackName: undefined,
  1265. stackId: undefined,
  1266. ecsService: undefined,
  1267. sqlUsername: undefined,
  1268. sqlPassword: undefined,
  1269. sqlDatabase: undefined,
  1270. stagingDomain: undefined,
  1271. ipWhitelist: undefined,
  1272. hostWhitelist: undefined,
  1273. scraping: '0',
  1274. isOn: '1',
  1275. created: '0',
  1276. updated: '0',
  1277. sftpUser: undefined,
  1278. sftpPassword: undefined,
  1279. iamUser: undefined,
  1280. iamSecret: undefined,
  1281. httpBasicUser: undefined,
  1282. httpBasicPassword: undefined,
  1283. thumbnailUrl: undefined,
  1284. deleted: '0',
  1285. failed: '0',
  1286. lastStarted: undefined,
  1287. createdAt: undefined },
  1288. _changed:
  1289. { accountId: false,
  1290. name: false,
  1291. id: false,
  1292. siteType: false,
  1293. stackName: true,
  1294. stackId: true,
  1295. ecsService: false,
  1296. sqlUsername: true,
  1297. sqlPassword: true,
  1298. sqlDatabase: true,
  1299. stagingDomain: true,
  1300. ipWhitelist: false,
  1301. hostWhitelist: false,
  1302. scraping: false,
  1303. isOn: false,
  1304. created: false,
  1305. updated: false,
  1306. sftpUser: true,
  1307. sftpPassword: true,
  1308. iamUser: false,
  1309. iamSecret: false,
  1310. httpBasicUser: true,
  1311. httpBasicPassword: true,
  1312. thumbnailUrl: false,
  1313. deleted: false,
  1314. failed: false,
  1315. lastStarted: false,
  1316. createdAt: false },
  1317. _modelOptions:
  1318. { timestamps: false,
  1319. validate: {},
  1320. freezeTableName: false,
  1321. underscored: false,
  1322. paranoid: false,
  1323. rejectOnEmpty: false,
  1324. whereCollection: [Object],
  1325. schema: null,
  1326. schemaDelimiter: '',
  1327. defaultScope: [Object],
  1328. scopes: [Object],
  1329. indexes: [],
  1330. name: [Object],
  1331. omitNull: false,
  1332. tableName: 'site',
  1333. sequelize: [Object],
  1334. hooks: {} },
  1335. _options:
  1336. { isNewRecord: true,
  1337. _schema: null,
  1338. _schemaDelimiter: '',
  1339. attributes: undefined,
  1340. include: undefined,
  1341. raw: undefined,
  1342. silent: undefined },
  1343. isNewRecord: false,
  1344. previewDomain: 'email.preview.dev.strattic.io' },
  1345. model: site,
  1346. bind:
  1347. [ 'site_65',
  1348. 'YqAecQzzGN',
  1349. 'site_65',
  1350. 'email',
  1351. 'tGMmBdAdhw',
  1352. 'email',
  1353. 'kdTznX8wd9',
  1354. 'site-65-dev',
  1355. 'arn:aws:cloudformation:us-east-1:948697449098:stack/site-65-dev/bffaac30-345d-11e9-bb03-0a9fca2e6786',
  1356. 'email.site.dev.strattic.io',
  1357. 65 ] }
  1358. END RequestId: 18dd0ea3-c443-462f-904e-d831438830ee
  1359. REPORT RequestId: 18dd0ea3-c443-462f-904e-d831438830ee Duration: 999.89 ms Billed Duration: 1000 ms Memory Size: 1024 MB Max Memory Used: 77 MB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement