This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: 'P1' | |
color: 'b60205' | |
repos: | |
- apim | |
- appliance | |
- hilo | |
- juhu | |
- toolkit | |
- toolkit-codegen | |
- ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ DEBUG=* apic apps:publish --organization cgoleusibmcom-v50301 --server snowdon.stratus.apim.ibmcloud.com --app testapp1 > log | |
apiconnect:license License was accepted on 1469127723818 +0ms | |
apiconnect-cli-config:loader searching for /Users/chandrikagole/workspace/apiconnect/apiconnect-testapps/test1/package.json +1s | |
apiconnect-cli-config:loader { name: 'test1', version: '1.0.0', main: 'server/server.js', scripts: { start: 'node .', pretest: 'eslint .', posttest: 'nsp check' }, dependencies: { compression: '^1.0.3', cors: '^2.5.2', helmet: '^1.3.0', 'loopback-boot': '^2.6.5', 'serve-favicon': '^2.0.1', 'strong-error-handler': '^1.0.1', 'loopback-datasource-juggler': '^2.39.0', loopback: '^2.22.0' }, devDependencies: { eslint: '^2.5.3', nsp: '^2.1.0' }, repository: { type: '', url: '' }, license: 'UNLICENSED', description: 'test1' } +2ms | |
apiconnect-cli-config:loader inspectPath -> {"projectType":"loopback","basePath":"/Users/chandrikagole/workspace/apiconnect/apiconnect-testapps/test1","name":"test1","v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-04-07T12:32:39.12-0700 [DEA/91] OUT Stopping app instance (index 0) with guid 5736506c-8e0d-4f80-b15e-cc8f6866235d | |
2016-04-07T12:32:39.12-0700 [DEA/91] OUT Stopped app instance (index 0) with guid 5736506c-8e0d-4f80-b15e-cc8f6866235d | |
2016-04-07T12:33:20.20-0700 [DEA/158] OUT Got staging request for app with id 5736506c-8e0d-4f80-b15e-cc8f6866235d | |
2016-04-07T12:33:36.43-0700 [API/0] OUT Updated app with guid 5736506c-8e0d-4f80-b15e-cc8f6866235d ({"console"=>true, "state"=>"STARTED"}) | |
2016-04-07T12:33:39.93-0700 [STG/158] OUT -----> Downloaded app package (59M) | |
2016-04-07T12:33:43.08-0700 [STG/158] OUT -----> Downloaded app buildpack cache (90M) | |
2016-04-07T12:33:47.34-0700 [STG/0] OUT | |
2016-04-07T12:33:47.34-0700 [STG/0] OUT -----> IBM SDK for Node.js Buildpack v3.2-20160315-1257 | |
2016-04-07T12:33:47.35-0700 [STG/0] OUT Based on Cloud Foundry Node.js Buildpack v1.5.4 | |
2016-04-07T12:33:47.36-0700 [STG/0] OUT -----> Creating runtime environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-04-07T11:49:05.875-0700[App/0]OUT> db2app@1.0.0 start /home/vcap/app | |
2016-04-07T11:49:05.875-0700[App/0]OUT> node . | |
2016-04-07T11:49:07.706-0700[App/0]OUTWeb server listening at: http://0.0.0.0:62823 | |
2016-04-07T11:49:37.896-0700[App/0]ERRevents.js:141 | |
2016-04-07T11:49:37.897-0700[App/0]ERR throw er; // Unhandled 'error' event | |
2016-04-07T11:49:37.897-0700[App/0]ERR at Error (native) | |
2016-04-07T11:49:37.896-0700[App/0]ERR | |
2016-04-07T11:49:37.897-0700[App/0]ERR ^ | |
2016-04-07T11:49:37.929-0700[App/0]ERRnpm ERR! Linux 3.19.0-25-generic | |
2016-04-07T11:49:37.930-0700[App/0]ERRnpm ERR! argv "/home/vcap/app/vendor/node/bin/node" "/home/vcap/app/vendor/node/bin/npm" "start" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-04-06T18:04:41.80-0700 [DEA/6] OUT Got staging request for app with id 2c09293b-c171-4efc-9c2a-b0912c7ba579 | |
2016-04-06T18:06:16.97-0700 [API/5] OUT Updated app with guid 2c09293b-c171-4efc-9c2a-b0912c7ba579 ({"state"=>"STARTED"}) | |
2016-04-06T18:06:21.20-0700 [STG/6] OUT -----> Downloaded app package (43M) | |
2016-04-06T18:06:25.63-0700 [STG/0] OUT | |
2016-04-06T18:06:25.63-0700 [STG/0] OUT -----> IBM SDK for Node.js Buildpack v3.2-20160315-1257 | |
2016-04-06T18:06:25.63-0700 [STG/0] OUT Based on Cloud Foundry Node.js Buildpack v1.5.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Terminal where apic edit was invoked shows something like: | |
Building package for deploy | |
Deploying to API Connect controller: 169.53.186.232:9443 | |
Upload successful: package.tgz | |
Upload successful: app3.deploy.xml | |
Upload successful: apic.app3.scalingPolicy.xml | |
Deploy to liberty server completed succesfully. | |
Please update your swagger with: | |
target url: undefined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gulp build | |
[13:06:47] Using gulpfile ~/workspace/apim-ui/gulpfile.js | |
[13:06:47] Starting 'clean:dist'... | |
[13:06:47] Starting 'jshint'... | |
[13:06:47] Starting 'copy:fafonts'... | |
[13:06:47] Starting 'copy:mdfonts'... | |
[13:06:47] Starting 'replace:nls'... | |
[13:06:47] Starting 'less'... | |
[13:06:47] Starting 'sprite'... | |
[13:06:47] Starting 'build:workspace'... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ slc pm | |
slc pm(12092): StrongLoop PM v5.1.0 (API v6.1.0) on port `8701` | |
slc pm(12092): Base folder `/Users/chandrikagole/.strong-pm` | |
slc pm(12092): Applications on port `3000 + service ID` | |
Browse your REST API at http://127.0.0.1:8701/explorer | |
../lib/kerberosgss.c:509:13: warning: implicit declaration of function 'gss_acquire_cred_impersonate_name' is invalid in C99 [-Wimplicit-function-declaration] | |
maj_stat = gss_acquire_cred_impersonate_name(&min_stat, | |
^ | |
1 warning generated. | |
../lib/kerberosgss.c:509:13: warning: implicit declaration of function 'gss_acquire_cred_impersonate_name' is invalid in C99 [-Wimplicit-function-declaration] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps to verify - | |
Go to: https://ibm.box.com/s/js73swrxeshl8ksfg2eimay73zr2afb5 | |
Download all 4 files. | |
Unzip wlp-nd-embeddable-8.5.5.8 anywhere | |
Put 3 jars into /wlp/lib | |
From root of your unzipped folder, run command bin/server create controller1 or any name for controller1 you want | |
Then run bin/collective create <name of your controller> --keystorePassword=adminpwd or whatever password you want, it's going to then spit out some XML into your terminal | |
Copy and paste this XML into your /usr/servers//server.xml -- NOTE: the password="{xor}<some key>" is different depending on your config so you can't simply share server.xml, but it can have more or less the same with names and passwords changed | |
Update this into your server.xml , below featureManager is fine (add host="*" in httpEndpoint): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm i -g strongloop | |
> heapdump@0.3.7 install /usr/local/lib/node_modules/strongloop/node_modules/heapdump | |
> node-gyp rebuild | |
CXX(target) Release/obj.target/addon/src/heapdump.o | |
SOLINK_MODULE(target) Release/addon.node | |
> strong-debugger@1.0.11 install /usr/local/lib/node_modules/strongloop/node_modules/strong-debugger | |
> node-gyp rebuild |
NewerOlder