1). Changes for MultipleCas.

2). . Added ApiError CERTIFICATE_PROVIDER_NOT_FOUND in the following endpoint:

POST - policies/ PolicyController.createNewPolicy

3). Added ApiError CA_NOT_FOUND, CERTIFICATE_PROVIDER_NOT_FOUND in the following endpoint:

*POST - /batch-delete AdminController.deleteArchivedEntities

4). Added ApiErrors CA_NOT_FOUND, CA_IS_ARCHIVED, CA_IS_ALREADY_UNARCHIVED, CANNOT_ARCHIVE_A_CA_THAT_IS_THE_ISSUER_OF_ANOTHER_CA, CANNOT_ARCHIVE_A_CA_THAT_IS_CONNECTED_WITH_A_CERTIFICATE, CERTIFICATE_PROVIDER_NOT_FOUND, CERTIFICATE_PROVIDER_IS_ARCHIVED, CANNOT_ARCHIVE_A_CERTIFICATE_PROVIDER_THAT_IS_USED_BY_A_POLICY, CERTIFICATE_PROVIDER_IS_ALREADY_UNARCHIVED in the following endpoints :

*PATCH - /{id}/archive AdminController.archiveSingleEntity

*POST - /batch-archive AdminController.archiveEntitiesBatch

5). Added endpoint updateCa:

*PATCH - /cas/ CaController.updateCa

6). Changed the getAllTemplateSigners endpoint (TemplateSignerController) becoming getTemplateSignersByCertificateProviderId and /template-signers/certificate-providers/{id}

7). Added the field UUID signerCertificateId in GetCmpConfigurationResponseDto endpoint (CmpController)

8). Added the ApiError.CERTIFICATE_PROVIDER_NOT_FOUND, ApiError.CERTIFICATE_PROVIDER_IS_ARCHIVED ApiError.CERTIFICATE_PROVIDER_CONNECTION_FAILED ApiErrors to the Patch /{id} endpoint in PolicyController.updatePolicy

9). Added the ApiError.CMP_SIGNER_IS_NOT_VALID to the Post /{id} endpoint in PolicyController.createNewPolicy, Patch /{id} endpoint in PolicyController.updatePolicy, Post /policies/{policyId}/configuration endpoint in CmpController.getCmpConfigurationByPolicyId,

10). Added endpoint getSystemRealmSettings:

*GET - /settings/system-realm-settings ConfigurationController.getSystemRealmSettings

11). Added endpoint updateSystemRealmSettings:

*PATCH - /settings/system-realm-settings ConfigurationController.updateSystemRealmSettings

12). Added endpoint getConnectionSettings:

*GET - /settings/connection-settings ConfigurationController.getConnectionSettings

13). Added endpoint updateConnectionSettings:

*PATCH - /settings/connection-settings ConfigurationController.updateConnectionSettings

14). Added endpoint getPoliciesByCertificateProviderId: *Get - policies/certificate-providers/{id} PolicyController.getPoliciesByCertificateProviderId

15). Removed the endpoint (after the latest changes in the Policy Dto regarding the CMP configuration) :

GET - enum/signing-service-provider-values EnumController.getSigningServiceProviderValues

16). Changes for GetPolicyResponseDto, CreatePolicyResponseDto and UpdatePolicyResponseDto, CmpConfigurationResponseDto, GetCmpConfigurationResponseDto : replaced SigningServiceProvider signingServiceProvider with CertificateProviderDto certificateProviderDto in CmpConfigurationDto

17). Changes for CreatePolicyRequestDto, UpdatePolicyRequestDto : replaced SigningServiceProvider signingServiceProvider with UUID certificateProviderId in CmpConfigurationRequestDto

18). Added Api Errors SYSTEM_REALM_SETTINGS_NOT_FOUND_UNPROCESSABLE_ENTITY to the updateSystemCmpPolicySettings, updateSystemRaPolicySettings ConfigurationController, SYSTEM_POLICY_INVALID_REALM to the updateSystemCmpPolicySettings, updateSystemRaPolicySettings ConfigurationController

19). Added endpoints in Configuration Controller Patch /system-cmp-policy-settings in ConfigurationController Get /system-cmp-policy-settings in ConfigurationController Patch /system-ra-policy-settings in ConfigurationController Get /system-ra-policy-settings in ConfigurationController

20). Removed download-ca-chain in TemplateSignerController

21). Added /policies/{id}/download-ca-chain in CertificateController de.mtg.clm.service.certificate.GetCertificateService.getCaChainPemForPolicy

22). Removed refNumber record, changed id type from Long to UUID in GetRaCertificateResponseDto

23). Changed the name and the using HttpStatus for the AVAILABLE_MAIL_SETTINGS_NOT_FOUND to become AVAILABLE_MAIL_SETTINGS_NOT_FOUND_UNPROCESSABLE_ENTITY with HttpStatus of UnprocessableEntity

