Skip to content

Commit

Permalink
Release 2.0.58
Browse files Browse the repository at this point in the history
  • Loading branch information
predix-adoption-bot committed Sep 2, 2018
1 parent a329590 commit a255a08
Show file tree
Hide file tree
Showing 6 changed files with 332 additions and 304 deletions.
2 changes: 1 addition & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
applications:
- name: your-name-winddata-service
buildpack: java_buildpack
path: target/winddata-timeseries-service-2.0.57.jar
path: target/winddata-timeseries-service-2.0.58.jar
memory: 500M
timeout: 180
services:
Expand Down
2 changes: 1 addition & 1 deletion manifest.yml.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
applications:
- name: your-name-winddata-service
buildpack: java_buildpack
path: target/winddata-timeseries-service-2.0.57.jar
path: target/winddata-timeseries-service-2.0.58.jar
memory: 500M
timeout: 180
services:
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.ge.predix.solsvc</groupId>
<artifactId>winddata-timeseries-service</artifactId>
<version>2.0.57</version>
<version>2.0.58</version>

<parent>
<groupId>org.springframework.boot</groupId>
Expand All @@ -15,7 +15,7 @@
</parent>

<properties>
<predix-timeseries-client.version>2.1.82</predix-timeseries-client.version>
<predix-timeseries-client.version>2.1.86</predix-timeseries-client.version>

<cxf.version>3.1.7</cxf.version>
<jetty.version>8.1.7.v20120910</jetty.version>
Expand Down
16 changes: 9 additions & 7 deletions src/main/java/com/ge/predix/solsvc/boot/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.context.embedded.ServletRegistrationBean;
import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ImportResource;
Expand All @@ -27,6 +28,8 @@
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.context.support.StandardServletEnvironment;

import com.ge.predix.solsvc.timeseries.bootstrap.client.TimeseriesClientImpl;

/**
* This project uses a SpringBoot HelloWorld as a starting point. Then it adds in the capability to cf push a
* CXF Rest Service simply by extending PredixSpringBootInitializer.
Expand Down Expand Up @@ -61,7 +64,7 @@
* Or if you want to import Spring XMLs from other dependent projects you can use the @ImportResource, e.g.
* \@ImportResource(
* {
* "classpath*:META-INF/spring/predix-rest-client-scan-context.xml"
* "classpath*:META-INF/spring/timeseries-bootstrap-scan-context.xml"
* })
*
* For other Spring Features see: http://docs.spring.io/spring-boot/docs/current/reference/html/
Expand All @@ -74,15 +77,14 @@

})
@PropertySource("classpath:application-default.properties")
@SpringApplicationConfiguration(classes =
{
TimeseriesClientImpl.class
})
@ImportResource(
{
"classpath*:META-INF/spring/winddata-cxf-context.xml",
"classpath*:META-INF/spring/winddata-scan-context.xml",
"classpath*:META-INF/spring/ext-util-scan-context.xml",
"classpath*:META-INF/spring/predix-rest-client-scan-context.xml",
"classpath*:META-INF/spring/predix-websocket-client-scan-context.xml",
"classpath*:META-INF/spring/timeseries-bootstrap-scan-context.xml"

"classpath*:META-INF/spring/winddata-scan-context.xml"
})
@Controller
public class Application
Expand Down
Loading

0 comments on commit a255a08

Please sign in to comment.