openshift-assisted / assisted-installer-ui

The Assisted Installer User Interface
https://console.redhat.com/openshift/create/datacenter
Apache License 2.0
10 stars 35 forks source link

MGMT-16109: Remove api folder from ocm and use the api folder from common #2429

Closed ammont82 closed 8 months ago

ammont82 commented 8 months ago

Related to https://issues.redhat.com/browse/MGMT-16109

openshift-ci-robot commented 8 months ago

@ammont82: This pull request references MGMT-16109 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.15.0" version, but no target version was set.

In response to [this](https://github.com/openshift-assisted/assisted-installer-ui/pull/2429): >Related to https://issues.redhat.com/browse/MGMT-16109 Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
jkilzi commented 8 months ago

@ammont82 the i9n tests failed, here's the failing test. Reason: TypeError: win.__app__.OCM.setAuthInterceptor is not a function. This is due to the refactor made in /ui-lib/lib/ocm/index.ts. In order to fix that the code should access the setAuthInterceptor function from OCM.Api, like this: win.__app__.OCM.Api.setAuthInterceptor.

openshift-ci[bot] commented 8 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ammont82, jkilzi

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/openshift-assisted/assisted-installer-ui/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment