Skip to content

indaco/predix-hello-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predix-Hello-Scala

A basic attempt to develop on Predix.io using the Scala programming language and its ecosystem of awesome libraries.

This sample app leverages on:

What does it do?

  • Create a Finagle HTTP Server
  • Create a Finagle HTTP Client (based on this example) to call the Predix API Endpoint and get info on the environment
  • Show an extract from that info Cloud Foundry GE Open Sandbox: API version = 2.62.0

Getting Started

Install tools

Be sure to have SBT installed on you machine

Get the source code

Make a directory for your project. Clone or download and extract the starter in that directory.

git clone https://github.com/indaco/predix-hello-scala.git
cd predix-hello-scala

Running the app locally

sbt

> run-main WebServer

Running in Predix Cloud

  1. Open the manifest.yml file and edit the name for your own application
  2. Push the app to your Predix account $cf push

Copyright and License

Licensed under the MIT License, see the LICENSE file.


DISCLAIMER

This is not an official development from the GE Digital's Predix Team

About

A basic attempt to develop on Predix.io using Scala

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages