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

Person service using incorrect daimon #92

Closed
chrisknoll opened this issue Apr 6, 2016 · 0 comments
Closed

Person service using incorrect daimon #92

chrisknoll opened this issue Apr 6, 2016 · 0 comments
Assignees
Milestone

Comments

@chrisknoll
Copy link
Collaborator

In the PersonService, the table qualifier being used is set to the Vocabulary Daimon, but should probably be CDM:

public class PersonService extends AbstractDaoService {

@Path("{personId}")
@GET
@Produces(MediaType.APPLICATION_JSON)
public PersonProfile getPersonProfile(@PathParam("sourceKey") String sourceKey, @PathParam("personId") String personId)
{
final PersonProfile profile = new PersonProfile();

Source source = getSourceRepository().findBySourceKey(sourceKey);
String tableQualifier = source.getTableQualifier(**SourceDaimon.DaimonType.Vocabulary**);

DaimonType should be CDM

@chrisknoll chrisknoll added this to the v1.1.1 milestone May 10, 2016
@fdefalco fdefalco self-assigned this May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants