apigee / apigee-config-maven-plugin

apigee-config-maven-plugin
Apache License 2.0
56 stars 108 forks source link

Alias-Update Operation #177

Open pawankopparthi opened 1 year ago

pawankopparthi commented 1 year ago

Hi,

I am using Apigee-config-maven-plugin version (2.4.4), for updating the certificate in the alias, using the update operation I didn't get excepted output it is showing first delete the existing alias and re-create with the updated certificate, but I don't want to delete the existing alias as we may have down time. we have tested with the management API call for aliases update it is able to update the certificate can we integrate the below management call for update operation using the plugin?

Management API ---- : curl --location 'https://apigee.googleapis.com/v1/organizations/XXXXX/environments/XXXXX/keystores/XXXXX/aliases?alias=XXXXXX&format=keycertfile' --header 'Authorization: Bearer XXXXX --header 'Content-Type: multipart/form-data' \ --form 'data=" XXXXX

please find the below screenshots for your reference with the curl which is able to update the cert.

InkedMicrosoftTeams-image

, please find the below screenshots for your reference with the plugin not able to update the cert.

MicrosoftTeams-image (2)

praoCNB commented 2 days ago

Do we have any update on this? We are seeing the same logs as in the screenshot above while using update operation for Aliases.

The keystore and alias are currently assigned to a target server and we cannot delete it as there would be a downtime.

ssvaidyanathan commented 1 day ago

Will work on this and get back in a day or two