-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: changement git-service-registry pour json-service-registry
- Loading branch information
1 parent
df4cb9c
commit d8f9b41
Showing
22 changed files
with
367 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8001\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour CI avec Puppeteer", | ||
"id": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8010\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour génération externalid", | ||
"id": 10, | ||
"attributeReleasePolicy": { | ||
"@class": "org.apereo.cas.services.ReturnExternalIDAttributeReleasePolicy", | ||
"internalServiceId": "SERVICE1", | ||
"allowedAttributes": [ "java.util.ArrayList", [ "cn", "mail", "sn" ] ], | ||
"externalIdAttributeName": "externalIdTest" | ||
}, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"@class": "org.apereo.cas.support.saml.services.SamlRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8011.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour flow SAML2", | ||
"id": 11, | ||
"metadataLocation": "http://localhost:8011/metadata", | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^https:\/\/falsevaliddomain\/tokenredirectnoportal.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour token redirection (service non portail)", | ||
"id": 12, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
}, | ||
"properties" : { | ||
"@class" : "java.util.HashMap", | ||
"portalRedirectionNeeded" : { | ||
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty", | ||
"values" : [ "java.util.HashSet", [ true ] ] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^https:\/\/falsevaliddomain\/tokenredirectportal.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour token redirection (service portail) avec mauvais token", | ||
"id": 13, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
}, | ||
"properties" : { | ||
"@class" : "java.util.HashMap", | ||
"portalRedirectionNeeded" : { | ||
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty", | ||
"values" : [ "java.util.HashSet", [ true ] ] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^https:\/\/wrongdomain\/tokenredirectnoportal.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour token redirection (service non portail) avec domaine inconnu", | ||
"id": 14, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
}, | ||
"properties" : { | ||
"@class" : "java.util.HashMap", | ||
"portalRedirectionNeeded" : { | ||
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty", | ||
"values" : [ "java.util.HashSet", [ true ] ] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^https:\/\/falsevaliddomain\/tokenredirectportal.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour token redirection (service portail) avec bon token", | ||
"id": 15, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
}, | ||
"properties" : { | ||
"@class" : "java.util.HashMap", | ||
"portalRedirectionNeeded" : { | ||
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty", | ||
"values" : [ "java.util.HashSet", [ true ] ] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8016\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour token redirection post connexion", | ||
"id": 16, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
}, | ||
"properties" : { | ||
"@class" : "java.util.HashMap", | ||
"portalRedirectionNeeded" : { | ||
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty", | ||
"values" : [ "java.util.HashSet", [ true ] ] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^https:\/\/(mappeddomain1|mappeddomain2)\/tokenredirectnoportal.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour token redirection (service non portail) avec domaine mappé", | ||
"id": 17, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
}, | ||
"properties" : { | ||
"@class" : "java.util.HashMap", | ||
"portalRedirectionNeeded" : { | ||
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty", | ||
"values" : [ "java.util.HashSet", [ true ] ] | ||
}, | ||
"domainRedirectionNeeded" : { | ||
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty", | ||
"values" : [ "java.util.HashSet", [ true ] ] | ||
}, | ||
"DOMAIN-RED:mappeddomain1" : { | ||
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty", | ||
"values" : [ "java.util.HashSet", [ "mappeddomain3.fr" ] ] | ||
}, | ||
"DOMAIN-RED:mappeddomain2" : { | ||
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty", | ||
"values" : [ "java.util.HashSet", [ "mappeddomain4.fr" ] ] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.OidcRegisteredService", | ||
"clientId": "client-testcas", | ||
"clientSecret": "secret-testcas", | ||
"serviceId": "^http:\/\/localhost:8018\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour OIDC", | ||
"id": 18, | ||
"bypassApprovalPrompt": true, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
}, | ||
"generateRefreshToken": "true", | ||
"scopes": [ "java.util.HashSet", [ "openid", "profile", "test" ] ], | ||
"supportedGrantTypes": [ "java.util.HashSet", [ "authorization_code", "refresh_token" ] ], | ||
"supportedResponseTypes": [ "java.util.HashSet", [ "code" ] ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8019\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour SLO", | ||
"id": 19, | ||
"bypassApprovalPrompt": true, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
}, | ||
"logoutUrl" : "http://localhost:8019/logout" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8002\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour CI avec Puppeteer (redirection)", | ||
"id": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8003\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour TimeBasedRegisteredServiceAccessStrategy valide", | ||
"id": 3, | ||
"accessStrategy": { | ||
"@class": "org.apereo.cas.services.TimeBasedRegisteredServiceAccessStrategy", | ||
"startingDateTime": "2024-07-23T09:52:00.132+02:00", | ||
"endingDateTime": "2094-07-23T10:05:00.132+02:00", | ||
"zoneId": "UTC+2" | ||
}, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8004\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour TimeBasedRegisteredServiceAccessStrategy invalide", | ||
"id": 4, | ||
"accessStrategy": { | ||
"@class": "org.apereo.cas.services.TimeBasedRegisteredServiceAccessStrategy", | ||
"startingDateTime": "2024-07-23T09:52:00.132+02:00", | ||
"endingDateTime": "2024-07-23T10:05:00.132+02:00", | ||
"zoneId": "UTC+2" | ||
}, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8005\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour DefaultRegisteredServiceAccessStrategy", | ||
"id": 5, | ||
"accessStrategy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy", | ||
"requiredAttributes": { | ||
"@class": "java.util.HashMap", | ||
"ENTPersonLogin": [ | ||
"java.util.HashSet", | ||
[ | ||
"test1" | ||
] | ||
] | ||
} | ||
}, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8006\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour ChainingRegisteredServiceAccessStrategy avec un OR", | ||
"id": 6, | ||
"accessStrategy": { | ||
"@class": "org.apereo.cas.services.ChainingRegisteredServiceAccessStrategy", | ||
"strategies": [ | ||
"java.util.ArrayList", | ||
[ | ||
{ | ||
"@class": "org.apereo.cas.services.TimeBasedRegisteredServiceAccessStrategy", | ||
"startingDateTime": "2024-07-23T09:52:00.132+02:00", | ||
"endingDateTime": "2024-07-23T10:05:00.132+02:00", | ||
"zoneId": "UTC+2" | ||
}, | ||
{ | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy", | ||
"requiredAttributes": { | ||
"@class": "java.util.HashMap", | ||
"ENTPersonLogin": [ | ||
"java.util.HashSet", | ||
[ | ||
"test1" | ||
] | ||
] | ||
} | ||
} | ||
] | ||
], | ||
"operator": "OR" | ||
}, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"@class": "org.apereo.cas.services.CasRegisteredService", | ||
"serviceId": "^http:\/\/localhost:8007\/.*", | ||
"name": "Service Test", | ||
"description": "Service de test pour ChainingRegisteredServiceAccessStrategy avec un AND", | ||
"id": 7, | ||
"accessStrategy": { | ||
"@class": "org.apereo.cas.services.ChainingRegisteredServiceAccessStrategy", | ||
"strategies": [ | ||
"java.util.ArrayList", | ||
[ | ||
{ | ||
"@class": "org.apereo.cas.services.TimeBasedRegisteredServiceAccessStrategy", | ||
"startingDateTime": "2024-07-23T09:52:00.132+02:00", | ||
"endingDateTime": "2094-07-23T10:05:00.132+02:00", | ||
"zoneId": "UTC+2" | ||
}, | ||
{ | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy", | ||
"requiredAttributes": { | ||
"@class": "java.util.HashMap", | ||
"ENTPersonLogin": [ | ||
"java.util.HashSet", | ||
[ | ||
"test1" | ||
] | ||
] | ||
} | ||
} | ||
] | ||
], | ||
"operator": "AND" | ||
}, | ||
"webflowInterruptPolicy": { | ||
"@class": "org.apereo.cas.services.DefaultRegisteredServiceWebflowInterruptPolicy", | ||
"enabled": false | ||
} | ||
} |
Oops, something went wrong.