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

chore: [IOPID-1743] Change CDN urls #5719

Merged
merged 9 commits into from
May 2, 2024
6 changes: 3 additions & 3 deletions scripts/check_urls/check_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
SLACK_CHANNEL = "#io_dev_app_status"

# a list of remote uris consumed by the app for content presentation
remote_content_uri = ["https://assets.cdn.io.italia.it/bonus/bonus_available_v2.json",
"https://assets.cdn.io.italia.it/contextualhelp/data.json",
"https://assets.cdn.io.italia.it/status/backend.json"]
remote_content_uri = ["https://assets.cdn.io.pagopa.it/bonus/bonus_available_v2.json",
"https://assets.cdn.io.pagopa.it/contextualhelp/data.json",
"https://assets.cdn.io.pagopa.it/status/backend.json"]


class IOUrl(object):
Expand Down
2 changes: 1 addition & 1 deletion ts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Config from "react-native-config";

// default repository for fetching app content (e.g. services metadata)
const DEFAULT_CONTENT_REPO_URL =
"https://assets.cdn.io.italia.it" as NonEmptyString;
"https://assets.cdn.io.pagopa.it" as NonEmptyString;

// default timeout of fetch (in ms)
const DEFAULT_FETCH_TIMEOUT_MS = 8000;
Expand Down
4 changes: 2 additions & 2 deletions ts/features/design-system/core/DSListItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const DSListItems = () => {
<BankPreviewItem
bank={{
abi: "03069",
logoUrl: "https://assets.cdn.io.italia.it/logos/abi/03069.png",
logoUrl: "https://assets.cdn.io.pagopa.it/logos/abi/03069.png",
name: "Intesa Sanpaolo"
}}
onPress={() => alert("Action triggered")}
Expand Down Expand Up @@ -673,7 +673,7 @@ const renderListItemHeader = () => (
/* LIST ITEM TRANSACTION */

/* Mock assets */
const cdnPath = "https://assets.cdn.io.italia.it/logos/organizations/";
const cdnPath = "https://assets.cdn.io.pagopa.it/logos/organizations/";
const organizationLogoURI = {
imageSource: `${cdnPath}82003830161.png`,
name: "Comune di Milano"
Expand Down
2 changes: 1 addition & 1 deletion ts/features/design-system/core/DSLogos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const DSLogos = () => {
);
};

const cdnPath = "https://assets.cdn.io.italia.it/logos/organizations/";
const cdnPath = "https://assets.cdn.io.pagopa.it/logos/organizations/";

const organizationsURIs = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ exports[`MessageDetailsHeader component should match the snapshot with default p
onError={[Function]}
source={
Object {
"uri": "https://assets.cdn.io.italia.it/logos/services/service_one.png",
"uri": "https://assets.cdn.io.pagopa.it/logos/services/service_one.png",
}
}
style={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ exports[`MessageDetailsScreen should match the snapshot when everything went fin
onError={[Function]}
source={
Object {
"uri": "https://assets.cdn.io.italia.it/logos/services/service_one.png",
"uri": "https://assets.cdn.io.pagopa.it/logos/services/service_one.png",
}
}
style={
Expand Down
Loading