germainaugsburger / timeseries-bootstrap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Time Series Bootstrap Application

Welcome to Time Series Bootstrap Application. This is a SDK in Java for calling the Predix Time Series API to post and query data. It has built in mechanism to perform authenticated calls to Time Series API. It can be used as a dependency to other java back-end applications for creating and querying time series data seamlessly. For further inforation please view the Time Series Tutorial

##Download Time Series Bootstrap Application

git clone https://github.com/PredixDev/timeseries-bootstrap.git

##Build it

  1. From the command line, go the the project directory.
  2. Run as
  mvn clean package

##Run integration tests

  1. Edit config/application-external.properties as follows. For further information on configuring Predix Time Series service, please refer to the tutorials called [Exploring Time Series](https://www.predix.io/resources/tutorials/journey.html#Journey.Exploring Time Series).
predix.oauth.restHost=put.your.uaa.uri.here <For example: 3d1e80a3-4f19-4c52-9a3c-62918ad2660f.predix-uaa-sysint.grc-apps.svc.ice.ge.com>
predix.oauth.clientId=put.your.clientId:put.your.clientSecret <For example: client_123:sssh_its_a_secret>

predix.timeseries.ingestUri=wss://put.your.timeseries.service.instance.here/v1/stream/messages <For example: wss://gateway-predix-sysint.grc-apps.svc.ice.ge.com/v1/stream/messages>


predix.timeseries.baseUrl=https://put.your.timeseries.service.instance.here <For example: https://time-series-store-predix-sysint.svc.ice.ge.com>
predix.timeseries.zoneid=put.your.timeseries.zoneid.aka.instanceid.here  <For example: ac970f91-d252-4e3b-a818-18de337c66fa>
  1. From the command line, go the the project directory.
  2. Run as
 mvn clean install.

##How to include as a dependency

  1. Modify the pom.xml as follows in the application for which you would like to have timeseries-bootstrap as a dependency.
  2. Add the following under the <dependencies> section with the latest version:
 <dependency>
	<groupId>com.ge.predix.solsvc</groupId>
	<artifactId>timeseries-bootstrap</artifactId>
	<version>${predix-timeseries-client.version}</version>
 </dependency>

##Tech Stack

  • Spring
  • SpringTest
  • Maven

##More Details

[Exploring Time Series](https://www.predix.io/resources/tutorials/journey.html#Journey.Exploring Time Series)

About

License:Other


Languages

Language:Java 98.6%Language:Groovy 1.2%Language:Shell 0.2%