@itentialopensource/adapter-aws_cognito_identity_provider 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/AUTH.md +108 -0
- package/BROKER.md +211 -0
- package/CALLS.md +813 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +646 -0
- package/README.md +343 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +16 -0
- package/TAB1.md +8 -0
- package/TAB2.md +392 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +14144 -0
- package/adapterBase.js +1452 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAddCustomAttributes/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAddCustomAttributes/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminAddUserToGroup/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminAddUserToGroup/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminConfirmSignUp/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminConfirmSignUp/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminCreateUser/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminCreateUser/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminDeleteUser/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminDeleteUser/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminDeleteUserAttributes/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminDeleteUserAttributes/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminDisableProviderForUser/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminDisableProviderForUser/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminDisableUser/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminDisableUser/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminEnableUser/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminEnableUser/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminForgetDevice/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminForgetDevice/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminGetDevice/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminGetDevice/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminGetUser/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminGetUser/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminInitiateAuth/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminInitiateAuth/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminLinkProviderForUser/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminLinkProviderForUser/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminListDevices/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminListDevices/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminListGroupsForUser/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminListGroupsForUser/schema.json +41 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminListUserAuthEvents/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminListUserAuthEvents/schema.json +41 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminRemoveUserFromGroup/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminRemoveUserFromGroup/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminResetUserPassword/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminResetUserPassword/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminRespondToAuthChallenge/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminRespondToAuthChallenge/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminSetUserMFAPreference/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminSetUserMFAPreference/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminSetUserPassword/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminSetUserPassword/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminSetUserSettings/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminSetUserSettings/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminUpdateAuthEventFeedback/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminUpdateAuthEventFeedback/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminUpdateDeviceStatus/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminUpdateDeviceStatus/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminUpdateUserAttributes/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminUpdateUserAttributes/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminUserGlobalSignOut/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAdminUserGlobalSignOut/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAssociateSoftwareToken/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceAssociateSoftwareToken/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceChangePassword/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceChangePassword/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceConfirmDevice/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceConfirmDevice/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceConfirmForgotPassword/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceConfirmForgotPassword/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceConfirmSignUp/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceConfirmSignUp/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateGroup/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateGroup/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateIdentityProvider/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateIdentityProvider/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateResourceServer/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateResourceServer/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateUserImportJob/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateUserImportJob/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateUserPool/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateUserPool/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateUserPoolClient/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateUserPoolClient/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateUserPoolDomain/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceCreateUserPoolDomain/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteGroup/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteGroup/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteIdentityProvider/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteIdentityProvider/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteResourceServer/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteResourceServer/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteUser/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteUser/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteUserAttributes/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteUserAttributes/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteUserPool/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteUserPool/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteUserPoolClient/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteUserPoolClient/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteUserPoolDomain/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDeleteUserPoolDomain/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeIdentityProvider/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeIdentityProvider/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeResourceServer/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeResourceServer/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeRiskConfiguration/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeRiskConfiguration/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeUserImportJob/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeUserImportJob/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeUserPool/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeUserPool/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeUserPoolClient/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeUserPoolClient/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeUserPoolDomain/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceDescribeUserPoolDomain/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceForgetDevice/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceForgetDevice/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceForgotPassword/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceForgotPassword/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetCSVHeader/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetCSVHeader/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetDevice/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetDevice/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetGroup/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetGroup/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetIdentityProviderByIdentifier/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetIdentityProviderByIdentifier/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetSigningCertificate/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetSigningCertificate/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetUICustomization/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetUICustomization/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetUser/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetUser/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetUserAttributeVerificationCode/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetUserAttributeVerificationCode/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetUserPoolMfaConfig/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGetUserPoolMfaConfig/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGlobalSignOut/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceGlobalSignOut/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceInitiateAuth/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceInitiateAuth/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListDevices/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListDevices/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListGroups/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListGroups/schema.json +41 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListIdentityProviders/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListIdentityProviders/schema.json +41 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListResourceServers/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListResourceServers/schema.json +41 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListTagsForResource/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListTagsForResource/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListUserImportJobs/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListUserImportJobs/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListUserPoolClients/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListUserPoolClients/schema.json +41 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListUserPools/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListUserPools/schema.json +41 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListUsers/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListUsers/schema.json +41 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListUsersInGroup/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceListUsersInGroup/schema.json +41 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceResendConfirmationCode/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceResendConfirmationCode/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceRespondToAuthChallenge/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceRespondToAuthChallenge/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceRevokeToken/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceRevokeToken/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSetRiskConfiguration/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSetRiskConfiguration/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSetUICustomization/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSetUICustomization/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSetUserMFAPreference/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSetUserMFAPreference/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSetUserPoolMfaConfig/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSetUserPoolMfaConfig/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSetUserSettings/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSetUserSettings/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSignUp/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceSignUp/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceStartUserImportJob/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceStartUserImportJob/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceStopUserImportJob/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceStopUserImportJob/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceTagResource/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceTagResource/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUntagResource/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUntagResource/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateAuthEventFeedback/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateAuthEventFeedback/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateDeviceStatus/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateDeviceStatus/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateGroup/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateGroup/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateIdentityProvider/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateIdentityProvider/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateResourceServer/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateResourceServer/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateUserAttributes/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateUserAttributes/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateUserPool/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateUserPool/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateUserPoolClient/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateUserPoolClient/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateUserPoolDomain/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceUpdateUserPoolDomain/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceVerifySoftwareToken/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceVerifySoftwareToken/schema.json +19 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceVerifyUserAttribute/action.json +24 -0
- package/entities/XAmzTargetAWSCognitoIdentityProviderServiceVerifyUserAttribute/schema.json +19 -0
- package/error.json +190 -0
- package/metadata.json +92 -0
- package/package.json +81 -0
- package/pronghorn.json +5618 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1659 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +44 -0
- package/report/aws_cognito.json +25915 -0
- package/report/creationReport.json +2215 -0
- package/sampleProperties.json +270 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +118 -0
- package/test/integration/adapterTestIntegration.js +3106 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +4433 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +152 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +239 -0
- package/utils/tbUtils.js +489 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +193 -0
package/TAB2.md
ADDED
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
# AWS Cognito Identity Provider
|
|
2
|
+
|
|
3
|
+
## Table of Contents
|
|
4
|
+
|
|
5
|
+
- [Specific Adapter Information](#specific-adapter-information)
|
|
6
|
+
- [Authentication](#authentication)
|
|
7
|
+
- [Sample Properties](#sample-properties)
|
|
8
|
+
- [Swagger](#swagger)
|
|
9
|
+
- [Generic Adapter Information](#generic-adapter-information)
|
|
10
|
+
|
|
11
|
+
## Specific Adapter Information
|
|
12
|
+
### Authentication
|
|
13
|
+
|
|
14
|
+
This document will go through the steps for authenticating the AWS Cognito Identity Provider adapter with AWS Signature 4 Authentication. Properly configuring the properties for an adapter in IAP is critical for getting the adapter online. You can read more about adapter authentication <a href="https://docs.itential.com/opensource/docs/authentication" target="_blank">HERE</a>.
|
|
15
|
+
|
|
16
|
+
#### AWS Authentication
|
|
17
|
+
The AWS Cognito Identity Provider adapter requires AWS Authentication therefore the `auth_method` should be set to `aws_authentication`. The adapter utilizes AWS signature 4 authentication. There are three mechanisms for doing this.
|
|
18
|
+
|
|
19
|
+
The first way is using a "service" account and its AWS keys to authenticate as that account. In this case, you will get the aws_access_key, aws_secret_key, and aws_session_token from AWS and configure them into the adapter service instance as shown below.
|
|
20
|
+
|
|
21
|
+
The second way is using AWS STS. this still requires a "service" account and its AWS keys to authenticate as that account. In this case, you will get the aws_access_key, aws_secret_key, and aws_session_token from AWS and configure them into the adapter service instance as shown below. In addition, you will provide STS paramaters in the workflow tasks that tell the adapter the role you want used on the particular call.
|
|
22
|
+
|
|
23
|
+
The third authentication method is to use an IAM role. With this method, you do not need any authentication keys as the adapter will utilize an "internal" AWS call to get the things that it needs for authentication. Since the adapter needs to make the call to this "internal" AWS IP address, the IAP server needs to be where it has access to that address or you will not be able to use this method.
|
|
24
|
+
|
|
25
|
+
If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.
|
|
26
|
+
|
|
27
|
+
#### AWS Signature 4 Service Account Authentication
|
|
28
|
+
The AWS Cognito Identity Provider adapter requires AWS Signature 4 Authentication. If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.
|
|
29
|
+
|
|
30
|
+
STEPS
|
|
31
|
+
1. Ensure you have access to a AWS Cognito Identity Provider server and that it is running
|
|
32
|
+
2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
|
|
33
|
+
3. Use the properties below for the ```properties.authentication``` field
|
|
34
|
+
```json
|
|
35
|
+
"authentication": {
|
|
36
|
+
"auth_method": "aws_authentication",
|
|
37
|
+
"aws_access_key": "aws_access_key",
|
|
38
|
+
"aws_secret_key": "aws_secret_key",
|
|
39
|
+
"aws_session_token": "aws_session_token"
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
you can leave all of the other properties in the authentication section, they will not be used for AWS Cognito Identity Provider authentication.
|
|
43
|
+
4. Restart the adapter. If your properties were set correctly, the adapter should go online.
|
|
44
|
+
|
|
45
|
+
#### AWS Security Token Service
|
|
46
|
+
The AWS Cognito Identity Provider adapter also supports AWS Security Token Service (STS) Authentication. For using this authentication, you need to use the calls in the Adapter that have the STSRole suffix on them and pass the STS information into the method. You will still need to provide the relevant `aws_secret_key` and `aws_access_key` as described above. Below is an example of the data required in the `sts` tasks:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"RoleArn": "arn:aws:iam::1234567:role/my_role",
|
|
51
|
+
"RoleSessionName": "mySession"
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
The AWS STS Authentication goes to the AWS STS Service endpoint in order to validate that the primary "service" account the adapter has authenticated with has the permission to assume the role. This call is made to sts.amazonaws.com or a regional sts sevice (e.g. sts.us-east-1.amazonaws.com). By default traffic to these endpoints will go out through the Internet. In the case where you would prefer these route through your network, it is possible to change the STS config for the adapter.
|
|
56
|
+
|
|
57
|
+
The proxy field should point to the AWS loadbalancer or a proxy server that forwards to AWS STS. In Itential Cloud, this can be NAT'd to your network. In addition to this, you may need to set the endpoint in order to have the STS SSL certificate validated successfully. By default the adapter will use sts regional servers. If the loadbalancer and proxy are set up for that you should be fine. If however, they point to the global STS service (sts.amazonaws.com) You will need to set the global as the endpoint or the STS certificate will be rejected due to the hosts not matching.
|
|
58
|
+
|
|
59
|
+
Region can be important as it is the region in which the STS assume role request will be processed. Each AWS partition may have one primary region for STS. In our tests, we have found that for the standard partition the STS region should be set to us-east-t but this is configurable should your primary region be different or you are working in a different AWS partition.
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
"authentication": {
|
|
63
|
+
"aws_sts": {
|
|
64
|
+
"region": "us-east-1",
|
|
65
|
+
"endpoint": "<sts certificate endpoint>",
|
|
66
|
+
"proxy": "<proxy/loadbalancer ip>",
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
#### AWS IAM Role
|
|
72
|
+
The AWS Cognito Identity Provider adapter also supports AWS IAM Role Authentication. For using this authentication, you need to use the calls in the Adapter that have the STSRole suffix on them and provide the role's ARN in the RoleName variable. In addition to passing the IAM Role in the task, it is possible to set an IAM Role in the Service Instance Configuration by using the `aws_iam_role` property in the authentication section and providing the role's ARN.
|
|
73
|
+
|
|
74
|
+
```json
|
|
75
|
+
"authentication": {
|
|
76
|
+
"auth_method": "aws_authentication",
|
|
77
|
+
"aws_iam_role": "role_arn"
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
#### AMAZON STEPS FOR IAM ROLE
|
|
82
|
+
Increase number of hops if running IAP inside of docker on Cognito Identity Provider instance
|
|
83
|
+
```bash
|
|
84
|
+
aws sso login --profile aws-bota-1
|
|
85
|
+
<export aws keys for CLI access>
|
|
86
|
+
|
|
87
|
+
aws ec2 modify-instance-metadata-options --instance-id i-0e150236026b7c45d --http-put-response-hop-limit 3 --http-endpoint enabled --region us-east-1
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Create a new role and attach to it policies:
|
|
91
|
+
- go to your Cognito Identity Provider instance, select it
|
|
92
|
+
- Actions->Security->Modify IAM Role
|
|
93
|
+
- Click 'Create New IAM Role'
|
|
94
|
+
- Create a role:
|
|
95
|
+
```text
|
|
96
|
+
Trusted entity type: AWS service
|
|
97
|
+
Use Case: cognito-idp
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Add desired policies to the role.
|
|
101
|
+
|
|
102
|
+
Save the role
|
|
103
|
+
|
|
104
|
+
Go back to your Cognito Identity Provider instance and Actions->Security->Modify IAM Role, associate newly created role with your Cognito Identity Provider instance
|
|
105
|
+
|
|
106
|
+
#### Troubleshooting
|
|
107
|
+
- Make sure you copied over the correct access key, secret key and session token.
|
|
108
|
+
- Turn on debug level logs for the adapter in IAP Admin Essentials.
|
|
109
|
+
- Turn on auth_logging for the adapter in IAP Admin Essentials (adapter properties).
|
|
110
|
+
- Investigate the logs - in particular:
|
|
111
|
+
- The FULL REQUEST log to make sure the proper headers are being sent with the request.
|
|
112
|
+
- The FULL BODY log to make sure the payload is accurate.
|
|
113
|
+
- The CALL RETURN log to see what the other system is telling us.
|
|
114
|
+
- Credentials should be ** masked ** by the adapter so make sure you verify the username and password - including that there are erroneous spaces at the front or end.
|
|
115
|
+
- Remember when you are done to turn auth_logging off as you do not want to log credentials.
|
|
116
|
+
- For IAM, you can run this on the IAP server to verify you are getting to the "internal" AWS Server
|
|
117
|
+
```bash
|
|
118
|
+
TOKEN=`curl -v -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"` && curl -v -H "X-aws-ec2-metadata-token: $TOKEN" -v http://169.254.169.254/latest/meta-data/iam/security-credentials/<rolename>
|
|
119
|
+
```
|
|
120
|
+
### Sample Properties
|
|
121
|
+
|
|
122
|
+
Sample Properties can be used to help you configure the adapter in the Itential Automation Platform. You will need to update connectivity information such as the host, port, protocol and credentials.
|
|
123
|
+
|
|
124
|
+
```json
|
|
125
|
+
"properties": {
|
|
126
|
+
"host": "cognito-idp.us-east-1.amazonaws.com",
|
|
127
|
+
"region": "us-east-1",
|
|
128
|
+
"port": 443,
|
|
129
|
+
"choosepath": "",
|
|
130
|
+
"base_path": "/",
|
|
131
|
+
"version": "",
|
|
132
|
+
"cache_location": "none",
|
|
133
|
+
"encode_pathvars": true,
|
|
134
|
+
"encode_queryvars": true,
|
|
135
|
+
"save_metric": false,
|
|
136
|
+
"stub": true,
|
|
137
|
+
"protocol": "https",
|
|
138
|
+
"service": "cognito-idp",
|
|
139
|
+
"authentication": {
|
|
140
|
+
"auth_method": "aws_authentication",
|
|
141
|
+
"username": "username",
|
|
142
|
+
"password": "password",
|
|
143
|
+
"token": "token",
|
|
144
|
+
"token_timeout": 180000,
|
|
145
|
+
"token_cache": "local",
|
|
146
|
+
"invalid_token_error": 401,
|
|
147
|
+
"auth_field": "header.headers.Cookie",
|
|
148
|
+
"auth_field_format": "Token {token}",
|
|
149
|
+
"auth_logging": false,
|
|
150
|
+
"client_id": "",
|
|
151
|
+
"client_secret": "",
|
|
152
|
+
"grant_type": "",
|
|
153
|
+
"sensitive": [],
|
|
154
|
+
"sso": {
|
|
155
|
+
"protocol": "",
|
|
156
|
+
"host": "",
|
|
157
|
+
"port": 0
|
|
158
|
+
},
|
|
159
|
+
"multiStepAuthCalls": [
|
|
160
|
+
{
|
|
161
|
+
"name": "",
|
|
162
|
+
"requestFields": {},
|
|
163
|
+
"responseFields": {},
|
|
164
|
+
"successfullResponseCode": 200
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"aws_access_key": "aws_access_key",
|
|
168
|
+
"aws_secret_key": "aws_secret_key",
|
|
169
|
+
"aws_session_token": "aws_session_token",
|
|
170
|
+
"aws_iam_role": "",
|
|
171
|
+
"aws_sts": {
|
|
172
|
+
"region": "us-east-1",
|
|
173
|
+
"sslEnable": true,
|
|
174
|
+
"endpoint": "",
|
|
175
|
+
"proxy": "",
|
|
176
|
+
"proxyagent": ""
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"healthcheck": {
|
|
180
|
+
"type": "none",
|
|
181
|
+
"frequency": 60000,
|
|
182
|
+
"query_object": {},
|
|
183
|
+
"addlHeaders": {}
|
|
184
|
+
},
|
|
185
|
+
"throttle": {
|
|
186
|
+
"throttle_enabled": false,
|
|
187
|
+
"number_pronghorns": 1,
|
|
188
|
+
"sync_async": "sync",
|
|
189
|
+
"max_in_queue": 1000,
|
|
190
|
+
"concurrent_max": 1,
|
|
191
|
+
"expire_timeout": 0,
|
|
192
|
+
"avg_runtime": 200,
|
|
193
|
+
"priorities": [
|
|
194
|
+
{
|
|
195
|
+
"value": 0,
|
|
196
|
+
"percent": 100
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"request": {
|
|
201
|
+
"number_redirects": 0,
|
|
202
|
+
"number_retries": 3,
|
|
203
|
+
"limit_retry_error": [
|
|
204
|
+
0
|
|
205
|
+
],
|
|
206
|
+
"failover_codes": [],
|
|
207
|
+
"attempt_timeout": 5000,
|
|
208
|
+
"global_request": {
|
|
209
|
+
"payload": {},
|
|
210
|
+
"uriOptions": {},
|
|
211
|
+
"addlHeaders": {},
|
|
212
|
+
"authData": {}
|
|
213
|
+
},
|
|
214
|
+
"healthcheck_on_timeout": true,
|
|
215
|
+
"return_raw": false,
|
|
216
|
+
"archiving": false,
|
|
217
|
+
"return_request": false
|
|
218
|
+
},
|
|
219
|
+
"proxy": {
|
|
220
|
+
"enabled": false,
|
|
221
|
+
"host": "",
|
|
222
|
+
"port": 1,
|
|
223
|
+
"protocol": "http",
|
|
224
|
+
"username": "",
|
|
225
|
+
"password": ""
|
|
226
|
+
},
|
|
227
|
+
"ssl": {
|
|
228
|
+
"ecdhCurve": "",
|
|
229
|
+
"enabled": false,
|
|
230
|
+
"accept_invalid_cert": false,
|
|
231
|
+
"ca_file": "",
|
|
232
|
+
"key_file": "",
|
|
233
|
+
"cert_file": "",
|
|
234
|
+
"secure_protocol": "",
|
|
235
|
+
"ciphers": ""
|
|
236
|
+
},
|
|
237
|
+
"mongo": {
|
|
238
|
+
"host": "",
|
|
239
|
+
"port": 0,
|
|
240
|
+
"database": "",
|
|
241
|
+
"username": "",
|
|
242
|
+
"password": "",
|
|
243
|
+
"replSet": "",
|
|
244
|
+
"db_ssl": {
|
|
245
|
+
"enabled": false,
|
|
246
|
+
"accept_invalid_cert": false,
|
|
247
|
+
"ca_file": "",
|
|
248
|
+
"key_file": "",
|
|
249
|
+
"cert_file": ""
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"devicebroker": {
|
|
253
|
+
"enabled": false,
|
|
254
|
+
"getDevice": [
|
|
255
|
+
{
|
|
256
|
+
"path": "/get/devices/{id}",
|
|
257
|
+
"method": "GET",
|
|
258
|
+
"query": {},
|
|
259
|
+
"body": {},
|
|
260
|
+
"headers": {},
|
|
261
|
+
"handleFailure": "fail",
|
|
262
|
+
"requestFields": {
|
|
263
|
+
"id": "name"
|
|
264
|
+
},
|
|
265
|
+
"responseDatakey": "",
|
|
266
|
+
"responseFields": {
|
|
267
|
+
"name": "host",
|
|
268
|
+
"ostype": "os",
|
|
269
|
+
"ostypePrefix": "system-",
|
|
270
|
+
"ipaddress": "attributes.ipaddr",
|
|
271
|
+
"port": "443"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"getDevicesFiltered": [
|
|
276
|
+
{
|
|
277
|
+
"path": "/get/devices",
|
|
278
|
+
"method": "GET",
|
|
279
|
+
"pagination": {
|
|
280
|
+
"offsetVar": "",
|
|
281
|
+
"limitVar": "",
|
|
282
|
+
"incrementBy": "limit",
|
|
283
|
+
"requestLocation": "query"
|
|
284
|
+
},
|
|
285
|
+
"query": {},
|
|
286
|
+
"body": {},
|
|
287
|
+
"headers": {},
|
|
288
|
+
"handleFailure": "fail",
|
|
289
|
+
"requestFields": {},
|
|
290
|
+
"responseDatakey": "",
|
|
291
|
+
"responseFields": {
|
|
292
|
+
"name": "host",
|
|
293
|
+
"ostype": "os",
|
|
294
|
+
"ostypePrefix": "system-",
|
|
295
|
+
"ipaddress": "attributes.ipaddr",
|
|
296
|
+
"port": "443"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"isAlive": [
|
|
301
|
+
{
|
|
302
|
+
"path": "/get/devices/{id}/status",
|
|
303
|
+
"method": "GET",
|
|
304
|
+
"query": {},
|
|
305
|
+
"body": {},
|
|
306
|
+
"headers": {},
|
|
307
|
+
"handleFailure": "fail",
|
|
308
|
+
"requestFields": {
|
|
309
|
+
"id": "name"
|
|
310
|
+
},
|
|
311
|
+
"responseDatakey": "",
|
|
312
|
+
"responseFields": {
|
|
313
|
+
"status": "status",
|
|
314
|
+
"statusValue": "online"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"getConfig": [
|
|
319
|
+
{
|
|
320
|
+
"path": "/get/devices/{id}/configPart1",
|
|
321
|
+
"method": "GET",
|
|
322
|
+
"query": {},
|
|
323
|
+
"body": {},
|
|
324
|
+
"headers": {},
|
|
325
|
+
"handleFailure": "fail",
|
|
326
|
+
"requestFields": {
|
|
327
|
+
"id": "name"
|
|
328
|
+
},
|
|
329
|
+
"responseDatakey": "",
|
|
330
|
+
"responseFields": {}
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
"getCount": [
|
|
334
|
+
{
|
|
335
|
+
"path": "/get/devices",
|
|
336
|
+
"method": "GET",
|
|
337
|
+
"query": {},
|
|
338
|
+
"body": {},
|
|
339
|
+
"headers": {},
|
|
340
|
+
"handleFailure": "fail",
|
|
341
|
+
"requestFields": {},
|
|
342
|
+
"responseDatakey": "",
|
|
343
|
+
"responseFields": {}
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
"cache": {
|
|
348
|
+
"enabled": false,
|
|
349
|
+
"entities": [
|
|
350
|
+
{
|
|
351
|
+
"entityType": "",
|
|
352
|
+
"frequency": 1440,
|
|
353
|
+
"flushOnFail": false,
|
|
354
|
+
"limit": 1000,
|
|
355
|
+
"retryAttempts": 5,
|
|
356
|
+
"sort": true,
|
|
357
|
+
"populate": [
|
|
358
|
+
{
|
|
359
|
+
"path": "",
|
|
360
|
+
"method": "GET",
|
|
361
|
+
"pagination": {
|
|
362
|
+
"offsetVar": "",
|
|
363
|
+
"limitVar": "",
|
|
364
|
+
"incrementBy": "limit",
|
|
365
|
+
"requestLocation": "query"
|
|
366
|
+
},
|
|
367
|
+
"query": {},
|
|
368
|
+
"body": {},
|
|
369
|
+
"headers": {},
|
|
370
|
+
"handleFailure": "ignore",
|
|
371
|
+
"requestFields": {},
|
|
372
|
+
"responseDatakey": "",
|
|
373
|
+
"responseFields": {}
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"cachedTasks": [
|
|
377
|
+
{
|
|
378
|
+
"name": "",
|
|
379
|
+
"filterField": "",
|
|
380
|
+
"filterLoc": ""
|
|
381
|
+
}
|
|
382
|
+
]
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
```
|
|
388
|
+
### Swagger
|
|
389
|
+
|
|
390
|
+
Note: The content for this section may be missing as its corresponding .json file is unavailable. This sections will be updated once adapter-openapi.json file is added.
|
|
391
|
+
## [Generic Adapter Information](https://gitlab.com/itentialopensource/adapters/adapter-aws_cognito_identity_provider/-/blob/master/README.md)
|
|
392
|
+
|
package/TROUBLESHOOT.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
## Troubleshoot
|
|
2
|
+
|
|
3
|
+
Run `npm run troubleshoot` to start the interactive troubleshooting process. The command allows you to verify and update connection, authentication as well as healthcheck configuration. After that it will test these properties by sending HTTP request to the endpoint. If the tests pass, it will persist these changes into IAP.
|
|
4
|
+
|
|
5
|
+
You also have the option to run individual commands to perform specific test:
|
|
6
|
+
|
|
7
|
+
- `npm run healthcheck` will perform a healthcheck request of with current setting.
|
|
8
|
+
- `npm run basicget` will perform some non-parameter GET request with current setting.
|
|
9
|
+
- `npm run connectivity` will perform networking diagnostics of the adatper endpoint.
|
|
10
|
+
|
|
11
|
+
### Connectivity Issues
|
|
12
|
+
|
|
13
|
+
1. You can run the adapter troubleshooting script which will check connectivity, run the healthcheck and run basic get calls.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm run troubleshoot
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
2. Verify the adapter properties are set up correctly.
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
Go into the Itential Platform GUI and verify/update the properties
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
3. Verify there is connectivity between the Itential Platform Server and Aws_cognito_identity_provider Server.
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
ping the ip address of Aws_cognito_identity_provider server
|
|
29
|
+
try telnet to the ip address port of Aws_cognito_identity_provider
|
|
30
|
+
execute a curl command to the other system
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
4. Verify the credentials provided for Aws_cognito_identity_provider.
|
|
34
|
+
|
|
35
|
+
```text
|
|
36
|
+
login to Aws_cognito_identity_provider using the provided credentials
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
5. Verify the API of the call utilized for Aws_cognito_identity_provider Healthcheck.
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
Go into the Itential Platform GUI and verify/update the properties
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Functional Issues
|
|
46
|
+
|
|
47
|
+
Adapter logs are located in `/var/log/pronghorn`. In older releases of the Itential Platform, there is a `pronghorn.log` file which contains logs for all of the Itential Platform. In newer versions, adapters can be configured to log into their own files.
|