-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs: CPLP-2958
- Loading branch information
Showing
10 changed files
with
365 additions
and
5 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
191 changes: 191 additions & 0 deletions
191
tests/marketplace/Apps.Service.Tests/appsettings.IntegrationTests.json
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,191 @@ | ||
{ | ||
"HealthChecks": [], | ||
"Cors": { | ||
"AllowedOrigins": [] | ||
}, | ||
"Keycloak": { | ||
"central": { | ||
"ConnectionString": "", | ||
"ClientId": "", | ||
"ClientSecret": "", | ||
"AuthRealm": "" | ||
}, | ||
"shared": { | ||
"ConnectionString": "", | ||
"ClientId": "", | ||
"ClientSecret": "", | ||
"AuthRealm": "" | ||
} | ||
}, | ||
"JwtBearerOptions": { | ||
"RequireHttpsMetadata": true, | ||
"MetadataAddress": "", | ||
"SaveToken": true, | ||
"TokenValidationParameters": { | ||
"ValidateIssuer": true, | ||
"ValidIssuer": "", | ||
"ValidateIssuerSigningKey": true, | ||
"ValidAudience": "", | ||
"ValidateAudience": true, | ||
"ValidateLifetime": true, | ||
"ClockSkew": 600000 | ||
} | ||
}, | ||
"ConnectionStrings": { | ||
"PortalDb": "justaplaceholder", | ||
"ProvisioningDB": "justaplaceholder" | ||
}, | ||
"AppMarketPlace": { | ||
"CatenaAdminRoles": [ | ||
{ | ||
"ClientId": "Cl2-CX-Portal", | ||
"UserRoleNames": [ | ||
"CX Admin" | ||
] | ||
} | ||
], | ||
"SubmitAppNotificationTypeIds": [ | ||
"APP_RELEASE_REQUEST" | ||
], | ||
"BasePortalAddress": "http://localhost:3000", | ||
"AppOverviewAddress": "http://localhost:3000/appoverview", | ||
"SalesManagerRoles": [ | ||
{ | ||
"ClientId": "Cl2-CX-Portal", | ||
"UserRoleNames": [ | ||
"Sales Manager" | ||
] | ||
} | ||
], | ||
"ServiceManagerRoles": [ | ||
{ | ||
"ClientId": "Cl2-CX-Portal", | ||
"UserRoleNames": [ | ||
"App Manager" | ||
] | ||
} | ||
], | ||
"OfferStatusIds": [ | ||
"IN_REVIEW", | ||
"ACTIVE" | ||
], | ||
"ActiveAppCompanyAdminRoles": [ | ||
{ | ||
"ClientId": "Cl2-CX-Portal", | ||
"UserRoleNames": [ | ||
"IT Admin", | ||
"Company Admin" | ||
] | ||
} | ||
], | ||
"ActiveAppNotificationTypeIds": [ | ||
"APP_ROLE_ADDED" | ||
], | ||
"ApproveAppNotificationTypeIds": [ | ||
"APP_RELEASE_APPROVAL" | ||
], | ||
"ApproveAppUserRoles": [ | ||
{ | ||
"ClientId": "Cl2-CX-Portal", | ||
"UserRoleNames": [ | ||
"Sales Manager", | ||
"Service Manager" | ||
] | ||
} | ||
], | ||
"ApplicationsMaxPageSize": 20, | ||
"AppImageDocumentTypeIds": [ | ||
"APP_LEADIMAGE", | ||
"APP_IMAGE", | ||
"APP_CONTRACT", | ||
"ADDITIONAL_DETAILS", | ||
"APP_TECHNICAL_INFORMATION", | ||
"CONFORMITY_APPROVAL_BUSINESS_APPS" | ||
], | ||
"ITAdminRoles": [ | ||
{ | ||
"ClientId": "Cl2-CX-Portal", | ||
"UserRoleNames": [ | ||
"IT Admin" | ||
] | ||
} | ||
], | ||
"UserManagementAddress": "http://localhost:3000/usermanagement", | ||
"DeleteDocumentTypeIds": [ | ||
"APP_CONTRACT", | ||
"ADDITIONAL_DETAILS", | ||
"APP_TECHNICAL_INFORMATION", | ||
"APP_LEADIMAGE", | ||
"APP_IMAGE", | ||
"CONFORMITY_APPROVAL_BUSINESS_APPS" | ||
], | ||
"SubmitAppDocumentTypeIds": [ | ||
"APP_LEADIMAGE", | ||
"APP_IMAGE", | ||
"CONFORMITY_APPROVAL_BUSINESS_APPS" | ||
], | ||
"UploadAppDocumentTypeIds": [ | ||
{ | ||
"DocumentTypeId": "APP_TECHNICAL_INFORMATION", | ||
"MediaTypes": [ | ||
"PDF" | ||
] | ||
}, | ||
{ | ||
"DocumentTypeId": "APP_LEADIMAGE", | ||
"MediaTypes": [ | ||
"PDF" | ||
] | ||
}, | ||
{ | ||
"DocumentTypeId": "APP_IMAGE", | ||
"MediaTypes": [ | ||
"PDF" | ||
] | ||
}, | ||
{ | ||
"DocumentTypeId": "APP_CONTRACT", | ||
"MediaTypes": [ | ||
"JPEG", | ||
"PNG", | ||
"SVG" | ||
] | ||
}, | ||
{ | ||
"DocumentTypeId": "ADDITIONAL_DETAILS", | ||
"MediaTypes": [ | ||
"JPEG", | ||
"PNG", | ||
"SVG" | ||
] | ||
}, | ||
{ | ||
"DocumentTypeId": "CONFORMITY_APPROVAL_BUSINESS_APPS", | ||
"MediaTypes": [ | ||
"PDF" | ||
] | ||
} | ||
], | ||
"TechnicalUserProfileClient": "technical_roles_management", | ||
"CompanyAdminRoles": [ | ||
{ | ||
"ClientId": "Cl2-CX-Portal", | ||
"UserRoleNames": [ | ||
"Company Admin" | ||
] | ||
} | ||
] | ||
}, | ||
"Provisioning": { | ||
"CentralRealm": "CX-Central", | ||
"CentralRealmId": "CX-Central" | ||
}, | ||
"MailingService": { | ||
"Mail": { | ||
"SmtpHost": "test", | ||
"SmtpPort": 587, | ||
"SmtpUser": "test", | ||
"SmtpPassword": "test" | ||
} | ||
} | ||
} |
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
141 changes: 141 additions & 0 deletions
141
tests/marketplace/Services.Service.Tests/appsettings.IntegrationTests.json
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,141 @@ | ||
{ | ||
"HealthChecks": [], | ||
"Cors": { | ||
"AllowedOrigins": [] | ||
}, | ||
"Keycloak": { | ||
"central": { | ||
"ConnectionString": "", | ||
"ClientId": "", | ||
"ClientSecret": "", | ||
"AuthRealm": "" | ||
}, | ||
"shared": { | ||
"ConnectionString": "", | ||
"ClientId": "", | ||
"ClientSecret": "", | ||
"AuthRealm": "" | ||
} | ||
}, | ||
"JwtBearerOptions": { | ||
"RequireHttpsMetadata": true, | ||
"MetadataAddress": "", | ||
"SaveToken": true, | ||
"TokenValidationParameters": { | ||
"ValidateIssuer": true, | ||
"ValidIssuer": "", | ||
"ValidateIssuerSigningKey": true, | ||
"ValidAudience": "", | ||
"ValidateAudience": true, | ||
"ValidateLifetime": true, | ||
"ClockSkew": 600000 | ||
} | ||
}, | ||
"ConnectionStrings": { | ||
"PortalDb": "justaplaceholder", | ||
"ProvisioningDB": "justaplaceholder" | ||
}, | ||
"Provisioning": { | ||
"CentralRealm": "CX-Central", | ||
"CentralRealmId": "CX-Central" | ||
}, | ||
"Services":{ | ||
"BasePortalAddress": "http://localhost:3000", | ||
"UserManagementAddress": "http://localhost:3000/usermanagement", | ||
"ServiceMarketplaceAddress": "http://localhost:3000/servicemarketplace", | ||
"CatenaAdminRoles": { | ||
"Cl2-CX-Portal": [ | ||
"CX Admin" | ||
] | ||
}, | ||
"CompanyAdminRoles": { | ||
"Cl2-CX-Portal": [ | ||
"IT Admin" | ||
] | ||
}, | ||
"ServiceAccountRoles": { | ||
"technical_roles_management": [ | ||
"Digital Twin Management" | ||
] | ||
}, | ||
"ServiceManagerRoles": { | ||
"Cl2-CX-Portal": [ | ||
"Service Manager" | ||
] | ||
}, | ||
"SalesManagerRoles": { | ||
"Cl2-CX-Portal": [ | ||
"Sales Manager" | ||
] | ||
}, | ||
"DocumentTypeIds": [ | ||
"ADDITIONAL_DETAILS" | ||
], | ||
"ContentTypeSettings": [ | ||
"application/pdf" | ||
], | ||
"SubmitServiceNotificationTypeIds": [ | ||
"SERVICE_RELEASE_REQUEST" | ||
], | ||
"ApproveServiceNotificationTypeIds": [ | ||
"SERVICE_RELEASE_APPROVAL" | ||
], | ||
"ApproveServiceUserRoles": { | ||
"Cl2-CX-Portal": [ | ||
"Sales Manager", | ||
"Service Manager" | ||
] | ||
}, | ||
"ITAdminRoles": { | ||
"Cl2-CX-Portal": [ | ||
"IT Admin" | ||
] | ||
}, | ||
"TechnicalUserProfileClient": "technical_roles_management", | ||
"ServiceImageDocumentTypeIds": [ | ||
"SERVICE_LEADIMAGE" | ||
], | ||
"DeleteDocumentTypeIds": [ | ||
"APP_CONTRACT", | ||
"DATA_CONTRACT", | ||
"ADDITIONAL_DETAILS", | ||
"APP_LEADIMAGE", | ||
"APP_IMAGE" | ||
], | ||
"UploadServiceDocumentTypeIds": { | ||
"APP_CONTRACT": [ | ||
"application/pdf" | ||
], | ||
"ADDITIONAL_DETAILS": [ | ||
"application/pdf" | ||
], | ||
"APP_TECHNICAL_INFORMATION": [ | ||
"application/pdf" | ||
], | ||
"APP_LEADIMAGE": [ | ||
"image/jpeg", | ||
"image/png", | ||
"image/svg+xml" | ||
], | ||
"APP_IMAGE": [ | ||
"image/jpeg", | ||
"image/png", | ||
"image/svg+xml" | ||
], | ||
"CONFORMITY_APPROVAL_BUSINESS_APPS": [ | ||
"application/pdf" | ||
] | ||
}, | ||
"OfferStatusIds": [ | ||
"IN_REVIEW" | ||
] | ||
}, | ||
"MailingService": { | ||
"Mail": { | ||
"SmtpHost": "test", | ||
"SmtpPort": 587, | ||
"SmtpUser": "test", | ||
"SmtpPassword": "test" | ||
} | ||
} | ||
} |
Oops, something went wrong.