24). Changed the type of the request from Put to Patch for the following endpoints : mail-settings update endpoint in ConfigurationController /realms/{id} update endpoint in RealmController /global update endpoint in PermissionsController /realms update endpoint in PermissionsController\ /policies update endpoint in PermissionsController /end-entities update endpoint in PermissionsController /cert-requests update endpoint in PermissionsController /certificates update endpoint in PermissionsController

25). Changed the name of the MailSettingsDtoResponse to be GetMailSettingsResponseDto (it affects the getMailSettings endpoint) Also changed for the response of the updateMailSettings endpoint to be UpdateMailSettingsResponseDto

26). Changes for the endEntityName property of GetCertificateResponseDto and GetCertReqResponseDto to become endEntityCommonName

27). Added certificateId UUID property in UserDetailsDto and UpdateUserRaCertificateDto,

modified Long caraRaCertId to String certFromProviderReference in UserDetailsDto,

modified Long caraCertificateId to String certFromProviderReference in GetCertificateResponseDto

28). Replaced Boolean response with RevokeMultipleCertificateResponseDto in de.mtg.clm.controller.CertificateController.revokeMultipleCertificates

29). Added ApiError.CERTIFICATE_IS_ARCHIVED, ApiError.CERTIFICATE_NOT_FOUND_UNPROCESSABLE_ENTITY ApiErrors in de.mtg.clm.controller.UserController.findUserByRaCertificate endpoint

30). Refactored GetPolicyResponseDto, CreatePolicyRequestDto, CreatePolicyResponseDto UpdatePolicyRequestDto and UpdatePolicyResponseDto to use certificateProviderConfiguration of String type instead of a list of GenericDto. Furthermore, templateSignerName has been incorporated to the new certificateProviderConfiguration field

31). Added create/update Certificate Provider endpoints and their respective dtos: CreateCertificateProviderRequestDto, CreateCertificateProviderResponseDto, UpdateCertificateProviderRequestDto, UpdateCertificateProviderResponseDto, GetCertificateProviderResponseDtoPage, CertificateProviderSearchRequestDto, CertificateProviderConnectionCheckRequestDto and GetCertificateProviderResponseDto`, . More specifically, added:

  • POST /certificate-providers - CertificateProviderController#createCertificateProvider

  • PATCH /certificate-providers/{id} - CertificateProviderController#updateCertificateProvider

  • GET /certificate-providers/{id} - CertificateProviderController#getCertificateProvider

  • POST /certificate-providers/search - CertificateProviderController#searchCertificateProviders

  • POST /certificate-providers/check-connection - CertificateProviderController#checkCertificateProviderConnection

32). Added PublicBillingController and endpoint that counts active and future imported (not implemented yet) certificates. More specifically, added:

  • GET /billing/certificates - PublicBillingController#countActiveAndFutureCertificates

33). Replaced ApiError.SYSTEM_REALM_SETTINGS_NOT_FOUND with ApiError.SYSTEM_REALM_SETTINGS_NOT_FOUND_UNPROCESSABLE_ENTITY in PolicyController createNewPolicy and updatePolicy

Added ApiError.SYSTEM_REALM_SETTINGS_NOT_FOUND_UNPROCESSABLE_ENTITY, ApiError.SYSTEM_POLICY_SETTINGS_NOT_FOUND_UNPROCESSABLE_ENTITY in CmpController getCmpConfigurationByPolicyId

Replaced ApiError.AVAILABLE_USER_CERTIFICATE_POLICY_NOT_FOUND_UNPROCESSABLE_ENTITY with ApiError.SYSTEM_POLICY_SETTINGS_NOT_FOUND_UNPROCESSABLE_ENTITY in RaCertificateController createRaCertificateForSingleUser and createBatchRaCertificateForUsers endpoints

34) Added endpoints GET getConfiguration, POST createConfiguration, DELETE deleteConfiguration, PATCH updateConfiguration, PATCH updateConfigurationBatch in ConfigurationController

35)Added the ApiError.REALM_NOT_FOUND to the Get /policies/realms/{id} endpoint in PolicyController.getPolicyByRealmId

36)Added the ApiError.REALM_NOT_FOUND to the Get /cert-requests/realms/{id}/pending endpoint in CertificateRequestController.getMostRecentPendingCertificates

37) Added ApiError.INVALID_TYPE_OF_ARGUMENT to the majority of endpoints

38) Added the ApiError.CMP_SIGNER_CERTIFICATE_CREATION_FAILED to the Post /policies endpoint in PolicyController.createNewPolicy Patch /{id} endpoint in PolicyController.updatePolicy

39). Changed the SignerConfigurationDto to contain a generic String signerConfiguration property instead of a Cara specific CaraSignerConfigurationDto.