Skip to content

Instantly share code, notes, and snippets.

{"name":"supercore","hostname":"node1.feedhenry.me","pid":17013,"level":50,"error":{"name":"TimeoutError"},"cfg":{"clusterNodes":["amqp://fhinternal:[email protected]:5672/fhinternal"],"exchange":"fh-internal","topic":"fh.internal.app.deleted"},"msg":"Error connecting to internalmessagebus","time":"2015-07-23T18:25:17.620Z","v":0}
Error in platformevents! - TimeoutError: connection timeout
{"name":"supercore","hostname":"node1.feedhenry.me","pid":17013,"level":40,"err":{"name":"TimeoutError"},"msg":"Error in platformevents!","time":"2015-07-23T18:25:17.621Z","v":0}
{"name":"supercore","hostname":"node1.feedhenry.me","pid":17013,"level":50,"msg":"failed to connect to message bus","time":"2015-07-23T18:25:17.622Z","v":0}
{"name":"supercore","hostname":"node1.feedhenry.me","pid":17013,"level":50,"msg":"failed to connect to message bus","time":"2015-07-23T18:25:17.622Z","v":0}
Error in platformevents! - failed to connect to message bus
{"name":"supercore","hostname":"node1.feedhenry.me","pid":
{ kind: 'ProjectRequest',
apiVersion: 'v1',
metadata:
{ name: 'welcomeprojectcloos3y432',
creationTimestamp: null,
annotations: { 'rhmap.io/description': '' } },
labels:
{ 'rhmap.io/env': 'os3',
'rhmap.io/guid': 'ujzozs3h5ldwo4orxsaky432',
'rhmap.io/project': 'ujzozs773araip3o2zi7mwhp',
var express = require('express');
var bodyParser = require('body-parser');
var cors = require('cors');
var request = require('request');
function helloRoute() {
var hello = new express.Router();
hello.use(cors());
hello.use(bodyParser());
{
"submissions":[
{
"_id":"558ea23639a3b22f248e26f2",
"appClientId":"dbmxt6csylbgk36hzpmcxdh4",
"appCloudName":"summitdemo-540ty4j5jnfp0dusuik5kldm-rht-summit-prod",
"appEnvironment":"rht-summit-prod",
"appId":"54_tyE_DE2NMHNm-ErWgvAjC",
"deviceFormTimestamp":"2015-04-27T18:20:14.838Z",
"deviceIPAddress":"117.192.252.99,10.42.11.137",
var fh = fh || {};
fh.oauth = function(url, cb){
var browser = window.open(url, '_blank', 'location=yes');
browser.addEventListener('loadstop', function(e){
if (e.url.indexOf('/authed')>-1){
browser.executeScript({
code: "JSON.parse(document.body.querySelector('pre').textContent)"
}, function(result) {
// Result will be required oAuth creds
browser.close();
var server = app.listen(port, host, function() {
console.log("App started at: " + new Date() + " on port: " + port);
});
submissions.stream(server);
// submissions.js:
exports.stream = function(server){
var io = require('socket.io')(server);
io.on('connection', function (socket) {
{
"kind": "BuildConfig",
"apiVersion": "v1beta3",
"metadata": {
"name": "nodejs-sample-build",
"labels": {
"name": "nodejs-sample-build"
}
},
"triggers": [

3.6.0 - 2015-06-03 - Cian Clarke

  • FHMAP-466 - OpenShift 3 staging support

    Property: studio-js-admin-environments-mbaases-types
    Can override the available mBaaS target types available for creation. studio-js-admin-environments-mbaases-type = ["feedhenry", "openshift3"]

Some further description

helper.go: &{Host:https://openshift-master.fh.paas.ninja:8443 Prefix:/api Version:v1beta3 LegacyBehavior:false Codec:0xc2080580e0 Username: Password: BearerToken:YjllYTk5NDItNTFlYS00ZjQ2LWI5ZjYtNWM1OTViZDQ4NDRi TLSClientConfig:{CertFile: KeyFile: CAFile: CertData:[] KeyData:[] CAData:[]} Insecure:true UserAgent:osc/v0.16.2 (darwin/amd64) kubernetes/c07896e Transport:<nil> WrapTransport:<nil> QPS:5 Burst:10}
GETGET
------------------------------
GET https://openshift-master.fh.paas.ninja:8443/api/v1beta3/namespaces/demo1/pods
map[]
------------------------------
transport.go: YjllYTk5NDItNTFlYS00ZjQ2LWI5ZjYtNWM1OTViZDQ4NDRi
200
&{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Type:[application/json] Date:[Thu, 21 May 2015 17:32:10 GMT]] Body:0xc208418040 ContentLength:-1 TransferEncoding:[chunked] Close:false Trailer:map[] Request:0xc208309c70 TLS:0xc2083b8540}
helper.go: &{Host:https://openshift-master.fh.paas.ninja:8443 Prefix:/api Version:v1beta1 LegacyBehavior:true
{
"plugins": [
{
"id": "org.apache.cordova.device",
"version": "0.2.8",
"url": "https://github.com/apache/cordova-plugin-device.git#r0.2.8"
},
{
"id": "org.apache.cordova.network-information",
"version": "0.2.9",