Bug 1831954 - RESTAPI javadoc contains malformed link around oVirt guest agent
Summary: RESTAPI javadoc contains malformed link around oVirt guest agent
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.3.9
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ovirt-4.4.2
: ---
Assignee: Ori Liel
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On: 1831949
Blocks: 1831952 1831956 1833327
TreeView+ depends on / blocked
 
Reported: 2020-05-06 02:17 UTC by Rolfe Dlugy-Hegwer
Modified: 2022-07-09 12:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1831949
: 1831956 1833327 (view as bug list)
Environment:
Last Closed: 2020-09-23 16:11:10 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-36330 0 None None None 2022-07-09 12:53:36 UTC
Red Hat Product Errata RHSA-2020:3807 0 None None None 2020-09-23 16:12:06 UTC

Description Rolfe Dlugy-Hegwer 2020-05-06 02:17:49 UTC
Description of problem:

Javadoc contains a malformed link:

```
==== statistics

Statistics data collected from this virtual machine.

Note that some statistics, notably `memory.buffered` and `memory.cached`
are available only when https://www.ovirt.org/documentation/internal/guest-agent/guest-agent[oVirt guest agent]<<<<<<<<<<<<<<<<<<<HERE
is installed in the virtual machine.

```

The link should be: https://www.ovirt.org/develop/internal/guest-agent/guest-agent.html.


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

How reproducible:
100%

Steps to Reproduce:
1.Open https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/rest_api_guide/
2. Ctrl+f search for oVirt guest agent


Actual results:

Current URL produces a 404 error

Expected results:

URL should open oVirt guest agent topic.

Additional info:

I am putting a temporary fix in the doc that will be erased next time we regenerate the API doc from the code. You must fix this in the source code.
Don't be fooled if you look at the current doc and it seems to be fixed.

Comment 1 Martin Perina 2020-05-07 07:55:23 UTC

*** This bug has been marked as a duplicate of bug 1831952 ***

Comment 2 Martin Perina 2020-05-07 12:28:57 UTC
OK, reopening, this has nothing with api-explorer, this content is included in ovirt-engine-api-model

Comment 4 Rolfe Dlugy-Hegwer 2020-05-08 12:46:01 UTC
(In reply to Ori Liel from comment #3)
> In master branch the link is: 

Uh oh. It looks like the downstream file where I found these broken links might out of date. When I look at the following history [1], I see 

> Fix documentation links …
> @machacekondra
> machacekondra committed on Jun 18, 2019

[1] https://github.com/oVirt/ovirt-engine-api-model/commits/11b0a304d0ff57773d5621f55a80b625b9deffd2/src/main/java/types/Vm.java

We should regenerate our model.adoc file and re-test for broken links. In the meantime, you should still verify the links on your side. I couple of the other bz's I created deal with websites or content that have been taken down.

Comment 5 Rolfe Dlugy-Hegwer 2020-05-26 14:09:11 UTC
The new link you are proposing looks correct. 
Please enclose the URL in <a> tags.
For details, see https://stackoverflow.com/questions/1082050/linking-to-an-external-url-in-javadoc

Comment 14 errata-xmlrpc 2020-09-23 16:11:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Virtualization security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:3807


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