Skip to content

Commit

Permalink
Fix the issue of policies not being attached when importing APIs whic…
Browse files Browse the repository at this point in the history
…h are exported from previous U2 levels
  • Loading branch information
RusJaI committed Oct 14, 2024
1 parent 956acec commit cec5655
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7092,7 +7092,7 @@ public String importOperationPolicyOfGivenType(OperationPolicyData importedPolic
/*To handle scenarios where api is exported from a previous U2 version. API and Common policies with same name
and same version is not supported there
*/
importOperationPolicy(importedPolicyData, organization);
policyId = importOperationPolicy(importedPolicyData, organization);
} else if (policyType.equalsIgnoreCase(ImportExportConstants.POLICY_TYPE_COMMON)) {
existingOperationPolicy = getCommonOperationPolicyByPolicyName(importedSpec.getName(),
importedSpec.getVersion(),organization, false);
Expand Down

0 comments on commit cec5655

Please sign in to comment.