Comment 1 for bug 1126249

Revision history for this message
Gary Poster (gary) wrote :

There's a small change to the scheme described above, per therve. The goal was simply to shrink the size of the annotations on the services and units. The resulting URLs are essentially the same as described above. Here are the new annotations:

Environment:

  landscape-url: https://host/account/standalone
  landscape-reboot-alert-url: +alert:computer-reboot/info#power
  landscape-security-alert-url: +alert:security-upgrades/packages/list?filter=security
  landscape-computers: /computers/criteria/environment:env_uuid

Service:

  landscape-computers: +service:service0

Unit:

  landscape-computer: +unit:service0%02F0
  landscape-security-upgrades: True (or not present)
  landscape-needs-rebooot: True (or not present)

To create a service or unit URL now, you must always include the Environment's landscape-computers annotation before the service's or unit's. A service URL from the annotations above would be https://host/account/standalone/computers/criteria/environment:env_uuid+service:service0 and a unit URL would be https://host/account/standalone/computers/criteria/environment:env_uuid+unit:service0%02F0

therve notes that the environment criteria has also changed to use the UUID instead of Landscape's internal name, but that should not affect us.