Skip to content
Snippets Groups Projects
Commit a11d9591 authored by Reiner Jung's avatar Reiner Jung
Browse files

minor changes for persistence

parent 25e7afec
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ if (query.getResultList().size() > 0) {
function drawSingleChart(graphLabel, divName, collectionName, windowSize, dateFormat) {
var jsonData = $.ajax({
url: "http://192.168.48.244:8080/temperature/temperature?collection=" + collectionName,
url: "http://192.168.178.26:8080/temperature/temperature?collection=" + collectionName,
dataType: "json",
async: false
}).responseText;
......
......@@ -125,8 +125,8 @@
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<url>http://192.168.48.244:8080/manager/text</url>
<server>stockholm</server>
<url>http://192.168.178.26:8080/manager/text</url>
<server>192.168.178.26</server>
<path>/temperature</path>
<username>tomcat</username>
<password>tomcat</password>
......
......@@ -8,9 +8,9 @@
<properties>
<property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" />
<property name="javax.persistence.jdbc.url"
value="jdbc:postgresql://localhost:5432/temperatures" />
value="jdbc:postgresql://localhost:5432/measurements" />
<property name="javax.persistence.jdbc.user" value="office" />
<property name="javax.persistence.jdbc.password" value="office" />
<property name="javax.persistence.jdbc.password" value="piz#404?" />
<!-- EclipseLink should create the database schema automatically -->
<property name="eclipselink.ddl-generation" value="create-tables" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment