Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eduGAIN Connectivity Check
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
eduGAIN Connectivity Check
Commits
763d7411
Commit
763d7411
authored
5 years ago
by
Marco Malavolti
Browse files
Options
Downloads
Patches
Plain Diff
Add ECCS2 properties
parent
60ebc159
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
eccs2properties.py
+45
-0
45 additions, 0 deletions
eccs2properties.py
runEccs2.py
+1
-1
1 addition, 1 deletion
runEccs2.py
with
46 additions
and
1 deletion
eccs2properties.py
0 → 100644
+
45
−
0
View file @
763d7411
#!/usr/bin/env python3.8
from
datetime
import
date
day
=
date
.
today
().
isoformat
()
ECCS2PATH
=
"
/opt/eccs2
"
ECCS2LOGSPATH
=
"
%s/logs
"
%
ECCS2PATH
ECCS2INPUTPATH
=
"
%s/input
"
%
ECCS2PATH
# Input
ECCS2LISTIDPSURL
=
'
https://technical.edugain.org/api.php?action=list_eccs_idps&format=json
'
ECCS2LISTIDPSFILE
=
"
%s/list_eccs_idps.json
"
%
ECCS2INPUTPATH
ECCS2LISTFEDSURL
=
'
https://technical.edugain.org/api.php?action=list_feds&opt=1&format=json
'
ECCS2LISTFEDSFILE
=
"
%s/list_fed.json
"
%
ECCS2INPUTPATH
# Output
ECCS2RESULTSLOG
=
"
eccs2_%s.log
"
%
day
ECCS2CHECKSLOG
=
"
eccs2checks_%s.log
"
%
day
ECCS2SELENIUMLOG
=
"
%s/selenium_chromedriver.log
"
%
ECCS2LOGSPATH
ECCS2STDOUT
=
"
%s/stdout.log
"
%
ECCS2LOGSPATH
ECCS2STDERR
=
"
%s/stderr.log
"
%
ECCS2LOGSPATH
# Selenium Log Levels
# 0: All (Show all log messages)
# 1: Debug (Show messages with information useful for debugging)
# 2: Info (Show informational messages)
# 3: Warning (Show messages corresponding to non-critical issues)
# 4: Severe (Show messages corresponding to critical issues)
# 5: Off (Show no log messages)
ECCS2SELENIUMLOGLEVEL
=
4
# Number of processes to run in parallel
ECCS2NUMPROCESSES
=
15
# Registration Authority of Federations to exclude from the check
FEDS_BLACKLIST
=
[
'
http://www.surfconext.nl/
'
,
'
https://www.wayf.dk
'
,
'
http://feide.no/
'
]
# EntityID of IDPs to exclude from the check
IDPS_BLACKLIST
=
[
]
This diff is collapsed.
Click to expand it.
runEccs2.py
+
1
−
1
View file @
763d7411
...
...
@@ -119,7 +119,7 @@ if __name__=="__main__":
start
=
time
.
time
()
# Setup list_feds
url
=
ECCSLISTFEDSURL
url
=
ECCS
2
LISTFEDSURL
dest_file
=
ECCS2LISTFEDSFILE
list_feds
=
getListFeds
(
url
,
dest_file
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment