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

Implement ParticipantService #215

Closed
Tracked by #214
paullatzelsperger opened this issue Jan 15, 2024 · 0 comments · Fixed by #225
Closed
Tracked by #214

Implement ParticipantService #215

paullatzelsperger opened this issue Jan 15, 2024 · 0 comments · Fixed by #225
Assignees
Labels
enhancement New feature or request

Comments

@paullatzelsperger
Copy link
Member

paullatzelsperger commented Jan 15, 2024

implement a ParticipantService, that perform CRUD operations, regenerates keys and emits events:

public interface ParticipantService {
  Result<Void> createParticipantContext(ParticipantContext context);
  Result<Void> [get|delete]ParticipantContext(String participantId);
  Result<String> regenerateApiToken(String participantId);
}

As a minimum, the ParticipantContext should contain the following information:

public class ParticipantContext {
	String participantId;
	String createdDate;
	String lastModifiedDate;
	int state; // CREATED, ACTIVATED, DEACTIVATED
	String apiToken; // or apiTokenAlias
}
@paullatzelsperger paullatzelsperger changed the title implement a ParticipantService, that perform CRUD operations, regenerates keys and emits events. Implement ParticipantService Jan 15, 2024
@paullatzelsperger paullatzelsperger added the enhancement New feature or request label Jan 15, 2024
@paullatzelsperger paullatzelsperger self-assigned this Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant