https://github.com/alexrogalskiy/webgate
WebGate Mqtt
https://github.com/alexrogalskiy/webgate
Last synced: 3 months ago
JSON representation
WebGate Mqtt
- Host: GitHub
- URL: https://github.com/alexrogalskiy/webgate
- Owner: AlexRogalskiy
- License: gpl-3.0
- Created: 2020-09-29T11:58:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-18T13:43:52.000Z (3 months ago)
- Last Synced: 2025-03-18T14:39:25.128Z (3 months ago)
- Language: Java
- Size: 366 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: COPYING
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: security.md
Awesome Lists containing this project
README
# README














[](https://sonarcloud.io/dashboard?id=AlexRogalskiy_webgate)## Summary
Web service intended to provide operations on electronic devices \(create, edit, fetch device's data, etc.\)
## Description
Application can be used for creating and editing electronic devices profiles
## Compile
### For JDK 8
```text
mvnw clean install spring-boot:repackage -Pnon_module_java,test-jar -DskipTests
```to build image to Docker daemon:
```text
mvnw clean install -Pnon_module_java,test-jar,jib -DskipTests
```### For JDK 11
```text
mvnw clean install spring-boot:repackage -Pmodule_java,test-jar,jib -DskipTests
```building image to Docker daemon:
```text
mvnw clean package -Pmodule_java,test-jar,jib -DskipTests```
buidling and deploying docker image to DockerHub:
```text
mvnw -s settings.xml clean package -Pmodule_java,test-jar,jib -DskipTests -Denv.DOCKERHUB_USERNAME= -Denv.DOCKERHUB_PASSWORD=
```## Run with containerized PostgreSQL
Run PostgreSQL in docker-container via command:
```text
docker run --name db-postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=devicedb -p 5432:5432 -d postgres
``````text
cd ${project.build.directory}/repackage
java -jar com.sensiblemetrics.api.webgate-mqtt-adapter-0.1.0-SNAPSHOT-exec.jar
```where
```text
project.build.directory=modules/webgate-mqtt-adapter/.build/bin/com.sensiblemetrics.api.webgate.mqtt.adapter
```or simply run:
```text
scripts/run.bat
```## Deploy with Kubectl
#### 1. Start the WebGate MQTT Adapter service:
```text
kubectl run spring-boot-jib --image=$IMAGE --port=8080 --restart=Never
```#### 2. Wait until pod is up and running:
```text
kubectl port-forward spring-boot-jib 8080
```## Download Docker image \(RegistryHub\)
```text
docker pull alexanderr/webgate:0.1.0-SNAPSHOT
```## Usage
Choose one of the modules and add to your `pom.xml`
```xml
com.sensiblemetrics.api
{module.artifactId}
{lib.version}```
Bundle with all WebGate dependencies:
- [**WebGate All**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-all)
`webgate-all` - Library to work with WebGate API.WebGate module dependencies:
- [**WebGate Actuator**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-actuator)
`webgate-actuator` - Library to work with Actuator API.- [**WebGate Admin**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-admin)
`webgate-admin` - Library to work with Admin API.- [**WebGate Caching**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-caching)
`webgate-cachin` - Library to work with Caching API.
- [**WebGate Commons**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-commons)
`webgate-commons` - Library with utilities for common use cases.- [**WebGate Executor**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-executor)
`webgate-executor` - Library to work with Executor API.- [**WebGate Logger**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-logger)
`webgate-logger` - Library to work with Logger API.- [**WebGate Metrics**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-metrics)
`webgate-metrics` - Library to work with Metrics API.- [**WebGate MQTT Adapter**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-mqtt-adapter)
`webgate-mqtt-adapter` - Library to work with MQTT API.- [**WebGate Router**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-router)
`webgate-router` - Library to work with Router API.- [**WebGate Security**](https://github.com/AlexRogalskiy/webgate/tree/master/modules/webgate-security)
`webgate-security` - Library to work with Security API.## Version Store
[./pom.xml](https://github.com/AlexRogalskiy/webgate/blob/master/pom.xml)
## Miscellaneous
You can find more useful libs and examples on [wiki](https://github.com/AlexRogalskiy/webgate/wiki)
## Authors
webgate is maintained by:
* [Alexander Rogalskiy](https://github.com/AlexRogalskiy)with community support please contact with us if you have some question or proposition.
## Team Tools
[](https://www.jetbrains.com/)
SensibleMetrics Team would like inform that JetBrains is helping by provided IDE to develop the application. Thanks to its support program for an Open Source projects!
[](https://sonarcloud.io/dashboard?id=org.schemaspy%3Aschemaspy)
SensibleMetrics webgate project is using SonarCloud for code quality.
Thanks to SonarQube Team for free analysis solution for open source projects.## License
SensibleMetrics webgate is distributed under LGPL version 3 or later, see COPYING.LESSER(LGPL) and COPYING(GPL).
LGPLv3 is additional permissions on top of GPLv3.