Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-9546: New test and stage subdomains #149

Merged
merged 3 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 72 additions & 72 deletions fixtures/environments.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
},
"test": {
"path": {
"fi": "/fi/test-asuminen",
"sv": "/sv/test-boende",
"en": "/en/test-housing"
"fi": "/fi/asuminen",
"sv": "/sv/boende",
"en": "/en/housing"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.test.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand All @@ -42,13 +42,13 @@
},
"stage": {
"path": {
"fi": "/fi/staging-asuminen",
"sv": "/sv/staging-boende",
"en": "/en/staging-housing"
"fi": "/fi/asuminen",
"sv": "/sv/boende",
"en": "/en/housing"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.stage.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand Down Expand Up @@ -103,13 +103,13 @@
},
"test": {
"path": {
"fi": "/fi/test-etusivu",
"sv": "/sv/test-huvudsida",
"en": "/en/test-frontpage"
"fi": "/fi",
"sv": "/sv",
"en": "/en"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.test.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand All @@ -121,13 +121,13 @@
},
"stage": {
"path": {
"fi": "/fi/staging-etusivu",
"sv": "/sv/staging-huvudsida",
"en": "/en/staging-frontpage"
"fi": "/fi",
"sv": "/sv",
"en": "/en"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.stage.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand Down Expand Up @@ -182,13 +182,13 @@
},
"test": {
"path": {
"fi": "/fi/test-kasvatus-ja-koulutus",
"sv": "/sv/test-fostran-och-utbildning",
"en": "/en/test-childhood-and-education"
"fi": "/fi/kasvatus-ja-koulutus",
"sv": "/sv/fostran-och-utbildning",
"en": "/en/childhood-and-education"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.test.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand All @@ -200,13 +200,13 @@
},
"stage": {
"path": {
"fi": "/fi/staging-kasvatus-ja-koulutus",
"sv": "/sv/staging-fostran-och-utbildning",
"en": "/en/staging-childhood-and-education"
"fi": "/fi/kasvatus-ja-koulutus",
"sv": "/sv/fostran-och-utbildning",
"en": "/en/childhood-and-education"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.stage.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand Down Expand Up @@ -261,13 +261,13 @@
},
"test": {
"path": {
"fi": "/fi/test-kulttuuri-ja-vapaa-aika",
"sv": "/sv/test-kultur-och-fritid",
"en": "/en/test-culture-and-leisure"
"fi": "/fi/kulttuuri-ja-vapaa-aika",
"sv": "/sv/kultur-och-fritid",
"en": "/en/culture-and-leisure"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.test.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand All @@ -279,13 +279,13 @@
},
"stage": {
"path": {
"fi": "/fi/staging-kulttuuri-ja-vapaa-aika",
"sv": "/sv/staging-kultur-och-fritid",
"en": "/en/staging-culture-and-leisure"
"fi": "/fi/kulttuuri-ja-vapaa-aika",
"sv": "/sv/kultur-och-fritid",
"en": "/en/culture-and-leisure"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.stage.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand Down Expand Up @@ -340,13 +340,13 @@
},
"test": {
"path": {
"fi": "/fi/test-kaupunkiymparisto-ja-liikenne",
"sv": "/sv/test-stadsmiljo-och-trafik",
"en": "/en/test-urban-environment-and-traffic"
"fi": "/fi/kaupunkiymparisto-ja-liikenne",
"sv": "/sv/stadsmiljo-och-trafik",
"en": "/en/urban-environment-and-traffic"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.test.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand All @@ -358,13 +358,13 @@
},
"stage": {
"path": {
"fi": "/fi/staging-kaupunkiymparisto-ja-liikenne",
"sv": "/sv/staging-stadsmiljo-och-trafik",
"en": "/en/staging-urban-environment-and-traffic"
"fi": "/fi/kaupunkiymparisto-ja-liikenne",
"sv": "/sv/stadsmiljo-och-trafik",
"en": "/en/urban-environment-and-traffic"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.stage.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand Down Expand Up @@ -419,13 +419,13 @@
},
"test": {
"path": {
"fi": "/fi/test-avoimet-tyopaikat",
"sv": "/sv/test-lediga-jobb",
"en": "/en/test-open-jobs"
"fi": "/fi/avoimet-tyopaikat",
"sv": "/sv/lediga-jobb",
"en": "/en/open-jobs"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.test.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand All @@ -437,13 +437,13 @@
},
"stage": {
"path": {
"fi": "/fi/staging-avoimet-tyopaikat",
"sv": "/sv/staging-lediga-jobb",
"en": "/en/staging-open-jobs"
"fi": "/fi/avoimet-tyopaikat",
"sv": "/sv/lediga-jobb",
"en": "/en/open-jobs"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.stage.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand Down Expand Up @@ -498,13 +498,13 @@
},
"test": {
"path": {
"fi": "/fi/test-paatoksenteko-ja-hallinto",
"sv": "/sv/test-beslutsfattande-och-forvaltning",
"en": "/en/test-decision-making"
"fi": "/fi/paatoksenteko-ja-hallinto",
"sv": "/sv/beslutsfattande-och-forvaltning",
"en": "/en/decision-making"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.test.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand All @@ -516,13 +516,13 @@
},
"stage": {
"path": {
"fi": "/fi/staging-paatoksenteko-ja-hallinto",
"sv": "/sv/staging-beslutsfattande-och-forvaltning",
"en": "/en/staging-decision-making"
"fi": "/fi/paatoksenteko-ja-hallinto",
"sv": "/sv/beslutsfattande-och-forvaltning",
"en": "/en/decision-making"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.stage.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand Down Expand Up @@ -577,13 +577,13 @@
},
"test": {
"path": {
"fi": "/fi/test-sosiaali-ja-terveyspalvelut",
"sv": "/sv/test-social-och-halsovardstjanster",
"en": "/en/test-health-and-social-services"
"fi": "/fi/sosiaali-ja-terveyspalvelut",
"sv": "/sv/social-och-halsovardstjanster",
"en": "/en/health-and-social-services"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.test.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand All @@ -595,13 +595,13 @@
},
"stage": {
"path": {
"fi": "/fi/staging-sosiaali-ja-terveyspalvelut",
"sv": "/sv/staging-social-och-halsovardstjanster",
"en": "/en/staging-health-and-social-services"
"fi": "/fi/sosiaali-ja-terveyspalvelut",
"sv": "/sv/social-och-halsovardstjanster",
"en": "/en/health-and-social-services"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.stage.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand Down Expand Up @@ -656,13 +656,13 @@
},
"test": {
"path": {
"fi": "/fi/test-yritykset-ja-tyo",
"sv": "/sv/test-foretag-och-arbete",
"en": "/en/test-business-and-work"
"fi": "/fi/yritykset-ja-tyo",
"sv": "/sv/foretag-och-arbete",
"en": "/en/business-and-work"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.test.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand All @@ -674,13 +674,13 @@
},
"stage": {
"path": {
"fi": "/fi/staging-yritykset-ja-tyo",
"sv": "/sv/staging-foretag-och-arbete",
"en": "/en/staging-business-and-work"
"fi": "/fi/yritykset-ja-tyo",
"sv": "/sv/foretag-och-arbete",
"en": "/en/business-and-work"
},
"address": {
"protocol": "https",
"domain": "www.hel.fi"
"domain": "www.stage.hel.ninja"
},
"internal_address": {
"protocol": "https",
Expand Down
2 changes: 1 addition & 1 deletion helfi_api_base.install
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Contains installation procedure for API base module.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\Core\Config\FileStorage;
use Drupal\rest\Entity\RestResourceConfig;
Expand Down
2 changes: 1 addition & 1 deletion helfi_api_base.module
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Contains API base module.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\Core\Entity\EntityInterface;
use Drupal\helfi_api_base\Link\LinkProcessor;
Expand Down
2 changes: 1 addition & 1 deletion src/ApiClient/ApiResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\helfi_api_base\ApiClient;

Expand Down
2 changes: 1 addition & 1 deletion src/ApiClient/CacheValue.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\helfi_api_base\ApiClient;

Expand Down
2 changes: 1 addition & 1 deletion src/Azure/PubSub/PubSubClientFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\helfi_api_base\Azure\PubSub;

Expand Down
2 changes: 1 addition & 1 deletion src/Azure/PubSub/PubSubManager.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\helfi_api_base\Azure\PubSub;

Expand Down
2 changes: 1 addition & 1 deletion src/Azure/PubSub/PubSubManagerInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\helfi_api_base\Azure\PubSub;

Expand Down
2 changes: 1 addition & 1 deletion src/Azure/PubSub/PubSubMessage.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\helfi_api_base\Azure\PubSub;

Expand Down
2 changes: 1 addition & 1 deletion src/Azure/PubSub/Settings.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\helfi_api_base\Azure\PubSub;

Expand Down
Loading
Loading