-
Notifications
You must be signed in to change notification settings - Fork 77
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
[generic issuance] pipeline CRUD app with minimal UI #1451
Conversation
return pipeline; | ||
} | ||
|
||
public async upsertPipelineDefinition( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing this doesn't do is cause the generic issuance server to actually load the pipeline. It gets stored in this.definitionDB
, but this.pipelines
doesn't have the pipeline in it until this.createPipelines()
is called. Possibly we want something like reloadPipeline(pipelineId)
for when a pipeline has changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed over call - will integrate this later today once items like #1452 have been merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one more set of things to add to this PR before merging if possible is actually persisting the users to the db. this'll make our staging environment really good by the end of the day today.
apps/passport-server/src/services/generic-issuance/genericIssuanceService.ts
Show resolved
Hide resolved
return pipeline; | ||
} | ||
|
||
public async upsertPipelineDefinition( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point
apps/passport-server/src/services/generic-issuance/genericIssuanceService.ts
Show resolved
Hide resolved
apps/passport-server/src/services/generic-issuance/genericIssuanceService.ts
Show resolved
Hide resolved
This backs the `PipelineDefinitionDB` on to the Postgres DB. It's quite crude and is also missing user-management features, but it works for being able to start pipelines outside of tests. I've avoided doing user-management code since that overlaps with #1451
Closes #1428
TODO
What's in here:
What's not in here:
Screen.Recording.2024-01-31.at.5.04.26.AM.mov