From 489c4d97fdf88179f154b69a641086bc6a63758e Mon Sep 17 00:00:00 2001 From: Bryan Paget Date: Thu, 22 Sep 2022 14:16:02 -0400 Subject: [PATCH] Feature 1.6 passes tests (#102) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * releasing: Add WG-Notebooks leads to release owners (#5777) Signed-off-by: Yannis Zarkadas * Specify commonLabels for tensorboard-controller (#5780) * Remove jlewi as an approver (#5786) Removing myself as an owner. This should lead to better auto-assignment of code reviews. * Update notebook server base images (#5804) * Update second layer docker images to new tags and some python deps (#5809) * Update image tags and python packages in pytorch and tensorflow full dockerfiles (#5817) * Add CI format checks for the Jupyter web app (#5811) * jwa(front): Add npm rule for checking the format Signed-off-by: Kimonas Sotirchos * ci: Add common tasks for format checks Signed-off-by: Kimonas Sotirchos * ci(jwa): Add format check tasks Signed-off-by: Kimonas Sotirchos * jwa(back): Fix formatting Signed-off-by: Kimonas Sotirchos * jwa(front): Fix formatting Run `npm run format:write` on frontend Signed-off-by: Kimonas Sotirchos * jwa(front): Include prettier in package.json Signed-off-by: Kimonas Sotirchos * jwa(docker): Don't copy node_modules in Dockerfile Signed-off-by: Kimonas Sotirchos * web-apps: Add global dockerignore file Signed-off-by: Kimonas Sotirchos * jwa: Remove unused dockerignore file Signed-off-by: Kimonas Sotirchos * jwa(make): Don't include dockerignore and cleanup Signed-off-by: Kimonas Sotirchos * initial notebook server images README.md (#5818) * tensorboard-controller: Fix scheduling unbound PVCs (#5819) When the TB controller attempts to schedule a RWO PVC it checks its accessModes in the PVC status. The controller panics if the list is empty. This commit adds a check to ensure the list is not empty. Signed-off-by: Ilias Katsakioris * Fix profile-controller CRD pruning issue (#5822) * api: Add marker for preserving unknown fields in Plugins Signed-off-by: Yannis Zarkadas * manifests: Regenerate manifests Signed-off-by: Yannis Zarkadas * Remove Logo Trademarks from the Jupyter Web App and make logos configurable (#5823) * rebase: Make logos configurable in configmap and remove trademark references Rebased to remove the changes to the package-lock.json * review: add suggested changes and add image group section to README * Make notebook limits configurable with a multiplication factor (#5815) * Make notebook limits configurable with a multiplication factor * Make limits configurable under advanced section * run prettier to format frontend code * fix formatting and add rounding in backend * Return error if limit is smaller than request * Allow disabling limitFactor by setting it to none * review: remove camelCase in python backend * fix: update spawner_ui_config.yaml in manifests directory * review: fix setting limits backend * review: remove unnecessary check from backend * notebook-servers: Update JupyterLab and add Git Extension (#5846) * chore: Add comment to reference RStudio license. (#5884) * CI/CD: add kustomize build tests (#5919) * Add CI format checks for the Volumes web app (#5820) * vwa(front): Add npm script to check the formatting Signed-off-by: Kimonas Sotirchos * vwa(front): Update the package-lock.json Run `npm install` to bring the package-lock.json up to date Signed-off-by: Kimonas Sotirchos * vwa(front): Fix formatting Signed-off-by: Kimonas Sotirchos * vwa(back): Fix formatting Signed-off-by: Kimonas Sotirchos * vwa(docker): Remove unused dockerignore file We have created a global dockerignore file for all the web apps in the parent dir. Signed-off-by: Kimonas Sotirchos * vwa(docker): Don't copy node_modules in dockerfile Signed-off-by: Kimonas Sotirchos * vwa(make): Don't include dockerignore Signed-off-by: Kimonas Sotirchos * ci(vwa): Add format check tasks Signed-off-by: Kimonas Sotirchos * jwa(docker): Copy only necessary files for build Signed-off-by: Kimonas Sotirchos * review: Use docker context instead of cd .. Don't use a `cd ..` and copy dockerignore files back and forth. Instead we should use the Docker context and the global dockerignore file we have for all the web apps. Signed-off-by: Kimonas Sotirchos * tensorboard-controller: fix binding issue (#5925) * JWA: Don't override assets with logos ConfigMap (#5942) * jwa(front): Add static logos in the app The app does not contain the logos' svgs in its source code/static files. This results in the icons to not show when developing locally. This commit adds the svgs found in the logos ConfigMap to the static files of the app as well. Signed-off-by: Kimonas Sotirchos * jwa(front): Change logos fetch url Change the URLs of the logos from `static/assets/*` to `static/assets/logos`. Signed-off-by: Kimonas Sotirchos * jwa(manifests): Don't override assets with logos Mount the ConfigMap under the `static/assets/logos` directory to not override the contents of the entire assets dir. Signed-off-by: Kimonas Sotirchos * Make it possible to add Namespaced menu items (#5871) * Make it possible to add Namespaced menu items * Reduce the nesting levels * FIX The number of gpu must be set as string in Kubernetes/Openshift (#5891) * Update form.py * Update form.py * Update form-default.component.ts * fix whitespace issue * feat(jupyter): add fonts as assets to service (#5691) * cwa(front): Ignore font files in assets * feat(jupyter): add fonts as assets to service * CRUD: fonts in common * CWA: Remove link to css file * jwa(front): Remove font assets from jupyter Co-authored-by: Wendy Gaultier * Update base notebook for Renovate compatibility (#5955) * Update base notebook for Renovate compatibility * Separate kubectl and S6 arch * Update jupyter, rstudio and vs code notebook images + allow rstudio in iframe (#5961) * Update jupyter, rstudio and vs code notebook images * Remove sed and use substring removal * Make menu bar scrollable again (#5964) * [fix]: Make jupyter-web-app parse workspace volume MountPath (#5952) * [fix]: Make jupyter-web-app parse workspace volume MountPath - workspace volume path was fixed with "/home/jovyan" - it should be enable to parse from jupyter-web-app-config's data * change parsing key correctly * Remove the f-strings in the Jupyter web app's backend (#5680) * Notebook servers: Add explanation about kernel not connecting (#5920) * fix(profile-controller): KNative probes (#5848) Knative control-plane components need to probe certain paths of Knative Pods, in order to function correctly. These paths are: - /healthz - /metrics - /ready - /wait-for-drain For this reason, we extend the Profile Controller to apply an Istio AuthorizationPolicy that allows traffic to these HTTP paths for Pods in user namespaces, as per Knative's instructions: https://knative.dev/docs/serving/istio-authorization/#allowing-access-from-system-pods-by-paths This only fixes requests through the public ingress. Cluster-internal traffic and predictor-transformer use-cases are not supported yet. We continue discussing these in kubeflow#5965. Refs kubeflow#5965 Refs kubeflow/kfserving#1558 Signed-off-by: Yurii Komar * feat(jupyter): Support hiding image registry/tag (#5681) * feat(jupyter): Support hiding image registry/tag * feat(jupyter): Support hiding VSCode/RStudio images registry/tag * rebasing onto upstream master * fix: formatting with prettier and set default hideRegistry=true * fix: move hideRegistry and hideTag from spawnerFormDefaults.image * fix whitespace * add tooltip for images Co-authored-by: JessicaBarh * Update dockerfiles and make compatible with Renovate (#5968) * Update dockerfiles and make compatible with Renovate * Set memory for jupyter pytorch to the same as jupyter tensorflow * Update protobuf * Remove conda version and use substring expansion * Update SQLAlchemy * Update dill * Create OWNERS file in .github folder for Renovate config + workflows (#5983) * Extend deadline for PyTorch image building (#5991) * Allow user to add/delete labels to user namespace using ConfigMap. Fix #5712 (#5761) The profile-controller applies a hardcoded list of labels to Profile namespaces. Make this list of labels configurable with a ConfigMap. The new list of steps for the profile-controller is: 1. **(new)** Profile-controller starts and reads the file given by the `--namespace-labels-path` CLI flag (defaults to `/etc/profile-controller/namespace-labels.yaml`). This file contains a YAML dict of label key/values to add to each Profile namespace. 2. Profile-controller creates namespace. 3. Profile-controller merges existing namespace labels with given labels. A given label is applied ONLY if it doesn't exist already. 4. **(new)** If a given label value is empty (``), remove the label from the namespace if it already exists. We are using a ConfigMap instead of a plain CLI flag, so that users can change the list of labels without restarting the profile-controller. Closes #5712 Signed-off-by: Yannis Zarkadas Co-authored-by: James Liu Co-authored-by: Yannis Zarkadas * Update last batch of notebook server Dockerfiles (#5997) * Update spawner_ui_config.yaml with new tags (#5998) * Update images in spawner_ui_config.yaml * Update manifest image tags * CRUD web apps: i18n (#5880) * feat(jupyter): add modules for translations * feat(jupyter): fix path for translations + add GPU translations * feat(jupyter): add translations * feat(jupyter): add translations to form-default * feat(jupyter): add translations to affinity/tolerations * feat(jupyter): add translations to Image Pull Policy * feat(jupyter): remove imports from app.module.ts + fix translations * web-apps(front): add TranslationModule to common for jupyter * Implement i18n for jupyter frontend - Including common components needed - Refactor translation file * web-apps(front): add i18n to messages from backend Status tooltip text Snackbar message * web-apps(front): volumes and tensorboards i18n ini Add the i18n feature for the other 2 projects * feat(volume): add translations for volume * feat(jupyter): refactor asset file * Update asset files for all folders * feat(tensorboards): add i18n Update all asset files * cwa: add new translations * cwa: Add README documentation * fix: formatting with prettier * Fix tests * Fix python format * remove comment Co-authored-by: saffaalvi Co-authored-by: Jose-Matsuda * Remove deprecated JWA (#5959) Signed-off-by: Kimonas Sotirchos * Sync spawner yaml from source to manifests (#5999) * notebooks: Add additional PGP server for RStudio package validation (#6010) * Change PGP server for RStudio validation to pgp.surfnet.nl * Add as secondary keyserver * Add support for ServiceAccountName and AutomountServiceAccountName to admission-webhook (#5939) * WA: Use relative paths for fetching translation files (#6034) * jwa(front): Use relative path for i18n json Signed-off-by: Kimonas Sotirchos * vwa(front): Use relative path for i18n json Signed-off-by: Kimonas Sotirchos * twa(front): Use relative path for i18n json Signed-off-by: Kimonas Sotirchos * Update CRUD web apps from Angular 8 to Angular 12 (#6004) * common: update angular core and cli to 9 ng update @angular/core@9 @angular/cli@9 * common: update material, cdk and cdk-experimental to 9 ng update @angular/cdk@9 @angular/material@9 @angular/cdk-experimental@9 * common: remove entryComponents and replace TestBed.get with TestBed.inject Edit files manually * common: make compatible with Angular 9 Edit files manually * common: update fontawesome to 0.6.0 npm i @fortawesome/angular-fontawesome@0.6.0 * update kubeflow-common project dependencies * common: add @angular/localize ng add @angular/localize * jupyter: update angular core and cli 8 ng update @angular/core@8 @angular/cli@8 * jupyter: update angular core and cli to 9 ng update @angular/core@9 @angular/cli@9 * jupyter: update material, cdk and cdk-experimental to 9 ng update @angular/cdk@9 @angular/material@9 @angular/cdk-experimental@9 * jupyter: remove entryComponents Edit file manually * jupyter: update fontawesome to 0.6.0 npm i @fortawesome/angular-fontawesome@0.6.0 * jupyter: add @angular/localize ng add @angular/localize * tensorboards: update angular core and cli to 9 ng update @angular/core@9 @angular/cli@9 * tensorboards: update material, cdk and cdk-experimental to 9 ng update @angular/cdk@9 @angular/material@9 @angular/cdk-experimental@9 * tensorboards: remove entryComponents and replace TestBed.get with TestBed.inje… Edit files manually * tensorboards: update fontawesome to 0.6.0 npm i @fortawesome/angular-fontawesome@0.6.0 * tensorboards: add @angular/localize ng add @angular/localize * Fix tensorboards-web-app run-dev in makefile Edit file manually * volumes: update angular core and cli to 9 ng update @angular/core@9 @angular/cli@9 * volumes: update material, cdk and cdk-experimental to 9 ng update @angular/cdk@9 @angular/material@9 @angular/cdk-experimental@9 * volumes: remove entryComponents and replace TestBed.get with TestBe… Edit files manually * volumes: update fontawesome to 0.6.0 npm i @fortawesome/angular-fontawesome@0.6.0 * volumes: add @angular/localize ng add @angular/localize * common: update angular core and cli to 10 ng update @angular/core@10 @angular/cli@10 --force * common: update material, cdk and cdk-experimental to 10 ng update @angular/cdk@10 @angular/material@10 @angular/cdk-experimental@10 * update kubeflow-common project dependencies Edit file manually * common: update fontawesome to 0.7.0 npm i @fortawesome/angular-fontawesome@0.7.0 * common: fix font location Edit file manually * jupyter: update angular-fontawesome to 0.7.0 npm i @fortawesome/angular-fontawesome@0.7.0 * jupyter: update angular core and cli to 10 ng update @angular/core@10 @angular/cli@10 * jupyter: update material, cdk and cdk-experimental to 10 ng update @angular/cdk@10 @angular/material@10 @angular/cdk-experimental@10 * tensorboards: update angular-fontawesome to 0.7.0 npm i @fortawesome/angular-fontawesome@0.7.0 * tensorboards: update angular core and cli to 10 ng update @angular/core@10 @angular/cli@10 * tensorboards: update material, cdk and cdk-experimental to 10 ng update @angular/cdk@10 @angular/material@10 @angular/cdk-experimental@10 * volumes: update angular-fontawesome to 0.7.0 npm i @fortawesome/angular-fontawesome@0.7.0 * volumes: update angular core and cli to 10 ng update @angular/core@10 @angular/cli@10 * volumes: update material, cdk and cdk-experimental to 10 ng update @angular/cdk@10 @angular/material@10 @angular/cdk-experimental@10 * common: update angular-fontawesome to 0.8.2 npm i @fortawesome/angular-fontawesome@0.8.2 * common: update codelyzer to 6.0.2 npm i codelyzer@6.0.2 * common: install @angular-devkit/core@11 npm install --save-dev @angular-devkit/core@11 * common: update angular core and cli to 11 ng update @angular/core@11 @angular/cli@11 * common: update material, cdk and cdk-experimental to 11 ng update @angular/cdk@11 @angular/material@11 @angular/cdk-experimental@11 * update kubeflow-common project dependencies Edit file manually * jupyter: update angular-fontawesome to 0.8.2 npm i @fortawesome/angular-fontawesome@0.8.2 * jupyter: update codelyzer to 6.0.2 npm i codelyzer@6.0.2 * jupyter: update angular core and cli to 11 ng update @angular/core@11 @angular/cli@11 * jupyter: update material, cdk and cdk-experimental to 11 ng update @angular/cdk@11 @angular/material@11 @angular/cdk-experimental@11 * tensorboards: update angular-fontawesome to 0.8.2 npm i @fortawesome/angular-fontawesome@0.8.2 * tensorboards: update codelyzer to 6.0.2 npm i codelyzer@6.0.2 * tensorboards: update angular core and cli to 11 ng update @angular/core@11 @angular/cli@11 * tensorboards: update material, cdk and cdk-experimental to 11 ng update @angular/cdk@11 @angular/material@11 @angular/cdk-experimental@11 * volumes: update angular-fontawesome to 0.8.2 npm i @fortawesome/angular-fontawesome@0.8.2 * volumes: update codelyzer to 6.0.2 npm i codelyzer@6.0.2 * volumes: update angular core and cli to 11 ng update @angular/core@11 @angular/cli@11 * volumes: update material, cdk and cdk-experimental to 11 ng update @angular/cdk@11 @angular/material@11 @angular/cdk-experimental@11 * common: Fix CI failure * jupyter: npm run format:write npm run format:write * volumes: npm run format:write npm run format:write * tensorboards: manually run prettier prettier --write 'src/**/*.{js,ts,html,scss,css}' * common: Fix MockComponent entryComponents for CI Manually edit file * common: update angular-fontawesome to 0.9.0 npm i @fortawesome/angular-fontawesome@0.9.0 * common: update angular core and cli to 12 ng update @angular/core@12 @angular/cli@12 * common: update material, cdk and cdk-experimental to 12 ng update @angular/cdk@12 @angular/material@12 @angular/cdk-experimental@12 * update kubeflow-common project dependencies Edit file manually * common: fix Intl.DateTimeFormatOptions Edit file manually. Type of defaultDateOptions and defaultTimeOptions needs to explicitly be set to Intl.DateTimeFormatOptions. * jupyter: update angular-fontawesome to 0.9.0 npm i @fortawesome/angular-fontawesome@0.9.0 * jupyter: update codelyzer to 6.0.2 npm i codelyzer@6.0.2 * jupyter: update angular core and cli to 12 ng update @angular/core@12 @angular/cli@12 * jupyter: update material, cdk and cdk-experimental to 12 ng update @angular/cdk@12 @angular/material@12 @angular/cdk-experimental@12 * tensorboards: update angular-fontawesome to 0.9.0 npm i @fortawesome/angular-fontawesome@0.9.0 * tensorboards: update angular core and cli to 12 ng update @angular/core@12 @angular/cli@12 * tensorboards: update material, cdk and cdk-experimental to 12 ng update @angular/cdk@12 @angular/material@12 @angular/cdk-experimental@12 * volumes: update angular-fontawesome to 0.9.0 npm i @fortawesome/angular-fontawesome@0.9.0 * volumes: update angular core and cli to 12 ng update @angular/core@12 @angular/cli@12 * volumes: update material, cdk and cdk-experimental to 12 ng update @angular/cdk@12 @angular/material@12 @angular/cdk-experimental@12 * common: update and audit packages npm update && npm audit fix && npm i lodash-es@4.17.21 && npm i material-icons@0.7.3 * jupyter: update and audit packages npm update && npm audit fix && npm i material-icons@0.7.3 * tensorboards: update and audit packages npm update && npm audit fix && npm i material-icons@0.7.3 * volumes: update and audit packages npm update && npm audit fix && npm i material-icons@0.7.3 * jupyter: npm run format:write npm run format:write * lists roadmap in reverse chronological order (#6055) Signed-off-by: Malini Bhandaru * Correct missing predicates in controller watches. Fixes #5326 (#5873) Co-authored-by: Filinto Duran * fix(web-apps): Use Angular's i18n proposed implementation (#6065) * jwa(front): Add i18n for french in angular.json Signed-off-by: Kimonas Sotirchos * jwa(front): Add i18n rules in package.json Signed-off-by: Kimonas Sotirchos * jwa(front): i18n FormImage Signed-off-by: Kimonas Sotirchos * jwa(front): i18n FormAdvancedOptions Signed-off-by: Kimonas Sotirchos * jwa(front): i18n FormAffinityTolerations Signed-off-by: Kimonas Sotirchos * jwa(front): i18n FormConfigurations Signed-off-by: Kimonas Sotirchos * jwa(front): i18n FormCpuRam Signed-off-by: Kimonas Sotirchos * jwa(front): i18n FormDataVolumes Signed-off-by: Kimonas Sotirchos * jwa(front): i18n FormGpus Signed-off-by: Kimonas Sotirchos * jwa(front): i18n FromName Signed-off-by: Kimonas Sotirchos * jwa(front): i18n FormWorkspaceVolume Signed-off-by: Kimonas Sotirchos * jwa(front): i18n Volume Signed-off-by: Kimonas Sotirchos * web-apps(front): i18n BackendService Signed-off-by: Kimonas Sotirchos * web-apps(front): Add localize to peerDependencies Signed-off-by: Kimonas Sotirchos * web-apps(front): Import $localize in library Signed-off-by: Kimonas Sotirchos * web-apps(front): i18n RokService Signed-off-by: Kimonas Sotirchos * jwa(front): i18n Form Signed-off-by: Kimonas Sotirchos * jwa(front): i18n BackendService Signed-off-by: Kimonas Sotirchos * web-apps(front): i18n ConfirmDialog Signed-off-by: Kimonas Sotirchos * jwa(front): i18n Index Signed-off-by: Kimonas Sotirchos * web-apps(front): i18n ResourceTable Signed-off-by: Kimonas Sotirchos * web-apps(front): i18n SnackBar Signed-off-by: Kimonas Sotirchos * web-apps(front): i18n Form Signed-off-by: Kimonas Sotirchos * web-app(front): i18n NameNamespaceSelector Signed-off-by: Kimonas Sotirchos * web-apps(front): Remove ngx-translate Signed-off-by: Kimonas Sotirchos * jwa(front): i18n App Signed-off-by: Kimonas Sotirchos * jwa(front): Remove ngx-translate from package.json Signed-off-by: Kimonas Sotirchos * jwa(back): Don't parse keys in status Signed-off-by: Kimonas Sotirchos * vwa(back): Revert backend messages Signed-off-by: Kimonas Sotirchos * jwa(front): Update translation language files Signed-off-by: Kimonas Sotirchos * web-apps(back): Don't parse keys in status Signed-off-by: Kimonas Sotirchos * vwa(front): Add i18n for french in angular.json Signed-off-by: Kimonas Sotirchos * vwa(front): Add i18n rules in package.json Signed-off-by: Kimonas Sotirchos * vwa(front): i18n Form Signed-off-by: Kimonas Sotirchos * vwa(front): i18n Index Signed-off-by: Kimonas Sotirchos * vwa(front): i18n BackendService Signed-off-by: Kimonas Sotirchos * vwa(front): i18n App Signed-off-by: Kimonas Sotirchos * vwa(front): Remove ngx-translate from package.json Signed-off-by: Kimonas Sotirchos * vwa(front): i18n Form Signed-off-by: Kimonas Sotirchos * vwa(front): Update translation language files Signed-off-by: Kimonas Sotirchos * twa(back): Revert backend messages Signed-off-by: Kimonas Sotirchos * twa(front): Add i18n rules in package.json Signed-off-by: Kimonas Sotirchos * twa(front): Add i18n for french in angular.json Signed-off-by: Kimonas Sotirchos * twa(front): i18n Index Signed-off-by: Kimonas Sotirchos * twa(front): i18n BackendService Signed-off-by: Kimonas Sotirchos * twa(front): i18n App Signed-off-by: Kimonas Sotirchos * twa(front): Update translation language files Signed-off-by: Kimonas Sotirchos * twa(front): Remove ngx-translate from package.json Signed-off-by: Kimonas Sotirchos * wa: Update READMEs Signed-off-by: Kimonas Sotirchos * web-apps(front): Add localize when testing Signed-off-by: Kimonas Sotirchos * [CentralDashboard] Add entry for Models web app (#6085) Signed-off-by: Kimonas Sotirchos * Interact with the namespace selector (#5995) * Interact with the namespace selector * Use namespace given as an argument * Keep the index of selected item * fix(jwa): Fix limits calculation when limitFactor is none (#6058) * jwa(front): Don't allow NaN values in limits The UI should always catch a NaN value and don't add it in the form. Currently this is the case for the cpu/memory limits. Signed-off-by: Kimonas Sotirchos * jwa(front): Limits should not be changed if dirty If the user has manually edited the limits fields then the UI should not try to automatically calculate them again, using the limitFactors. Signed-off-by: Kimonas Sotirchos * Fix NaN in Kubeflow Notebooks (#6092) * Fix NaN in Kubeflow Notebooks * add a validation check for NaN values * fix: validation check if value is None * lint: fix line length * add section for 1.4; small updates for 1.3 section (#6082) * add section for 1.4; small updates for 1.3 section * refer to training operators consistently; add link to Notebooks roadmap. * address @Bobgy feedback regarding Kubeflow Pipelines portions of 1.4 roadmap * Remove virtualservice timeout to prevent websocket disconnect (#6126) In the existing version, the 'timeout: 300s' added to the notebook's virtual service would cause websockets to disconnect at the 5 minute mark, causing the Jupyter Notebook web terminal function to hang. This is described in https://github.com/kubeflow/kubeflow/issues/6124. * fix(admission-webhook): attach namespace to pod request if pod does not have it (#6052) * fix(admission-webhook): attach namespace to pod request if pod does not have it * Apply suggestions from code review Add more explicit logs Co-authored-by: Erhan Kesken * Add more explicit log Co-authored-by: Erhan Kesken Co-authored-by: Erhan Kesken * Fix notebook base image gpg keys (#6138) * update links for new testing infra (#6144) * Add more root OWNERS (#6146) * Improve README for example-notebook-servers (#6165) * jwa(front): Don't disable vendors with no GPUs (#6171) JWA should not block users from selecting GPUs if the current cluster nodes do not have any GPUs attached to them. We've seen users that have autoscaled nodegroups for GPUs, so a GPU node will be added to the cluster once a Pod has requested it. Refs: arrikto/dev#1484 Signed-off-by: Kimonas Sotirchos * Bump Golang version in PodDefaults, TensorBoard Controller and KFAM to 1.17 (#6180) * kfam: Upgrade go to 1.17 Update to a more recent docker image that has a newer version of openssl. Signed-off-by: Kimonas Sotirchos * poddefaults: Upgrade go to 1.17 Update to a more recent docker image that has a newer version of openssl. Signed-off-by: Kimonas Sotirchos * tensorboards: Upgrade go to 1.17 Update to a more recent docker image that has a newer version of openssl. Signed-off-by: Kimonas Sotirchos * Update Notebooks README regarding custom packages (#6176) Signed-off-by: Kimonas Sotirchos * Fix reference to PodPreset as PodDefault (#6184) * fix: tensorboard-controller is killed due to out of memory (#6148) * Update manager.yaml * Update manager.yaml * fix(web-apps): Use relative path for --deploy-url build. #5566 (#6206) * fix(web-apps): Use relative path for --base-href build * volume web app should use volume base-href * Document for cutting Kubeflow website release. (#6198) * Document for cutting Kubeflow website release. * Update docs_dev/releasing.md Co-authored-by: Shannon Bradshaw * Update docs_dev/releasing.md Co-authored-by: Shannon Bradshaw * address comment * canonical name Co-authored-by: Shannon Bradshaw * Change namespace label for Katib metrics collector injection (#6225) * fix(backend): tensorboard-controller does not work because of missing permissions (#6216) * add(web-apps): i18n Fr translations (#6122) * chore(docs): It's better to refer to the cli documents, not repo's readme (#6239) * fix(docs): Fix the 404 K8s docs link (#6236) * nit: typo in README.md (#6211) * web-apps(front) : change error msg for min (#6193) * Centraldashboard/add uncaughtexception handler (#6203) * Central dashboard - Add global uncaught exception handler * fix comments * Fix(frontend): Upgrade ts node to v4 (#6242) * Upgrade ts-node to v10 * Update lock * admission-webhook-manifests: Update the cert manager from v1alpha2 to v1 (#6230) * Short term updates to Published Kubeflow Roadmap (#6248) 3 changes - Add info on Kubeflow 1.5 and 1.4.1. Update roadmap to show that Kubeflow 1.4 was delivered. * Upgrade the google cloud monitoring node.js client (#6210) * Upgrade the google cloud monitoring node.js client * Update package-lock.json * Upgrade TypeScript to v4 * Update package-lock.json * run tslint * fix dashboard sending malformed headers to kfam (#6186) * correct typo - track to tracked (#6264) corrected typo "track" to "tracked" * centraldashboard: Update node and use latest-stable (#6260) Change the tests to NOT fetch Chromium from the Edge branch, which is develop, but instead use latest-stable. We saw that edge can have problems from times to times. In the same commit we also update the node version to fix CVEs with the current v12.18.3 version that we had. Signed-off-by: Kimonas Sotirchos * Tell user to select a namespace to access namespaced menu item (#6181) * Fix unnecessary updates of istio AuthorizationPolicy (#6269) * Introduce a basic proposals flow for more advanced features (#6272) * Introduce a proposals dir for Notebooks Signed-off-by: Kimonas Sotirchos * Move the proposals dir under components Signed-off-by: Kimonas Sotirchos * Secure access to KFAM (#6077) * fix(notebooks) make culling work with multi-user (#5128) (#5980) * JWA: Very basic E2E tests to run locally (#6005) * web-apps(front): Add test attrs selectors Signed-off-by: Kimonas Sotirchos * jwa(front): Update gitignore for cypress files Signed-off-by: Kimonas Sotirchos * jwa(front): Install cypress & npm scripts for e2e Signed-off-by: Kimonas Sotirchos * jwa(e2e): Add first cypress tests Signed-off-by: Kimonas Sotirchos * jwa: Update the README for e2e instructions Signed-off-by: Kimonas Sotirchos * chore: remove Bobgy from OWNERS * frontend: Use responsive tables instead of cards (#6316) * jwa(front): Make ng lint work by ignoring e2e/tsconfig.json Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * web-apps(front): Make the table responsive We introduced all of our changes in the underlying TableComponent. This component can then be either used independently or inside a material card. The changes we did in that component are: 1. Create Output() emitters, since this component can be used directly 2. The config object for a Table row now supports a `style` prop for defining the list of CSS styles to be applied 2. Remove the truncate classes (small, medium, large) and only have a boolean value. The user can define the width directly now via the `style` property in the row's config 3. Modify the classes for aligning contents right and left Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * web-apps(front): Add table paginator Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * web-apps(front): Add padding to titlebar text Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * web-apps(front): Use bigger font for toolbar title Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Use responsive table and toolbar We refactor both the index and form pages of the app to: 1. Add a top row toolbar with the title of the app and the button to create a new Notebook 2. Replace the card with a responsive table that shows the items. The component also has a paginator Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * vwa(front): Use responsive table and toolbar This commit: 1. Adds a toolbar at the top of the index page with the title of the app and the button to create a new volume 2. Replaces the card with a responsive table Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * twa(front): Use responsive table and toolbar This commit: 1. Adds a toolbar at the top of the index page with the title of the app and a button to create a new TensorBoard instance 2. Replaces the card with a resopnsive table Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * fix the format Signed-off-by: Kimonas Sotirchos * wa(front): Add npm script for running unit tests in docker Signed-off-by: Kimonas Sotirchos * fix unit tests failing Signed-off-by: Kimonas Sotirchos * Don't use asterisk in Dockerfiles (#6318) * wa(docker): Don't copy node_modules To ensure Kaniko is not copying stale node_moduels folders, even though we have a dockerignore file, we are explicitly only copying the source code. We have seen the build system with Kaniko to fail, due to NFS stale instances with files in node_modules and expect that this is the root cause. Signed-off-by: Kimonas Sotirchos * twa: Update makefile to use global dockerignore The dockerfile for TWA was copying over the local dockerignore. This was overriding the global one we had for all the web apps. This commit updates the Makefile of the app to use the global dockerignore that all the apps should use. Signed-off-by: Kimonas Sotirchos * Bump log4js from 6.3.0 to 6.4.1 in /components/crud-web-apps/common/frontend/kubeflow-common-lib (#6309) Bumps [log4js](https://github.com/log4js-node/log4js-node) from 6.3.0 to 6.4.1. - [Release notes](https://github.com/log4js-node/log4js-node/releases) - [Changelog](https://github.com/log4js-node/log4js-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/log4js-node/log4js-node/compare/v6.3.0...v6.4.1) --- updated-dependencies: - dependency-name: log4js dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump postcss from 7.0.16 to 7.0.39 in /components/centraldashboard (#6308) Bumps [postcss](https://github.com/postcss/postcss) from 7.0.16 to 7.0.39. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/7.0.16...7.0.39) --- updated-dependencies: - dependency-name: postcss dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump log4js from 6.3.0 to 6.4.1 in /components/crud-web-apps/tensorboards/frontend (#6311) Bumps [log4js](https://github.com/log4js-node/log4js-node) from 6.3.0 to 6.4.1. - [Release notes](https://github.com/log4js-node/log4js-node/releases) - [Changelog](https://github.com/log4js-node/log4js-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/log4js-node/log4js-node/compare/v6.3.0...v6.4.1) --- updated-dependencies: - dependency-name: log4js dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump log4js from 6.3.0 to 6.4.1 in /components/crud-web-apps/volumes/frontend (#6310) Bumps [log4js](https://github.com/log4js-node/log4js-node) from 6.3.0 to 6.4.1. - [Release notes](https://github.com/log4js-node/log4js-node/releases) - [Changelog](https://github.com/log4js-node/log4js-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/log4js-node/log4js-node/compare/v6.3.0...v6.4.1) --- updated-dependencies: - dependency-name: log4js dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump log4js from 6.3.0 to 6.4.1 in /components/crud-web-apps/jupyter/frontend (#6312) Bumps [log4js](https://github.com/log4js-node/log4js-node) from 6.3.0 to 6.4.1. - [Release notes](https://github.com/log4js-node/log4js-node/releases) - [Changelog](https://github.com/log4js-node/log4js-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/log4js-node/log4js-node/compare/v6.3.0...v6.4.1) --- updated-dependencies: - dependency-name: log4js dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update images for the 1.5 rc0 release (#6319) * Update the releasing version tag Signed-off-by: Kimonas Sotirchos * Run automated script for updating versions Signed-off-by: Kimonas Sotirchos * Fix(manifests): Upgrade rbac.authorization.k8s.io from v1beta1 to v1 (#6261) * proposal: Extend Notebook Controller to expose idleness for Jupyter (#6295) * proposal: Extend Notebook Controller to expose idleness for Jupyter (#6270) Provide a design doc as a proposal for extending Notebook Controller to expose idleness for Jupyter. Our proposal is in markdown format and follows the guidelines of the kubeflow/components/proposal/README.md guide. You can view the #6270 issue in the following link: https://github.com/kubeflow/kubeflow/issues/6270 Signed-off-by: Athanasios Markou * review: change the title of the proposal Change the title of the proposal to only include the proposed new feature. The new title of the proposal will now be "Expose Idleness Information for Jupyter Notebooks". * review: rename the proposal markdown file We want to give a more specific name to the markdown which contains the proposal. Since this proposal emphasizes on a feature regarding the Jupyter Notebooks, the new name will be: 20220121-jupyter-notebook-idleness.md * Synchronize jupyter-web-application role with clusterrole (#6241) * Update role.yaml * Update role.yaml * Update cluster-role.yaml * Kubeflow Roadmap update - with 1.5 details (#6266) * Kubeflow Roadmap update - with 1.5 details These proposed changes include: identifying that 1.4.1 has been delivered, provides themes for 1.5 and provides details of major features in 1.5 by working group. This is an initial proposal that needs review by the working group leads. * correct formatting in KFP features Moved KFP features under KFP Control Flow doc * updating KFP section updating KFP references with updates from KFP team * Updated the 1.5 release date to March updated the 1.5 release date to March * Update ROADMAP.md change Hyperparameter leader election to Katib leader election Co-authored-by: Andrey Velichkevich * Update ROADMAP.md improve description and details of feature for metrics collector Co-authored-by: Andrey Velichkevich * Update Katib description for Early stopping in 1.5 updating with Andrey's suggestion (but without the world proper). * Validation for Early Stopping algorithm settings helps users to proper reduce model overfitting Co-authored-by: Andrey Velichkevich * notebooks: Extend Notebook Controller to expose idleness for Jupyter (#6297) * notebooks: Update image's tag in make Modify Makefile to update properly the TAG based on the git TAG. Signed-off-by: Athanasios Markou Reviewed-by: Kimonas Sotirchos * notebooks: Expose last-activity Extend the notebook-controller to: * cull idle Notebook Servers based on their new `last-activity` annotation * expose the last activity of each Notebook Server as an annotation on the metadata of the corresponding CR object Modify notebook_controller.go to: * update the Last Activity of each Notebook Server that has a Running pod * delete the Last Activity Annotation for every Notebook Server that does not have a Running pod Extend culler.go to: * perform culling based on the new `last-activity` annotation and not based on the `/api/status` endpoint. * update the last activity of a Notebook Server, based on the kernels' execution states. Signed-off-by: Kimonas Sotirchos Reviewed-by: Athanasios Markou * notebooks: Introduce a DEV env var We introduce a DEV ENV var to allow admins develop and test on their local machine their custom Notebook Controller. We provide information and instructions inside the components/notebook-controller/README.md. Signed-off-by: Athanasios Markou Reviewed-by: Kimonas Sotirchos * notebooks: Add unit tests for last-activity * Introduce new tests for allKernelsAreIdle() * Extend the tests for NotebookIsIdle() and for NotebookNeedsCulling(). Signed-off-by: Athanasios Markou Reviewed-by: Kimonas Sotirchos * review: UpdateNotebookLastActivityAnnotation() Ensure that UpdateNotebookLastActivityAnnotation() does not return "true". This function should not return any value. Signed-off-by: Athanasios Markou * jwa: Rework the Storage API of the web app (#6321) * wa(back): Add helper for deserializing JSON obj In some cases we might need to construct Python k8s lib objects from the JSONs that are provided by clients. I.e. the UI will be sending a PVC object in json format, so the backend will need to create the corresponding client.V1PersistentVolumeClaim object and submit it. Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * wa(back): Serialization helper Add helper function for converting a k8s-client object into a dict that can be sent as an HTTP response. Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * wa(back): Add dry run to Notebooks and PVCs The backend will need to be able to create objects with dry-run, in order to ensure they are valid. The backend will need to check that both the Notebook and the PVCs can be created beforehand. This way we avoid the scenario where we create PVCs but the Notebook fails to be created, and the PVCs are never garbage collected. Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * wa(back): Update kubernetes to 0.17 In order to support dry-run we must use the 0.17 version of the Python k8s client. Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * wa(back): Extend api module to patch pvcs The backend will need to be able to PATCH PVCs in order to set the ownerReference to the Notebook that mounts the PVCs. Ref: arrikto/dev/issues/386#issuecomment-856700392 Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * jwa(back): Work with new Volumes API The backend API should not add any more layers of abstractions on top of the K8s API. The backend should expect the client/UI to be sending the entire PVC spec of a new PVC. Refs: arrikto/dev/issues/386 Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * jwa(back): Add unittests for new volumes API Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * jwa(back): Extend the PVC info returned We want to show both the access mode and size of the existing PVCs, when a user clicks on the dropdown to select which PVC to mount. The backend will need to provide this information to the frontend. We don't want to send the K8s list of PVCs since this will result in a lot of unnecessary data to be sent. Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * jwa(front): Add proxy config for Rok When developing the Rok flavor locally we will need to be able to open the Rok chooser. This can be done by using Angular/webpack proxy to bring the exposed rok service and the app under the same domain. Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Remove card from form The form of the app should not be a big card, but a normal form. Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Install AceModule for yaml editing Install AceModule to allow users to edit yamls of objects. Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * wa(front): Change the styling of form sections Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Create common volume components Component for: * New PVC and configuring its spec * Attaching an existing PVC in a Notebook Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Update Rok form for new Volume API Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Mark inputs as dirty when restoring Lab When the UI autofills the form with values from a JupyterLab snapshot then it should mark the touched fields as dirty. This way if a field has errors the UI will make that input red. Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa: Update ConfigMap in manifests Signed-off-by: Kimonas Sotirchos * jwa(front): Fix format errors Signed-off-by: Kimonas Sotirchos * profiles: Update the permissions for notebook idleness (#6335) Extend the Profiles Controller to give permissions to Notebooks controller for making GET requests to notebook's /api/kernels endpoint. Refs https://github.com/kubeflow/kubeflow/blob/master/components/proposals/20220121-jupyter-notebook-idleness.md Signed-off-by: Kimonas Sotirchos * notebooks: Graceful handling of events (#6338) * notebooks: Handle events gracefully The controller is not exiting the reconciliation loop after it has re-emitted a Pod/STS Event as a Notebook Event. This results in the controller to later on try and GET a Notebook with the name of the Event that triggered the reconciliation loop. The controller should exit the reconciliation function once it has emitted the event. Signed-off-by: Kimonas Sotirchos * notebooks: Don't reconcile on deleted events We don't want to trigger the reconciliation function when an event gets deleted. If a Notebook would be deleted then the underlying events would be deleted as well, which results in the reconcile function to get triggered and try to GET Events and Notebooks with the name of the deleted event. Signed-off-by: Kimonas Sotirchos * notebooks: Fix endless restarts (#6341) * notebooks: Update notebook if timestamp changed We don't want to be updating the spec of the notebook if the timestamp hasn't changed, since this will lead to constant updates and reconciliation loops. Signed-off-by: Kimonas Sotirchos * notebooks: Use a deep-copy of the notebook spec The controller should use a deep-copy of the notebook spec when calculating the spec for the StatefulSet. If not then we could update the notebook object without wanting it, since the spec could have been changed when calculating the STS spec. Signed-off-by: Kimonas Sotirchos * notebooks: Add prefix env var only if missing The controller should be setting OR updating the NB_PREFIX env var. Previously it would always blindly append it to the spec, which could result in double entries for the same env var. Signed-off-by: Kimonas Sotirchos * releasing: Update tags for v1.5.0-rc.1 (#6343) Signed-off-by: Kimonas Sotirchos * fix error comparison between pointer and pointer in "CopyStatefulSetFields" (#6195) error comparison between pointer and pointer in "CopyStatefulSetFields" * [bugfix]: update unsupported links to latest pages (#6192) * centraldashboard: Add KServe overlay (#6383) Configure the dashboard to use the KServe app instead of the KFServing 0.6.1 one. Signed-off-by: Kimonas Sotirchos * notebooks: Don't reconcile on Events deletion (#6391) The controller should not trigger the reconcile loop when an Event is deleted. Previously the controller would run the reconciliation loop on any event deletion. This commit updates it to not run the loop for ANY event. Signed-off-by: Kimonas Sotirchos * releasing: Create v1.5.0-rc.2 images (#6394) Signed-off-by: Kimonas Sotirchos * release: Images for the 1.5.0 tag (#6398) Signed-off-by: Kimonas Sotirchos * added env for app secure cookies (#6395) * build(deps): bump github.com/gogo/protobuf from 1.1.1 to 1.3.2 in /components/tensorboard-controller (#6424) Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 1.1.1 to 1.3.2. - [Release notes](https://github.com/gogo/protobuf/releases) - [Commits](https://github.com/gogo/protobuf/compare/v1.1.1...v1.3.2) --- updated-dependencies: - dependency-name: github.com/gogo/protobuf dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump notebook from 6.4.0 to 6.4.10 in /components/example-notebook-servers/jupyter (#6431) Bumps [notebook](http://jupyter.org) from 6.4.0 to 6.4.10. --- updated-dependencies: - dependency-name: notebook dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump minimist from 1.2.5 to 1.2.6 in /components/crud-web-apps/tensorboards/frontend (#6417) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump minimist from 1.2.5 to 1.2.6 in /components/crud-web-apps/jupyter/frontend (#6429) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump follow-redirects from 1.14.1 to 1.14.8 in /components/crud-web-apps/tensorboards/frontend (#6357) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.1 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.8) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump ajv from 6.10.2 to 6.12.6 in /components/crud-web-apps/volumes/frontend (#6358) Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. - [Release notes](https://github.com/ajv-validator/ajv/releases) - [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6) --- updated-dependencies: - dependency-name: ajv dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump ajv from 6.10.2 to 6.12.6 in /components/crud-web-apps/jupyter/frontend (#6359) Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. - [Release notes](https://github.com/ajv-validator/ajv/releases) - [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6) --- updated-dependencies: - dependency-name: ajv dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump lodash-es from 4.17.11 to 4.17.21 in /components/crud-web-apps/tensorboards/frontend (#6402) Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.11 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.21) --- updated-dependencies: - dependency-name: lodash-es dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump minimist from 1.2.5 to 1.2.6 in /components/crud-web-apps/common/frontend/kubeflow-common-lib (#6416) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump minimist from 1.2.5 to 1.2.6 in /components/crud-web-apps/volumes/frontend (#6423) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump undefsafe from 2.0.2 to 2.0.5 in /components/centraldashboard (#6342) Bumps [undefsafe](https://github.com/remy/undefsafe) from 2.0.2 to 2.0.5. - [Release notes](https://github.com/remy/undefsafe/releases) - [Commits](https://github.com/remy/undefsafe/compare/v2.0.2...v2.0.5) --- updated-dependencies: - dependency-name: undefsafe dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump url-parse from 1.5.1 to 1.5.10 in /components/crud-web-apps/common/frontend/kubeflow-common-lib (#6378) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.10. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.10) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump url-parse from 1.5.1 to 1.5.10 in /components/crud-web-apps/tensorboards/frontend (#6379) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.10. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.10) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump karma from 6.3.4 to 6.3.16 in /components/crud-web-apps/common/frontend/kubeflow-common-lib (#6386) Bumps [karma](https://github.com/karma-runner/karma) from 6.3.4 to 6.3.16. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v6.3.4...v6.3.16) --- updated-dependencies: - dependency-name: karma dependency-type: direct:development ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump karma from 6.3.4 to 6.3.16 in /components/crud-web-apps/tensorboards/frontend (#6387) Bumps [karma](https://github.com/karma-runner/karma) from 6.3.4 to 6.3.16. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v6.3.4...v6.3.16) --- updated-dependencies: - dependency-name: karma dependency-type: direct:development ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump moment from 2.24.0 to 2.29.2 in /components/centraldashboard (#6432) Bumps [moment](https://github.com/moment/moment) from 2.24.0 to 2.29.2. - [Release notes](https://github.com/moment/moment/releases) - [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md) - [Commits](https://github.com/moment/moment/compare/2.24.0...2.29.2) --- updated-dependencies: - dependency-name: moment dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump url-parse from 1.5.1 to 1.5.10 in /components/crud-web-apps/volumes/frontend (#6380) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.10. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.10) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump url-parse from 1.4.7 to 1.5.10 in /components/centraldashboard (#6377) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.10. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.10) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump karma from 6.3.4 to 6.3.16 in /components/crud-web-apps/volumes/frontend (#6388) Bumps [karma](https://github.com/karma-runner/karma) from 6.3.4 to 6.3.16. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v6.3.4...v6.3.16) --- updated-dependencies: - dependency-name: karma dependency-type: direct:development ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump karma from 6.3.4 to 6.3.16 in /components/crud-web-apps/jupyter/frontend (#6389) Bumps [karma](https://github.com/karma-runner/karma) from 6.3.4 to 6.3.16. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v6.3.4...v6.3.16) --- updated-dependencies: - dependency-name: karma dependency-type: direct:development ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump follow-redirects from 1.14.1 to 1.14.9 in /components/crud-web-apps/jupyter/frontend (#6441) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.1 to 1.14.9. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.9) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump nanoid from 3.1.23 to 3.3.2 in /components/crud-web-apps/common/frontend/kubeflow-common-lib (#6437) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.3.2. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.3.2) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump follow-redirects from 1.14.1 to 1.14.9 in /components/crud-web-apps/volumes/frontend (#6439) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.1 to 1.14.9. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.9) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.3 to 0.8.5 in /components/centraldashboard (#6284) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.3 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](https://github.com/shelljs/shelljs/compare/v0.8.3...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 in /components/crud-web-apps/common/frontend/kubeflow-common-lib (#6285) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump nanoid from 3.1.23 to 3.3.2 in /components/crud-web-apps/volumes/frontend (#6442) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.3.2. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.3.2) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump nanoid from 3.1.23 to 3.3.2 in /components/crud-web-apps/tensorboards/frontend (#6443) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.3.2. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.3.2) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump tensorflow from 2.5.0 to 2.5.3 in /components/example-notebook-servers/jupyter-tensorflow (#6445) Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.5.0 to 2.5.3. - [Release notes](https://github.com/tensorflow/tensorflow/releases) - [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md) - [Commits](https://github.com/tensorflow/tensorflow/compare/v2.5.0...v2.5.3) --- updated-dependencies: - dependency-name: tensorflow dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump url-parse from 1.5.1 to 1.5.10 in /components/crud-web-apps/jupyter/frontend (#6381) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.10. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.10) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump follow-redirects from 1.14.1 to 1.14.9 in /components/crud-web-apps/common/frontend/kubeflow-common-lib (#6438) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.1 to 1.14.9. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.9) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump follow-redirects from 1.9.0 to 1.14.9 in /components/centraldashboard (#6440) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.9.0 to 1.14.9. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.9.0...v1.14.9) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump async from 2.6.3 to 2.6.4 in /components/crud-web-apps/tensorboards/frontend (#6446) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump async from 2.6.3 to 2.6.4 in /components/crud-web-apps/common/frontend/kubeflow-common-lib (#6447) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump async from 2.6.3 to 2.6.4 in /components/crud-web-apps/jupyter/frontend (#6448) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 in /components/crud-web-apps/tensorboards/frontend (#6286) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 in /components/crud-web-apps/volumes/frontend (#6287) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump node-fetch from 2.6.0 to 2.6.7 in /components/centraldashboard (#6307) Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.0 to 2.6.7. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.0...v2.6.7) --- updated-dependencies: - dependency-name: node-fetch dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump nanoid from 3.1.23 to 3.3.2 in /components/crud-web-apps/jupyter/frontend (#6444) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.3.2. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.3.2) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump async from 2.6.3 to 2.6.4 in /components/crud-web-apps/volumes/frontend (#6449) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix kubernetes python client to v22.6.0 (#6422) Co-authored-by: Benjamin Tan * Support K8s 1.22 in notebook controller (#6374) Fix https://github.com/kubeflow/kubeflow/issues/6366 Migrating to Kubebuilder v3 leads to the following changes: - Add .dockerignore file. - Upgrade Go version from v1.15 to v1.17. - Adapt Makefile. - Add image (build + push) target to makefile. - Upgrade EnvTest to use K8s v1.22. - Update PROJECT template. - Migrate CRD apiVersion from v1beta to v1. - Add livenessProbe and readinessProbe to controller manager. - Upgrade controller-runtime from v0.2.0 to v0.11.0. Other changes: - Build image using public.ecr.aws registry instead of gcr.io. - Update README.md documentation. - Update 3rd party licences. - Fix notebook.spec description. - Add 3 sample notebooks (v1, v1alpha1 and v1beta1). Signed-off-by: Samuel Veloso * Fix vendortooltip typo (#6426) * Cherry-pick latest commits to the 1.5-branch (#6354) * Fix(manifests): Upgrade rbac.authorization.k8s.io from v1beta1 to v1 (#6261) * proposal: Extend Notebook Controller to expose idleness for Jupyter (#6295) * proposal: Extend Notebook Controller to expose idleness for Jupyter (#6270) Provide a design doc as a proposal for extending Notebook Controller to expose idleness for Jupyter. Our proposal is in markdown format and follows the guidelines of the kubeflow/components/proposal/README.md guide. You can view the #6270 issue in the following link: https://github.com/kubeflow/kubeflow/issues/6270 Signed-off-by: Athanasios Markou * review: change the title of the proposal Change the title of the proposal to only include the proposed new feature. The new title of the proposal will now be "Expose Idleness Information for Jupyter Notebooks". * review: rename the proposal markdown file We want to give a more specific name to the markdown which contains the proposal. Since this proposal emphasizes on a feature regarding the Jupyter Notebooks, the new name will be: 20220121-jupyter-notebook-idleness.md * Synchronize jupyter-web-application role with clusterrole (#6241) * Update role.yaml * Update role.yaml * Update cluster-role.yaml * Kubeflow Roadmap update - with 1.5 details (#6266) * Kubeflow Roadmap update - with 1.5 details These proposed changes include: identifying that 1.4.1 has been delivered, provides themes for 1.5 and provides details of major features in 1.5 by working group. This is an initial proposal that needs review by the working group leads. * correct formatting in KFP features Moved KFP features under KFP Control Flow doc * updating KFP section updating KFP references with updates from KFP team * Updated the 1.5 release date to March updated the 1.5 release date to March * Update ROADMAP.md change Hyperparameter leader election to Katib leader election Co-authored-by: Andrey Velichkevich * Update ROADMAP.md improve description and details of feature for metrics collector Co-authored-by: Andrey Velichkevich * Update Katib description for Early stopping in 1.5 updating with Andrey's suggestion (but without the world proper). * Validation for Early Stopping algorithm settings helps users to proper reduce model overfitting Co-authored-by: Andrey Velichkevich * notebooks: Extend Notebook Controller to expose idleness for Jupyter (#6297) * notebooks: Update image's tag in make Modify Makefile to update properly the TAG based on the git TAG. Signed-off-by: Athanasios Markou Reviewed-by: Kimonas Sotirchos * notebooks: Expose last-activity Extend the notebook-controller to: * cull idle Notebook Servers based on their new `last-activity` annotation * expose the last activity of each Notebook Server as an annotation on the metadata of the corresponding CR object Modify notebook_controller.go to: * update the Last Activity of each Notebook Server that has a Running pod * delete the Last Activity Annotation for every Notebook Server that does not have a Running pod Extend culler.go to: * perform culling based on the new `last-activity` annotation and not based on the `/api/status` endpoint. * update the last activity of a Notebook Server, based on the kernels' execution states. Signed-off-by: Kimonas Sotirchos Reviewed-by: Athanasios Markou * notebooks: Introduce a DEV env var We introduce a DEV ENV var to allow admins develop and test on their local machine their custom Notebook Controller. We provide information and instructions inside the components/notebook-controller/README.md. Signed-off-by: Athanasios Markou Reviewed-by: Kimonas Sotirchos * notebooks: Add unit tests for last-activity * Introduce new tests for allKernelsAreIdle() * Extend the tests for NotebookIsIdle() and for NotebookNeedsCulling(). Signed-off-by: Athanasios Markou Reviewed-by: Kimonas Sotirchos * review: UpdateNotebookLastActivityAnnotation() Ensure that UpdateNotebookLastActivityAnnotation() does not return "true". This function should not return any value. Signed-off-by: Athanasios Markou * jwa: Rework the Storage API of the web app (#6321) * wa(back): Add helper for deserializing JSON obj In some cases we might need to construct Python k8s lib objects from the JSONs that are provided by clients. I.e. the UI will be sending a PVC object in json format, so the backend will need to create the corresponding client.V1PersistentVolumeClaim object and submit it. Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * wa(back): Serialization helper Add helper function for converting a k8s-client object into a dict that can be sent as an HTTP response. Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * wa(back): Add dry run to Notebooks and PVCs The backend will need to be able to create objects with dry-run, in order to ensure they are valid. The backend will need to check that both the Notebook and the PVCs can be created beforehand. This way we avoid the scenario where we create PVCs but the Notebook fails to be created, and the PVCs are never garbage collected. Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * wa(back): Update kubernetes to 0.17 In order to support dry-run we must use the 0.17 version of the Python k8s client. Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * wa(back): Extend api module to patch pvcs The backend will need to be able to PATCH PVCs in order to set the ownerReference to the Notebook that mounts the PVCs. Ref: arrikto/dev/issues/386#issuecomment-856700392 Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * jwa(back): Work with new Volumes API The backend API should not add any more layers of abstractions on top of the K8s API. The backend should expect the client/UI to be sending the entire PVC spec of a new PVC. Refs: arrikto/dev/issues/386 Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * jwa(back): Add unittests for new volumes API Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * jwa(back): Extend the PVC info returned We want to show both the access mode and size of the existing PVCs, when a user clicks on the dropdown to select which PVC to mount. The backend will need to provide this information to the frontend. We don't want to send the K8s list of PVCs since this will result in a lot of unnecessary data to be sent. Signed-off-by: Kimonas Sotirchos Reviewed-by: Ilias Katsakioris * jwa(front): Add proxy config for Rok When developing the Rok flavor locally we will need to be able to open the Rok chooser. This can be done by using Angular/webpack proxy to bring the exposed rok service and the app under the same domain. Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Remove card from form The form of the app should not be a big card, but a normal form. Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Install AceModule for yaml editing Install AceModule to allow users to edit yamls of objects. Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * wa(front): Change the styling of form sections Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Create common volume components Component for: * New PVC and configuring its spec * Attaching an existing PVC in a Notebook Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Update Rok form for new Volume API Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa(front): Mark inputs as dirty when restoring Lab When the UI autofills the form with values from a JupyterLab snapshot then it should mark the touched fields as dirty. This way if a field has errors the UI will make that input red. Signed-off-by: Kimonas Sotirchos Reviewed-by: Tasos Alexiou * jwa: Update ConfigMap in manifests Signed-off-by: Kimonas Sotirchos * jwa(front): Fix format errors Signed-off-by: Kimonas Sotirchos * profiles: Update the permissions for notebook idleness (#6335) Extend the Profiles Controller to give permissions to Notebooks controller for making GET requests to notebook's /api/kernels endpoint. Refs https://github.com/kubeflow/kubeflow/blob/master/components/proposals/20220121-jupyter-notebook-idleness.md Signed-off-by: Kimonas Sotirchos * notebooks: Graceful handling of events (#6338) * notebooks: Handle events gracefully The controller is not exiting the reconciliation loop after it has re-emitted a Pod/STS Event as a Notebook Event. This results in the controller to later on try and GET a Notebook with the name of the Event that triggered the reconciliation loop. The controller should exit the reconciliation function once it has emitted the event. Signed-off-by: Kimonas Sotirchos * notebooks: Don't reconcile on deleted events We don't want to trigger the reconciliation function when an event gets deleted. If a Notebook would be deleted then the underlying events would be deleted as well, which results in the reconcile function to get triggered and try to GET Events and Notebooks with the name of the deleted event. Signed-off-by: Kimonas Sotirchos * notebooks: Fix endless restarts (#6341) * notebooks: Update notebook if timestamp changed We don't want to be updating the spec of the notebook if the timestamp hasn't changed, since this will lead to constant updates and reconciliation loops. Signed-off-by: Kimonas Sotirchos * notebooks: Use a deep-copy of the notebook spec The controller should use a deep-copy of the notebook spec when calculating the spec for the StatefulSet. If not then we could update the notebook object without wanting it, since the spec could have been changed when calculating the STS spec. Signed-off-by: Kimonas Sotirchos * notebooks: Add prefix env var only if missing The controller should be setting OR updating the NB_PREFIX env var. Previously it would always blindly append it to the spec, which could result in double entries for the same env var. Signed-off-by: Kimonas Sotirchos * releasing: Update tags for v1.5.0-rc.1 (#6343) Signed-off-by: Kimonas Sotirchos Co-authored-by: Andrey Velichkevich * fix error comparison between pointer and pointer in "CopyStatefulSetFields" (#6195) error comparison between pointer and pointer in "CopyStatefulSetFields" * [bugfix]: update unsupported links to latest pages (#6192) * centraldashboard: Add KServe overlay (#6383) Configure the dashboard to use the KServe app instead of the KFServing 0.6.1 one. Signed-off-by: Kimonas Sotirchos * notebooks: Don't reconcile on Events deletion (#6391) The controller should not trigger the reconcile loop when an Event is deleted. Previously the controller would run the reconciliation loop on any event deletion. This commit updates it to not run the loop for ANY event. Signed-off-by: Kimonas Sotirchos * releasing: Create v1.5.0-rc.2 images (#6394) Signed-off-by: Kimonas Sotirchos * fixed typo * fixed typo * changed remove rc2 Co-authored-by: Kimonas Sotirchos Co-authored-by: Andrey Velichkevich Co-authored-by: mofanke <54242816+mofanke@users.noreply.github.com> Co-authored-by: Jaeyeon Kim * notebooks: notebook controller config RESTClient QPS and Burst in com… (#6453) * AIP-5879 Admission Webhook 1.22 Compatibility (#6459) * init * update dependancies * refine * update webhook * update readme and makefile * KF conformance test driver (#6478) * (Draft) KF conformance test framework * Add env var to support debug output. * Adressed code review comments. * Moved tests from 1.0 to 1.5 folder. * 1st update of Kubeflow Roadmap for Kubeflow 1.6 (#6456) * 1st update of Kubeflow Roadmap for Kubeflow 1.6 @annajung @kimwnasptd @DomFleischmann I have created this PR as a quick way to update the Kubeflow Roadmap to include KF 1.6. My view is that we can update this in a simple way and then add more details if needed. Please review, improve as you see needed. Thanks. Jsoh * accept anna's updates to ROADMAP.md Co-authored-by: Anna * Added Themes section added Themes section and moved K8s 1.22 support to themes, removed x.y.z version details from each working group roadmap * fixed formatting, removed version on Notebook fixed formatting, removed version placeholder on Notebook, removed 1.22 support statement at end of 1.6 sections (as we have added it to the Themes section) * Added link to KFP CLI design doc Added link to KFP CLI design doc Co-authored-by: Anna * Add GH actions to push images to a DockerHub registry after a merge (#6510) * Add a github action to build & push JWA docker image after a merge. (#6502) * Add a github action to build & push TWA docker images after a merge. (#6502) * Add a github action to build & push VWA docker images after a merge. (#6502) * Add a github action to build & push Tensorboard Controller docker image after a merge. (#6502) * Add a github action to build & push Profile Controller docker image after a merge. (#6502) * Add a github action to build & push PodDefaults docker image after a merge. (#6502) * Add a github action to build & push Notebook Server docker images after a merge. (#6502) * Add a github action to build & push Notebook Controller docker image after a merge. (#6502) * Add a github action to build & push KFAM docker image after a merge. (#6502) * Add a github action to build & push Central Dashboard docker image after a merge. (#6502) * Update CentralDashboard GH action after review comments. * Add a path for the common code in JWA Gh action after review comment. * Update KFAM GH action after review comments. * Update JWA GH action after review comments. * Update Notebook Controller GH action after review comments. * Update Notebook Server GH action after review comments. * Update PodDefaults GH action after review comments. * Update Profile Controller GH action after review comments. * Update Tensorboard Controller GH action after review comments. * Update TWA GH action after review comments. * Update VWA GH action after review comments. * Update credentials in all GH actions. * Pin alpine repository version (#6494) With the `latest-stable` version of alpine package repository, an attempt to build central dashboard image fails with: ``` => ERROR [build 3/7] RUN apk add --no-cache bash@stable chromium@stable nss@stable freetype@stable harfbuzz@stable ttf-freefont@stable libstdc++@stable 4.4s ------ > [build 3/7] RUN apk add --no-cache bash@stable chromium@stable nss@stable freetype@stable harfbuzz@stable ttf-freefont@stable libstdc++@stable: #7 0.940 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz #7 1.239 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz #7 1.803 fetch http://nl.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz #7 2.701 fetch http://nl.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz #7 3.630 ERROR: unable to select packages: #7 4.065 so:libmbedcrypto.so.7 (no such package): #7 4.065 required by: librist-0.2.6-r1[so:libmbedcrypto.so.7] ------ executor failed running [/bin/sh -c apk add --no-cache bash@stable chromium@stable nss@stable freetype@stable harfbuzz@stable ttf-freefont@stable libstdc++@stable]: exit code: 4 make: *** [Makefile:42: build] Error 1 ``` * feat(Jupyter): Show group one or two only if images exists (#6482) * Upgrade API version of `Tensorboard` CRD to `v1` (#6406) * Migrate tensorboard-controller to Kubebuilder v3 * Fix paths inside Docker context * Remove test dependency from docker-build * Switch to kustomize 3.2.0, fix image tag * Fix namePrefix * Rename deployments, remove namespaces * Add runAsUser * Make tensorboard image and istio gateway configurable * Add GH actions for building manifests at any pull request (#6524) * Add GH actions for building manifests at any pull request. * Change names of GH actions and specify the manifests path. * Fix manifests path in Profile Controller GH action. * update jupyterlab to 3.4.3 (#6527) * notebooks: Allow notebook controller to patch events (#6523) * Fix typos in GH actions that build and push Docker images (#6541) * Make GH actions build images on PR and push only on merge (#6543) * Make GH actions build images on PR and push only on merge. * Fix typo from rebase. * Add GH actions for applying manifests at any pull request (#6530) * Add GH actions for applying manifests at any PR. * Add scripts for all the KinD GH actions. * Give permission to run the scripts. * Modify GH actions to use scripts for installations. * Address review comments. * Change GH actions based on review comments. * Add newlines at the end of the script files. * jwa: Expose a last-activity column (#6544) We want to extend JWA to have a column for showing the `Last activity` of a Notebook CR. Signed-off-by: Kimonas Sotirchos * Reword image name in TWA Gh action (#6547) * Fix VWA path in Gh action for building image (#6549) * Add GH action for publishing all images when VERSION is updated (#6537) * Add GH action for publishing all images when version is updated. * Fix typos in GH action for building all images. * Fix typo in tensorboards image. * release: Use DockerHub for all images (#6548) * release: Update the tag to v1.6.0-alpha and reubild images The GH Actions will pick up the change in releasing/version/VERSION and rebuild all the images. Signed-off-by: Kimonas Sotirchos * Update all images to use DockerHub Signed-off-by: Kimonas Sotirchos * notebooks: Reuse ECR images as base We'll need to have proper makefiles for building these images and not expect the base images to be already committed. Signed-off-by: Kimonas Sotirchos * releasing: Update releasing script for dockerhub Signed-off-by: Kimonas Sotirchos * release: Update manifests for v1.6.0-rc.0 Signed-off-by: Kimonas Sotirchos * Update install command for code server extension (#6554) Signed-off-by: Anna Jung (VMware) * Introduce a mechanism to build all Kubeflow images (#6555) * build: Update components makefiles for building We'll create a top-level Makefile under components/ dir that has the following rules: * build-all: To build all images locally * push-all: * We can use a specific REGISTRY and retag the images * Push all the images This top-level Makefile will run the sub-Makefiles that every component has for building and pushing the images. We modified every sub-Makefile as follows: * We don't use a registry in images by default * Removed unused rules and vars * Use the --dirty flag of git describe in TAG --dirty[=] Describe the working tree. It means describe HEAD and appends (-dirty by default) if the working tree is dirty. Signed-off-by: Apotolos Gerakaris * build: Create makefiles for notebook servers The common starting point of building the notebook-server images are the following 4 *base* images: - base - codeserver - jupyter - rstudio All other server images need to build on top of them. We'll dynamically pass the base images in every Dockerfile by using an ARG IMG. We can set the value of this ARG during docker build with the --build-arg CLI argument. This way we build both the base images with a tag locally, and then we pass that image as arg via the Makefile and build the rest So we modified our building procedure as follows: 1. Build the base image since everything starts from there 2. Pass the base image as an ARG in the Dockerfiles of jupyter, codeserver, rstudio images and build on top 3. Pass the base images in all other server images and build on top For that we will: 1. Create a Makefile for each of the notebook servers, in each folder a. Each makefile will be responsible for building the bases and use args for passing them on 2. Use the central Makefile to call each Makefile from above Signed-off-by: Apotolos Gerakaris * cherry-pick: Notebook server upstream fixes Relevant upstream PR: https://github.com/kubeflow/kubeflow/pull/6466/files Signed-off-by: Apotolos Gerakaris * build: Fix Makefiles - Remove build-gcp and build-gcr rules as we don't use them anywhere in the project - Fix code conficts Signed-off-by: Apotolos Gerakaris * build: Fix Dockerfiles for notbook-server images We remove the previous logic of using already built images as bases. The users must use only the Makefiles to pass the appropriate BASE_IMG and build the images correctly. Thus, we have Makefiles everywhere that: - Can build any base image - If an image requires another notebook base, then we first build that one using its makefile, and then use it as docker ARG for building the next one Signed-off-by: Apotolos Gerakaris * build: Fix notebook-controller Makefile Removed a misplaced "|" char that breaks the Makefile Signed-off-by: Apotolos Gerakaris * build: Update GH action workflows * Update workflow for notebook-server images: - Add a step for building all images by using the central-Makefile under components/example-notebook-servers/ dir. - Add a step for pushing all images by using the central-Makefile under components/example-notebook-servers/ dir. * Update workflow for all Kubeflow images: - Add a step for building & pushing all images by using the top-level Makefile under components/ dir. Signed-off-by: Apotolos Gerakaris * build: Remove completely ECR references from images Replace everywhere the "public.ecr.aws/j1r0q0g6/notebooks/notebook-servers" prefix with "kubeflownotebookswg" Signed-off-by: Apotolos Gerakaris * build: Fix GH actions for Kubeflow components Fix GH actions to use the updated make rules when building the Kubeflow component images. Remove the "docker.io" prefix when building with GH action workflows Signed-off-by: Apotolos Gerakaris * Profile Controller, Admission webhook cherry-picks + v1.6.0-rc.1 tag (#6583) * Support K8s 1.22 in profile controller (#6491) * profile-controller: Delete old kubebuilder v1 project Signed-off-by: Apotolos Gerakaris * profile-controller: Initialize Kubebuilder v3 project go module name: github.com/kubeflow/kubeflow/components/profile-controller project domain: kubeflow.org Changes: * Go Version got upgraded from v1.15 to v1.17 * With Kubebuilder V3 our project dependencies got updated to a more up-to-date version. * controller-runtime library got updated from v0.2.0 to v0.12.1. Signed-off-by: Apotolos Gerakaris * profile-controller: create placeholder API types and controller logic files We created the Profile API types v1: kubebuilder create api --version v1 kind Profile v1beta1: kubebuilder create api --version v1beta1 Profile We copied over the API definitions from the old project to the new one (Note: Currently KFAM uses the v1beta1 version of Profile to provide fine-grain user-namespace level access control) Signed-off-by: Apotolos Gerakaris * profile-controller: copy controllers logic from old project to the new one * Copied the files under controller/ dir from the old to our new project Signed-off-by: Apotolos Gerakaris * profile-controller: Code modifications to fix profile-controller With Kubebuilder V3 the dependencies of our project got updated to a more up-to-date version. Newer versions of certain packages resulted to broken code parts that we had to fix. More specifically: * In this project we are using a namespace-labels-data ConfigMap to set certain labels on every Profile namespace. Every change in this ConfigMap produces an event and for every event we construct a list of reconcile.Requests that contains the name and namespace of every Profile in our system. Thus we introduced a mapEventToRequest MapFunc (profile_controller.go) that maps an event to reconcile requests for all Profiles. This change was necessary because controller-runtime library got updated from v0.6.3 to v0.12.1 * Kubebuilder V3 introduced for the profile-controller: 1) a livenessprobe (/healthz) on port :8081 2) a readinessProbe (/readyz) on port :8081 We have a conflict here as KFAM Service uses the :8081 port as well. Therefore, we switched the port to :9876 for the above Probes. Signed-off-by: Apotolos Gerakaris * profile-controller: Fix manifests, Makefile, Dockerfile Makefile: * Add image (build + push) target * Add test-overlays target * Build image using public.ecr.aws registry instead of gcr.io. Dockerfile: * fix Dockerfile to build our controller correclty Manifests * Add base/ and overlays/ manifests * Fix the manifests to be in sync with upstream other changes: Update README.md file Signed-off-by: Apotolos Gerakaris * profile-controller: Add test files Signed-off-by: Apotolos Gerakaris * profile-controller: Fix Makefile * Set the correct IMG:TAG * Remove test dependency Signed-off-by: Apotolos Gerakaris * Reload certificates in admission-webhook (#6581) Reload server certificates if they are changed on disk. Use certwatcher from controller-runtime that already implements this functionality. Closes #5560. Signed-off-by: Manolis Androulidakis * release: Create v1.6.0-rc.1 images Changes in the manifests were generated by running: ./releasing/update-manifests-images v1.6.0-rc.1 Signed-off-by: Kimonas Sotirchos * Extend Docker Publish workflows to be triggered on Version change (#6591) * Extend docker publish workflows to be triggered in Version change. * Update workflows to address review comment. * Change content of the Version file to latest commits hash of v1.6-branch. * Fix workflows for building all images when Version file changes (#6597) * Fix Central Dashboard Makefile to not set an env var if it's already set. * Make Version push step to also build image with the correct tag. * Final changes after testing. * Fix(Jupyter): Fix the ImageGroup object path (#6596) * Update Version file to tag 'v1.6.0-rc.1' (#6598) * notebooks: Fix notebook endless restarts (#6337) (#6603) * JWA(front): Fix image group one and two not showing (#6625) Fix image group one and two not showing in JWA's New notebook form, even when the avaialable config provides value for them. Signed-off-by: Orfeas Kourkakis Signed-off-by: Orfeas Kourkakis * fix Profile Plugins functionality (#6624) * fix profile plugin loading * add proper sample * add GH action for unit tests * rename GH job name * Fix #6528: Mirroring Pod conditions to Notebook (#6619) * Fix #6528: Mirroring Pod conditions to Notebook * Added missing fields which are part of PodConditions into NotebookConditions * Added suggested changes * Fix #6056: Update Notebook status properly (#6628) * Fix #6056: Update Notebook status properly Signed-off-by: Apostolos Gerakaris apoger@arrikto.com * Added suggested code changes Signed-off-by: Apostolos Gerakaris apoger@arrikto.com * notebook-controller: Add unit tests *Introduce basic unit tests for "createNotebookStatus" function *Add GH action for unit tests Signed-off-by: Apostolos Gerakaris apoger@arrikto.com * Fix PodCoditionsMirroringToNotebook & Unit-tests We encountered an error during testing. It seems that the pod.status.conditions.condition.LastProbeTime remains always null and so the controller ends up applying a Notebook CR instance with null condition values. Relevant Issues: *https://github.com/kubernetes/kubernetes/issues/109958 *https://github.com/kubernetes/kubernetes/issues/79402 *https://github.com/kubernetes/kubernetes/issues/14393 Fix: Check if the Pod's condition.LastProbeTime and condition.LastTransitionTime timestamp fields are null. If so, initialize them so we dont end up applying a Notebook instance with null condition values. Other changes: *Fix basic unit tests *Introduced a unit test for the case where Notebook's Pod is unschedulable Signed-off-by: Apostolos Gerakaris apoger@arrikto.com Signed-off-by: Apostolos Gerakaris apoger@arrikto.com * Ensure we build images for a new Version only on push events (#6632) * release: Images for the v1.6.0-rc.2 tag (#6631) * release: Images for the v1.6.0-rc.2 tag Signed-off-by: Apostolos Gerakaris * Update Version file to tag 'v1.6.0-rc.2 Signed-off-by: Apostolos Gerakaris Signed-off-by: Apostolos Gerakaris * Fix invalid kustomization patch introduced for profile-controller manager (#6604) * release: Images for the v1.6.0 tag (#6636) * release: Images for the v1.6.0 tag Signed-off-by: Apostolos Gerakaris * Update Version file to tag v1.6.0 Signed-off-by: Apostolos Gerakaris Signed-off-by: Apostolos Gerakaris * git reset 50902c6b58218e3f823e744c76585b4bc9077b2a * git reset d25de599327a96f9f7e8d4740fdd9a4bb0780097 * removed upstream workflows * dummy commit * dummy commit * dummy commit * dummy commit * update workflows * Update notebook_controller.go Re-add readiness probe plus comment indicating this is a downstream addition. * re-added readiness probe * re-added readiness probe * fix(UI): HOME --> Manage Contributors * trying io.k8s.kubernetes.pkg.api.v1.Handler * trying io.k8s.kubernetes.pkg.api.v1.Handler * untrying io.k8s.kubernetes.pkg.api.v1.Handler * fix(rebase): add missing commit https://github.com/StatCan/kubeflow/commit/8de6feb698ceb2bb2d7110f8fbae07ab00b9abed The above commit has been added. * update Handler --> ProbeHandler * Update build-centraldashboard.yml * Update build-notebookcontroller.yml * fix(languages.json) Some fixes were lost in the rebase. They have been added back. * restore(notebook-controller) to upstream * pass(tests): locally I've changed CustomObjectApi --> Custom_objectsApi and CoreV1Api --> Core_v1Api in a few places. * Delete build-notebookcontroller.yml Signed-off-by: Yannis Zarkadas Signed-off-by: Kimonas Sotirchos Signed-off-by: Ilias Katsakioris Signed-off-by: Yurii Komar Signed-off-by: Malini Bhandaru Signed-off-by: Athanasios Markou Signed-off-by: Samuel Veloso Signed-off-by: Anna Jung (VMware) Signed-off-by: Apotolos Gerakaris Signed-off-by: Orfeas Kourkakis Signed-off-by: Apostolos Gerakaris apoger@arrikto.com Signed-off-by: Apostolos Gerakaris Co-authored-by: Yannis Zarkadas Co-authored-by: DavidSpek Co-authored-by: Jeremy Lewi Co-authored-by: Kimonas Sotirchos Co-authored-by: Mathew Wicks Co-authored-by: Ilias Katsakioris Co-authored-by: James Liu <37026441+zijianjoy@users.noreply.github.com> Co-authored-by: toshi_k Co-authored-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> Co-authored-by: Saffa Alvi Co-authored-by: Wendy Gaultier Co-authored-by: Jaeyeon Kim Co-authored-by: Yurii Komar Co-authored-by: JessicaBarh Co-authored-by: Jose-Matsuda Co-authored-by: Stephen Hopper <50119450+hopper-signifyd@users.noreply.github.com> Co-authored-by: Malini Bhandaru Co-authored-by: Filinto Duran Co-authored-by: Filinto Duran Co-authored-by: Abhishek Vilas Munagekar <10258799+munagekar@users.noreply.github.com> Co-authored-by: Shannon Bradshaw Co-authored-by: Abe Sharp <56273479+abe-hpe@users.noreply.github.com> Co-authored-by: Jeongwook Park Co-authored-by: Erhan Kesken Co-authored-by: Theofilos Papapanagiotou Co-authored-by: Yuan (Bob) Gong <4957653+Bobgy@users.noreply.github.com> Co-authored-by: Gabriel Maganis Co-authored-by: Andrey Velichkevich Co-authored-by: Rohan Katkar Co-authored-by: Hao Xin Co-authored-by: Andrew Scribner Co-authored-by: Josh Bottum Co-authored-by: sunboy Co-authored-by: Tobia De Koninck Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Athanasios Markou <86781955+athamark@users.noreply.github.com> Co-authored-by: mofanke <54242816+mofanke@users.noreply.github.com> Co-authored-by: Younghwi Kim <37145466+BenzhaminKim@users.noreply.github.com> Co-authored-by: Benjamin Tan Wei Hao Co-authored-by: Benjamin Tan Co-authored-by: Samu Co-authored-by: David Lee Co-authored-by: Aaron <52056643+aaron-arellano@users.noreply.github.com> Co-authored-by: James Wu <54086668+james-jwu@users.noreply.github.com> Co-authored-by: Anna Co-authored-by: Nikolaos Loukas Co-authored-by: Alex Lembiyeuski Co-authored-by: Nikolaos Loukas Co-authored-by: Jeongwook Park Co-authored-by: apoger Co-authored-by: Orfeas Kourkakis Co-authored-by: Suraj Kota Co-authored-by: Midhun Nair Co-authored-by: Arkaitz Jimenez Co-authored-by: Bryan Paget Co-authored-by: Bryan Paget --- .../workflows/build-notebookcontroller.yml | 59 - .../centraldashboard/app/k8s_service.ts | 12 +- .../centraldashboard/app/k8s_service_test.ts | 14 +- components/centraldashboard/package-lock.json | 1375 +++++++++++++++-- components/centraldashboard/package.json | 6 +- .../public/components/activities-list_test.js | 20 +- .../public/components/main-page_test.js | 35 +- .../manage-users-view-contributor.js | 7 +- .../kubeflow/crud_backend/api/apis.py | 4 +- .../controllers/notebook_controller.go | 14 - py/kubeflow/kubeflow/ci/profiles_test.py | 14 +- testing/deploy_utils.py | 2 +- testing/katib_studyjob_test.py | 2 +- testing/run.sh | 0 testing/test_tf_serving.py | 2 +- .../environments/prow/.metadata/swagger.json | 2 +- .../lib/ksonnet-lib/v1.7.0/swagger.json | 2 +- testing/workflows/lib/v1.7.0/swagger.json | 2 +- 18 files changed, 1323 insertions(+), 249 deletions(-) delete mode 100644 .github/workflows/build-notebookcontroller.yml mode change 100644 => 100755 testing/run.sh diff --git a/.github/workflows/build-notebookcontroller.yml b/.github/workflows/build-notebookcontroller.yml deleted file mode 100644 index e830e9aa5a9..00000000000 --- a/.github/workflows/build-notebookcontroller.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: component/notebook-controller -on: - push: - branches: - - stc-master - paths: - - components/notebook-controller/** - pull_request: - types: - - "opened" - - "synchronize" - - "reopened" - paths: - - components/notebook-controller/** - -# Environment variables available to all jobs and steps in this workflow -env: - REGISTRY_NAME: k8scc01covidacr - CLUSTER_NAME: k8s-cancentral-02-covid-aks - CLUSTER_RESOURCE_GROUP: k8s-cancentral-01-covid-aks - -jobs: - build-push: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - # Connect to Azure Container registry (ACR) - - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_NAME }}.azurecr.io - username: ${{ secrets.REGISTRY_USERNAME }} - password: ${{ secrets.REGISTRY_PASSWORD }} - - - name: Free disk space - run: | - sudo swapoff -a - sudo rm -f /swapfile - sudo apt clean - docker rmi $(docker image ls -aq) - df -h - - # Container build and push to a Azure Container registry (ACR) - - name: Docker build/push - run: | - cd components - docker build . \ - -t ${{ env.REGISTRY_NAME }}.azurecr.io/kubeflow/notebook-controller:${{ github.sha }} \ - --build-arg kubeflowversion=$(git describe --abbrev=0 --tags) \ - --build-arg commit=$(git rev-parse HEAD) \ - -f notebook-controller/Dockerfile - docker push ${{ env.REGISTRY_NAME }}.azurecr.io/kubeflow/notebook-controller:${{ github.sha }} - - # Scan image for vulnerabilities - - uses: Azure/container-scan@v0 - with: - image-name: ${{ env.REGISTRY_NAME }}.azurecr.io/kubeflow/notebook-controller:${{ github.sha }} - severity-threshold: CRITICAL - run-quality-checks: false diff --git a/components/centraldashboard/app/k8s_service.ts b/components/centraldashboard/app/k8s_service.ts index 7efbe744e21..a5b10c6ecc4 100644 --- a/components/centraldashboard/app/k8s_service.ts +++ b/components/centraldashboard/app/k8s_service.ts @@ -49,8 +49,8 @@ const APP_API_NAME = 'applications'; /** Wrap Kubernetes API calls in a simpler interface for use in routes. */ export class KubernetesService { private namespace = 'kubeflow'; - private coreAPI: k8s.CoreV1Api; - private customObjectsAPI: k8s.CustomObjectsApi; + private coreAPI: k8s.Core_v1Api; + private Custom_objectsApi: k8s.Custom_objectsApi; private dashboardConfigMap = DASHBOARD_CONFIGMAP; constructor(private kubeConfig: k8s.KubeConfig) { @@ -61,9 +61,9 @@ export class KubernetesService { if (context && context.namespace) { this.namespace = context.namespace; } - this.coreAPI = this.kubeConfig.makeApiClient(k8s.CoreV1Api); - this.customObjectsAPI = - this.kubeConfig.makeApiClient(k8s.CustomObjectsApi); + this.coreAPI = this.kubeConfig.makeApiClient(k8s.Core_v1Api); + this.Custom_objectsApi = + this.kubeConfig.makeApiClient(k8s.Custom_objectsApi); } /** Retrieves the list of namespaces from the Cluster. */ @@ -158,7 +158,7 @@ export class KubernetesService { try { // tslint:disable-next-line: no-any const _ = (o: any) => o || {}; - const response = await this.customObjectsAPI.listNamespacedCustomObject( + const response = await this.Custom_objectsApi.listNamespacedCustomObject( APP_API_GROUP, APP_API_VERSION, this.namespace, APP_API_NAME); const body = response.body as V1BetaApplicationList; const kubeflowApp = (body.items || []) diff --git a/components/centraldashboard/app/k8s_service_test.ts b/components/centraldashboard/app/k8s_service_test.ts index 9bcfb65f3d6..1811962e8f4 100644 --- a/components/centraldashboard/app/k8s_service_test.ts +++ b/components/centraldashboard/app/k8s_service_test.ts @@ -6,10 +6,10 @@ import {KubernetesService} from './k8s_service'; describe('KubernetesService', () => { let mockResponse: jasmine.SpyObj; let mockKubeConfig: jasmine.SpyObj; - let mockApiClient: jasmine.SpyObj; - let mockCustomApiClient: jasmine.SpyObj; + let mockApiClient: jasmine.SpyObj; + let mockCustomApiClient: jasmine.SpyObj; let k8sService: KubernetesService; - + beforeEach(() => { mockResponse = jasmine.createSpyObj('mockResponse', ['rawHeaders']); @@ -17,20 +17,20 @@ describe('KubernetesService', () => { 'loadFromDefault', 'getContextObject', 'getCurrentContext', 'makeApiClient' ]); - mockApiClient = jasmine.createSpyObj('mockApiClient', [ + mockApiClient = jasmine.createSpyObj('mockApiClient', [ 'listNamespace', 'listNamespacedEvent', 'listNode', ]); - mockCustomApiClient = jasmine.createSpyObj( + mockCustomApiClient = jasmine.createSpyObj( 'mockCustomApiClient', ['listNamespacedCustomObject'] ); mockKubeConfig.makeApiClient - .withArgs(k8s.CoreV1Api) + .withArgs(k8s.Core_v1Api) .and.returnValue(mockApiClient); mockKubeConfig.makeApiClient - .withArgs(k8s.CustomObjectsApi) + .withArgs(k8s.Custom_objectsApi) .and.returnValue(mockCustomApiClient); k8sService = new KubernetesService(mockKubeConfig); diff --git a/components/centraldashboard/package-lock.json b/components/centraldashboard/package-lock.json index 91cfdbe0701..46ecac6bd60 100644 --- a/components/centraldashboard/package-lock.json +++ b/components/centraldashboard/package-lock.json @@ -38,6 +38,7 @@ "@polymer/paper-toast": "^3.0.1", "@polymer/polymer": "^3.3.0", "@types/dotenv": "^6.1.1", + "@types/gapi.auth2": "^0.0.56", "@vaadin/vaadin-grid": "^5.4.9", "@webcomponents/webcomponentsjs": "^2.3.0", "chart.js": "^2.8.0", @@ -57,7 +58,8 @@ "@polymer/test-fixture": "^4.0.2", "@types/express": "^4.17.1", "@types/gapi.client.monitoring": "^3.0.1", - "@types/jasmine": "^3.4.2", + "@types/jasmine": "^3.10.6", + "@types/jest": "^29.0.3", "@types/node-fetch": "^2.5.2", "@types/puppeteer": "^2.0.0", "babel-loader": "^8.0.6", @@ -75,7 +77,7 @@ "file-loader": "^3.0.1", "html-webpack-plugin": "^3.2.0", "istanbul-instrumenter-loader": "^3.0.1", - "jasmine": "^3.5.0", + "jasmine": "^4.4.0", "jasmine-ajax": "^3.4.0", "jasmine-console-reporter": "^3.1.0", "karma": "^5.1.1", @@ -1550,6 +1552,117 @@ "node": ">=8" } }, + "node_modules/@jest/expect-utils": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.0.3.tgz", + "integrity": "sha512-i1xUkau7K/63MpdwiRqaxgZOjxYs4f0WMTGJnYwUKubsNRZSeQbLorS7+I4uXVF9KQ5r61BUPAUMZ7Lf66l64Q==", + "dev": true, + "dependencies": { + "jest-get-type": "^29.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/schemas": { + "version": "29.0.0", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.0.0.tgz", + "integrity": "sha512-3Ab5HgYIIAnS0HjqJHQYZS+zXc4tUmTmBH3z83ajI6afXp8X3ZtdLX+nXx+I7LNkJD7uN9LAVhgnjDgZa2z0kA==", + "dev": true, + "dependencies": { + "@sinclair/typebox": "^0.24.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/types": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.0.3.tgz", + "integrity": "sha512-coBJmOQvurXjN1Hh5PzF7cmsod0zLIOXpP8KD161mqNlroMhLcwpODiEzi7ZsRl5Z/AIuxpeNm8DCl43F4kz8A==", + "dev": true, + "dependencies": { + "@jest/schemas": "^29.0.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/types/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@jest/types/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@jest/types/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@jest/types/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/@jest/types/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/types/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -2158,6 +2271,12 @@ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" }, + "node_modules/@sinclair/typebox": { + "version": "0.24.42", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.42.tgz", + "integrity": "sha512-d+2AtrHGyWek2u2ITF0lHRIv6Tt7X0dEHW+0rP+5aDCEjC3fiN2RBjrLD0yU0at52BcZbRGxLbAtXiR0hFCjYw==", + "dev": true + }, "node_modules/@tsconfig/node10": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", @@ -2248,6 +2367,19 @@ "@types/node": "*" } }, + "node_modules/@types/gapi": { + "version": "0.0.42", + "resolved": "https://registry.npmjs.org/@types/gapi/-/gapi-0.0.42.tgz", + "integrity": "sha512-kskWpouTGqutaIVRo/swiGnMVoRxOYdRwvaDrh0yavfR9vQoHvJJ7Enp4KE9MEGS8qF7F5KiP6bRNOYcCgRXCA==" + }, + "node_modules/@types/gapi.auth2": { + "version": "0.0.56", + "resolved": "https://registry.npmjs.org/@types/gapi.auth2/-/gapi.auth2-0.0.56.tgz", + "integrity": "sha512-kGaBtGVCqGS3Y05L56dGVlBpJflxLfwA0zpMQnQgGRFk1tsMPbQnogG51UQjt1vCuYfRO0Jd9/K5KDtzjAbMkA==", + "dependencies": { + "@types/gapi": "*" + } + }, "node_modules/@types/gapi.client": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@types/gapi.client/-/gapi.client-1.0.1.tgz", @@ -2274,12 +2406,46 @@ "@types/node": "*" } }, + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", + "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", + "dev": true + }, + "node_modules/@types/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", + "dev": true, + "dependencies": { + "@types/istanbul-lib-coverage": "*" + } + }, + "node_modules/@types/istanbul-reports": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", + "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", + "dev": true, + "dependencies": { + "@types/istanbul-lib-report": "*" + } + }, "node_modules/@types/jasmine": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.4.2.tgz", - "integrity": "sha512-SaSSGOzwUnBEn64c+HTyVTJhRf8F1CXZLnxYx2ww3UrgGBmEEw38RSux2l3fYiT9brVLP67DU5omWA6V9OHI5Q==", + "version": "3.10.6", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.10.6.tgz", + "integrity": "sha512-twY9adK/vz72oWxCWxzXaxoDtF9TpfEEsxvbc1ibjF3gMD/RThSuSud/GKUTR3aJnfbivAbC/vLqhY+gdWCHfA==", "dev": true }, + "node_modules/@types/jest": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.0.3.tgz", + "integrity": "sha512-F6ukyCTwbfsEX5F2YmVYmM5TcTHy1q9P5rWlRbrk56KyMh3v9xRGUO3aa8+SkvMi0SHXtASJv1283enXimC0Og==", + "dev": true, + "dependencies": { + "expect": "^29.0.0", + "pretty-format": "^29.0.0" + } + }, "node_modules/@types/js-yaml": { "version": "3.12.1", "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-3.12.1.tgz", @@ -2352,6 +2518,12 @@ "@types/mime": "*" } }, + "node_modules/@types/stack-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", + "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", + "dev": true + }, "node_modules/@types/tough-cookie": { "version": "2.3.5", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-2.3.5.tgz", @@ -2371,6 +2543,21 @@ "@types/node": "*" } }, + "node_modules/@types/yargs": { + "version": "17.0.12", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.12.tgz", + "integrity": "sha512-Nz4MPhecOFArtm81gFQvQqdV7XYCrWKx5uUt6GNHredFHn1i2mtWqXTON7EPXMtNi1qjtjEM/VCHDhcHsAMLXQ==", + "dev": true, + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@types/yargs-parser": { + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", + "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "dev": true + }, "node_modules/@types/yauzl": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz", @@ -5223,6 +5410,15 @@ "node": ">=0.3.1" } }, + "node_modules/diff-sequences": { + "version": "29.0.0", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.0.0.tgz", + "integrity": "sha512-7Qe/zd1wxSDL4D/X/FPjOMB+ZMDt71W94KYaq05I2l0oQqgXgs7s4ftYYmV38gBSrPz2vcygxfs1xn0FT+rKNA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/diffie-hellman": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", @@ -6089,6 +6285,22 @@ "node": ">=0.10.0" } }, + "node_modules/expect": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/expect/-/expect-29.0.3.tgz", + "integrity": "sha512-t8l5DTws3212VbmPL+tBFXhjRHLmctHB0oQbL8eUc6S7NzZtYUhycrFO9mkxA0ZUC6FAWdNi7JchJSkODtcu1Q==", + "dev": true, + "dependencies": { + "@jest/expect-utils": "^29.0.3", + "jest-get-type": "^29.0.0", + "jest-matcher-utils": "^29.0.3", + "jest-message-util": "^29.0.3", + "jest-util": "^29.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/exports-loader": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/exports-loader/-/exports-loader-0.7.0.tgz", @@ -8640,20 +8852,416 @@ "engines": { "node": ">=8" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/istanbul-lib-report/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz", + "integrity": "sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^2.0.5", + "make-dir": "^2.1.0", + "rimraf": "^2.6.3", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "deprecated": "Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/istanbul-lib-source-maps/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/istanbul-reports": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", + "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", + "dev": true, + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jasmine": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-4.4.0.tgz", + "integrity": "sha512-xrbOyYkkCvgduNw7CKktDtNb+BwwBv/zvQeHpTkbxqQ37AJL5V4sY3jHoMIJPP/hTc3QxLVwOyxc87AqA+kw5g==", + "dev": true, + "dependencies": { + "glob": "^7.1.6", + "jasmine-core": "^4.4.0" + }, + "bin": { + "jasmine": "bin/jasmine.js" + } + }, + "node_modules/jasmine-ajax": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/jasmine-ajax/-/jasmine-ajax-3.4.0.tgz", + "integrity": "sha512-LIVNVCmx5ou+IG6wgX7j73YYzvE2e3aqFWMjOhvAHWTnLICOYSobIH+PG/gOwtP20X0u2SkD3NXT/j5X8rMGOA==", + "dev": true + }, + "node_modules/jasmine-console-reporter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jasmine-console-reporter/-/jasmine-console-reporter-3.1.0.tgz", + "integrity": "sha512-fNP6XlgkIyNvfr6JVMJudZL9qWNY2K7l934Ojj4k8J09/QXf4xYf2Mc7MUgcsDhqIb2zTkLd2LsBJWFvJz41/w==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "chalk": "^2.4.1", + "ci-info": "^1.4.0", + "node-emoji": "^1.8.1", + "ora": "^3.0.0", + "perfy": "^1.1.5" + }, + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "jasmine": ">=3.0.0" + } + }, + "node_modules/jasmine-core": { + "version": "3.99.1", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.99.1.tgz", + "integrity": "sha512-Hu1dmuoGcZ7AfyynN3LsfruwMbxMALMka+YtZeGoLuDEySVmVAPaonkNoBRIw/ectu8b9tVQCJNgp4a4knp+tg==", + "dev": true + }, + "node_modules/jasmine/node_modules/jasmine-core": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.4.0.tgz", + "integrity": "sha512-+l482uImx5BVd6brJYlaHe2UwfKoZBqQfNp20ZmdNfsjGFTemGfqHLsXjKEW23w9R/m8WYeFc9JmIgjj6dUtAA==", + "dev": true + }, + "node_modules/jest-diff": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.3.tgz", + "integrity": "sha512-+X/AIF5G/vX9fWK+Db9bi9BQas7M9oBME7egU7psbn4jlszLFCu0dW63UgeE6cs/GANq4fLaT+8sGHQQ0eCUfg==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^29.0.0", + "jest-get-type": "^29.0.0", + "pretty-format": "^29.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-diff/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-diff/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-diff/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-diff/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/jest-diff/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=0.4" + } + }, + "node_modules/jest-diff/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/jest-get-type": { + "version": "29.0.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.0.0.tgz", + "integrity": "sha512-83X19z/HuLKYXYHskZlBAShO7UfLFXu/vWajw9ZNJASN32li8yHMaVGAQqxFW1RCFOkB7cubaL6FaJVQqqJLSw==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-matcher-utils": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.0.3.tgz", + "integrity": "sha512-RsR1+cZ6p1hDV4GSCQTg+9qjeotQCgkaleIKLK7dm+U4V/H2bWedU3RAtLm8+mANzZ7eDV33dMar4pejd7047w==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^29.0.3", + "jest-get-type": "^29.0.0", + "pretty-format": "^29.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-matcher-utils/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-matcher-utils/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-matcher-utils/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-matcher-utils/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/jest-matcher-utils/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-matcher-utils/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-message-util": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.0.3.tgz", + "integrity": "sha512-7T8JiUTtDfppojosORAflABfLsLKMLkBHSWkjNQrjIltGoDzNGn7wEPOSfjqYAGTYME65esQzMJxGDjuLBKdOg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.0.3", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.0.3", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-message-util/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-message-util/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-message-util/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-message-util/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/jest-message-util/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-message-util/node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" } }, - "node_modules/istanbul-lib-report/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "node_modules/jest-message-util/node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, - "bin": { - "semver": "bin/semver.js" + "engines": { + "node": ">=8" } }, - "node_modules/istanbul-lib-report/node_modules/supports-color": { + "node_modules/jest-message-util/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", @@ -8665,110 +9273,98 @@ "node": ">=8" } }, - "node_modules/istanbul-lib-source-maps": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz", - "integrity": "sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==", + "node_modules/jest-util": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.0.3.tgz", + "integrity": "sha512-Q0xaG3YRG8QiTC4R6fHjHQPaPpz9pJBEi0AeOE4mQh/FuWOijFjGXMMOfQEaU9i3z76cNR7FobZZUQnL6IyfdQ==", "dev": true, "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^2.0.5", - "make-dir": "^2.1.0", - "rimraf": "^2.6.3", - "source-map": "^0.6.1" + "@jest/types": "^29.0.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" }, "engines": { - "node": ">=6" - } - }, - "node_modules/istanbul-lib-source-maps/node_modules/debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "deprecated": "Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)", - "dev": true, - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/istanbul-lib-source-maps/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/istanbul-lib-source-maps/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/istanbul-reports": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", - "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", + "node_modules/jest-util/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" + "color-convert": "^2.0.1" }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jasmine": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.5.0.tgz", - "integrity": "sha512-DYypSryORqzsGoMazemIHUfMkXM7I7easFaxAvNM3Mr6Xz3Fy36TupTrAOxZWN8MVKEU5xECv22J4tUQf3uBzQ==", + "node_modules/jest-util/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "dependencies": { - "glob": "^7.1.4", - "jasmine-core": "~3.5.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, - "bin": { - "jasmine": "bin/jasmine.js" + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/jasmine-ajax": { + "node_modules/jest-util/node_modules/ci-info": { "version": "3.4.0", - "resolved": "https://registry.npmjs.org/jasmine-ajax/-/jasmine-ajax-3.4.0.tgz", - "integrity": "sha512-LIVNVCmx5ou+IG6wgX7j73YYzvE2e3aqFWMjOhvAHWTnLICOYSobIH+PG/gOwtP20X0u2SkD3NXT/j5X8rMGOA==", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.4.0.tgz", + "integrity": "sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug==", "dev": true }, - "node_modules/jasmine-console-reporter": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jasmine-console-reporter/-/jasmine-console-reporter-3.1.0.tgz", - "integrity": "sha512-fNP6XlgkIyNvfr6JVMJudZL9qWNY2K7l934Ojj4k8J09/QXf4xYf2Mc7MUgcsDhqIb2zTkLd2LsBJWFvJz41/w==", + "node_modules/jest-util/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { - "ansi-styles": "^3.2.1", - "chalk": "^2.4.1", - "ci-info": "^1.4.0", - "node-emoji": "^1.8.1", - "ora": "^3.0.0", - "perfy": "^1.1.5" + "color-name": "~1.1.4" }, "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jasmine": ">=3.0.0" + "node": ">=7.0.0" } }, - "node_modules/jasmine-core": { - "version": "3.99.1", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.99.1.tgz", - "integrity": "sha512-Hu1dmuoGcZ7AfyynN3LsfruwMbxMALMka+YtZeGoLuDEySVmVAPaonkNoBRIw/ectu8b9tVQCJNgp4a4knp+tg==", + "node_modules/jest-util/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/jasmine/node_modules/jasmine-core": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.5.0.tgz", - "integrity": "sha512-nCeAiw37MIMA9w9IXso7bRaLl+c/ef3wnxsoSAlYrzS+Ot0zTG6nU8G/cIfGkqpkjX2wNaIW9RFG0TwIFnG6bA==", - "dev": true + "node_modules/jest-util/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-util/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } }, "node_modules/jison": { "version": "0.4.13", @@ -11583,6 +12179,32 @@ "utila": "~0.4" } }, + "node_modules/pretty-format": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.0.3.tgz", + "integrity": "sha512-cHudsvQr1K5vNVLbvYF/nv3Qy/F/BcEKxGuIeMiVMRHxPOO1RxXooP8g/ZrwAp7Dx+KdMZoOc7NxLHhMrP2f9Q==", + "dev": true, + "dependencies": { + "@jest/schemas": "^29.0.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/private": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", @@ -12181,6 +12803,12 @@ "webpack": "^4.3.0" } }, + "node_modules/react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", + "dev": true + }, "node_modules/read-pkg": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz", @@ -13650,6 +14278,27 @@ "figgy-pudding": "^3.5.1" } }, + "node_modules/stack-utils": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", + "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", + "dev": true, + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/stack-utils/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/static-eval": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.0.2.tgz", @@ -17889,6 +18538,89 @@ "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true }, + "@jest/expect-utils": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.0.3.tgz", + "integrity": "sha512-i1xUkau7K/63MpdwiRqaxgZOjxYs4f0WMTGJnYwUKubsNRZSeQbLorS7+I4uXVF9KQ5r61BUPAUMZ7Lf66l64Q==", + "dev": true, + "requires": { + "jest-get-type": "^29.0.0" + } + }, + "@jest/schemas": { + "version": "29.0.0", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.0.0.tgz", + "integrity": "sha512-3Ab5HgYIIAnS0HjqJHQYZS+zXc4tUmTmBH3z83ajI6afXp8X3ZtdLX+nXx+I7LNkJD7uN9LAVhgnjDgZa2z0kA==", + "dev": true, + "requires": { + "@sinclair/typebox": "^0.24.1" + } + }, + "@jest/types": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.0.3.tgz", + "integrity": "sha512-coBJmOQvurXjN1Hh5PzF7cmsod0zLIOXpP8KD161mqNlroMhLcwpODiEzi7ZsRl5Z/AIuxpeNm8DCl43F4kz8A==", + "dev": true, + "requires": { + "@jest/schemas": "^29.0.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -18490,6 +19222,12 @@ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" }, + "@sinclair/typebox": { + "version": "0.24.42", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.42.tgz", + "integrity": "sha512-d+2AtrHGyWek2u2ITF0lHRIv6Tt7X0dEHW+0rP+5aDCEjC3fiN2RBjrLD0yU0at52BcZbRGxLbAtXiR0hFCjYw==", + "dev": true + }, "@tsconfig/node10": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", @@ -18580,6 +19318,19 @@ "@types/node": "*" } }, + "@types/gapi": { + "version": "0.0.42", + "resolved": "https://registry.npmjs.org/@types/gapi/-/gapi-0.0.42.tgz", + "integrity": "sha512-kskWpouTGqutaIVRo/swiGnMVoRxOYdRwvaDrh0yavfR9vQoHvJJ7Enp4KE9MEGS8qF7F5KiP6bRNOYcCgRXCA==" + }, + "@types/gapi.auth2": { + "version": "0.0.56", + "resolved": "https://registry.npmjs.org/@types/gapi.auth2/-/gapi.auth2-0.0.56.tgz", + "integrity": "sha512-kGaBtGVCqGS3Y05L56dGVlBpJflxLfwA0zpMQnQgGRFk1tsMPbQnogG51UQjt1vCuYfRO0Jd9/K5KDtzjAbMkA==", + "requires": { + "@types/gapi": "*" + } + }, "@types/gapi.client": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@types/gapi.client/-/gapi.client-1.0.1.tgz", @@ -18606,12 +19357,46 @@ "@types/node": "*" } }, + "@types/istanbul-lib-coverage": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", + "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", + "dev": true + }, + "@types/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "*" + } + }, + "@types/istanbul-reports": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", + "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", + "dev": true, + "requires": { + "@types/istanbul-lib-report": "*" + } + }, "@types/jasmine": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.4.2.tgz", - "integrity": "sha512-SaSSGOzwUnBEn64c+HTyVTJhRf8F1CXZLnxYx2ww3UrgGBmEEw38RSux2l3fYiT9brVLP67DU5omWA6V9OHI5Q==", + "version": "3.10.6", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.10.6.tgz", + "integrity": "sha512-twY9adK/vz72oWxCWxzXaxoDtF9TpfEEsxvbc1ibjF3gMD/RThSuSud/GKUTR3aJnfbivAbC/vLqhY+gdWCHfA==", "dev": true }, + "@types/jest": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.0.3.tgz", + "integrity": "sha512-F6ukyCTwbfsEX5F2YmVYmM5TcTHy1q9P5rWlRbrk56KyMh3v9xRGUO3aa8+SkvMi0SHXtASJv1283enXimC0Og==", + "dev": true, + "requires": { + "expect": "^29.0.0", + "pretty-format": "^29.0.0" + } + }, "@types/js-yaml": { "version": "3.12.1", "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-3.12.1.tgz", @@ -18684,6 +19469,12 @@ "@types/mime": "*" } }, + "@types/stack-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", + "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", + "dev": true + }, "@types/tough-cookie": { "version": "2.3.5", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-2.3.5.tgz", @@ -18703,6 +19494,21 @@ "@types/node": "*" } }, + "@types/yargs": { + "version": "17.0.12", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.12.tgz", + "integrity": "sha512-Nz4MPhecOFArtm81gFQvQqdV7XYCrWKx5uUt6GNHredFHn1i2mtWqXTON7EPXMtNi1qjtjEM/VCHDhcHsAMLXQ==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "@types/yargs-parser": { + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", + "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "dev": true + }, "@types/yauzl": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz", @@ -19059,8 +19865,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz", "integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==", - "dev": true, - "requires": {} + "dev": true }, "acorn-walk": { "version": "8.2.0", @@ -19129,8 +19934,7 @@ "version": "3.4.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz", "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==", - "dev": true, - "requires": {} + "dev": true }, "ansi-colors": { "version": "3.2.4", @@ -21091,6 +21895,12 @@ "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true }, + "diff-sequences": { + "version": "29.0.0", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.0.0.tgz", + "integrity": "sha512-7Qe/zd1wxSDL4D/X/FPjOMB+ZMDt71W94KYaq05I2l0oQqgXgs7s4ftYYmV38gBSrPz2vcygxfs1xn0FT+rKNA==", + "dev": true + }, "diffie-hellman": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", @@ -21351,8 +22161,7 @@ "version": "7.4.6", "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", - "dev": true, - "requires": {} + "dev": true } } }, @@ -21394,8 +22203,7 @@ "version": "7.4.6", "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", - "dev": true, - "requires": {} + "dev": true } } }, @@ -21799,6 +22607,19 @@ "homedir-polyfill": "^1.0.1" } }, + "expect": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/expect/-/expect-29.0.3.tgz", + "integrity": "sha512-t8l5DTws3212VbmPL+tBFXhjRHLmctHB0oQbL8eUc6S7NzZtYUhycrFO9mkxA0ZUC6FAWdNi7JchJSkODtcu1Q==", + "dev": true, + "requires": { + "@jest/expect-utils": "^29.0.3", + "jest-get-type": "^29.0.0", + "jest-matcher-utils": "^29.0.3", + "jest-message-util": "^29.0.3", + "jest-util": "^29.0.3" + } + }, "exports-loader": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/exports-loader/-/exports-loader-0.7.0.tgz", @@ -23868,19 +24689,19 @@ } }, "jasmine": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.5.0.tgz", - "integrity": "sha512-DYypSryORqzsGoMazemIHUfMkXM7I7easFaxAvNM3Mr6Xz3Fy36TupTrAOxZWN8MVKEU5xECv22J4tUQf3uBzQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-4.4.0.tgz", + "integrity": "sha512-xrbOyYkkCvgduNw7CKktDtNb+BwwBv/zvQeHpTkbxqQ37AJL5V4sY3jHoMIJPP/hTc3QxLVwOyxc87AqA+kw5g==", "dev": true, "requires": { - "glob": "^7.1.4", - "jasmine-core": "~3.5.0" + "glob": "^7.1.6", + "jasmine-core": "^4.4.0" }, "dependencies": { "jasmine-core": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.5.0.tgz", - "integrity": "sha512-nCeAiw37MIMA9w9IXso7bRaLl+c/ef3wnxsoSAlYrzS+Ot0zTG6nU8G/cIfGkqpkjX2wNaIW9RFG0TwIFnG6bA==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.4.0.tgz", + "integrity": "sha512-+l482uImx5BVd6brJYlaHe2UwfKoZBqQfNp20ZmdNfsjGFTemGfqHLsXjKEW23w9R/m8WYeFc9JmIgjj6dUtAA==", "dev": true } } @@ -23911,6 +24732,293 @@ "integrity": "sha512-Hu1dmuoGcZ7AfyynN3LsfruwMbxMALMka+YtZeGoLuDEySVmVAPaonkNoBRIw/ectu8b9tVQCJNgp4a4knp+tg==", "dev": true }, + "jest-diff": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.3.tgz", + "integrity": "sha512-+X/AIF5G/vX9fWK+Db9bi9BQas7M9oBME7egU7psbn4jlszLFCu0dW63UgeE6cs/GANq4fLaT+8sGHQQ0eCUfg==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "diff-sequences": "^29.0.0", + "jest-get-type": "^29.0.0", + "pretty-format": "^29.0.3" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "jest-get-type": { + "version": "29.0.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.0.0.tgz", + "integrity": "sha512-83X19z/HuLKYXYHskZlBAShO7UfLFXu/vWajw9ZNJASN32li8yHMaVGAQqxFW1RCFOkB7cubaL6FaJVQqqJLSw==", + "dev": true + }, + "jest-matcher-utils": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.0.3.tgz", + "integrity": "sha512-RsR1+cZ6p1hDV4GSCQTg+9qjeotQCgkaleIKLK7dm+U4V/H2bWedU3RAtLm8+mANzZ7eDV33dMar4pejd7047w==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "jest-diff": "^29.0.3", + "jest-get-type": "^29.0.0", + "pretty-format": "^29.0.3" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "jest-message-util": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.0.3.tgz", + "integrity": "sha512-7T8JiUTtDfppojosORAflABfLsLKMLkBHSWkjNQrjIltGoDzNGn7wEPOSfjqYAGTYME65esQzMJxGDjuLBKdOg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.0.3", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.0.3", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "jest-util": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.0.3.tgz", + "integrity": "sha512-Q0xaG3YRG8QiTC4R6fHjHQPaPpz9pJBEi0AeOE4mQh/FuWOijFjGXMMOfQEaU9i3z76cNR7FobZZUQnL6IyfdQ==", + "dev": true, + "requires": { + "@jest/types": "^29.0.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "ci-info": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.4.0.tgz", + "integrity": "sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug==", + "dev": true + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "jison": { "version": "0.4.13", "resolved": "https://registry.npmjs.org/jison/-/jison-0.4.13.tgz", @@ -24352,8 +25460,7 @@ "version": "1.4.2", "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.4.2.tgz", "integrity": "sha512-7g0gPj8+9JepCNJR9WjDyQ2RkZ375jpdurYQyAYv8PorUCadepl8vrD6LmMqOGcM17cnrynBawQYZHaumgDjBw==", - "dev": true, - "requires": {} + "dev": true }, "karma-sourcemap-loader": { "version": "0.3.7", @@ -26150,6 +27257,25 @@ "utila": "~0.4" } }, + "pretty-format": { + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.0.3.tgz", + "integrity": "sha512-cHudsvQr1K5vNVLbvYF/nv3Qy/F/BcEKxGuIeMiVMRHxPOO1RxXooP8g/ZrwAp7Dx+KdMZoOc7NxLHhMrP2f9Q==", + "dev": true, + "requires": { + "@jest/schemas": "^29.0.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + } + } + }, "private": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", @@ -26585,8 +27711,7 @@ "version": "7.5.9", "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "dev": true, - "requires": {} + "dev": true } } }, @@ -26664,6 +27789,12 @@ "schema-utils": "^1.0.0" } }, + "react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", + "dev": true + }, "read-pkg": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz", @@ -27901,6 +29032,23 @@ "figgy-pudding": "^3.5.1" } }, + "stack-utils": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", + "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", + "dev": true, + "requires": { + "escape-string-regexp": "^2.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true + } + } + }, "static-eval": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.0.2.tgz", @@ -29175,8 +30323,7 @@ "version": "3.4.1", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.1.tgz", "integrity": "sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ==", - "dev": true, - "requires": {} + "dev": true }, "enhanced-resolve": { "version": "4.5.0", diff --git a/components/centraldashboard/package.json b/components/centraldashboard/package.json index 8c2ebf83f77..dcf3c69c3c0 100644 --- a/components/centraldashboard/package.json +++ b/components/centraldashboard/package.json @@ -66,6 +66,7 @@ "@polymer/paper-toast": "^3.0.1", "@polymer/polymer": "^3.3.0", "@types/dotenv": "^6.1.1", + "@types/gapi.auth2": "^0.0.56", "@vaadin/vaadin-grid": "^5.4.9", "@webcomponents/webcomponentsjs": "^2.3.0", "chart.js": "^2.8.0", @@ -85,7 +86,8 @@ "@polymer/test-fixture": "^4.0.2", "@types/express": "^4.17.1", "@types/gapi.client.monitoring": "^3.0.1", - "@types/jasmine": "^3.4.2", + "@types/jasmine": "^3.10.6", + "@types/jest": "^29.0.3", "@types/node-fetch": "^2.5.2", "@types/puppeteer": "^2.0.0", "babel-loader": "^8.0.6", @@ -103,7 +105,7 @@ "file-loader": "^3.0.1", "html-webpack-plugin": "^3.2.0", "istanbul-instrumenter-loader": "^3.0.1", - "jasmine": "^3.5.0", + "jasmine": "^4.4.0", "jasmine-ajax": "^3.4.0", "jasmine-console-reporter": "^3.1.0", "karma": "^5.1.1", diff --git a/components/centraldashboard/public/components/activities-list_test.js b/components/centraldashboard/public/components/activities-list_test.js index 932ea8ca1e0..9473cf78056 100644 --- a/components/centraldashboard/public/components/activities-list_test.js +++ b/components/centraldashboard/public/components/activities-list_test.js @@ -88,15 +88,15 @@ describe('Activities List', () => { times.push(t.innerText); }); expect(times).toEqual([ - '7:00:00 PM', - '6:00:00 PM', - '5:00:00 PM', - '4:00:00 PM', - '3:00:00 PM', - '2:00:00 PM', - '1:00:00 PM', - '12:00:00 PM', - '11:00:00 AM', - '10:00:00 AM']); + '19:00:00', + '18:00:00', + '17:00:00', + '16:00:00', + '15:00:00', + '14:00:00', + '13:00:00', + '12:00:00', + '11:00:00', + '10:00:00']); }); }); diff --git a/components/centraldashboard/public/components/main-page_test.js b/components/centraldashboard/public/components/main-page_test.js index 1c017f06d89..2cf0b4708f0 100755 --- a/components/centraldashboard/public/components/main-page_test.js +++ b/components/centraldashboard/public/components/main-page_test.js @@ -49,7 +49,7 @@ const MENU_LINKS = [ { link: '/myapp/{ns}', text: 'MyApp', - } + }, ]; describe('Main Page', () => { @@ -159,18 +159,17 @@ describe('Main Page', () => { it('Sets view state when the namespace is not specified for ' + 'a namespaced item', () => { - spyOn(mainPage, '_isInsideOfIframe').and.returnValue(true); - mainPage._routePageChanged('iframe', '/myapp/{ns}'); - flush(); - - expect(mainPage.page).toBe('namespace_needed'); - expect(mainPage.notFoundInIframe).toBe(true); - expect(mainPage.shadowRoot.getElementById('ViewTabs') - .hasAttribute('hidden')).toBe(true); - expect(mainPage.shadowRoot.getElementById('ViewTabs') - .hasAttribute('hidden')).toBe(true); + spyOn(mainPage, '_isInsideOfIframe').and.returnValue(true); + mainPage._routePageChanged('iframe', '/myapp/{ns}'); + flush(); - }); + expect(mainPage.page).toBe('namespace_needed'); + expect(mainPage.notFoundInIframe).toBe(true); + expect(mainPage.shadowRoot.getElementById('ViewTabs') + .hasAttribute('hidden')).toBe(true); + expect(mainPage.shadowRoot.getElementById('ViewTabs') + .hasAttribute('hidden')).toBe(true); + }); it('Appends query string when building links', () => { const sidebarLinkSelector = '#MainDrawer iron-selector iframe-link'; @@ -358,8 +357,8 @@ describe('Main Page', () => { flush(); mainPage.set('queryParams.ns', 'test'); expect(mainPage._buildHref('/myapp/{ns}', {ns: 'test'})).toBe( - '/myapp/test?ns=test'); - }) + '/myapp/test?ns=test'); + }); it('Sets active menu item from namespaced URL', () => { @@ -371,8 +370,8 @@ describe('Main Page', () => { const activeMenuItem = getSelectedMenuItem(); expect(activeMenuItem.length).toBe(1); expect(activeMenuItem[0].parentElement.href).toBe( - '/myapp/test?ns=test'); - }); + '/myapp/test?ns=test'); + }); it('Update namespaced item along with namespace selection', () => { @@ -385,14 +384,14 @@ describe('Main Page', () => { let activeMenuItem = getSelectedMenuItem(); expect(activeMenuItem.length).toBe(1); expect(activeMenuItem[0].parentElement.href).toBe( - '/myapp/test?ns=test'); + '/myapp/test?ns=test'); expect(mainPage.subRouteData.path).toBe('/myapp/test/'); mainPage.set('queryParams.ns', 'other-namespace'); activeMenuItem = getSelectedMenuItem(); expect(activeMenuItem.length).toBe(1); expect(activeMenuItem[0].parentElement.href).toBe( - '/myapp/other-namespace?ns=other-namespace'); + '/myapp/other-namespace?ns=other-namespace'); expect(mainPage.subRouteData.path).toBe('/myapp/other-namespace'); }); }); diff --git a/components/centraldashboard/public/components/manage-users-view-contributor.js b/components/centraldashboard/public/components/manage-users-view-contributor.js index f83105d43c8..dce6eb06cfb 100644 --- a/components/centraldashboard/public/components/manage-users-view-contributor.js +++ b/components/centraldashboard/public/components/manage-users-view-contributor.js @@ -85,11 +85,10 @@ export class ManageUsersViewContributor extends utilitiesMixin(localizationMixin 'manageUsersViewContributor.errorCreateGeneral'; const error = this._isolateErrorFromIronRequest(e); // Employee-only namespaces - if (error.includes("denyexternalusers")) { - this.contribCreateError = + if (error.includes('denyexternalusers')) { + this.contribCreateError = 'manageUsersViewContributor.errorExternalUser'; - } - else { + } else { this.contribCreateError = 'manageUsersViewContributor.errorCreateGeneral'; } diff --git a/components/crud-web-apps/common/backend/kubeflow/kubeflow/crud_backend/api/apis.py b/components/crud-web-apps/common/backend/kubeflow/kubeflow/crud_backend/api/apis.py index 2d6c89ae86f..21f4206c6c9 100644 --- a/components/crud-web-apps/common/backend/kubeflow/kubeflow/crud_backend/api/apis.py +++ b/components/crud-web-apps/common/backend/kubeflow/kubeflow/crud_backend/api/apis.py @@ -7,6 +7,6 @@ config.load_kube_config() # Create the Apis -v1_core = client.CoreV1Api() -custom_api = client.CustomObjectsApi() +v1_core = client.Core_v1Api() +custom_api = client.Custom_objectsApi() storage_api = client.StorageV1Api() diff --git a/components/notebook-controller/controllers/notebook_controller.go b/components/notebook-controller/controllers/notebook_controller.go index c305d5305a5..e3460587d96 100644 --- a/components/notebook-controller/controllers/notebook_controller.go +++ b/components/notebook-controller/controllers/notebook_controller.go @@ -462,20 +462,6 @@ func generateStatefulSet(instance *v1beta1.Notebook) *appsv1.StatefulSet { } } - // Begin AAW Addition - // Add readiness probe - if container.ReadinessProbe == nil { - container.ReadinessProbe = &corev1.Probe{ - ProbeHandler: corev1.ProbeHandler{ - HTTPGet: &corev1.HTTPGetAction{ - Path: "/notebook/" + instance.Namespace + "/" + instance.Name, - Port: intstr.FromInt(DefaultContainerPort), - }, - }, - } - } - // End AAW Addition - setPrefixEnvVar(instance, container) // For some platforms (like OpenShift), adding fsGroup: 100 is troublesome. diff --git a/py/kubeflow/kubeflow/ci/profiles_test.py b/py/kubeflow/kubeflow/ci/profiles_test.py index 83f99c35d95..ef32264ec68 100644 --- a/py/kubeflow/kubeflow/ci/profiles_test.py +++ b/py/kubeflow/kubeflow/ci/profiles_test.py @@ -57,7 +57,7 @@ logging.getLogger().setLevel(logging.INFO) def deleteProfile(api_client, group, version, name): - k8s_co = k8s_client.CustomObjectsApi(api_client) + k8s_co = k8s_client.Custom_objectsApi(api_client) resp = k8s_co.delete_cluster_custom_object( group=group, version=version, @@ -69,7 +69,7 @@ def deleteProfile(api_client, group, version, name): time.sleep(20) def verifyProfileDeletion(api_client, group, version, name): - k8s_co = k8s_client.CustomObjectsApi(api_client) + k8s_co = k8s_client.Custom_objectsApi(api_client) status = '\"status\":\"Failure\",\"message\":' with pytest.raises(ApiException) as e: resp = k8s_co.get_cluster_custom_object( @@ -83,7 +83,7 @@ def verifyProfileDeletion(api_client, group, version, name): status, PLURAL, GROUP, name) assert excMsg in str(e.value) - coreV1 = k8s_client.CoreV1Api(api_client) + coreV1 = k8s_client.Core_v1Api(api_client) with pytest.raises(ApiException) as e: resp = coreV1.read_namespace(name) logging.info(resp) @@ -116,7 +116,7 @@ def verifyServiceAccounts(api_client, name): foundDefEditor = False foundDefViewer = False - coreV1 = k8s_client.CoreV1Api(api_client) + coreV1 = k8s_client.Core_v1Api(api_client) saList = coreV1.list_namespaced_service_account(namespace=name, watch=False) for i in saList.items: saName = i.metadata.name @@ -134,7 +134,7 @@ def verifyServiceAccounts(api_client, name): def verifyNamespaceCreation(api_client, name): # Verifies the namespace is created with profile 'name' specified. - coreV1 = k8s_client.CoreV1Api(api_client) + coreV1 = k8s_client.Core_v1Api(api_client) retry_read_namespace = retry( wait_exponential_multiplier=1000, # wait 2^i * 1000 ms, on the i-th retry wait_exponential_max=60000, # 60 sec max @@ -143,7 +143,7 @@ def verifyNamespaceCreation(api_client, name): logging.info("found namespace: %s", resp) def verifyProfileCreation(api_client, group, version, name): - k8s_co = k8s_client.CustomObjectsApi(api_client) + k8s_co = k8s_client.Custom_objectsApi(api_client) retry_read_profile = retry( wait_exponential_multiplier=1000, # wait 2^i * 1000 ms, on the i-th retry wait_exponential_max=60000, # 60 sec max @@ -162,7 +162,7 @@ def createProfile(api_client, profileTestYamlFile): wf_result = yaml.load(params) group, version = wf_result['apiVersion'].split('/') name = wf_result['metadata']['name'] - k8s_co = k8s_client.CustomObjectsApi(api_client) + k8s_co = k8s_client.Custom_objectsApi(api_client) resp = k8s_co.create_cluster_custom_object( group=group, version=version, diff --git a/testing/deploy_utils.py b/testing/deploy_utils.py index a50a2478303..424cba705bf 100644 --- a/testing/deploy_utils.py +++ b/testing/deploy_utils.py @@ -46,7 +46,7 @@ def _setup_test(api_client, run_label): test_dir: The local test directory. """ - api = k8s_client.CoreV1Api(api_client) + api = k8s_client.Core_v1Api(api_client) namespace = k8s_client.V1Namespace() namespace.api_version = "v1" namespace.kind = "Namespace" diff --git a/testing/katib_studyjob_test.py b/testing/katib_studyjob_test.py index f9d6d5dea4d..e70a4b3d01b 100644 --- a/testing/katib_studyjob_test.py +++ b/testing/katib_studyjob_test.py @@ -146,7 +146,7 @@ def wait_for_condition(client, invoked after we poll the job. Callable takes a single argument which is the job. """ - crd_api = k8s_client.CustomObjectsApi(client) + crd_api = k8s_client.Custom_objectsApi(client) end_time = datetime.datetime.now() + timeout while True: # By setting async_req=True ApiClient returns multiprocessing.pool.AsyncResult diff --git a/testing/run.sh b/testing/run.sh old mode 100644 new mode 100755 diff --git a/testing/test_tf_serving.py b/testing/test_tf_serving.py index a85057c6f19..3ac7fe6cc04 100644 --- a/testing/test_tf_serving.py +++ b/testing/test_tf_serving.py @@ -97,7 +97,7 @@ def main(): util.load_kube_config(persist_config=False) api_client = k8s_client.ApiClient() - core_api = k8s_client.CoreV1Api(api_client) + core_api = k8s_client.Core_v1Api(api_client) try: with open(args.input_path) as f: instances = json.loads(f.read()) diff --git a/testing/workflows/environments/prow/.metadata/swagger.json b/testing/workflows/environments/prow/.metadata/swagger.json index 07a28f2b8f4..3e94a5b102e 100644 --- a/testing/workflows/environments/prow/.metadata/swagger.json +++ b/testing/workflows/environments/prow/.metadata/swagger.json @@ -57,7 +57,7 @@ "tags": [ "core_v1" ], - "operationId": "getCoreV1APIResources", + "operationId": "getCore_v1ApiResources", "responses": { "200": { "description": "OK", diff --git a/testing/workflows/lib/ksonnet-lib/v1.7.0/swagger.json b/testing/workflows/lib/ksonnet-lib/v1.7.0/swagger.json index 07a28f2b8f4..3e94a5b102e 100644 --- a/testing/workflows/lib/ksonnet-lib/v1.7.0/swagger.json +++ b/testing/workflows/lib/ksonnet-lib/v1.7.0/swagger.json @@ -57,7 +57,7 @@ "tags": [ "core_v1" ], - "operationId": "getCoreV1APIResources", + "operationId": "getCore_v1ApiResources", "responses": { "200": { "description": "OK", diff --git a/testing/workflows/lib/v1.7.0/swagger.json b/testing/workflows/lib/v1.7.0/swagger.json index 07a28f2b8f4..3e94a5b102e 100644 --- a/testing/workflows/lib/v1.7.0/swagger.json +++ b/testing/workflows/lib/v1.7.0/swagger.json @@ -57,7 +57,7 @@ "tags": [ "core_v1" ], - "operationId": "getCoreV1APIResources", + "operationId": "getCore_v1ApiResources", "responses": { "200": { "description": "OK",