-
Notifications
You must be signed in to change notification settings - Fork 178
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
Added types for notebook image and REST end point stubs. #147
Conversation
Updated with REST api notebook image endpoints and new notebook image types.
|
||
export type Notebook = { | ||
name: string; | ||
repo: string; |
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.
@dlabaj can we revisit this? Is this schema based on https://studio.apicur.io/preview?aid=66775#operation/getNotebooks ?
I think this doesn't match, because:
- We have no idea about a
repo
. We import from container image repository not github repository. Can we call thisurl
? - Can we change
status
tophase
so it matches the backend names better?
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.
For item 1 we can definitely change it to "URL" Should we update mocks ups so they say URL as well? https://marvelapp.com/prototype/6dcfc3h/screen/85139860
For item 2 it should have been phase. Status from this mockup I am assuming would show the phase while it's being imported and then change to the visible value (aka enabled / disabled) setting once it reaches success? https://marvelapp.com/prototype/6dcfc3h/screen/85139859
@tumido Let me know if that's your understanding as well.
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.
For item 1
I think this is a tricky part on the UI. Imagine this example. You go to URL https://quay.io/repository/tcoufal/jh-minimal-test
. This image can be pulled by podman/docker as quay.io/tcoufal/jh-minimal-test
URI which in container terminology (see https://developers.redhat.com/blog/2018/02/22/container-terminology-practical-introduction#repository) is referred to as a "repository"...
If we name it URL in the UI, we need to clarify to the user we want the quay.io/tcoufal/jh-minimal-test
value, not https://quay.io/repository/tcoufal/jh-minimal-test
. On the other hand, naming it "Repository" carries the "code repository" connotation (as seen in the API example)...
In addition to that, we have an annotation in JupyterHub ImageStreams called opendatahub.io/notebook-image-url
. This annotation is used to point to the git repo where the source code for the image lives. Again, using the url
and repository
as synonyms...
In the BYON pipelines, we call the parameter URL.
Honestly the more I think about it, the more confused I am... I think I'm overcomplicating things but I would really like to have things named consistently. No matter which term we end up using.
For item 2
Honestly, I think this is a common confusion and inconsistency in OpenShift. Take Pods as an example:
The UI shows column named Status
but API serves the value in .status.phase
field...
In our case we're gonna source this value from opendatahub.io/notebook-image-phase
annotation. So... I think for the sake of UI consistency the column should be definitely called "Status" (user expect that based on the rest of OpenShift UI). When it comes to the API side, the custom is to call this value a phase
, since status
usually means a complex field containing many different status-related information.
uploaded?: Date; | ||
visible?: boolean; | ||
packages?: NotebookPackage[]; | ||
} |
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.
I also think we're missing here the field for messages -> this is populated in case the import finds some violations and refuses to import. It's a suggestion to user about what went wrong. See:
https://marvelapp.com/prototype/6dcfc3h/screen/85139862
In the OpenShift resource it is defined as a JSON encoded string (we can parse it in the backend):
[{"severity":"error","message":"Python version does not meet minimal required version ('3.8.0')"}]
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.
@tumido
Wouldn't this come back as an error message in say 400 response. e.g. https://github.com/dlabaj/odh-dashboard/blob/660f6a3b24caa63c5578d33dcb4975a54f066146/backend/src/routes/api/notebook/notebooksUtils.ts#L66 or not?
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.
I don't think so.. I think you want to get a 200 message and still receive the messages/recommendations.
The import action is an async process. So the API doesn't know this data at the time or a POST
to /api/notebooks
.
When you do GET
on /api/notebooks
you should receive all the images and some of them will have status "Succeeded" and some of them may have status "Failed" with the messages populated...
Presence of the messages doesn't mean the resource doesn't exist (or that you should not be requesting it - as 400 would imply), it means the import has failed due to any reason and you should receive a valid 200 with a payload + those details. Imagine this being a failing/crashing pod resource. If you do a get request for it, you still get the object json/yaml no matter the failing state...
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.
okay will add this field.
Updated with REST api notebook image endpoints and new notebook image types.
Updated with REST api notebook image endpoints and new notebook image types.
* Updated way that to detect an admin. (#137) Fixed linting error. * Update backend port setting and makefile dev commands. (#133) * Update README.md (#96) Updated Readme to specify that a build is required prior to running the development server. * Fix for input not allowing blank spaces.: Fix to allow a user to enter an empty string. Fixed with review comment. * Add culler timeout settings feature (#134) * Added types for notebookimage and status (#147) Updated with REST api notebook image endpoints and new notebook image types. * Updated REST API (#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * Updated type.ts in front end with Succeeded * [byon] Implement backend (#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Christopher Chase <cchase@redhat.com> Co-authored-by: Chad Roberts <croberts@redhat.com> Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Updated with REST api notebook image endpoints and new notebook image types. Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Updated type.ts in front end with Succeeded [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Rebased BYON from master (opendatahub-io#162) * Updated way that to detect an admin. (opendatahub-io#137) Fixed linting error. * Update backend port setting and makefile dev commands. (opendatahub-io#133) * Update README.md (opendatahub-io#96) Updated Readme to specify that a build is required prior to running the development server. * Fix for input not allowing blank spaces.: Fix to allow a user to enter an empty string. Fixed with review comment. * Add culler timeout settings feature (opendatahub-io#134) * Added types for notebookimage and status (opendatahub-io#147) Updated with REST api notebook image endpoints and new notebook image types. * Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * Updated type.ts in front end with Succeeded * [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Christopher Chase <cchase@redhat.com> Co-authored-by: Chad Roberts <croberts@redhat.com> Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Feat add creator annotation (opendatahub-io#170) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow to patch name and description on notebook (opendatahub-io#172) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow python dependency visibility field changes (opendatahub-io#173) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Added code for importing byon image. (opendatahub-io#171) Updated front end code with import and start of table. Updated with byon changes Updated code with byon ui changes. Integrated import, delete, and get functionality for notebooks. Added start of edit panel. Updated build error fixes. Updates to edit dialog and linting cleanup. Added sort to table. Added filtering. Added failure warning to allow user to click Add check disable enabling failed notebook images Fixed with review comments. Fixed time bug. Removed admin
Updated with REST api notebook image endpoints and new notebook image types. Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Updated type.ts in front end with Succeeded [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Rebased BYON from master (opendatahub-io#162) * Updated way that to detect an admin. (opendatahub-io#137) Fixed linting error. * Update backend port setting and makefile dev commands. (opendatahub-io#133) * Update README.md (opendatahub-io#96) Updated Readme to specify that a build is required prior to running the development server. * Fix for input not allowing blank spaces.: Fix to allow a user to enter an empty string. Fixed with review comment. * Add culler timeout settings feature (opendatahub-io#134) * Added types for notebookimage and status (opendatahub-io#147) Updated with REST api notebook image endpoints and new notebook image types. * Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * Updated type.ts in front end with Succeeded * [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Christopher Chase <cchase@redhat.com> Co-authored-by: Chad Roberts <croberts@redhat.com> Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Feat add creator annotation (opendatahub-io#170) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow to patch name and description on notebook (opendatahub-io#172) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow python dependency visibility field changes (opendatahub-io#173) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Added code for importing byon image. (opendatahub-io#171) Updated front end code with import and start of table. Updated with byon changes Updated code with byon ui changes. Integrated import, delete, and get functionality for notebooks. Added start of edit panel. Updated build error fixes. Updates to edit dialog and linting cleanup. Added sort to table. Added filtering. Added failure warning to allow user to click Add check disable enabling failed notebook images Fixed with review comments. Fixed time bug. Removed admin
Updated with REST api notebook image endpoints and new notebook image types. Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Updated type.ts in front end with Succeeded [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Rebased BYON from master (opendatahub-io#162) * Updated way that to detect an admin. (opendatahub-io#137) Fixed linting error. * Update backend port setting and makefile dev commands. (opendatahub-io#133) * Update README.md (opendatahub-io#96) Updated Readme to specify that a build is required prior to running the development server. * Fix for input not allowing blank spaces.: Fix to allow a user to enter an empty string. Fixed with review comment. * Add culler timeout settings feature (opendatahub-io#134) * Added types for notebookimage and status (opendatahub-io#147) Updated with REST api notebook image endpoints and new notebook image types. * Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * Updated type.ts in front end with Succeeded * [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Christopher Chase <cchase@redhat.com> Co-authored-by: Chad Roberts <croberts@redhat.com> Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Feat add creator annotation (opendatahub-io#170) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow to patch name and description on notebook (opendatahub-io#172) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow python dependency visibility field changes (opendatahub-io#173) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Added code for importing byon image. (opendatahub-io#171) Updated front end code with import and start of table. Updated with byon changes Updated code with byon ui changes. Integrated import, delete, and get functionality for notebooks. Added start of edit panel. Updated build error fixes. Updates to edit dialog and linting cleanup. Added sort to table. Added filtering. Added failure warning to allow user to click Add check disable enabling failed notebook images Fixed with review comments. Fixed time bug. Removed admin
Updated with REST api notebook image endpoints and new notebook image types. Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Updated type.ts in front end with Succeeded [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Rebased BYON from master (opendatahub-io#162) * Updated way that to detect an admin. (opendatahub-io#137) Fixed linting error. * Update backend port setting and makefile dev commands. (opendatahub-io#133) * Update README.md (opendatahub-io#96) Updated Readme to specify that a build is required prior to running the development server. * Fix for input not allowing blank spaces.: Fix to allow a user to enter an empty string. Fixed with review comment. * Add culler timeout settings feature (opendatahub-io#134) * Added types for notebookimage and status (opendatahub-io#147) Updated with REST api notebook image endpoints and new notebook image types. * Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * Updated type.ts in front end with Succeeded * [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Christopher Chase <cchase@redhat.com> Co-authored-by: Chad Roberts <croberts@redhat.com> Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Feat add creator annotation (opendatahub-io#170) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow to patch name and description on notebook (opendatahub-io#172) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow python dependency visibility field changes (opendatahub-io#173) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Added code for importing byon image. (opendatahub-io#171) Updated front end code with import and start of table. Updated with byon changes Updated code with byon ui changes. Integrated import, delete, and get functionality for notebooks. Added start of edit panel. Updated build error fixes. Updates to edit dialog and linting cleanup. Added sort to table. Added filtering. Added failure warning to allow user to click Add check disable enabling failed notebook images Fixed with review comments. Fixed time bug. Removed admin Update backend port setting and makefile dev commands. (opendatahub-io#133) Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127) Fixed issues with cherry picks.
Updated with REST api notebook image endpoints and new notebook image types. Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Updated type.ts in front end with Succeeded [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Rebased BYON from master (opendatahub-io#162) * Updated way that to detect an admin. (opendatahub-io#137) Fixed linting error. * Update backend port setting and makefile dev commands. (opendatahub-io#133) * Update README.md (opendatahub-io#96) Updated Readme to specify that a build is required prior to running the development server. * Fix for input not allowing blank spaces.: Fix to allow a user to enter an empty string. Fixed with review comment. * Add culler timeout settings feature (opendatahub-io#134) * Added types for notebookimage and status (opendatahub-io#147) Updated with REST api notebook image endpoints and new notebook image types. * Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * Updated type.ts in front end with Succeeded * [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Christopher Chase <cchase@redhat.com> Co-authored-by: Chad Roberts <croberts@redhat.com> Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Feat add creator annotation (opendatahub-io#170) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow to patch name and description on notebook (opendatahub-io#172) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow python dependency visibility field changes (opendatahub-io#173) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Added code for importing byon image. (opendatahub-io#171) Updated front end code with import and start of table. Updated with byon changes Updated code with byon ui changes. Integrated import, delete, and get functionality for notebooks. Added start of edit panel. Updated build error fixes. Updates to edit dialog and linting cleanup. Added sort to table. Added filtering. Added failure warning to allow user to click Add check disable enabling failed notebook images Fixed with review comments. Fixed time bug. Removed admin Update backend port setting and makefile dev commands. (opendatahub-io#133) Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127) Fixed issues with cherry picks.
Updated with REST api notebook image endpoints and new notebook image types. Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Updated type.ts in front end with Succeeded [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Rebased BYON from master (opendatahub-io#162) * Updated way that to detect an admin. (opendatahub-io#137) Fixed linting error. * Update backend port setting and makefile dev commands. (opendatahub-io#133) * Update README.md (opendatahub-io#96) Updated Readme to specify that a build is required prior to running the development server. * Fix for input not allowing blank spaces.: Fix to allow a user to enter an empty string. Fixed with review comment. * Add culler timeout settings feature (opendatahub-io#134) * Added types for notebookimage and status (opendatahub-io#147) Updated with REST api notebook image endpoints and new notebook image types. * Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * Updated type.ts in front end with Succeeded * [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Christopher Chase <cchase@redhat.com> Co-authored-by: Chad Roberts <croberts@redhat.com> Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Feat add creator annotation (opendatahub-io#170) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow to patch name and description on notebook (opendatahub-io#172) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow python dependency visibility field changes (opendatahub-io#173) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Added code for importing byon image. (opendatahub-io#171) Updated front end code with import and start of table. Updated with byon changes Updated code with byon ui changes. Integrated import, delete, and get functionality for notebooks. Added start of edit panel. Updated build error fixes. Updates to edit dialog and linting cleanup. Added sort to table. Added filtering. Added failure warning to allow user to click Add check disable enabling failed notebook images Fixed with review comments. Fixed time bug. Removed admin Update backend port setting and makefile dev commands. (opendatahub-io#133) Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127) Fixed issues with cherry picks. Fixed additional git cherry pick issues. Added ability to add packages, modify packages, etc. Added software package on import. Added additional table and fix some styling issues. Fixed issue where form was submitted. Updated import in notebooksUtils.ts Updated code to work with image streams instead of pipelines.
[UPSTREAM] Fix to allow a user to enter an empty string. Fixed linting error. Updated to read userTrackingEnabled instead of clusterSettings.userTrackingEnabled. [Upstream] Added BYON, webpack proxy, and CORS heading fix. Updated with REST api notebook image endpoints and new notebook image types. Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Updated type.ts in front end with Succeeded [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Rebased BYON from master (opendatahub-io#162) * Updated way that to detect an admin. (opendatahub-io#137) Fixed linting error. * Update backend port setting and makefile dev commands. (opendatahub-io#133) * Update README.md (opendatahub-io#96) Updated Readme to specify that a build is required prior to running the development server. * Fix for input not allowing blank spaces.: Fix to allow a user to enter an empty string. Fixed with review comment. * Add culler timeout settings feature (opendatahub-io#134) * Added types for notebookimage and status (opendatahub-io#147) Updated with REST api notebook image endpoints and new notebook image types. * Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * Updated type.ts in front end with Succeeded * [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Christopher Chase <cchase@redhat.com> Co-authored-by: Chad Roberts <croberts@redhat.com> Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Feat add creator annotation (opendatahub-io#170) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow to patch name and description on notebook (opendatahub-io#172) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow python dependency visibility field changes (opendatahub-io#173) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Added code for importing byon image. (opendatahub-io#171) Updated front end code with import and start of table. Updated with byon changes Updated code with byon ui changes. Integrated import, delete, and get functionality for notebooks. Added start of edit panel. Updated build error fixes. Updates to edit dialog and linting cleanup. Added sort to table. Added filtering. Added failure warning to allow user to click Add check disable enabling failed notebook images Fixed with review comments. Fixed time bug. Removed admin Update backend port setting and makefile dev commands. (opendatahub-io#133) Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127) Fixed issues with cherry picks. Fixed additional git cherry pick issues. Added ability to add packages, modify packages, etc. Added software package on import. Added additional table and fix some styling issues. Fixed issue where form was submitted. Updated import in notebooksUtils.ts Updated code to work with image streams instead of pipelines. Fixed linting errors. Fixed empty software package bug. Fixed bugs found during testing. Notebook image table update. Fixed error where not showing the empty state. Fixed table issue. Add another update of the notbook image table.
[UPSTREAM] Fix to allow a user to enter an empty string. Fixed linting error. Updated to read userTrackingEnabled instead of clusterSettings.userTrackingEnabled. [Upstream] Added BYON, webpack proxy, and CORS heading fix. Updated with REST api notebook image endpoints and new notebook image types. Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Updated type.ts in front end with Succeeded [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Rebased BYON from master (opendatahub-io#162) * Updated way that to detect an admin. (opendatahub-io#137) Fixed linting error. * Update backend port setting and makefile dev commands. (opendatahub-io#133) * Update README.md (opendatahub-io#96) Updated Readme to specify that a build is required prior to running the development server. * Fix for input not allowing blank spaces.: Fix to allow a user to enter an empty string. Fixed with review comment. * Add culler timeout settings feature (opendatahub-io#134) * Added types for notebookimage and status (opendatahub-io#147) Updated with REST api notebook image endpoints and new notebook image types. * Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * Updated type.ts in front end with Succeeded * [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Christopher Chase <cchase@redhat.com> Co-authored-by: Chad Roberts <croberts@redhat.com> Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Feat add creator annotation (opendatahub-io#170) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow to patch name and description on notebook (opendatahub-io#172) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow python dependency visibility field changes (opendatahub-io#173) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Added code for importing byon image. (opendatahub-io#171) Updated front end code with import and start of table. Updated with byon changes Updated code with byon ui changes. Integrated import, delete, and get functionality for notebooks. Added start of edit panel. Updated build error fixes. Updates to edit dialog and linting cleanup. Added sort to table. Added filtering. Added failure warning to allow user to click Add check disable enabling failed notebook images Fixed with review comments. Fixed time bug. Removed admin Update backend port setting and makefile dev commands. (opendatahub-io#133) Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127) Fixed issues with cherry picks. Fixed additional git cherry pick issues. Added ability to add packages, modify packages, etc. Added software package on import. Added additional table and fix some styling issues. Fixed issue where form was submitted. Updated import in notebooksUtils.ts Updated code to work with image streams instead of pipelines. Fixed linting errors. Fixed empty software package bug. Fixed bugs found during testing. Notebook image table update. Fixed error where not showing the empty state. Fixed table issue. Add another update of the notbook image table. Fixed issue where notebook would description disappeared. Fixed missing notification. Prevent duplicate names. Fixed issue with notebook images not updating correctly.
[UPSTREAM] Fix to allow a user to enter an empty string. Fixed linting error. Updated to read userTrackingEnabled instead of clusterSettings.userTrackingEnabled. [Upstream] Added BYON, webpack proxy, and CORS heading fix. Updated with REST api notebook image endpoints and new notebook image types. Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Updated type.ts in front end with Succeeded [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Rebased BYON from master (opendatahub-io#162) * Updated way that to detect an admin. (opendatahub-io#137) Fixed linting error. * Update backend port setting and makefile dev commands. (opendatahub-io#133) * Update README.md (opendatahub-io#96) Updated Readme to specify that a build is required prior to running the development server. * Fix for input not allowing blank spaces.: Fix to allow a user to enter an empty string. Fixed with review comment. * Add culler timeout settings feature (opendatahub-io#134) * Added types for notebookimage and status (opendatahub-io#147) Updated with REST api notebook image endpoints and new notebook image types. * Updated REST API (opendatahub-io#155) * Updated with REST API design changes. Fixed formatting error. * Update backend/src/types.ts Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * Updated type.ts in front end with Succeeded * [byon] Implement backend (opendatahub-io#156) * feat(byon): List all notebooks Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Get single notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * fix(byon): Update api spec to include software and id Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Schedule new notebook import Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Delete notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * feat(byon): Update notebook Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Christopher Chase <cchase@redhat.com> Co-authored-by: Chad Roberts <croberts@redhat.com> Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com> Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Feat add creator annotation (opendatahub-io#170) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow to patch name and description on notebook (opendatahub-io#172) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat(byon): Allow python dependency visibility field changes (opendatahub-io#173) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Added code for importing byon image. (opendatahub-io#171) Updated front end code with import and start of table. Updated with byon changes Updated code with byon ui changes. Integrated import, delete, and get functionality for notebooks. Added start of edit panel. Updated build error fixes. Updates to edit dialog and linting cleanup. Added sort to table. Added filtering. Added failure warning to allow user to click Add check disable enabling failed notebook images Fixed with review comments. Fixed time bug. Removed admin Update backend port setting and makefile dev commands. (opendatahub-io#133) Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127) Fixed issues with cherry picks. Fixed additional git cherry pick issues. Added ability to add packages, modify packages, etc. Added software package on import. Added additional table and fix some styling issues. Fixed issue where form was submitted. Updated import in notebooksUtils.ts Updated code to work with image streams instead of pipelines. Fixed linting errors. Fixed empty software package bug. Fixed bugs found during testing. Notebook image table update. Fixed error where not showing the empty state. Fixed table issue. Add another update of the notbook image table. Fixed issue where notebook would description disappeared. Fixed missing notification. Prevent duplicate names. Fixed issue with notebook images not updating correctly.
Updated with REST api BYON notebook image endpoints and new notebook image types.
Here is a link to the BYON REST api:
https://studio-ws.apicur.io/sharing/f34aaaa8-58e0-48fb-b36f-1d91ac5ebf48
Relates to issue #140 and open-services-group/byon#18