In APIM 3.0.0, the endpoint password is saved in a registry field named as endpointPassword, but in all other versions the field is named as endpointPpassword. This causes issues while migrating APIs from 3.0.0 to the latest versions.
This PR modifies the endpoint's basic auth credential retrieving logic to check for the endpointPpassword element as well as the endpointPpassword element.
Purpose
In APIM 3.0.0, the endpoint password is saved in a registry field named as
endpointPassword
, but in all other versions the field is named asendpointPpassword
. This causes issues while migrating APIs from 3.0.0 to the latest versions.This PR modifies the endpoint's basic auth credential retrieving logic to check for the
endpointPpassword
element as well as theendpointPpassword
element.Resolves https://github.com/wso2/api-manager/issues/2881