Skip to content

Commit

Permalink
Merge pull request #113 from City-of-Helsinki/UHF-5169_helsinki_units…
Browse files Browse the repository at this point in the history
…_only

UHF-5169: import only Helsinki TPR units
  • Loading branch information
ltpk-siili authored Apr 19, 2022
2 parents 6045655 + 1737359 commit 1e70d91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ all garbage collection tasks (such as cleaning removed remote entities), so you

`drush helfi:migrate-fixture {migrate_id}`.

### Overwriting `url` and `canonical_url`

It's possible to overwrite `url` and `canonical_url` per project by adding a configuration file named `helfi_tpr.migration_settings.{migrate_id}.yml` and defining the URLs there.

## Contact

Slack: #helfi-drupal (http://helsinkicity.slack.com/)
Expand Down
4 changes: 2 additions & 2 deletions migrations/tpr_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ source:
- desc
- short_desc
track_changes: true
url: 'https://www.hel.fi/palvelukarttaws/rest/v4/unit/?newfeatures=yes'
canonical_url: 'https://www.hel.fi/palvelukarttaws/rest/v4/unit/?newfeatures=yes'
url: 'https://www.hel.fi/palvelukarttaws/rest/v4/unit/?newfeatures=yes&arealcity=91'
canonical_url: 'https://www.hel.fi/palvelukarttaws/rest/v4/unit/?newfeatures=yes&arealcity=91'
accessibility_sentences_url: 'https://www.hel.fi/palvelukarttaws/rest/v4/accessibility_sentence/'
connections_url: 'https://www.hel.fi/palvelukarttaws/rest/v4/connection/'
services_url: 'https://city-of-helsinki.github.io/drupal-tpr-aggregator/unitservices.json'
Expand Down

0 comments on commit 1e70d91

Please sign in to comment.