Skip to content

Commit

Permalink
Merge pull request #236 from noi-techpark/issue-227-replace-old-urls
Browse files Browse the repository at this point in the history
Issue 227 replace old urls
  • Loading branch information
RudiThoeni committed Aug 12, 2021
2 parents b5b5916 + 41201fb commit 78e6a00
Show file tree
Hide file tree
Showing 32 changed files with 83 additions and 74 deletions.
4 changes: 2 additions & 2 deletions source/access-odh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ data by using a browser:
---

Access the `ODH Tourism data browser
<http://tourism.opendatahub.bz.it/>`_ and search for the Open
<https://databrowser.opendatahub.bz.it/>`_ and search for the Open
Data available in the Tourism domain. You can simply use those
data for your convenience, or you might even find a novel way to
exploit those data and use them in an app or portal you are
Expand All @@ -64,7 +64,7 @@ data by using a browser:

Go to the :strong:`Swagger interface` of the datasets in the
Tourism domain, located at
http://tourism.opendatahub.bz.it/swagger/ui/index to learn how
https://tourism.opendatahub.bz.it/swagger/ui/index to learn how
the REST APIs are built and how you can script them to fetch
data for your application. To get started, there is a dedicated
howto: :ref:`tourism-data-howto` that will guide you in the
Expand Down
4 changes: 2 additions & 2 deletions source/applist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ Beta Stage Apps
devices, it can also show directions from your current position to
the chosen parking lot.

* http://traffic.bz.it/ Some streets in South Tyrol are monitored for
* https://traffic.bz.it/ Some streets in South Tyrol are monitored for
real-time vehicular travel times; the data collected are used by
this web site to show traffic slowdowns or jams.

* http://bus.bz.it/ This web site shows the real-time positions of the
* https://bus.bz.it/ This web site shows the real-time positions of the
buses managed by the public transport operator SASA. Urban or
suburban bus lines can be shown, and for each bus can be shown the
next few stops and an estimate of the arrival time.
Expand Down
8 changes: 7 additions & 1 deletion source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,10 @@ documentation.
:tags: Change
:tickets: 231

The URL of the Tourism API has been updated
The URL of the Tourism API has been updated

.. change::
:tags: Bugfix, Improvement
:tickets: 227

Update old URLS, fix broken links.
6 changes: 3 additions & 3 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,10 @@
linkcheck_retries = 2
linkcheck_ignore = [
'https://ci.opendatahub.bz.it',
'https://github.com/your-username/',
'http://localhost:\d+/',
'https://github.com/$USERNAME/',
'https://localhost:\d+/',
'https://cert.provinz.bz.it/musport/services/MuseumsService.MuseumsServiceHttpSoap11Endpoint/',
'http://tourism.opendatahub.bz.it/token'
'http://tourism.opendatahub.bz.it/token',
]

# -- Options for Texinfo output -------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion source/datasets/accommodation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"Swagger URL", ":stinfo:`/Accommodation`"
"API URL", ":apit:`/Accommodation`"
"Use cases and info", "https://databrowser.opendatahub.bz.it/
https://suedtirol.info/"
https://suedtirol.info/en/"
"Android App", "`Südtirol Guide/Alto Adige Guide
<https://play.google.com/store/apps/details?id=com.suedtirol.android>`_"
"Sources", "LTS"
Expand Down
2 changes: 1 addition & 1 deletion source/datasets/activity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"Swagger URL", ":stinfo:`/Activity`"
"API URL", ":apit:`/Activity`"
"Use cases and info", "https://databrowser.opendatahub.bz.it/
https://suedtirol.info/"
https://suedtirol.info/en/"
"Sources", "LTS ActivityData"
2 changes: 1 addition & 1 deletion source/datasets/activity_poi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"Swagger URL", ":stinfo:`/ODHActivityPoi`"
"API URL", ":apit:`/ODHActivityPoi`"
"Use cases and info", "https://databrowser.opendatahub.bz.it/
https://suedtirol.info/"
https://suedtirol.info/en/"
"Android App", "`Südtirol Guide/Alto Adige Guide
<https://play.google.com/store/apps/details?id=com.suedtirol.android>`_"
"Sources", "LTS ActivityData, LTS PoiData, LTS GastronomicData,
Expand Down
4 changes: 2 additions & 2 deletions source/datasets/alpinebits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

Documentation for developers, including sample code snippets and
additional material can be found on AlpineBits dedicated page for
developers https://www.alpinebits.org/developers/.
developers https://www.alpinebits.org/hoteldata/.

