Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request #6 from alezor/master
Browse files Browse the repository at this point in the history
Addressed issues:
#3 
#4 
#5 (partially)
  • Loading branch information
Robert Hoettger authored Feb 1, 2019
2 parents 22213e4 + e75e284 commit 9d958d2
Show file tree
Hide file tree
Showing 46 changed files with 2,056 additions and 123,580 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@ Contributors:

# Kuksa-Integration Repo

Contains build scripts and tests.
Currently, the Jenkins file directs to servers from FH-Dortmund. Subject to be changed as soon as migrated to Eclipse.
This Repo will further contain all necessary tests for Eclipse Kuksa.

## Run Tests

TBD

## Run Build

TBD
Eclipse HONO API (including MQTT) and some Hawkbit API tests
Appstore tests are not included in this release, as they are outdated with the new Appstore API
APPSTACLE Cluster IPs have not been added, additional setup through Jenkins required
8,963 changes: 0 additions & 8,963 deletions testing/logs/log4j2/test/archive/rollingfile.2018-11-22-01-17-1

This file was deleted.

Binary file not shown.
9,382 changes: 0 additions & 9,382 deletions testing/logs/log4j2/test/archive/rollingfile.2018-11-22-04-17-1

This file was deleted.

Binary file not shown.
Binary file not shown.
8,666 changes: 0 additions & 8,666 deletions testing/logs/log4j2/test/archive/rollingfile.2018-11-22-05-05-1

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
88,114 changes: 0 additions & 88,114 deletions testing/logs/log4j2/test/error.log

This file was deleted.

6,558 changes: 0 additions & 6,558 deletions testing/logs/log4j2/test/rollingFile.log

This file was deleted.

7 changes: 7 additions & 0 deletions testing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@
<version>0.12.2</version>
</dependency>

<!-- PAHO LIBRARY -->
<dependency>
<groupId>org.eclipse.paho</groupId>
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
<version>1.2.0</version>
</dependency>

<!-- VERTX LIBRARY -->
<dependency>
<groupId>io.vertx</groupId>
Expand Down
12 changes: 12 additions & 0 deletions testing/src/main/java/org/eclipse/kuksa/testing/Application.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*********************************************************************
* Copyright (c) 2019 Assystem GmbH [and others].
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors: Assystem GmbH
**********************************************************************/

package org.eclipse.kuksa.testing;

import org.springframework.boot.SpringApplication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,30 +1,42 @@
package org.eclipse.kuksa.testing.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AppStoreConfiguration {

@Value("${appstore.address}")
private String address;

@Value("${appstore.username}")
private String username;

@Value("${appstore.password}")
private String password;

public String getAddress() {
return address;
}

public String getUsername() {
return username;
}

public String getPassword() {
return password;
}

}
/*********************************************************************
* Copyright (c) 2019 Assystem GmbH [and others].
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors: Assystem GmbH
**********************************************************************/

package org.eclipse.kuksa.testing.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AppStoreConfiguration {

@Value("${appstore.address}")
private String address;

@Value("${appstore.username}")
private String username;

@Value("${appstore.password}")
private String password;

public String getAddress() {
return address;
}

public String getUsername() {
return username;
}

public String getPassword() {
return password;
}

}
Original file line number Diff line number Diff line change
@@ -1,29 +1,41 @@
package org.eclipse.kuksa.testing.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class GlobalConfiguration {

@Value("${DEVICE_ID}")
private String deviceId;

@Value("${SECURITY_TOKEN}")
private String securityToken;

/**
* @return the deviceId
*/
public String getDeviceId() {
return deviceId;
}

/**
* @return the securityToken
*/
public String getSecurityToken() {
return securityToken;
}

}
/*********************************************************************
* Copyright (c) 2019 Assystem GmbH [and others].
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors: Assystem GmbH
**********************************************************************/

package org.eclipse.kuksa.testing.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class GlobalConfiguration {

@Value("${DEVICE_ID}")
private String deviceId;

@Value("${SECURITY_TOKEN}")
private String securityToken;

/**
* @return the deviceId
*/
public String getDeviceId() {
return deviceId;
}

/**
* @return the securityToken
*/
public String getSecurityToken() {
return securityToken;
}

}
Original file line number Diff line number Diff line change
@@ -1,70 +1,82 @@
package org.eclipse.kuksa.testing.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class HawkBitConfiguration {

@Value("${hawkbit.tenant}")
private String tenant;

@Value("${hawkbit.address}")
private String address;

@Value("${hawkbit.username}")
private String username;

@Value("${hawkbit.password}")
private String password;

/**
* @return the tenant
*/
public String getTenant() {
return tenant;
}

/**
* @return the address
*/
public String getAddress() {
return address;
}

/**
* @param address the address to set
*/
public void setAddress(String address) {
this.address = address;
}

/**
* @return the username
*/
public String getUsername() {
return username;
}

/**
* @param username the username to set
*/
public void setUsername(String username) {
this.username = username;
}

/**
* @return the password
*/
public String getPassword() {
return password;
}

/**
* @param password the password to set
*/
public void setPassword(String password) {
this.password = password;
}

}
/*********************************************************************
* Copyright (c) 2019 Assystem GmbH [and others].
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors: Assystem GmbH
**********************************************************************/

package org.eclipse.kuksa.testing.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class HawkBitConfiguration {

@Value("${hawkbit.tenant}")
private String tenant;

@Value("${hawkbit.address}")
private String address;

@Value("${hawkbit.username}")
private String username;

@Value("${hawkbit.password}")
private String password;

/**
* @return the tenant
*/
public String getTenant() {
return tenant;
}

/**
* @return the address
*/
public String getAddress() {
return address;
}

/**
* @param address the address to set
*/
public void setAddress(String address) {
this.address = address;
}

/**
* @return the username
*/
public String getUsername() {
return username;
}

/**
* @param username the username to set
*/
public void setUsername(String username) {
this.username = username;
}

/**
* @return the password
*/
public String getPassword() {
return password;
}

/**
* @param password the password to set
*/
public void setPassword(String password) {
this.password = password;
}

}
Loading

0 comments on commit 9d958d2

Please sign in to comment.