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

[WIP] Add missing attr /system/function/{functionName} #849

Closed
wants to merge 1 commit into from

Conversation

ewilde
Copy link
Contributor

@ewilde ewilde commented Sep 4, 2018

TODO

  • Manual testing
  • Update PR text with test results

Description

Update swagger file and Function type to add attributes missing from the /system/function/{functionName} GET endpoint

Relates to: #848

Motivation and Context

Mirroring POST/GET attributes makes API easier to use and integrate with other systems

How Has This Been Tested?

TBD

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have added tests to cover my changes.
  • All new and existing tests passed.

1. Update swagger file to include attributes present in the POST
endpoint but missing in the GET

Relates to: openfaas#848

Signed-off-by: Edward Wilde <[email protected]>
@bartsmykla
Copy link

bartsmykla commented Jan 17, 2019

Is this PR still valid? Do we want to test it?

@@ -402,6 +402,9 @@ definitions:
cpu:
type: string
example: "0.01"
readOnlyRootFilesystem:
Copy link
Member

Choose a reason for hiding this comment

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

We can add readOnlyRootFilesystem before finishing this WIP PR.

@ewilde Please could you or your colleague raise a PR for the readOnlyRootFilesystem part of this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@alexellis i'm no longer working on this PR, so going to close. @ameier38 is picking this up

@ewilde ewilde closed this Jun 19, 2019
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