Skip to content

Commit

Permalink
Merge pull request #9 from opensrp/2060_Remove_keycloak_user_data
Browse files Browse the repository at this point in the history
2060: Remove KeycloakUserDetails from the PractitionerDetails Response Payload
  • Loading branch information
dubdabasoduba authored Feb 24, 2023
2 parents 2129040 + 00f2b86 commit f9a30bb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 277 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.smartregister</groupId>
<artifactId>fhir-common-utils</artifactId>
<version>0.0.5-SNAPSHOT</version>
<version>0.0.6-SNAPSHOT</version>

<distributionManagement>
<repository>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@
profile = "http://hl7.org/fhir/profiles/custom-resource")
public class PractitionerDetails extends Practitioner {

@Child(
name = "KeycloakUserDetails",
type = {KeycloakUserDetails.class})
@Description(
shortDefinition = "Get Keycloak User details from the Keycloak server",
formalDefinition = "Get Keycloak User details from the Keycloak server")
private KeycloakUserDetails keycloakUserDetails;

@Child(
name = "fhir",
type = {FhirPractitionerDetails.class})
Expand All @@ -58,15 +50,6 @@ public class PractitionerDetails extends Practitioner {
public static final String SP_KEYCLOAK_UUID = "keycloak-uuid";
public static final TokenClientParam KEYCLOAK_UUID = new TokenClientParam("keycloak-uuid");

@SearchParamDefinition(
name = "isAuthProvided",
path = "PractitionerDetails.isAuthProvided",
description = "isAuthProvided",
type = "token"
)

public static final String SP_IS_AUTH_PROVIDED = "isAuthProvided";
public static final SpecialParam IS_AUTH_PROVIDED = new SpecialParam().setValue("isAuthProvided");
@Override
public Practitioner copy() {
Practitioner practitioner = new Practitioner();
Expand All @@ -85,14 +68,6 @@ public ResourceType getResourceType() {
return ResourceType.Bundle;
}

public KeycloakUserDetails getUserDetail() {
return keycloakUserDetails;
}

public void setUserDetail(KeycloakUserDetails keycloakUserDetails) {
this.keycloakUserDetails = keycloakUserDetails;
}

public FhirPractitionerDetails getFhirPractitionerDetails() {
return fhirPractitionerDetails;
}
Expand Down
170 changes: 0 additions & 170 deletions src/main/java/org/smartregister/model/practitioner/UserBioData.java

This file was deleted.

0 comments on commit f9a30bb

Please sign in to comment.