diff --git a/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/gen/java/org/wso2/carbon/identity/api/server/idv/provider/v1/model/IdVProviderRequest.java b/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/gen/java/org/wso2/carbon/identity/api/server/idv/provider/v1/model/IdVProviderRequest.java index 3d27c24daf..8f72097d52 100644 --- a/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/gen/java/org/wso2/carbon/identity/api/server/idv/provider/v1/model/IdVProviderRequest.java +++ b/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/gen/java/org/wso2/carbon/identity/api/server/idv/provider/v1/model/IdVProviderRequest.java @@ -39,7 +39,6 @@ public class IdVProviderRequest { private String type; private String name; private String description; - private String image; private Boolean isEnabled; private List claims = null; @@ -104,24 +103,6 @@ public void setDescription(String description) { this.description = description; } - /** - **/ - public IdVProviderRequest image(String image) { - - this.image = image; - return this; - } - - @ApiModelProperty(example = "onfido-logo-url", value = "") - @JsonProperty("image") - @Valid - public String getImage() { - return image; - } - public void setImage(String image) { - this.image = image; - } - /** **/ public IdVProviderRequest isEnabled(Boolean isEnabled) { @@ -209,7 +190,6 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.type, idVProviderRequest.type) && Objects.equals(this.name, idVProviderRequest.name) && Objects.equals(this.description, idVProviderRequest.description) && - Objects.equals(this.image, idVProviderRequest.image) && Objects.equals(this.isEnabled, idVProviderRequest.isEnabled) && Objects.equals(this.claims, idVProviderRequest.claims) && Objects.equals(this.configProperties, idVProviderRequest.configProperties); @@ -217,7 +197,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(type, name, description, image, isEnabled, claims, configProperties); + return Objects.hash(type, name, description, isEnabled, claims, configProperties); } @Override @@ -229,7 +209,6 @@ public String toString() { sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" image: ").append(toIndentedString(image)).append("\n"); sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n"); sb.append(" claims: ").append(toIndentedString(claims)).append("\n"); sb.append(" configProperties: ").append(toIndentedString(configProperties)).append("\n"); diff --git a/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/main/java/org/wso2/carbon/identity/api/server/idv/provider/v1/core/IdVProviderService.java b/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/main/java/org/wso2/carbon/identity/api/server/idv/provider/v1/core/IdVProviderService.java index 294085e73b..08c50cd493 100644 --- a/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/main/java/org/wso2/carbon/identity/api/server/idv/provider/v1/core/IdVProviderService.java +++ b/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/main/java/org/wso2/carbon/identity/api/server/idv/provider/v1/core/IdVProviderService.java @@ -234,7 +234,6 @@ private IdVProviderResponse getIdVProviderResponse(IdVProvider idVProvider) { idvProviderResponse.setName(idVProvider.getIdVProviderName()); idvProviderResponse.setIsEnabled(idVProvider.isEnabled()); idvProviderResponse.setDescription(idVProvider.getIdVProviderDescription()); - idvProviderResponse.setImage(idVProvider.getImageUrl()); if (idVProvider.getIdVConfigProperties() != null) { List configProperties = @@ -256,7 +255,6 @@ private IdVProvider createIdVProvider(IdVProviderRequest idVProviderRequest) { idVProvider.setIdVProviderName(idVProviderRequest.getName()); idVProvider.setIdVProviderDescription(idVProviderRequest.getDescription()); idVProvider.setEnabled(idVProviderRequest.getIsEnabled()); - idVProvider.setImageUrl(idVProviderRequest.getImage()); if (idVProviderRequest.getClaims() != null) { idVProvider.setClaimMappings(getClaimMap(idVProviderRequest.getClaims())); } @@ -277,7 +275,6 @@ private IdVProvider createUpdatedIdVProvider(IdVProvider oldIdVProvider, idVProvider.setIdVProviderName(idVProviderRequest.getName()); idVProvider.setIdVProviderDescription(idVProviderRequest.getDescription()); idVProvider.setEnabled(idVProviderRequest.getIsEnabled()); - idVProvider.setImageUrl(idVProviderRequest.getImage()); if (idVProviderRequest.getClaims() != null) { idVProvider.setClaimMappings(getClaimMap(idVProviderRequest.getClaims())); } diff --git a/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/main/resources/idv-provider.yaml b/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/main/resources/idv-provider.yaml index c8ea63eb70..cec5a4c8b2 100644 --- a/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/main/resources/idv-provider.yaml +++ b/components/org.wso2.carbon.identity.api.server.idv.provider/org.wso2.carbon.identity.api.server.idv.provider.v1/src/main/resources/idv-provider.yaml @@ -409,9 +409,6 @@ components: description: type: string example: identity verification provider - image: - type: string - example: "onfido-logo-url" isEnabled: type: boolean example: true