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

Add specs for Flow framework namespace #549

Closed
wants to merge 10 commits into from

Conversation

junweid62
Copy link
Contributor

@junweid62 junweid62 commented Sep 3, 2024

Description

Part of Adding missing API specs [#168]

Issues Resolved

#508

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Junwei Dai added 5 commits August 29, 2024 15:53
Signed-off-by: Junwei Dai <[email protected]>
Signed-off-by: Junwei Dai <[email protected]>
Signed-off-by: Junwei Dai <[email protected]>
Signed-off-by: Junwei Dai <[email protected]>
@junweid62
Copy link
Contributor Author

@dbwiddis Could you please take a look at this PR when you have a chance? I would appreciate your feedback. Thanks!

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. Will need to be properly versioned with x-added- fields in specs and version fields in tests.

CHANGELOG.md Outdated Show resolved Hide resolved
spec/namespaces/flow_framework.yaml Outdated Show resolved Hide resolved
spec/namespaces/flow_framework.yaml Outdated Show resolved Hide resolved
spec/namespaces/flow_framework.yaml Outdated Show resolved Hide resolved
tests/default/flow_framework/workflow.yaml Show resolved Hide resolved
@dblock
Copy link
Member

dblock commented Sep 3, 2024

Not sure why CI is not running, rebase this vs. main.

refactor:
1.add epilogues that deletes the workflow if it was created.
2.rewrite all the  'whether'
3. remove empty lines
4. add validation enum

Signed-off-by: Junwei Dai <[email protected]>
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial pass, identified some issues to fix. Will review in more detail after next updates.

Great job on initial documentation! For someone who didn't even know what this plugin did a few weeks ago you've done a great job of documenting it (and finding some missing documentation!).

Comment on lines +21 to +22
'201':
$ref: '#/components/responses/flow_framework.create'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure there are some 4xx responses for invalid template parsing:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will add in the next revision

spec/namespaces/flow_framework.yaml Show resolved Hide resolved
spec/namespaces/flow_framework.yaml Show resolved Hide resolved
spec/namespaces/flow_framework.yaml Show resolved Hide resolved
Junwei Dai added 4 commits September 3, 2024 21:26
add version to flow framework and test

Signed-off-by: Junwei Dai <[email protected]>
add delete path param, add delete test, would also delete the workflow previously created

Signed-off-by: Junwei Dai <[email protected]>
Add schema for 4xx response

Signed-off-by: Junwei Dai <[email protected]>
Add eslint ignore 'reprovision'

Signed-off-by: Junwei Dai <[email protected]>
@dblock
Copy link
Member

dblock commented Sep 4, 2024

@junweid62 the CI is still not working, noticed your branch is pretty far off upstream main, lmk if you need help with that
Screenshot 2024-09-04 at 5 02 21 PM

@junweid62
Copy link
Contributor Author

junweid62 commented Sep 4, 2024

I have fetch upstream in main and checkout to my branch. and then i git rebase main locally. I thought it would work.

@junweid62 junweid62 closed this Sep 4, 2024
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

Successfully merging this pull request may close these issues.

3 participants