Skip to content

Commit

Permalink
[#1700] Remove sandbox (#2105)
Browse files Browse the repository at this point in the history
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
  • Loading branch information
avgustinmm authored Nov 27, 2024
1 parent d435c0a commit ebcb6a0
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 283 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Create hawkBit container images
run: |
mvn clean install -DskipTests && \
cd hawkbit-runtime/docker/docker_build && \
cd docker/docker_build && \
chmod +x build_all_dev.sh && \
./build_all_dev.sh && \
cd ../../..
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ There are clients outside of the Eclipse IoT eco system as well, e.g.:
# Getting Started

We are providing a [Spring Boot](https://projects.spring.io/spring-boot/) based
reference [Update Server](hawkbit-runtime/hawkbit-update-server) including embedded H2 DB for test and evaluation
reference [Update Server](hawkbit-monolith/hawkbit-update-server) including embedded H2 DB for test and evaluation
purposes.
Run with docker:

Expand All @@ -128,19 +128,19 @@ at [guide](https://www.eclipse.org/hawkbit/guides/runhawkbit/) -> _Configure Rab

# hawkBit (Spring boot) starters

Next to the [Update Server](hawkbit-runtime/hawkbit-update-server) we are also providing a set
Next to the [Update Server](hawkbit-monolith/hawkbit-update-server) we are also providing a set
of [Spring Boot Starters](hawkbit-starters) to quick start your
own [Spring Boot](https://projects.spring.io/spring-boot/) based application.

# Clone, build and run hawkBit

## Build and start hawkBit [Update Server](hawkbit-runtime/hawkbit-update-server)
## Build and start hawkBit [Update Server](hawkbit-monolith/hawkbit-update-server)

```bash
git clone https://github.com/eclipse-hawkbit/hawkbit.git
cd hawkbit
mvn clean install
java -jar ./hawkbit-runtime/hawkbit-update-server/target/hawkbit-update-server-#version#.jar
java -jar ./hawkbit-monolith/hawkbit-update-server/target/hawkbit-update-server-0-SNAPSHOT.jar
```

## Start hawkBit [Device Simulator](https://github.com/eclipse-hawkbit/hawkbit-examples/tree/master/hawkbit-device-simulator) (optional)
Expand Down
2 changes: 1 addition & 1 deletion hawkbit-ddi/hawkbit-ddi-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ with at least hawkbit-mgmt-server.
### Run

```bash
java -jar hawkbit-runtime/hawkbit-ddi-server/target/hawkbit-ddi-server-*-SNAPSHOT.jar
java -jar hawkbit-ddi/hawkbit-ddi-server/target/hawkbit-ddi-server-0-SNAPSHOT.jar
```

_(Note: you have to add the JDBC driver also to your class path if you intend to use another database than H2.)_
Expand Down
2 changes: 1 addition & 1 deletion hawkbit-dmf/hawkbit-dmf-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ with at least hawkbit-mgmt-server.

### Run
```bash
java -jar hawkbit-runtime/hawkbit-dmf-server/target/hawkbit-dmf-server-*-SNAPSHOT.jar
java -jar hawkbit-dmf/hawkbit-dmf-server/target/hawkbit-dmf-server-0-SNAPSHOT.jar
```
_(Note: you have to add the JDBC driver also to your class path if you intend to use another database than H2.)_

Expand Down
2 changes: 1 addition & 1 deletion hawkbit-mgmt/hawkbit-mgmt-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ started with at least one (or both) of the device interface servers - hawkbit-dd
### Run

```bash
java -jar hawkbit-runtime/hawkbit-mgmt-server/target/hawkbit-mgmt-server-*-SNAPSHOT.jar
java -jar hawkbit-mgmt/hawkbit-mgmt-server/target/hawkbit-mgmt-server-0-SNAPSHOT.jar
```

_(Note: you have to add the JDBC driver also to your class path if you intend to use another database than H2.)_
Expand Down
2 changes: 1 addition & 1 deletion hawkbit-monolith/hawkbit-update-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The hawkBit Update Server (Monolith) is a standalone spring-boot application wit
### Run

```bash
java -jar hawkbit-runtime/hawkbit-update-server/target/hawkbit-update-server-*-SNAPSHOT.jar
java -jar hawkbit-monolith/hawkbit-update-server/target/hawkbit-update-server-*-SNAPSHOT.jar
```

_(Note: you have to add the JDBC driver also to your class path if you intend to use another database than H2.)_
Expand Down
55 changes: 0 additions & 55 deletions hawkbit-runtime/.sandbox/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions hawkbit-runtime/.sandbox/scripts/initialize-cronjobs.sh

This file was deleted.

52 changes: 0 additions & 52 deletions hawkbit-runtime/.sandbox/scripts/sandbox-cleanup.sh

This file was deleted.

61 changes: 0 additions & 61 deletions hawkbit-runtime/.sandbox/stacks/proxy/docker-compose-stack.yml

This file was deleted.

72 changes: 0 additions & 72 deletions hawkbit-runtime/.sandbox/stacks/sandbox/docker-compose-stack.yml

This file was deleted.

2 changes: 1 addition & 1 deletion site/content/gettingstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ $ cd hawkbit
$ mvn clean install -DskipTests
```

### 2: Start hawkBit [update server](https://github.com/eclipse-hawkbit/hawkbit/tree/master/hawkbit-runtime/hawkbit-update-server) (Monolith)
### 2: Start hawkBit [update server](https://github.com/eclipse-hawkbit/hawkbit/tree/master/hawkbit-monolith/hawkbit-update-server) (Monolith)

```sh
$ java -jar ./hawkbit-monolith/hawkbit-update-server/target/hawkbit-update-server-0-SNAPSHOT.jar
Expand Down
2 changes: 1 addition & 1 deletion site/content/guides/clustering.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ weight: 33

hawkBit is able to run in a cluster with some constraints. This guide provides insights in the basic concepts and how to
setup your own cluster. You can find additional information in
the [hawkBit runtimes's README](https://github.com/eclipse-hawkbit/hawkbit/blob/master/hawkbit-runtime/hawkbit-update-server/README.md).
the [hawkBit runtimes's README](https://github.com/eclipse-hawkbit/hawkbit/blob/master/hawkbit-monolith/hawkbit-update-server/README.md).
<!--more-->

## Big picture
Expand Down
6 changes: 3 additions & 3 deletions site/content/guides/runhawkbit.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ and no artifact storage.

This guide describes a target architecture that is more like one that you will expect in a production system.

- hawkBit [Update Server](https://github.com/eclipse-hawkbit/hawkbit/tree/master/hawkbit-runtime/hawkbit-update-server).
- hawkBit [Update Server](https://github.com/eclipse-hawkbit/hawkbit/tree/master/hawkbit-monolith/hawkbit-update-server).
- [MariaDB](https://mariadb.org) for the repository.
- [RabbitMQ](https://www.rabbitmq.com) for DMF communication.
- For testing and demonstration purposes we will also use:
Expand All @@ -35,7 +35,7 @@ This guide describes a target architecture that is more like one that you will e
As mentioned you can create your own application with hawkBit inside or adapt the existing example app. The second
option will be shown here.

### Set MariaDB dependency to compile in the [update server POM](https://github.com/eclipse-hawkbit/hawkbit/blob/master/hawkbit-runtime/hawkbit-update-server/pom.xml)
### Set MariaDB dependency to compile in the [update server POM](https://github.com/eclipse-hawkbit/hawkbit/blob/master/hawkbit-monolith/hawkbit-update-server/pom.xml)

```xml
<dependency>
Expand Down Expand Up @@ -96,7 +96,7 @@ hawkbit-example-mgmt-simulator-##VERSION##.jar --hawkbit.url=YOUR_HOST:PORT

### Compile & Run your _"production ready"_ app

see [update server](https://github.com/eclipse-hawkbit/hawkbit/tree/master/hawkbit-runtime/hawkbit-update-server)
see [update server](https://github.com/eclipse-hawkbit/hawkbit/tree/master/hawkbit-monolith/hawkbit-update-server)

### Compile & Run example scenario [creation script](https://github.com/eclipse-hawkbit/hawkbit-examples/tree/master/hawkbit-example-mgmt-simulator) (optional)

Expand Down

0 comments on commit ebcb6a0

Please sign in to comment.