{"id":16229690,"url":"https://github.com/indaco/predix-hello-scala","last_synced_at":"2025-04-08T05:43:07.177Z","repository":{"id":136250460,"uuid":"92767031","full_name":"indaco/predix-hello-scala","owner":"indaco","description":"A basic attempt to develop on Predix.io using Scala","archived":false,"fork":false,"pushed_at":"2017-06-04T22:46:55.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T03:48:16.402Z","etag":null,"topics":["cloud-foundry","finagle","predix","scala"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indaco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-29T18:54:34.000Z","updated_at":"2017-05-30T23:41:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e3d8c0b-4fd0-437b-935d-b41574e4cb8c","html_url":"https://github.com/indaco/predix-hello-scala","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-hello-scala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-hello-scala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-hello-scala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indaco%2Fpredix-hello-scala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indaco","download_url":"https://codeload.github.com/indaco/predix-hello-scala/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247785920,"owners_count":20995642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-foundry","finagle","predix","scala"],"created_at":"2024-10-10T12:58:57.975Z","updated_at":"2025-04-08T05:43:06.730Z","avatar_url":"https://github.com/indaco.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Predix-Hello-Scala\n\nA basic attempt to develop on Predix.io using the Scala programming language and its ecosystem of awesome libraries.\n\nThis sample app leverages on:\n\n- Scala v.2.12.2\n- SBT v.013.15\n- [SBT Native Packager](https://github.com/sbt/sbt-native-packager) to build application packages in native format and generate a start script for the project\n- [Finagle](https://twitter.github.io/finagle/) as underlying http server and client\n- [Circe](https://circe.github.io/circe/) as JSON library for Scala\n- [heroku-buildpack-scala](https://github.com/heroku/heroku-buildpack-scala) for Cloud Foundry\n\n## What does it do?\n\n- Create a Finagle HTTP Server\n- Create a Finagle HTTP Client (based on [this example](https://github.com/tattyamm/finagle-http-sample/blob/master/src/main/scala/jp/tattyamm/finagle/sample/HttpClient.scala)) to call the Predix API Endpoint and get info on the environment\n- Show an extract from that info\n`Cloud Foundry GE Open Sandbox: API version = 2.62.0`\n\n## Getting Started\n\n### Install tools\nBe sure to have [SBT](http://www.scala-sbt.org/) installed on you machine\n\n### Get the source code\n\nMake a directory for your project. Clone or download and extract the starter in that directory.\n\n```\ngit clone https://github.com/indaco/predix-hello-scala.git\ncd predix-hello-scala\n```\n\n## Running the app locally\n\n```\nsbt\n\n\u003e run-main WebServer\n```\n\n## Running in Predix Cloud\n\n1. Open the `manifest.yml` file and edit the `name` for your own application\n2. Push the app to your Predix account `$cf push`\n\n- - -\n\n### Copyright and License\n\nLicensed under the MIT License, see the LICENSE file.\n\n- - -\n\n#### DISCLAIMER\n\nThis is **not** an official development from the GE Digital's Predix Team\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findaco%2Fpredix-hello-scala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findaco%2Fpredix-hello-scala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findaco%2Fpredix-hello-scala/lists"}