Various development and testing tools can be found on
http://development.alpinebits.org/#/home.
https://development.alpinebits.org/#/home.

-----

Expand Down
2 changes: 1 addition & 1 deletion source/datasets/article.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ still updated.
"API version", v1
"Swagger URL", :stinfo:`/Article`
"Use cases and info", https://databrowser.opendatahub.bz.it/
https://suedtirol.info/
https://suedtirol.info/en/
"Sources", IDM editorial staff
2 changes: 1 addition & 1 deletion source/datasets/event.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"Swagger URL", ":stinfo:`/Event`"
"API URL", ":apit:`/Event`"
"Use cases and info", "https://databrowser.opendatahub.bz.it/
https://suedtirol.info/"
https://suedtirol.info/en/"
"Android App", "`Südtirol Guide/Alto Adige Guide
<https://play.google.com/store/apps/details?id=com.suedtirol.android>`_"
"Sources", "LTS"
Expand Down
2 changes: 1 addition & 1 deletion source/datasets/eventshort.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"Swagger URL", ":stinfo:`/EventShort`"
"API URL", ":apit:`/EventShort`"
"Use cases and info", "https://today.noi.bz.it/
https://noi.bz.it/event-calendar/
https://noi.bz.it/it/event-calendar/
https://virtual.noi.bz.it/programma.html"
"Sources", "LTS"
2 changes: 1 addition & 1 deletion source/datasets/gastronomy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"Swagger URL", ":stinfo:`/Gastronomy`"
"API URL", ":apit:`/Gastyronomy`"
"Use cases and info", "https://databrowser.opendatahub.bz.it/
https://suedtirol.info/"
https://suedtirol.info/en/"
"Sources", "LTS"
"SPARQL Endpoint", "https://sparql.opendatahub.bz.it"
2 changes: 1 addition & 1 deletion source/datasets/package.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"Output", "JSON, mime-type application/json"
"E-mail contact", "|contact|"
"API version", "v1"
"Swagger URL", "http://service.suedtirol.info/swagger/ui/index#/Package"
"Swagger URL", "https://service.suedtirol.info/swagger/ui/index#/Package"
2 changes: 1 addition & 1 deletion source/datasets/poi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"Swagger URL", ":stinfo:`/Poi`"
"API URL", ":apit:`/Poi`"
"Use cases and info", "https://databrowser.opendatahub.bz.it/
https://suedtirol.info/"
https://suedtirol.info/en/"
"Sources", "LTS PoiData"
6 changes: 3 additions & 3 deletions source/datasets/publictransportation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"Output", "geoJSON"
"E-mail contact", "info\@sasabus\.org"
"API version", "--"
"URL", "http://daten.buergernetz.bz.it/dataset/southtyrolean-public-transport
http://sasabus.org/opendata"
"Use cases and info", "https://suedtirolmobil.info/,
"URL", "https://daten.buergernetz.bz.it/dataset/southtyrolean-public-transport
https://sasabus.org/opendata"
"Use cases and info", "https://suedtirolmobil.info/en/,
https://mobility.meran.eu/, https://analytics.opendatahub.bz.it/,
https://mobility.bz.it/"
"Web Component", "`Smart Mobility
Expand Down
2 changes: 1 addition & 1 deletion source/datasets/snowreport.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
"Swagger URL", ":stinfo:`/Weather/get_v1_Weather_SnowReport`"
"API URL", ":apit:`/Weather/SnowReportBase`"
"Use cases and info", "https://databrowser.opendatahub.bz.it/
https://suedtirol.info/"
https://suedtirol.info/en/"
"Sources", "LTS, IDM"
2 changes: 1 addition & 1 deletion source/datasets/webcam.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"Swagger URL", ":stinfo:`/WebcamInfo`"
"API URL", ":apit:`/WebcamInfo`"
"Use cases and info", "https://databrowser.opendatahub.bz.it/
https://suedtirol.info/"
https://suedtirol.info/en/"
"Sources", "Webcam links from LTS and IDM"
12 changes: 6 additions & 6 deletions source/guidelines/contributors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This section guides you in setting up on your local workstation the
(forked) git repositories needed to contribute to the |odh| project,
along with some troubleshooting concerning pull requests and merge
conflicts. For more detailed help, please refer to the online Github
help, at https://help.github.com/en.
help, at https://docs.github.com/en/.



Expand Down Expand Up @@ -138,9 +138,8 @@ following steps have to be performed.
Before you can sync your fork with the original repository (an
upstream repository), you must configure a remote that points to the
upstream repository in Git. A more detailed description for the
following steps can be found in the online Github help
https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork

