mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 01:10:02 +00:00
AbstractHafasProvider: Extract AbstractHafasMobileProvider and AbstractHafasLegacyProvider for the two Hafas APIs.
This commit is contained in:
parent
7dd43f90c5
commit
a0bec90f9a
40 changed files with 3891 additions and 4136 deletions
|
@ -42,7 +42,7 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
*/
|
||||
public class OoevvProviderLiveTest extends AbstractProviderLiveTest {
|
||||
public OoevvProviderLiveTest() {
|
||||
super(new OoevvProvider(secretProperty("ooevv.json_api_authorization")));
|
||||
super(new OoevvProvider(secretProperty("ooevv.api_authorization")));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -40,7 +40,7 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
*/
|
||||
public class ShProviderLiveTest extends AbstractProviderLiveTest {
|
||||
public ShProviderLiveTest() {
|
||||
super(new ShProvider(secretProperty("sh.json_api_authorization")));
|
||||
super(new ShProvider(secretProperty("sh.api_authorization")));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -42,7 +42,7 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
*/
|
||||
public class SvvProviderLiveTest extends AbstractProviderLiveTest {
|
||||
public SvvProviderLiveTest() {
|
||||
super(new SvvProvider(secretProperty("svv.json_api_authorization")));
|
||||
super(new SvvProvider(secretProperty("svv.api_authorization")));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -42,7 +42,7 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
*/
|
||||
public class VaoProviderLiveTest extends AbstractProviderLiveTest {
|
||||
public VaoProviderLiveTest() {
|
||||
super(new VaoProvider(secretProperty("vao.json_api_authorization")));
|
||||
super(new VaoProvider(secretProperty("vao.api_authorization")));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -42,7 +42,7 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
*/
|
||||
public class VbnProviderLiveTest extends AbstractProviderLiveTest {
|
||||
public VbnProviderLiveTest() {
|
||||
super(new VbnProvider(secretProperty("vbn.json_api_authorization")));
|
||||
super(new VbnProvider(secretProperty("vbn.api_authorization")));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -42,7 +42,7 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
*/
|
||||
public class VmobilProviderLiveTest extends AbstractProviderLiveTest {
|
||||
public VmobilProviderLiveTest() {
|
||||
super(new VmobilProvider(secretProperty("vmobil.json_api_authorization")));
|
||||
super(new VmobilProvider(secretProperty("vmobil.api_authorization")));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -42,7 +42,7 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
*/
|
||||
public class VorProviderLiveTest extends AbstractProviderLiveTest {
|
||||
public VorProviderLiveTest() {
|
||||
super(new VorProvider(secretProperty("vor.json_api_authorization")));
|
||||
super(new VorProvider(secretProperty("vor.api_authorization")));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -42,7 +42,7 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
*/
|
||||
public class VvtProviderLiveTest extends AbstractProviderLiveTest {
|
||||
public VvtProviderLiveTest() {
|
||||
super(new VvtProvider(secretProperty("vvt.json_api_authorization")));
|
||||
super(new VvtProvider(secretProperty("vvt.api_authorization")));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
# Secrets are needed to run some of the live tests.
|
||||
vgn.api_base =
|
||||
navitia.authorization =
|
||||
vbn.json_api_authorization =
|
||||
sh.json_api_authorization =
|
||||
vao.json_api_authorization =
|
||||
vbn.api_authorization =
|
||||
sh.api_authorization =
|
||||
vor.api_authorization =
|
||||
ooevv.api_authorization =
|
||||
svv.api_authorization =
|
||||
vvt.api_authorization =
|
||||
vmobil.api_authorization =
|
||||
vao.api_authorization =
|
||||
hsl.usertoken =
|
||||
hsl.passphrase =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue