Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation for open source release #66

Merged
Show file tree
Hide file tree
Changes from 73 commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
7d2aefb
Update documentation for open source release
chicco785 Jul 10, 2024
a199d3b
Update golang.yaml
chicco785 Jul 10, 2024
6db3a16
add measurements example go
chicco785 Jul 11, 2024
b9140c9
Automated lint fixes [dependabot skip]
Jul 11, 2024
e33283c
Update docker-compose.yml
chicco785 Jul 11, 2024
9b3bb98
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
f0f0095
add fault example
chicco785 Jul 11, 2024
9781602
Automated lint fixes [dependabot skip]
Jul 11, 2024
df16ff3
improve docs
chicco785 Jul 11, 2024
1401e40
Update documentation for open source release
chicco785 Jul 10, 2024
18e4d86
Update golang.yaml
chicco785 Jul 10, 2024
b7889de
add measurements example go
chicco785 Jul 11, 2024
e7f9d5f
Automated lint fixes [dependabot skip]
Jul 11, 2024
b199179
Update docker-compose.yml
chicco785 Jul 11, 2024
1ec8380
add fault example
chicco785 Jul 11, 2024
12e4cad
Automated lint fixes [dependabot skip]
Jul 11, 2024
fd0bb3d
improve docs
chicco785 Jul 11, 2024
45380ae
Automated lint fixes [dependabot skip]
Jul 11, 2024
3bce396
remove python
chicco785 Jul 11, 2024
6d8bfdf
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
e2d0975
Update .licenserc.yaml
chicco785 Jul 11, 2024
b92a390
Automated markdown-lint fixes [dependabot skip]
Jul 11, 2024
a437784
fix license ignore
chicco785 Jul 11, 2024
82f9d27
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
beac7f1
Update md-link-config.json
chicco785 Jul 11, 2024
a2307ad
Automatic application of license header
Jul 11, 2024
3444a09
Buf re-generated protos
Jul 11, 2024
a7a5da0
Automated lint fixes [dependabot skip]
Jul 11, 2024
d50cc63
Buf re-generated protos
Jul 11, 2024
9ded3cf
Automated lint fixes [dependabot skip]
Jul 11, 2024
284440f
Buf re-generated protos
Jul 11, 2024
0390d69
Automated lint fixes [dependabot skip]
Jul 11, 2024
2bdafe5
Update .licenserc.yaml
chicco785 Jul 11, 2024
dadadc2
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
c68b86d
Buf re-generated protos
Jul 11, 2024
c3087ee
Automated lint fixes [dependabot skip]
Jul 11, 2024
838a66f
Buf re-generated protos
Jul 11, 2024
9c58bc0
Automated lint fixes [dependabot skip]
Jul 11, 2024
b329b0b
Buf re-generated protos
Jul 11, 2024
17850ff
Automated lint fixes [dependabot skip]
Jul 11, 2024
824bff4
remove license from docs
chicco785 Jul 11, 2024
75712a3
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
3de676d
Buf re-generated protos
Jul 11, 2024
b527b82
Automated lint fixes [dependabot skip]
Jul 11, 2024
0ec6589
Update .licenserc.yaml
chicco785 Jul 11, 2024
290cb44
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
509e17c
Buf re-generated protos
Jul 11, 2024
b249679
remove license from md
chicco785 Jul 11, 2024
50fc129
Automated lint fixes [dependabot skip]
Jul 11, 2024
410e63d
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
64e39ee
Buf re-generated protos
Jul 11, 2024
3139538
fix md
chicco785 Jul 11, 2024
e5e2b1a
Automated lint fixes [dependabot skip]
Jul 11, 2024
d85f3e1
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
fc75d46
Buf re-generated protos
Jul 11, 2024
d30edfb
fix
chicco785 Jul 11, 2024
c1e0fd9
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
3eb9520
Buf re-generated protos
Jul 11, 2024
b87547a
Automated lint fixes [dependabot skip]
Jul 11, 2024
7b96b0e
Buf re-generated protos
Jul 11, 2024
2a57ccf
Automated lint fixes [dependabot skip]
Jul 11, 2024
ae6e048
Buf re-generated protos
Jul 11, 2024
24ead83
Automated lint fixes [dependabot skip]
Jul 11, 2024
897b068
Buf re-generated protos
Jul 11, 2024
630327f
Automated lint fixes [dependabot skip]
Jul 11, 2024
88fb975
Buf re-generated protos
Jul 11, 2024
51d0983
Update golang.yaml
chicco785 Jul 11, 2024
2b5ce02
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
2b872da
Buf re-generated protos
Jul 11, 2024
cdfa2a2
remove license were not needed / appropriate
chicco785 Jul 11, 2024
bcabf21
Merge branch '65-feature-clean-up-repository-beautify-docs-and-attach…
chicco785 Jul 11, 2024
4173087
Update task.proto
chicco785 Jul 11, 2024
a7a391d
Buf re-generated protos
Jul 11, 2024
ee736c2
fix formatting of task proto docs
chicco785 Jul 11, 2024
e29b0a4
docs(release_notes): update RELEASE_NOTES.md [dependabot skip]
chicco785 Jul 11, 2024
7f1927a
Buf re-generated protos
Jul 11, 2024
b7f9cf7
chicco785 Jul 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 32 additions & 0 deletions .docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
services:
rabbitmq:
image: rabbitmq:3.12.4-management-alpine
container_name: "rabbitmq"
hostname: "rabbitmq"
restart: always
sysctls:
net.core.somaxconn: 4096
net.ipv4.tcp_max_syn_backlog: 8192
environment:
- RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS=-rabbitmq_stream advertised_host localhost -rabbit loopback_users "none"
volumes:
- ./rabbitmq/init.sh:/init.sh
- ./rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
- ./rabbitmq/enabled_plugins.conf:/etc/rabbitmq/enabled_plugins
ports:
- 5672:5672
- 15672:15672
- 5552:5552
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:15672"]
interval: 1s
timeout: 2s
retries: 20
networks:
net:
aliases:
- rabbitmq