following steps can be found in the `online Github help
<https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-for-a-fork>`_.

1. List the current configured remote repository for your fork.

Expand All @@ -165,7 +164,7 @@ https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/co
You need sync a fork of a repository to keep it up-to-date with the
original repository (upstream repository). A more detailed description
for the following steps can be found in the online Github help
https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork
https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/syncing-a-fork.

1. Fetch the branches and their respective commits from the upstream
repository. Commits to :strong:`development` will be stored in a
Expand Down Expand Up @@ -276,4 +275,5 @@ To resolve merge conflicts, the following steps must be performed.
A solved merge conflict.

A more detailed description can be found in the online Github help:
https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-using-the-command-line.
ttps://docs.github.com/en/github/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line

2 changes: 1 addition & 1 deletion source/howto/generic/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,6 @@ the second to provide the credentials, like for example:

.. code:: bash
~$ curl -X GET "http://bdp-test-env.b7twwguhyj.example.com/emobility/rest/get-records?station=83&name=CP1-Tignale&seconds=50" --header "Accept: */*" --header 'Authorization: Bearer <token>'
~$ curl -X GET "https://bdp-test-env.b7twwguhyj.example.com/emobility/rest/get-records?station=83&name=CP1-Tignale&seconds=50" --header "Accept: */*" --header 'Authorization: Bearer <token>'
Make sure to replace the <token> with the actual token you received.
2 changes: 1 addition & 1 deletion source/howto/generic/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ If you do not use systemd, the command will have a different output:
[ ok ] Tomcat servlet engine is running with pid 11357.
From a browser you should connect to http://localhost:8080/ (replace
From a browser you should connect to https://localhost:8080/ (replace
:envvar:`localhost` this the URL or IP where your application server
is located) and see the following page:

Expand Down
4 changes: 2 additions & 2 deletions source/howto/generic/noievents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Since you must login to create events, you need valid credentials to
be able to add NOI events, that you should have received from the
|odh| team.

Go to http://tourism.opendatahub.bz.it and click on Log in (top right
corner)
Go to https://databrowser.opendatahub.bz.it and click on Log in (top
right corner)

.. figure:: /images/events/login.png
:scale: 33%
Expand Down
2 changes: 1 addition & 1 deletion source/howto/generic/postman.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ below the GET request, then select OAuth 2.0 as the `Type`.

