Questions tagged [predix]

Predix is the operating system for the Industrial Internet. Predix is a General Electric Product

Predix is a purpose-built platform-as-a-service (PaaS) for developing, deploying, operating and monetizing Industrial Internet applications. Highly optimized for the unique and demanding requirements of industrial applications, Predix works with operating assets from any vendor or vintage. Predix captures and analyzes the unique volume, velocity, and variety of machine data generated across the industrial world within a secure, industrial-strength cloud environment.

Based on Pivotal Cloud Foundry, Predix uses a microservices architecture model where applications are created as a catalog of services instead of one tightly coupled monolith of code. Microservices architecture makes it much easier to change and maintain apps, which is particularly important for Industrial Internet apps that run 24/7, 365 days a year.

62 questions
7
votes
2 answers

Feign Client communication in predix (Cloud Foundry)

I have 2 microservices built using Netflix eureka. They communicate using feign client. In my local environment feign client works without any issue. But in the Predix (a cloud foundry) environment they fail to communicate. Feign client always gives…
7
votes
0 answers

Whitenoise + Django + Cloudfoundry - http 500 when compression is enabled

I've successfully deployed Django with Whitenoise on Cloudfoundry except for the compression. If I set on my settings.py to enable compression: STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' I get a 500 error and…
Leonardo Pessoa
  • 248
  • 4
  • 16
7
votes
2 answers

Escape single quote in Postgres query inside node js app

Here is a line from my node js code: var qry = 'INSERT INTO "sma"."RMD"("UserId","Favourite") VALUES (' + req.body.user + ',' + JSON.stringify(req.body.favourite) + ')' I want to insert single quotes before JSON.stringify(req.body.favourite). But…
iJade
  • 23,144
  • 56
  • 154
  • 243
6
votes
1 answer

How to remove Ruby from OS X

We have ruby with version ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]. We need uninstall ruby and install again. So we tried like this Anshuls-Mac-mini-2:~ pankajthakur$ whereis ruby /usr/bin/ruby Anshuls-Mac-mini-2:~…
Pavan Alapati
  • 635
  • 2
  • 8
  • 21
4
votes
3 answers

Error while pushing Google Chrome Puppeteer app to Predix

I am trying to use Google Chrome Puppeteer in the predix-web-starter app. When I run the code locally on Windows, it runs flawlessly. After I push it to Predix, and when I run the part containing the Puppeteer code, it results in an error. There…
Arjun Mudhaliyar
  • 156
  • 3
  • 10
3
votes
2 answers

.Net Core ClientWebSocket: Unable to connect to server

I'm building a web application that connects to a Predix Timeseries instance to ingest data through a websocket. When I attempt to create the socket, I get this exception: System.Net.WebSockets.WebSocketException: 'Unable to connect to the remote…
Joe
  • 191
  • 1
  • 3
  • 13
3
votes
1 answer

how to deploy elasticsearch in predix?

I am trying to deploy elasticsearch in predix, I tried to push the downloaded elasticsearch folder into predix with the following manifest. --- applications: - name: elastic-search-test3 buildpack: java_buildpack # path:…
kongaraju
  • 9,344
  • 11
  • 55
  • 78
3
votes
1 answer

Forcing Https connection during the spring security login success

I have one spring boot app which contains spring security with formLogin being added and custom loginPage . Whenever I get authenticated then it will send me to the defaultSuccessUrl which is /app/dashboard and it sends with the schema http I been…
privatejava
  • 703
  • 1
  • 9
  • 20
2
votes
0 answers

Polymer components loading individually making pages load slow

I have a polymer 2.0 project running on Predix. Each time a new page loads you can watch in dev tools ad it loads all the polymer components 1 by 1. I thought there was a was to minify this so it doesn't happen but I haven't been able to get it to…
2
votes
1 answer

Error calling CF API login one time passcode

I am working with the CF API RESTful services. Trying to get an access token from cloud foundry's UAA API using https://login..../oauth/token web method. I have verified that headers & body content is correct, but calling the api always returns a…
2
votes
0 answers

Secure websocket connection created with QWebSocket is refused

I have a problem with QWebSocket connection with C++. QWebSocket *mWebSocket = new QWebSocket(); connect(mWebSocket, SIGNAL(connected()), this, SLOT(connected())); connect(mWebSocket, SIGNAL(disconnected()), this,…
Vova Shevchyk
  • 138
  • 10
2
votes
2 answers

Push Go lang web project binary to CloudFoundry

Can we deploy/push our Go web service binary to Cloud Foundry, instead of pushing codebase and build there? If we can then how? I tried to find anything related but could not find anything. Thanks in advance
kamal
  • 996
  • 15
  • 25
1
vote
1 answer

Not able to use predix px-button-group-design component

I am using px-button-group design component as per the documentation https://www.predix-ui.com/#/css/visual/buttons/px-button-group-design i installed the component i am using predix webapp starter (1.0.46 release version) as a reference app in my…
1
vote
1 answer

CloudFoundry force pandas version

I developed a program locally that works just fine, however when I push it to CloudFoundry/Predix, some version discrepancies make it incompatible. I'm developing locally and use a Jupyter notebook. I use some pickled files. When I check import…
lte__
  • 7,175
  • 25
  • 74
  • 131
1
vote
2 answers

Predix - Polymer frontend to communicate with Flask Python server?

I'm trying to push a program containing of 2 apps to Cloudfoundry - a Flask server to run a Python API and a Polymer app for frontend. Currently I'm using the following structure: manifest.yml: --- applications: - name: flask_min path:…
lte__
  • 7,175
  • 25
  • 74
  • 131
1
2 3 4 5