Skip to content

Commit ef95780

Browse files
committed
Code clean-up
1 parent aa39cbc commit ef95780

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# extime [![CircleCI](https://circleci.com/gh/entur/extime/tree/master.svg?style=svg)](https://circleci.com/gh/rutebanken/extime/tree/master)
1+
# Extime
22

33
Extime fetches flights information provided by [Avinor](https://avinor.no), the company operating most Norwegian airports, and converts them into NeTEx-compliant timetables.
44

@@ -11,7 +11,7 @@ Ultimately the flight timetables are injected into the [Norwegian National Journ
1111

1212
## Input
1313
Extime makes use of the following dataset provided by Avinor:
14-
- Flights timetables: https://asrv.avinor.no/XmlFeed/v1.0
14+
- Flights timetables: https://asrv.avinor.no/XmlFeedScheduled/v1.0
1515

1616
## Output
1717
Extimes converts the flight data into a set of NeTEx documents packaged as a zip file following the [Nordic NeTEx Profile delivery format](https://enturas.atlassian.net/wiki/spaces/PUBLIC/pages/728563782/General+information+NeTEx#Generalinformation:NeTEx-PublicationDeliveryExchanginginformation).
@@ -48,7 +48,7 @@ Main parameters:
4848
## Workflow overview
4949
- For each whitelisted airport, Extime sends a query to the Avinor REST API and retrieves all departure for passenger flights over a given time period.
5050
- The API returns a list of _Flight_ objects that represent a single departure.
51-
- The _Flight_ objects are successively mapped to _FlightEvent_ and _FlightLeg_ object.
51+
- The _Flight_ objects are successively mapped to _FlightEvent_ and _FlightLeg_ object.
5252
- A heuristic searches among all _FlightLegs_ those that are part of a multi-leg flight:
5353
- they share the same airline and flight number,
5454
- a given leg arrives at the same airport as the one the next leg departs from,

src/main/java/no/rutebanken/extime/model/FlightEvent.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
/**
66
* A flight event is a single flight between two airports reported by the Avinor API.
7+
* This is a value object that provides a simplified view of the JAXB-generated Flight object.
78
* @param flightId the unique id of a flight leg.
89
* @param flightNumber the flight number as communicated to passengers.
910
* @param airline the airline IATA code.

0 commit comments

Comments
 (0)