networks:
net:
name: net
1 change: 1 addition & 0 deletions .docker/rabbitmq/enabled_plugins.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[rabbitmq_management,rabbitmq_management_agent,rabbitmq_stream, rabbitmq_stream_management].
62 changes: 62 additions & 0 deletions .docker/rabbitmq/init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#!/bin/bash

# config
CONFIG_STREAM="c37-118-configuration"
MEASUREMENT_STREAM="measurement"
NOTIFICATION_EXCHANGE_TYPE="headers"
NOTIFICATION_EXCHANGE="notification"
DEAD_LETTER_EXCHANGE="notification-unprocessed"
NOTIFICATION_QUEUE="notification-data-labview"
TRIGGER_QUEUE="notification-trigger-labview"
TIMEOUT=$((10*60*1000))
NOTIFICATION_QUEUE_ARGUMENTS="{\"exclusive\":false,\"x-message-ttl\":$TIMEOUT, \"x-dead-letter-exchange\":\"$DEAD_LETTER_EXCHANGE\"}"
BYTES=$((100 * 1000000))
NOTIFICATION_QUEUE_BINDING_1_ARGUMENTS='{"x-match":"all","type":"Notification","notificationType":1}'
NOTIFICATION_QUEUE_BINDING_2_ARGUMENTS='{"x-match":"all","type":"Notification","notificationType":2}'
NOTIFICATION_QUEUE_BINDING_3_ARGUMENTS='{"x-match":"all","type":"Notification","notificationType":3}'
TRIGGER_QUEUE_BINDING_1_ARGUMENTS='{"x-match":"all","type":"Notification","notificationType":4}'
ASYNC_QUEUE_BINDING_1_ARGUMENTS='{"x-match":"all","type":"Notification","notificationType":0}'
RABBITMQ_FAULT_EXCHANGE_NAME=fault
RABBITMQ_FAULT_CONSUMER_TAG=fault-storer
RABBITMQ_ESTIMATION_EXCHANGE_NAME=estimated-measurements
RABBITMQ_ESTIMATION_CONSUMER_TAG=estimated-measurements
RABBITMQ_TOPOLOGY_EXCHANGE_NAME=topology
RABBITMQ_TOPOLOGY_CONSUMER_TAG=topology
RABBITMQ_EVENT_EXCHANGE_NAME=event
RABBITMQ_EVENT_CONSUMER_TAG=event-storer
RABBITMQ_STAT_STREAM_NAME=stat
RABBITMQ_STAT_LABVIEW_EXCHANGE_NAME=stat-labview
RABBITMQ_STAT_LABVIEW_QUEUE_NAME=stat-labview
RABBITMQ_ASYNC_QUEUE_NAME=async-measurements

# Declare the streams and queues
rabbitmqadmin declare queue name="$CONFIG_STREAM" queue_type=stream arguments="{\"x-max-length-bytes\":$BYTES}"
rabbitmqadmin declare queue name="$MEASUREMENT_STREAM" queue_type=stream arguments="{\"x-max-length-bytes\":$BYTES}"
rabbitmqadmin declare queue name="$RABBITMQ_STAT_STREAM_NAME" queue_type=stream arguments="{\"x-max-length-bytes\":$BYTES}"
rabbitmqadmin declare exchange name="$NOTIFICATION_EXCHANGE" type="$NOTIFICATION_EXCHANGE_TYPE"
rabbitmqadmin declare exchange name="$DEAD_LETTER_EXCHANGE" type="fanout"
rabbitmqctl set_policy DLX ".*" "{\"dead-letter-exchange\":\"$DEAD_LETTER_EXCHANGE\"}" --apply-to queues
rabbitmqadmin declare queue name="$NOTIFICATION_QUEUE" durable=true
rabbitmqadmin declare queue name="$TRIGGER_QUEUE" durable=true
rabbitmqadmin declare queue name="$RABBITMQ_ASYNC_QUEUE_NAME" durable=true
rabbitmqadmin declare binding source="$NOTIFICATION_EXCHANGE" destination_type=queue destination="$NOTIFICATION_QUEUE" arguments="$NOTIFICATION_QUEUE_BINDING_1_ARGUMENTS"
rabbitmqadmin declare binding source="$NOTIFICATION_EXCHANGE" destination_type=queue destination="$NOTIFICATION_QUEUE" arguments="$NOTIFICATION_QUEUE_BINDING_2_ARGUMENTS"
rabbitmqadmin declare binding source="$NOTIFICATION_EXCHANGE" destination_type=queue destination="$NOTIFICATION_QUEUE" arguments="$NOTIFICATION_QUEUE_BINDING_3_ARGUMENTS"
rabbitmqadmin declare binding source="$NOTIFICATION_EXCHANGE" destination_type=queue destination="$TRIGGER_QUEUE" arguments="$TRIGGER_QUEUE_BINDING_1_ARGUMENTS"
rabbitmqadmin declare binding source="$NOTIFICATION_EXCHANGE" destination_type=queue destination="$RABBITMQ_ASYNC_QUEUE_NAME" arguments="$ASYNC_QUEUE_BINDING_1_ARGUMENTS"
rabbitmqadmin declare exchange name="$RABBITMQ_FAULT_EXCHANGE_NAME" type=headers durable=true auto_delete=false internal=false
rabbitmqadmin declare queue name="$RABBITMQ_FAULT_CONSUMER_TAG" durable=true auto_delete=false
rabbitmqadmin declare binding source="$RABBITMQ_FAULT_EXCHANGE_NAME" destination="$RABBITMQ_FAULT_CONSUMER_TAG" destination_type=queue routing_key=""
rabbitmqadmin declare exchange name="$RABBITMQ_ESTIMATION_EXCHANGE_NAME" type=headers durable=true auto_delete=false internal=false
rabbitmqadmin declare queue name="$RABBITMQ_ESTIMATION_CONSUMER_TAG" durable=true auto_delete=false
rabbitmqadmin declare binding source="$RABBITMQ_ESTIMATION_EXCHANGE_NAME" destination="$RABBITMQ_ESTIMATION_CONSUMER_TAG" destination_type=queue routing_key=""
rabbitmqadmin declare exchange name="$RABBITMQ_TOPOLOGY_EXCHANGE_NAME" type=headers durable=true auto_delete=false internal=false
rabbitmqadmin declare queue name="$RABBITMQ_TOPOLOGY_CONSUMER_TAG" durable=true auto_delete=false
rabbitmqadmin declare binding source="$RABBITMQ_TOPOLOGY_EXCHANGE_NAME" destination="$RABBITMQ_TOPOLOGY_CONSUMER_TAG" destination_type=queue routing_key=""
rabbitmqadmin declare exchange name="$RABBITMQ_EVENT_EXCHANGE_NAME" type=headers durable=true auto_delete=false internal=false
rabbitmqadmin declare queue name="$RABBITMQ_EVENT_CONSUMER_TAG" durable=true auto_delete=false
rabbitmqadmin declare binding source="$RABBITMQ_EVENT_EXCHANGE_NAME" destination="$RABBITMQ_EVENT_CONSUMER_TAG" destination_type=queue routing_key=""
rabbitmqadmin declare exchange name="$RABBITMQ_STAT_LABVIEW_EXCHANGE_NAME" type=headers durable=true auto_delete=false internal=false
rabbitmqadmin declare queue name="$RABBITMQ_STAT_LABVIEW_QUEUE_NAME" durable=true auto_delete=false
rabbitmqadmin declare binding source="$RABBITMQ_STAT_LABVIEW_EXCHANGE_NAME" destination="$RABBITMQ_STAT_LABVIEW_QUEUE_NAME" destination_type=queue routing_key=""

Loading
Loading