diff --git a/iam/SampleXOM.zip b/iam/SampleXOM.zip deleted file mode 100644 index f8aeffc8..00000000 Binary files a/iam/SampleXOM.zip and /dev/null differ diff --git a/iam/executeApiTests.sh b/iam/executeApiTests.sh deleted file mode 100755 index a697a0bc..00000000 --- a/iam/executeApiTests.sh +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -# The script invokes ODM APIs using a bearer header (or BA) passed as parameter - -# odmhost=https://9.171.58.116:9843 -odm_dc_host=https://localhost:9643 -odm_dsc_host=https://localhost:9843 -odm_dr_host=https://localhost:9743 -odm_dsr_host=https://localhost:9943 - -AUTH="Authorization: Bearer $1" - -echo --------------------------------------------------------------------- -echo Invoking: ${odm_dsc_host}/res/api/ruleapps?count=true -echo Response: -curl -k -H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8" \ - -H "$AUTH" \ - ${odm_dsc_host}/res/api/ruleapps?count=true -echo "" - -echo --------------------------------------------------------------------- -echo Invoking: ${odm_dsc_host}/res/auth?ping=pong -echo Response: -curl -k -H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8" \ - -H "$AUTH" \ - ${odm_dsc_host}/res/auth?ping=pong -echo "" - -echo --------------------------------------------------------------------- -echo Invoking: ${odm_dc_host}/decisioncenter-api/v1/about -echo Response: -curl -k \ - -H "$AUTH" \ - ${odm_dc_host}/decisioncenter-api/v1/about 2>&1 -echo "" - -echo --------------------------------------------------------------------- -echo Invoking: ${odm_dc_host}/decisioncenter-api/v1/decisionservices -echo Response: -curl -k \ - -H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8" \ - -H "$AUTH" \ - ${odm_dc_host}/decisioncenter-api/v1/decisionservices 2>&1 -echo "" - -echo --------------------------------------------------------------------- -echo Invoking: ${odm_dr_host}/DecisionRunner/serverinfo -echo Response: -curl -k -H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8" \ - -H "$AUTH" \ - ${odm_dr_host}/DecisionRunner/serverinfo -echo "" - -echo --------------------------------------------------------------------- -echo Deploying XOM and the ruleapp... -curl -k -H "Content-Type: application/octet-stream" \ - -H "$AUTH" \ - --data-binary "@/Users/mathiasmouly/testOkta/SampleXOM.zip" \ - ${odm_dsc_host}/res/api/v1/xoms/SampleXOM.zip - -curl -k -H "Content-Type: application/octet-stream" \ - -H "$AUTH" \ - --data-binary "@/Users/mathiasmouly/testOkta/ruleApp_DeploySample_1.0.jar" \ - ${odm_dsc_host}/res/api/v1/ruleapps - -echo --------------------------------------------------------------------- -echo Invoking: ${odm_dsr_host}/DecisionService/rest/DeploySample/1.0/MainOperation/1.0 -echo Response: -curl -k -H "Content-Type: application/json" \ - -H "$AUTH" \ - -d @- "${odm_dsr_host}/DecisionService/rest/DeploySample/1.0/MainOperation/1.0" <<+++ -{ - "__DecisionID__": "string", - "DomainSample": { - "astr": "string", - "bstr": "string" - } -} -+++ -echo diff --git a/iam/group-security-configurations.xml b/iam/group-security-configurations.xml deleted file mode 100644 index f3804458..00000000 --- a/iam/group-security-configurations.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/iam/iamclient-list.sh b/iam/iamclient-list.sh deleted file mode 100755 index 7d2242d5..00000000 --- a/iam/iamclient-list.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -export admin_username=oauthadmin -export admin_password=1k1KE0U3qOfeNVnR9kajp22zQud0Byat -export registration_url=https://cp-console.apps.ocp461dba.cp.fyre.ibm.com/idauth/oidc/endpoint/OP/registration -export OIDC_CLIENT_ID=iamclient4odm - -#curl -k -s -X GET -u ${admin_username}:${admin_password} ${registration_url} -echo "***************" - -#curl -u ${admin_username}:${admin_password} --request GET ${registration_url} --insecure - -echo "***************" - -curl -u ${admin_username}:${admin_password} --request GET ${registration_url}/${OIDC_CLIENT_ID} --insecure diff --git a/iam/iamclient-update.sh b/iam/iamclient-update.sh deleted file mode 100755 index 63c76dce..00000000 --- a/iam/iamclient-update.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -export admin_username=oauthadmin -export admin_password=1k1KE0U3qOfeNVnR9kajp22zQud0Byat -export registration_url=https://cp-console.apps.ocp461dba.cp.fyre.ibm.com/idauth/oidc/endpoint/OP/registration -export client_name=iamclient4odm -export client_secret=iamsecret4odm - -# Note: the functional_user_id and functional_user_groupIds are the functional user -# and groups for client_crendetials. This works from 19.0.0.4. - -curl -k -s -X PUT \ - -H "Content-Type:application/json" \ - -u "${admin_username}:${admin_password}" \ - -d @- "${registration_url}/${client_name}" <<+++ -{ - "client_id": "${client_id}", - "client_secret": "${client_secret}", - "token_endpoint_auth_method":"client_secret_basic", - "scope":"openid profile email", - "grant_types":[ - "authorization_code", - "client_credentials", - "implicit", - "refresh_token", - "urn:ietf:params:oauth:grant-type:jwt-bearer", - "password" - ], - "response_types":["code","token","id_token"], - "application_type":"web", - "subject_type":"public", - "preauthorized_scope": "openid profile email", - "introspect_tokens":true, - "allow_regexp_redirects":true, - "appPasswordAllowed":true, - "appTokenAllowed":true, - "hash_itr":0, - "hash_len":0, - "preauthorized_scope": "openid", - "introspect_tokens": true, - "redirect_uris": ["https://localhost:9643/decisioncenter/openid/redirect/odm","https://localhost:9743/DecisionRunner/openid/redirect/odm","https://localhost:9843/res/openid/redirect/odm","https://localhost:9943/DecisionService/openid/redirect/odm","https://localhost:9444/oidcclient/redirect/odm","http://127.0.0.1:9081/oidcCallback","http://127.0.0.1:19081/oidcCallback","http://127.0.0.1:29081/oidcCallback","http://127.0.0.1:39081/oidcCallback","https://localhost/tokenreceiver"] -} -+++ -echo diff --git a/iam/keystore.jks b/iam/keystore.jks deleted file mode 100644 index 39a3831e..00000000 Binary files a/iam/keystore.jks and /dev/null differ diff --git a/iam/management-ingress-chain.pem b/iam/management-ingress-chain.pem deleted file mode 100644 index 0e3cae6d..00000000 --- a/iam/management-ingress-chain.pem +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDcTCCAlmgAwIBAgIRAMPhMAPFJJ9hQr0RY9Bic04wDQYJKoZIh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gvR5zBHB7lCvRi0MBebhURF7bicO4i4LXPorG92K4odax4CsUDoypUyKVDnDqGWQMv9bVaZBdRwFMQ3Mg69euRyr/1AssYzm9dNUjcQ1QCBGEAHgZCyrGsPm9ekb7nxw44= ------END CERTIFICATE----- diff --git a/iam/management-ingress.pem b/iam/management-ingress.pem deleted file mode 100644 index e8d1d9b8..00000000 --- a/iam/management-ingress.pem +++ /dev/null @@ -1,21 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDcDCCAligAwIBAgIQBIh70Y/tX7etyF11bgQL7jANBgkqhkiG9w0BAQsFADAz -MRUwEwYDVQQKEwxjZXJ0LW1hbmFnZXIxGjAYBgNVBAMTEWNzLWNhLWNlcnRpZmlj -YXRlMB4XDTIwMTAyODE4NTAwNloXDTIxMTAyODE4NTAwNlowNDEVMBMGA1UEChMM -Y2VydC1tYW5hZ2VyMRswGQYDVQQDExJtYW5hZ2VtZW50LWluZ3Jlc3MwggEiMA0G -CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDdD9/caytrM8gip7gRSnKtrnEwLHo3 -GrzUCaFRUmT1NaVbmaY1yct9PYzti6im34C7ztyl0fR+wteREp2HVvrDF68h7Af/ -tpIGPIWKVNLePN3IFzCtMjvBF8hbzSyPHGtb2efbzDdmIVdtSBs7QlhHQeoG547T -1yBHxeGswDCl43Qa1N5yTVnegjMcCHVkZFr7R9mug1AitXOMgjjqqAQCCYY5OE2e -dQ5uuEOh78m/SIIKGa4cIMl1IH2d24rV3s8GSl2N7wAVHPd4oq1PhtHMlDjdiZaD -xRlARbmn8f8ZSVDVCYI9eW3ML9XLY6M1WXdY5D2HjkLYFCxtegjcCKD3AgMBAAGj -fzB9MA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMB -Af8EAjAAMEgGA1UdEQRBMD+CEm1hbmFnZW1lbnQtaW5ncmVzc4IpY3AtY29uc29s -ZS5hcHBzLm9jcDQ2MWRiYS5jcC5meXJlLmlibS5jb20wDQYJKoZIhvcNAQELBQAD -ggEBAAce5jL631G/oF6zOKTXxUnnkAIj+g7eC7LiByfZLJmVodv4BuqAOt4MFQkw -ix0sO86wbKlQLamyX2TlprkceVhS87UxsmuLh8oFb0b3fqdHnkambvWHfMY2BaD3 -pfFad5+RkcDWTkbbWyn8iHlZedobiG/kLrkQP/aaOsWbgL7VqNK47cnMJeWJvafY -MFQtyx4oafkjI5t8mBfZsEMKmLTeq4C2HpoeoKcN8HUS/yN9xLiproncwXLGRX52 -ZiancDfqZRjQBnWyPRzZcvreP/7q8f7jX1vdM4/n/934uE2d5/ES2sTTzG3UrNqH -PpXYsMEhBVVk1Y/JSfuUmsT5Qm4= ------END CERTIFICATE----- diff --git a/iam/openIdParameters.properties b/iam/openIdParameters.properties deleted file mode 100644 index 6a87d440..00000000 --- a/iam/openIdParameters.properties +++ /dev/null @@ -1,10 +0,0 @@ -OPENID_SERVER_URL=https://cp-console.apps.ocp461dba.cp.fyre.ibm.com -OPENID_PROVIDER=ums -OPENID_AUTHORIZATION_URL=https://cp-console.apps.ocp461dba.cp.fyre.ibm.com/idprovider/v1/auth/authorize -OPENID_TOKEN_URL=https://cp-console.apps.ocp461dba.cp.fyre.ibm.com/idprovider/v1/auth/identitytoken -OPENID_INTROSPECTION_URL=https://cp-console.apps.ocp461dba.cp.fyre.ibm.com/idprovider/v1/auth/introspect -OPENID_CLIENT_ID=iamclient4odm -OPENID_CLIENT_SECRET=iamsecret4odm -OPENID_TOKEN_FORMAT=NON-JWT -OPENID_LOGOUT_URL=https://cp-console.apps.ocp461dba.cp.fyre.ibm.com/idprovider/v1/auth/logout -OPENID_ALLOWED_DOMAINS=fr.eurolabs.ibm.com diff --git a/iam/openIdWebSecurity.xml b/iam/openIdWebSecurity.xml deleted file mode 100644 index 704b9e06..00000000 --- a/iam/openIdWebSecurity.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - diff --git a/iam/ruleApp_DeploySample_1.0.jar b/iam/ruleApp_DeploySample_1.0.jar deleted file mode 100644 index de18c460..00000000 Binary files a/iam/ruleApp_DeploySample_1.0.jar and /dev/null differ diff --git a/iam/token-password.sh b/iam/token-password.sh deleted file mode 100755 index 972f4de9..00000000 --- a/iam/token-password.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# https://www.ibm.com/support/knowledgecenter/SSHKN6/iam/3.x.x/apis/oidc_auth_apis.html#get2 - -token_url=https://cp-console.apps.ocp461dba.cp.fyre.ibm.com/idprovider/v1/auth/identitytoken - -client_id=iamclient4odm -client_secret=iamsecret4odm -username=mathias.mouly@fr.ibm.com -password=XXXX - -scope=openid - -curl -v -k -H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8" \ - -d "scope=${scope}&grant_type=password&client_id=${client_id}&client_secret=${client_secret}&username=${username}&password=${password}" \ - ${token_url} - -echo "" diff --git a/iam/truststore.jks b/iam/truststore.jks deleted file mode 100644 index 23447561..00000000 Binary files a/iam/truststore.jks and /dev/null differ diff --git a/iam/webSecurity.xml b/iam/webSecurity.xml deleted file mode 100644 index b68088ef..00000000 --- a/iam/webSecurity.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/iam/webSecurityGroup.xml b/iam/webSecurityGroup.xml deleted file mode 100644 index aef98db5..00000000 --- a/iam/webSecurityGroup.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/iam/webSecurityUser.xml b/iam/webSecurityUser.xml deleted file mode 100644 index 2708c673..00000000 --- a/iam/webSecurityUser.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - -