Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IPos-public
project
Commits
9263dbf9
Commit
9263dbf9
authored
3 years ago
by
Oleksandr Husak
Browse files
Options
Downloads
Patches
Plain Diff
upd readme
parent
ec11e612
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+19
-4
19 additions, 4 deletions
README.md
demo.v1.jpg
+0
-0
0 additions, 0 deletions
demo.v1.jpg
with
19 additions
and
4 deletions
README.md
+
19
−
4
View file @
9263dbf9
...
@@ -9,13 +9,28 @@ This repository is a centralized version of architecture for IPos software (Indo
...
@@ -9,13 +9,28 @@ This repository is a centralized version of architecture for IPos software (Indo
## How to run?
## How to run?
-
[
hivemq
](
http://www.hivemq.com/demos/websocket-client/
)
-
publish: "test51/publish/positions"
1.
Start
[
hivemq
](
http://www.hivemq.com/demos/websocket-client/
)
. It's a client for an external test MQTT-broker.
-
example:
`{"x": 3.0,"y": 2.0,"z": 3.0,"accuracy": 0.9}`
1.
Establish a connection with the standard parameters (WS coonection).
-
subscribe: "test51/subscribe/positions"
2.
Add new subscriptions with
`Add New Topic Subscription`
button
-
`test51/subscribe/positions`
: responses
-
`test51/publish/positions`
: requests
2.
Start Spring boot project from this repository
-
from console (
`./gradlew bootRun`
) or your favorite IDE
3.
Return to a web-browser tab with an external MQTT client
1.
Send valid json representation of position in
`test51/publish/positions`
topic
-
Message example:
`{"x": 3.0,"y": 2.0,"z": 3.0,"accuracy": 0.9}`
2.
If successful, the same message should come from
`test51/subscribe/positions`
topic.

### Extra
-
Internal database:
[
localhost:8077/h2-console
](
http://localhost:8077/h2-console
)
-
Internal database:
[
localhost:8077/h2-console
](
http://localhost:8077/h2-console
)
-
server 8077 port from
`application.yml`
-
server 8077 port from
`application.yml`
-
JDBC URL: see logs. Example:
`jdbc:h2:mem:1a7bd898-e992-4a5c-9a3e-ed8d9eb2ab37`
-
JDBC URL: see logs. Example:
`jdbc:h2:mem:1a7bd898-e992-4a5c-9a3e-ed8d9eb2ab37`
-
[ ] TODO: fix database schema
## Links
## Links
...
...
This diff is collapsed.
Click to expand it.
demo.v1.jpg
0 → 100644
+
0
−
0
View file @
9263dbf9
178 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment