]> git.basschouten.com Git - openhab-addons.git/commit
[deutschebahn] Initial contribution: New binding for DeutscheBahn Fahrplan (#11384)
authorSönke Küper <soenkekueper@outlook.de>
Sun, 28 Nov 2021 17:34:30 +0000 (18:34 +0100)
committerGitHub <noreply@github.com>
Sun, 28 Nov 2021 17:34:30 +0000 (18:34 +0100)
commit50d5622e79e4b992cc47a6a167f32c0a1496ce00
tree620481042a69d4dd2f6d55eeaf1c6c9c1873a126
parent95e1479c5d2e6ceeae29fa2048b99c7e974230b9
[deutschebahn] Initial contribution: New binding for DeutscheBahn Fahrplan (#11384)

* Created binding for DeutscheBahn Timetable API.

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
* Disabled schema validation and used original schema. Added tests for hannover hbf which has non schema conforming responses.

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
* Added information about UNDEF and NULL channel values.

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
* Added sample widget and screenshot

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
* Filtering duplicate messages

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
* Fixed some typos.

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
* Updated to jUnit5

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
* Applied review remarks in Readme

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
* Applied some review remarks

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
* 0000: Fixed compile warnings

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Co-authored-by: Sönke Küper <soenkekueper@gmx.de>
67 files changed:
CODEOWNERS
bom/openhab-addons/pom.xml
bundles/org.openhab.binding.deutschebahn/NOTICE [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/README.md [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/doc/Abfahrten_HannoverHBF.png [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/pom.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/feature/feature.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/AbstractDtoAttributeSelector.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/AttributeSelection.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnBindingConstants.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnHandlerFactory.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTimetableConfiguration.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTimetableHandler.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTrainConfiguration.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTrainHandler.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/EventAttribute.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/EventAttributeSelection.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/EventType.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/MessageCodes.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/TimetableStopFilter.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/TripLabelAttribute.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetableLoader.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetableStopComparator.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetableStopMerger.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1Api.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1ApiFactory.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1Impl.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/resources/OH-INF/binding/binding.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/resources/OH-INF/i18n/deutschebahn_de.properties [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/resources/OH-INF/thing/thing-types.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/main/resources/xsd/Timetables_REST.xsd [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTimetableHandlerTest.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTrainHandlerTest.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/EventAttributeTest.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/TripLabelAttributeTest.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/timetable/TimeproviderStub.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/timetable/TimetableLoaderTest.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/timetable/TimetableStubHttpCallable.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesApiTestModule.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1ApiStub.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1ImplTest.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1ImplTestHelper.java [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/fchg/8000152.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/fchg/8000226.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000152/211014/11.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/07.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/08.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/09.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/10.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/11.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/12.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/13.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/14.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/15.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/16.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/17.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/18.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/19.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/20.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/21.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/22.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210816/23.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210817/00.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210817/01.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210817/02.xml [new file with mode: 0644]
bundles/org.openhab.binding.deutschebahn/src/test/resources/timetablesData/plan/8000226/210817/03.xml [new file with mode: 0644]
bundles/pom.xml