mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2025-06-25 08:45:14 +00:00
Compare commits
16 Commits
master
...
adding-roa
Author | SHA1 | Date | |
---|---|---|---|
c769080008 | |||
240adda063 | |||
c445531989 | |||
00a35a6080 | |||
f8d8878561 | |||
f19b0a5b9b | |||
3c4c34bf1f | |||
0beeff5ddd | |||
a7035a11b3 | |||
8776579926 | |||
859f16c218 | |||
eb72374f89 | |||
93ff704df4 | |||
04a8929a97 | |||
7c35afbb0c | |||
36d4e84059 |
23
.github/ISSUE_TEMPLATE/bug_report.md
vendored
23
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -1,23 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
title: ''
|
|
||||||
labels: ''
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Describe the bug**
|
|
||||||
A clear and concise description of what the bug is.
|
|
||||||
|
|
||||||
**Expected behavior**
|
|
||||||
A clear and concise description of what you expected to happen.
|
|
||||||
|
|
||||||
**Screenshots**
|
|
||||||
If applicable, add screenshots to help explain your problem.
|
|
||||||
|
|
||||||
**Desktop (please complete the following information):**
|
|
||||||
- OS: [e.g. iOS]
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context about the problem here.
|
|
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
name: Feature request
|
|
||||||
about: Suggest an idea for this project
|
|
||||||
title: ''
|
|
||||||
labels: ''
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
|
||||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
||||||
|
|
||||||
**Describe the solution you'd like**
|
|
||||||
A clear and concise description of what you want to happen.
|
|
||||||
|
|
||||||
**Describe alternatives you've considered**
|
|
||||||
A clear and concise description of any alternative solutions or features you've considered.
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context or screenshots about the feature request here.
|
|
55
.travis.yml
55
.travis.yml
@ -1,26 +1,26 @@
|
|||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
dist: xenial
|
dist: xenial
|
||||||
before_script:
|
before_script:
|
||||||
- sudo apt update
|
- sudo apt update
|
||||||
- sudo apt install qemu-user-static python3 python3-pip python3-setuptools
|
- sudo apt install qemu-user-static python3 python3-pip python3-setuptools
|
||||||
- sudo pip3 install --upgrade pip
|
- sudo pip3 install --upgrade pip
|
||||||
- sudo python3 -m pip install --upgrade setuptools
|
- sudo python3 -m pip install --upgrade setuptools
|
||||||
- sudo python3 -m pip install --upgrade pyresttest
|
- sudo python3 -m pip install --upgrade pyresttest
|
||||||
- "./create-binary-docker backend"
|
- "./create-binary-docker backend"
|
||||||
- "./create-binary-docker backend -a arm"
|
- "./create-binary-docker backend -a arm"
|
||||||
- "./create-binary-docker gateway"
|
- "./create-binary-docker gateway"
|
||||||
- "./create-binary-docker gateway -a arm"
|
- "./create-binary-docker gateway -a arm"
|
||||||
- "./create-binary-docker orioncontextbroker"
|
- "./create-binary-docker orioncontextbroker"
|
||||||
- "./create-binary-docker orioncontextbroker -a arm"
|
- "./create-binary-docker orioncontextbroker -a arm"
|
||||||
- "./create-binary-docker influxdbapp"
|
- "./create-binary-docker influxdbapp"
|
||||||
- "./create-binary-docker influxdbapp -a arm"
|
- "./create-binary-docker influxdbapp -a arm"
|
||||||
- "./create-binary-docker cul868ipe"
|
- "./create-binary-docker cul868ipe"
|
||||||
- "./create-binary-docker cul868ipe -a arm"
|
- "./create-binary-docker cul868ipe -a arm"
|
||||||
- docker run -d --name backend -p 0.0.0.0:18000:18000 -e "ONEM2M_CSE_ID=backend" -e "ONEM2M_NOTIFICATION_DISABLED=false" openmtc/backend-amd64 -v
|
- docker run -d --name backend -p 0.0.0.0:18000:18000 -e "ONEM2M_CSE_ID=backend" -e "ONEM2M_NOTIFICATION_DISABLED=false" openmtc/backend-amd64 -v
|
||||||
- docker logs backend
|
- docker logs backend
|
||||||
- docker run -d --name gateway -p 0.0.0.0:8000:8000 -e "ONEM2M_HTTP_TRANSPORT_PORT=8000" -e "ONEM2M_CSE_ID=gateway" -e "ONEM2M_REMOTE_CSE_POA=<POA>" -e "ONEM2M_REMOTE_CSE_ID=backend" -e "ONEM2M_NOTIFICATION_DISABLED=false" -e "ONEM2M_REGISTRATION_DISABLED=false" openmtc/gateway-amd64 -v
|
- docker run -d --name gateway -p 0.0.0.0:8000:8000 -e "ONEM2M_HTTP_TRANSPORT_PORT=8000" -e "ONEM2M_CSE_ID=gateway" -e "ONEM2M_REMOTE_CSE_POA=<POA>" -e "ONEM2M_REMOTE_CSE_ID=backend" -e "ONEM2M_NOTIFICATION_DISABLED=false" -e "ONEM2M_REGISTRATION_DISABLED=false" openmtc/gateway-amd64 -v
|
||||||
- docker logs gateway
|
- docker logs gateway
|
||||||
script:
|
script:
|
||||||
- docker tag openmtc/orioncontextbroker-amd64 openmtc/orion-context-broker-app-amd64
|
- docker tag openmtc/orioncontextbroker-amd64 openmtc/orion-context-broker-app-amd64
|
||||||
- docker tag openmtc/orioncontextbroker-arm openmtc/orion-context-broker-app-arm
|
- docker tag openmtc/orioncontextbroker-arm openmtc/orion-context-broker-app-arm
|
||||||
@ -35,21 +35,6 @@ after_script:
|
|||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
secure: oQe/MxxFrPPArxb6OFzOUwG2ZlA5GYekMR6qn0Y3101v82MdrIVgDILHR41iwykTtk1XpJPV9uabsRsvY4hBmbjYzihYZFOAzFf+/KU7wROtKum0fFfLjCPb8uGV41k1JTquB94FibXboVAP7rNL0Vrpl+FGUvMGatQBtwZnGvha6Ha07qTao+X9+0dJ4YvFlvcba/jfzBZBwHw7KHpRoiyKU0dPmXpHcqnZBFcNqRXhzdVrgx0auP/tghoshW5LQWkpTV11uS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MzIJ1nEus5odkWW+c4wcZb6m3Ak0PrzYPp2BgE=
|
||||||
after_success:
|
|
||||||
- if [ "$TRAVIS_BRANCH" == "master" ]; then
|
|
||||||
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
|
|
||||||
docker push openmtc/backend-amd64;
|
|
||||||
docker push openmtc/backend-arm;
|
|
||||||
docker push openmtc/gateway-amd64;
|
|
||||||
docker push openmtc/gateway-arm;
|
|
||||||
docker push openmtc/orion-context-broker-app-amd64;
|
|
||||||
docker push openmtc/orion-context-broker-app-arm;
|
|
||||||
docker push openmtc/cul868-ipe-amd64;
|
|
||||||
docker push openmtc/cul868-ipe-arm;
|
|
||||||
docker push openmtc/influxdb-app-amd64;
|
|
||||||
docker push openmtc/influxdb-app-arm;
|
|
||||||
fi
|
|
||||||
after_failure:
|
after_failure:
|
||||||
- docker logs backend
|
- docker logs backend
|
||||||
- docker logs gateway
|
- docker logs gateway
|
||||||
- coveralls
|
|
@ -1,6 +0,0 @@
|
|||||||
# Contributors ordered by number of commits
|
|
||||||
|
|
||||||
Ronald Steinke <rst-fokus>
|
|
||||||
Christian Klopp <ckl-fokus>
|
|
||||||
Alexander Ortlieb <aor-fokus>
|
|
||||||
Jason Fox <jason-fox>
|
|
22
README.md
22
README.md
@ -6,14 +6,14 @@
|
|||||||
|
|
||||||
[](https://www.fiware.org/developers/catalogue/)
|
[](https://www.fiware.org/developers/catalogue/)
|
||||||
[](https://www.eclipse.org/legal/epl-v10.html)
|
[](https://www.eclipse.org/legal/epl-v10.html)
|
||||||
[](https://hub.docker.com/u/openmtc)
|
|
||||||
[](https://stackoverflow.com/questions/tagged/fiware+iot)
|
[](https://stackoverflow.com/questions/tagged/fiware+iot)
|
||||||
<br/>
|
<br/>
|
||||||
[](http://fiware-openmtc.readthedocs.org/en/latest/?badge=latest)
|
[](http://fiware-openmtc.readthedocs.org/en/latest/?badge=latest)
|
||||||
[](https://travis-ci.org/OpenMTC/OpenMTC)
|
|
||||||
[](https://coveralls.io/github/OpenMTC/OpenMTC?branch=master)
|
|
||||||
[](https://snyk.io/test/github/OpenMTC/OpenMTC?targetFile=openmtc-gevent%2Frequirements.txt)
|
|
||||||

|

|
||||||
|
[](https://hub.docker.com/u/openmtc)
|
||||||
|
[](https://travis-ci.org/OpenMTC/OpenMTC)
|
||||||
|
[](https://snyk.io/test/github/OpenMTC/OpenMTC?targetFile=openmtc-gevent%2Frequirements.txt)
|
||||||
|
[](https://coveralls.io/github/OpenMTC/OpenMTC?branch=master)
|
||||||
|
|
||||||
The OpenMTC SDK aims to provide developers with a convenient yet flexible tool
|
The OpenMTC SDK aims to provide developers with a convenient yet flexible tool
|
||||||
to write oneM2M compliant applications. This includes network applications
|
to write oneM2M compliant applications. This includes network applications
|
||||||
@ -24,15 +24,14 @@ This project is part of [FIWARE](https://www.fiware.org/). For more information
|
|||||||
check the FIWARE Catalogue entry for the
|
check the FIWARE Catalogue entry for the
|
||||||
[IoT Agents](https://github.com/Fiware/catalogue/tree/master/iot-agents).
|
[IoT Agents](https://github.com/Fiware/catalogue/tree/master/iot-agents).
|
||||||
|
|
||||||
| :octocat: [Git Repository](https://github.com/OpenMTC/OpenMTC) | :whale: [Docker Hub](https://hub.docker.com/u/openmtc) | :books: [Documentation](https://fiware-openmtc.readthedocs.io/) | :page_facing_up: [Site](https://www.openmtc.org/) | :mortar_board: [Academy](https://fiware-academy.readthedocs.io/en/latest/iot-agents/open-mtc) |
|
| :books: [Documentation](https://fiware-openmtc.readthedocs.io) | :page_facing_up: [Site](http://www.openmtc.org) | :whale: [Docker Hub](https://hub.docker.com/u/openmtc) | :dart: [Roadmap](roadmap.md) |
|
||||||
| -------------------------------------------------------------- | ------------------------------------------------------ | --------------------------------------------------------------- | ------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
|---|---|---|---|---|
|
||||||
|
|
||||||
# Content
|
# Content
|
||||||
|
|
||||||
- [Install](#install)
|
- [Install](#install)
|
||||||
- [Usage](#usage)
|
- [Usage](#usage)
|
||||||
- [API](#api)
|
- [API](#api)
|
||||||
- [Training](#training)
|
|
||||||
- [Quality Assurance](#quality-assurance)
|
- [Quality Assurance](#quality-assurance)
|
||||||
- [Contributing](#contributing)
|
- [Contributing](#contributing)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
@ -49,11 +48,6 @@ corresponding section of the
|
|||||||
Information about how to use the IoT Agent can be found in the
|
Information about how to use the IoT Agent can be found in the
|
||||||
[User & Programmers Manual](https://fiware-openmtc.readthedocs.io/en/latest/introduction).
|
[User & Programmers Manual](https://fiware-openmtc.readthedocs.io/en/latest/introduction).
|
||||||
|
|
||||||
## Training
|
|
||||||
|
|
||||||
Information about our Training can be found in the
|
|
||||||
[Training Section](https://fiware-openmtc.readthedocs.io/en/latest/training/training-ipe-sensors/index.html).
|
|
||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
||||||
Information about the REST API can be found in the
|
Information about the REST API can be found in the
|
||||||
@ -103,12 +97,12 @@ follows:
|
|||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Contribution guidelines are detailed in the [CREDITS](CREDITS.md) file.
|
Contribution guidelines are detailed in the [CONTRIBUTIONS](https://github.com/OpenMTC/OpenMTC/blob/master/CONTRIBUTIONS.md) file.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The OpenMTC SDK is licensed under the Eclipse Public License (EPL)
|
The OpenMTC SDK is licensed under the Eclipse Public License (EPL)
|
||||||
version 1.
|
version 1.
|
||||||
|
|
||||||
© 2018-2019 OpenMTC
|
© 2018 OpenMTC
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Transfer OpenMTC Data to an InfluxDB
|
Transfer OpenMTC Data to an InfluxDB
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "1.3.0"
|
__version__ = "1.2.0"
|
||||||
__description__ = "InfluxdbApp"
|
__description__ = "InfluxdbApp"
|
||||||
__author_name__ = "Christian Klopp"
|
__author_name__ = "Christian Klopp"
|
||||||
__author_mail__ = "christian.klopp@fokus.fraunhofer.de"
|
__author_mail__ = "christian.klopp@fokus.fraunhofer.de"
|
||||||
|
@ -3,7 +3,7 @@ This App will forward all incoming sensor traffic to the Fiware Orion Context
|
|||||||
Broker
|
Broker
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "1.3.0"
|
__version__ = "1.2.0"
|
||||||
__description__ = "OrionContextBroker"
|
__description__ = "OrionContextBroker"
|
||||||
__author_name__ = "Christian Klopp"
|
__author_name__ = "Christian Klopp"
|
||||||
__author_mail__ = "christian.klopp@fokus.fraunhofer.de"
|
__author_mail__ = "christian.klopp@fokus.fraunhofer.de"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
App to inject data from a csv file to OpenMTC
|
App to inject data from a csv file to OpenMTC
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "1.3.0"
|
__version__ = "1.2.0"
|
||||||
__description__ = "csvInjector"
|
__description__ = "csvInjector"
|
||||||
__author_name__ = "Christian Klopp"
|
__author_name__ = "Christian Klopp"
|
||||||
__author_mail__ = "christian.klopp@fokus.fraunhofer.de"
|
__author_mail__ = "christian.klopp@fokus.fraunhofer.de"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
TODO: Add description here
|
TODO: Add description here
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "1.3.0"
|
__version__ = "1.2.0"
|
||||||
__description__ = "mqttConnector"
|
__description__ = "mqttConnector"
|
||||||
__author_name__ = "Ronald Steinke"
|
__author_name__ = "Ronald Steinke"
|
||||||
__author_mail__ = "ronald.steinke@fokus.fraunhofer.de"
|
__author_mail__ = "ronald.steinke@fokus.fraunhofer.de"
|
||||||
|
@ -43,6 +43,6 @@ if __name__ == "__main__":
|
|||||||
from openmtc_app.flask_runner import SimpleFlaskRunner as Runner
|
from openmtc_app.flask_runner import SimpleFlaskRunner as Runner
|
||||||
|
|
||||||
ep = "http://localhost:8000"
|
ep = "http://localhost:8000"
|
||||||
Runner(DataVisualization(poas=['http://localhost:21345'])).run(ep)
|
Runner(DataVisualization(), port=6050, host='auto').run(ep)
|
||||||
|
|
||||||
|
|
||||||
|
@ -91,4 +91,4 @@ if __name__ == "__main__":
|
|||||||
from openmtc_app.flask_runner import SimpleFlaskRunner as Runner
|
from openmtc_app.flask_runner import SimpleFlaskRunner as Runner
|
||||||
|
|
||||||
ep = "http://localhost:8000"
|
ep = "http://localhost:8000"
|
||||||
Runner(DataAggregation(poas=['http://localhost:21346'])).run(ep)
|
Runner(DataAggregation(), port=6050, host='auto').run(ep)
|
||||||
|
@ -19,4 +19,4 @@ if __name__ == "__main__":
|
|||||||
from openmtc_app.flask_runner import SimpleFlaskRunner as Runner
|
from openmtc_app.flask_runner import SimpleFlaskRunner as Runner
|
||||||
|
|
||||||
ep = "http://localhost:8000"
|
ep = "http://localhost:8000"
|
||||||
Runner(SimpleDecision2(poas=['http://localhost:21387'])).run(ep)
|
Runner(SimpleDecision2(), port=6050, host='auto').run(ep)
|
||||||
|
@ -47,4 +47,4 @@ if __name__ == "__main__":
|
|||||||
from openmtc_app.flask_runner import SimpleFlaskRunner as Runner
|
from openmtc_app.flask_runner import SimpleFlaskRunner as Runner
|
||||||
|
|
||||||
ep = "http://localhost:8000"
|
ep = "http://localhost:8000"
|
||||||
Runner(SimpleDecision(poas=['http://localhost:22245'])).run(ep)
|
Runner(SimpleDecision(), port=6050, host='auto').run(ep)
|
||||||
|
@ -31,6 +31,5 @@ app_file=${app_array[$[${choice}-1]]}
|
|||||||
################################################################################
|
################################################################################
|
||||||
# run app_file
|
# run app_file
|
||||||
cd ${base_path}
|
cd ${base_path}
|
||||||
cd ..
|
. ../../common/prep-env.sh
|
||||||
. ../common/prep-env.sh
|
python ${app_file}
|
||||||
python3 ${app_file}
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Interworking Proxy for Cul868 devices.
|
Interworking Proxy for Cul868 devices.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "1.3.0"
|
__version__ = "1.2.0"
|
||||||
__description__ = "The OpenMTC Cul868IPE"
|
__description__ = "The OpenMTC Cul868IPE"
|
||||||
__author_name__ = "Ronny Kreuch"
|
__author_name__ = "Ronny Kreuch"
|
||||||
__author_mail__ = "ronny.kreuch@fokus.fraunhofer.de"
|
__author_mail__ = "ronny.kreuch@fokus.fraunhofer.de"
|
||||||
|
@ -13,7 +13,7 @@ from utils import (get_packages, OpenMTCSdist, OpenMTCBuildPy,
|
|||||||
|
|
||||||
# name and version
|
# name and version
|
||||||
SETUP_NAME = "openmtc-all"
|
SETUP_NAME = "openmtc-all"
|
||||||
SETUP_VERSION = "1.3.0"
|
SETUP_VERSION = "1.2.0"
|
||||||
SETUP_DESCRIPTION = "The OpenMTC Backend and Gateway (GEvent version)"
|
SETUP_DESCRIPTION = "The OpenMTC Backend and Gateway (GEvent version)"
|
||||||
|
|
||||||
# meta
|
# meta
|
||||||
|
@ -7,7 +7,7 @@ from utils import get_packages, OpenMTCSdist
|
|||||||
# name and version
|
# name and version
|
||||||
NAME = "sdk"
|
NAME = "sdk"
|
||||||
SETUP_NAME = "openmtc-" + NAME
|
SETUP_NAME = "openmtc-" + NAME
|
||||||
SETUP_VERSION = "1.3.0"
|
SETUP_VERSION = "1.2.0"
|
||||||
SETUP_DESCRIPTION = "The OpenMTC Python SDK"
|
SETUP_DESCRIPTION = "The OpenMTC Python SDK"
|
||||||
|
|
||||||
# meta
|
# meta
|
||||||
|
Reference in New Issue
Block a user