Skip to content

Instantly share code, notes, and snippets.

View psturc's full-sized avatar
🎸

Pavel Sturc psturc

🎸
  • Red Hat
  • Brno, Czech Republic
  • 10:39 (UTC +02:00)
View GitHub Profile
@psturc
psturc / cordova-build-error.log
Created June 18, 2018 13:14
Cannot build Cordova Showcase App - Android / iOS
λ ~/work/aerogear/aerogear-js-sdk/cordova-example/ master* npm run ionic:android
> cordova-showcase-template@0.0.1 ionic:android /Users/psturc/work/aerogear/aerogear-js-sdk/cordova-example
> ionic cordova run android
> cordova platform add android --save
Using cordova-fetch for cordova-android@7.1.0
Adding android project...
Creating Cordova project for the Android platform:
@psturc
psturc / data-sync-ui-pod-error.log
Created July 11, 2018 07:26
Data sync UI pod crashing
> sync-server-ui@0.0.1 start /opt/app-root/src
> node ./dist/index.js
Wed, 11 Jul 2018 07:18:46 GMT sequelize deprecated String based operators are now 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:242:13
warn: notifier unknown or disabled: postgres
info: GraphQl server mounted at /graphql
/opt/app-root/src/dist/server.js:62
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(req, res) {
^
@psturc
psturc / pipeline-output.log
Created July 11, 2018 15:22
test build android sdk
Started by user Jenkins Admin
Replayed #36
[Pipeline] node
Still waiting to schedule task
All nodes of label ‘circleci’ are offline
Running on jenkins-slave-circleci-cxlvb in /tmp/workspace/test-pipeline
[Pipeline] {
[Pipeline] sh
[test-pipeline] Running shell script
+ git clone https://github.com/psturc/aerogear-android-sdk
`docker run --name sync-ui -p 8000:8000 -d aerogear/sync-ui:latest`
> sync-server-ui@0.0.1 start /opt/app-root/src
> node server/index.js
Thu, 12 Jul 2018 08:24:18 GMT sequelize deprecated String based operators are now 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:242:13
warn: notifier unknown or disabled: postgres
info: GraphQl server mounted at /graphql
Unhandled rejection SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:5432
at connection.connect.err (/opt/app-root/src/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:116:24)
λ ~/work/aerogear/data-sync-server/ postgres-datasource* npm run db:init:memeo:postgres
> data-sync-server@1.0.0 db:init:memeo:postgres /Users/psturc/work/aerogear/data-sync-server
> FORCE_DROP=true node ./scripts/sync_models && sequelize db:seed --seed memeolist-example-postgres.js && docker exec aerogeardatasyncserver_postgres_memeo_1 psql -U postgres -d memeolist_db -f /tmp/examples/memeolist.tables.sql
{"level":30,"time":1532095119016,"msg":"Using default schemaListener since SCHEMA_LISTENER_CONFIG environment variable is not defined","pid":38687,"hostname":"Pavels-MacBook-Pro.local","v":1}
{"level":30,"time":1532095119548,"msg":"Executing (default): DROP TABLE IF EXISTS \"Resolvers\" CASCADE;","pid":38687,"hostname":"Pavels-MacBook-Pro.local","v":1}
{"level":30,"time":1532095119551,"msg":"Executing (default): DROP TABLE IF EXISTS \"GraphQLSchemas\" CASCADE;","pid":38687,"hostname":"Pavels-MacBook-Pro.local","v":1}
{"level":30,"time":1532095119553,"msg":"Executing (default): DROP TABLE IF EXISTS \"DataS
@psturc
psturc / data-sync-server-apb.log
Created July 27, 2018 20:20
Log from Data Sync Server pod
> data-sync-server@1.0.0 start /opt/app-root/src
> node ./index.js
{"level":30,"time":1532722742178,"msg":"Using default schemaListener since SCHEMA_LISTENER_CONFIG environment variable is not defined","pid":19,"hostname":"data-sync-server-1-5bshx","v":1}
unhandled rejection: { SequelizeDatabaseError: column Resolver.publish does not exist
at Query.formatError (/opt/app-root/src/node_modules/sequelize/lib/dialects/postgres/query.js:363:16)
at query.catch.err (/opt/app-root/src/node_modules/sequelize/lib/dialects/postgres/query.js:86:18)
at tryCatcher (/opt/app-root/src/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/opt/app-root/src/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/opt/app-root/src/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/opt/app-root/src/node_modules/bluebird/js/release/promise.js:614:10)
[2018-07-31T09:58:01.483Z] INFO (11236 on Pavels-MacBook-Pro.local):
tag: "AUDIT"
requestId: 4
operationType: "query"
parentTypeName: "Profile"
path: "allProfiles.0.memes"
success: true
parent: {
"_type": "profile",
"email": "jordan@example.com",
Executing tasks: [:app:assembleDebug]
:app:buildInfoDebugLoader
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
@psturc
psturc / mobile-services.js
Created February 22, 2019 15:14
For release 0.1.0 of ionic-showcase
let config = {
"version": 1,
"namespace": "test",
"clientId": "org.aerogear.ionic.showcase",
"services": [
{
"id": "e973164c-3687-11e9-9467-0af08791569c",
"name": "keycloak",
"type": "keycloak",
"url": "https://keycloak-route-test.comm2.skunkhenry.com/auth",
➜ integreatly-operator git:(master) ✗ go test -v ./test/functional -run=TestIntegreatly/Integreatly_Happy_Path_Tests/Verify_RHMI_CRD_Exists
=== RUN TestIntegreatly
=== RUN TestIntegreatly/Integreatly_Happy_Path_Tests
=== RUN TestIntegreatly/Integreatly_Happy_Path_Tests/Verify_RHMI_CRD_Exists
--- PASS: TestIntegreatly (0.56s)
--- PASS: TestIntegreatly/Integreatly_Happy_Path_Tests (0.54s)
--- PASS: TestIntegreatly/Integreatly_Happy_Path_Tests/Verify_RHMI_CRD_Exists (0.54s)
PASS