Now, in the right-hand side of the window, write the URL that manages
the tokens (for the tourism domain, this is
http://tourism.opendatahub.bz.it/token and click on the :button:`Get
https://tourism.opendatahub.bz.it/token and click on the :button:`Get
New Access Token` button (:numref:`postman6`).

.. _postman6:
Expand Down
34 changes: 17 additions & 17 deletions source/howto/generic/r-howto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ data on a map.

It is also assumed you have already installed R on your workstation as
well as the required R's `SPARQL library
<http://cran.mirror.garr.it/CRAN/web/packages/SPARQL/>`_ from a
<https://cran.mirror.garr.it/CRAN/web/packages/SPARQL/>`_ from a
:abbr:`CRAN (Comprehensive R Archive Network)` mirror.


Expand Down Expand Up @@ -74,9 +74,9 @@ In order to fetch data, you need:
.. code:: sparql
PREFIX schema: <http://schema.org/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX noi: <http://noi.example.org/ontology/odh#>
PREFIX schema: <https://schema.org/>
PREFIX geo: <http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#>
PREFIX noi: <https://noi.example.org/ontology/odh#>
SELECT ?pos ?posLabel
WHERE {
Expand All @@ -99,9 +99,9 @@ In order to fetch data, you need:
endpoint <- "https://sparql.opendatahub.bz.it/sparql"
query <-
'PREFIX schema: <http://schema.org/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX noi: <http://noi.example.org/ontology/odh#>
'PREFIX schema: <https://schema.org/>
PREFIX geo: <http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#>
PREFIX noi: <https://noi.example.org/ontology/odh#>
SELECT ?pos ?posLabel
WHERE {
Expand All @@ -125,16 +125,16 @@ will be similar to::
Loading required package: RCurl
$results
pos
1 "POINT (11.440394 46.511651)"^^<http://www.opengis.net/ont/geosparql#wktLiteral>
2 "POINT (11.200728 46.729921)"^^<http://www.opengis.net/ont/geosparql#wktLiteral>
3 "POINT (11.9412 46.9803)"^^<http://www.opengis.net/ont/geosparql#wktLiteral>
4 "POINT (11.4278 46.4135)"^^<http://www.opengis.net/ont/geosparql#wktLiteral>
5 "POINT (11.326362 46.310963)"^^<http://www.opengis.net/ont/geosparql#wktLiteral>
6 "POINT (12.279453 46.733497)"^^<http://www.opengis.net/ont/geosparql#wktLiteral>
7 "POINT (10.867335 46.622179)"^^<http://www.opengis.net/ont/geosparql#wktLiteral>
8 "POINT (11.241217 46.246141)"^^<http://www.opengis.net/ont/geosparql#wktLiteral>
9 "POINT (11.598339 46.40688)"^^<http://www.opengis.net/ont/geosparql#wktLiteral>
10 "POINT (12.0114 46.7474)"^^<http://www.opengis.net/ont/geosparql#wktLiteral>
1 "POINT (11.440394 46.511651)"^^<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#wktLiteral>
2 "POINT (11.200728 46.729921)"^^<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#wktLiteral>
3 "POINT (11.9412 46.9803)"^^<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#wktLiteral>
4 "POINT (11.4278 46.4135)"^^<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#wktLiteral>
5 "POINT (11.326362 46.310963)"^^<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#wktLiteral>
6 "POINT (12.279453 46.733497)"^^<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#wktLiteral>
7 "POINT (10.867335 46.622179)"^^<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#wktLiteral>
8 "POINT (11.241217 46.246141)"^^<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#wktLiteral>
9 "POINT (11.598339 46.40688)"^^<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#wktLiteral>
10 "POINT (12.0114 46.7474)"^^<http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf#wktLiteral>
posLabel
1 "Ristorante Pizzeria Bar Pirpamer"@it
2 "Bar Pizzeria Alpenhof"@it
Expand Down
2 changes: 1 addition & 1 deletion source/howto/tourism/alpinebits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@ Postman's window, like in :numref:`ab-postman-body`.

.. seealso:: More information about the interaction with AlpineBits
can be found in the official documentation, available at
https://www.alpinebits.org/developers/.
https://www.alpinebits.org/hoteldata/.


5 changes: 3 additions & 2 deletions source/howto/tourism/browse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Data Browsing and Exploring
---------------------------

In order to access the data in the tourism domain, launch a browser
and point it to http://tourism.opendatahub.bz.it/.
and point it to https://databrowser.opendatahub.bz.it/.

.. _tourism-login-web:

Expand All @@ -26,9 +26,10 @@ Under the header and an informative message, hyperlinks in the centre
of the page allow to open various resources about the Tourism domain.

* The `Swagger interface
<http://tourism.opendatahub.bz.it/swagger/ui/index>`_ of the
<https://tourism.opendatahub.bz.it/swagger/ui/index>`_ of the
datasets, the quickest place from where to access the datasets and
learn how to programmatically retrieve the data

* The :apit:`Open Data Hub API </>`, a browsable, hyperlinked
interface over the data in the Tourism domain.

Expand Down
2 changes: 1 addition & 1 deletion source/howto/tourism/getstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Swagger Interface
All the APIs available for the tourism domain can be accessed from the
same URL through their Swagger user interface:

https://tourism.api.opendatahub.bz.it/
https://tourism.api.opendatahub.bz.it/swagger/index.html

.. hint:: Check section :ref:`tourism-datasets` for direct URLs to the
datasets.
Expand Down
3 changes: 2 additions & 1 deletion source/howto/tourism/tips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Example Calls

.. rubric:: EX1. Why does this query return no result?


:apit:`Gastronomy?pagesize=3&categorycodefilter=0&locfilter=reg268`

Because there is no value :strong:`reg268` for `locfilter`. You can
Expand Down Expand Up @@ -198,7 +199,7 @@ will see something like:
"CurrentPage": 1,
"OnlineResults": -1,
"Seed": "43",
"Items": [
n "Items": [
{

The remainder of the :strong:`Response Body` contains the first 15
Expand Down
2 changes: 1 addition & 1 deletion source/includes/CLI.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ used:
Your best opportunity to learn about the correct syntax and parameters
to use is to go to the :strong:`swagger interface` of the `tourism
<http://tourism.opendatahub.bz.it/swagger/ui/index>`_ or `mobility
<https://tourism.opendatahub.bz.it/swagger/ui/index>`_ or `mobility
<https://mobility.api.opendatahub.bz.it/>`_ domains and execute a
query: with the output, also the corresponding :program:`curl` command
used to retrieve the data will be shown.

0 comments on commit 78e6a00

Please sign in to comment.