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

[#174010680] Change checked urls with IO-cdn #2103

Merged
merged 6 commits into from
Jul 29, 2020
Merged
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
8 changes: 4 additions & 4 deletions scripts/check_urls/check_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
HEADERS = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'
}
MAX_TIMEOUT = 12
MAX_TIMEOUT = 20
global_uris = set()
SLACK_TOKEN = os.environ.get("IO_APP_SLACK_TOKEN_CHECK_URLS", None)
tagged_people = ["<@UTVS9R0SF>"]
SLACK_CHANNEL = "#io_status"

# a list of remote uris consumed by the app for content presentation
remote_content_uri = ["https://raw.githubusercontent.com/pagopa/io-services-metadata/master/services.yml",
"https://raw.githubusercontent.com/pagopa/io-services-metadata/master/bonus/vacanze/bonuses_available.json",
"https://raw.githubusercontent.com/pagopa/io-services-metadata/master/contextualhelp/data.json"]
remote_content_uri = ["https://assets.cdn.io.italia.it/services.yml",
"https://assets.cdn.io.italia.it/bonus/vacanze/bonuses_available.json",
"https://assets.cdn.io.italia.it/contextualhelp/data.json"]


class IOUrl(object):
Expand Down