Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2060: Remove KeycloakUserDetails from the PractitionerDetails Response Payload #9

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.