Bug 1795704 - most of links from API explorer are broken
Summary: most of links from API explorer are broken
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-apiserver
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.2.z
Assignee: Lukasz Szaszkiewicz
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On: 1780327
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-28 16:45 UTC by Lukasz Szaszkiewicz
Modified: 2020-05-26 07:25 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1780327
Environment:
Last Closed: 2020-05-18 13:02:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukasz Szaszkiewicz 2020-01-28 16:45:13 UTC
+++ This bug was initially created as a clone of Bug #1780327 +++

Description of problem:
API explorer page has a bunch of wrong links 

(Example)
https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

==> result in 404 pages.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Go webconsole console
2.Click explorer
3.Click any of objects


Actual results:
Links are broken.

Expected results:
Links show a right page.

Additional info:

--- Additional comment from Samuel Padgett on 2019-12-05 19:08:30 UTC ---

This isn't specific to console and happens with `oc explain` as well. The links in the API doc itself are broken. Looks like the pages moved in the community repo.

--- Additional comment from Lukasz Szaszkiewicz on 2020-01-08 09:47:59 UTC ---

The link to the api-conventions doc is part of the API types definition, for example, https://github.com/openshift/origin/blob/release-4.2/vendor/k8s.io/kubernetes/staging/src/k8s.io/api/core/v1/types.go#L3179
 
To fix the link we would have to identify every occurrence of it in all types and regenerate the swagger spec.
Additionally, we would have check if the other links are not outdated too.

This seems to be only broken in 4.2 (4.3 and 4.4 look good).

--- Additional comment from Samuel Padgett on 2020-01-09 21:19:00 UTC ---

Comment 1 Michal Fojtik 2020-05-12 10:47:22 UTC
This bug hasn't had any activity in the last 30 days. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

As such, we're marking this bug as "LifecycleStale".

If you have further information on the current state of the bug, please update it, otherwise this bug will be automatically closed in 7 days. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.


Note You need to log in before you can comment on or make changes to this bug.