-
Notifications
You must be signed in to change notification settings - Fork 0
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
Mqtt install #133
Mqtt install #133
Changes from all commits
079f6ed
20e383b
c00dd3b
bb416e2
fbf212b
bedc31d
168a637
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Platform Services | ||
|
||
It is recommended to install certain third-party software for use | ||
by digital twins running inside the DTaaS software. | ||
|
||
The installation scripts in this directory install: | ||
|
||
* **Influx** time-series database and dashboard service | ||
* **Grafana** visualization and dashboard service | ||
* **RabbitMQ** AMQP broker and its' management interface | ||
* Eclipse Mosquitto **MQTT** broker | ||
|
||
## Configure and Install | ||
|
||
The first step in installation is to specify the config of the services. | ||
There are two configuration files. The __services.yml__ contains most | ||
of configuration settings. The __mqtt-default.conf__ file contains | ||
the MQTT listening port. Update these two config files before proceeding | ||
with the installation of the services. | ||
|
||
```bash | ||
yarn install | ||
node services.js | ||
``` | ||
|
||
## Use | ||
|
||
After the installation is complete, you can see the following services active | ||
at the following ports / URLs. | ||
|
||
| service | external url | | ||
|:---|:---| | ||
| Influx | services.foo.com | | ||
| Grafana | services.foo.com:3000 | | ||
| RabbitMQ Broker | services.foo.com:5672 | | ||
| RabbitMQ Broker Management Website | services.foo.com:15672 | | ||
| MQTT Broker | services.foo.com:1883 | | ||
|| | ||
|
||
The firewall and network access settings of corporate / cloud network need to be | ||
configured to allow external access to the services. Otherwise the users of DTaaS | ||
will not be able to utilize these services from their user workspaces. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
listener 1883 | ||
password_file /etc/mosquitto/passwd |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "@into-cps-association/dtaas-install-services", | ||
"version": "0.0.1", | ||
"description": "Install platform services for the DTaaS software", | ||
"author": "Prasad Talasila", | ||
"private": false, | ||
"type": "module", | ||
"dependencies": { | ||
"chalk": "^5.3.0", | ||
"execa": "^8.0.1", | ||
"js-yaml": "^4.1.0" | ||
} | ||
} |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -216,9 +216,7 @@ | |
|
||
The core feature of DTaaS software is to help users | ||
create DTs from assets already available in the library. | ||
|
||
![Create Library Assets](./user/servers/lib/author.png) | ||
|
||
However, it is possible for users to take advantage of services | ||
available in their workspace to install asset authoring tools | ||
in their own workspace. | ||
|
@@ -227,4 +225,47 @@ | |
Thus any licensed software tools installed in their workspace is | ||
only available to them. | ||
|
||
## GDPR Concerns | ||
|
||
??? Question "Does your platform adhere to GDPR compliance standards? If so, how?" | ||
|
||
The DTaaS software platform does not store any personal information | ||
of users. It only stores username to identify users and these | ||
usernames do not contain enough information to deduce the true | ||
identify of users. | ||
|
||
??? Question "Which security measures are deployed? How is data encrypted (if exists)?" | ||
|
||
The default installation requires a HTTPS terminating reverse proxy server | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Code block style |
||
from user to the DTaaS software installation. The administrators of DTaaS | ||
software can also install HTTPS certificates into the application. | ||
The codebase can generate HTTPS application and the users also have | ||
the option of installing their own certificates obtained from | ||
certification agencies such as LetsEncrypt. | ||
|
||
??? Question "What security measures does your cloud provider offer?" | ||
|
||
The current installation of DTaaS software runs on Aarhus University | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Code block style |
||
servers. The university network offers firewall access control to servers | ||
so that only permitted user groups have access to the network and | ||
physical access to the server. | ||
|
||
??? Question "How is user access controlled and authenticated?" | ||
|
||
There is a two-level authentication mechanism in place in each default | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Code block style |
||
installation of DTaaS. The first-level is HTTP basic authentication | ||
over secure HTTPS connection. The second-level is the OAuth PKCE | ||
authentication flow for each user. The OAuth authentication is provider | ||
by a Gitlab instance. The DTaaS does not store the account and | ||
authentication information of users. | ||
|
||
??? Question "Does you platform manage personal data? How is data classified and tagged based on the sensitivity? Who has access to the critical data?" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line length |
||
|
||
The platform does not store personal data of users. | ||
|
||
??? Question "How are identities and roles managed within the platform?" | ||
|
||
There are two roles for users on the platform. One is the administrator | ||
and the other one is user. The user roles are managed by the administrator. | ||
|
||
<!-- markdownlint-enable MD046 --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code block style