<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/OpenBmc/bmcweb.git/redfish-core/include/registries, branch master</title>
<subtitle>A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/'/>
<updated>2025-08-18T17:32:35+00:00</updated>
<entry>
<title>Generate update registry</title>
<updated>2025-08-18T17:32:35+00:00</updated>
<author>
<name>Alexander Hansen</name>
<email>alexander.hansen@9elements.com</email>
</author>
<published>2025-08-12T11:25:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=d3616d13fbd236204477312ddf2e9913a7001010'/>
<id>urn:sha1:d3616d13fbd236204477312ddf2e9913a7001010</id>
<content type='text'>
Generate the update registry, needed to return correct error messages
from update service.

Change-Id: Ifaa699cad8531070aea47d2476c1834df7c61e08
Signed-off-by: Alexander Hansen &lt;alexander.hansen@9elements.com&gt;
</content>
</entry>
<entry>
<title>Add SubordinateOverrides &amp; Fix Log_services privileges</title>
<updated>2025-07-11T15:34:56+00:00</updated>
<author>
<name>Abhishek Patel</name>
<email>Abhishek.Patel@ibm.com</email>
</author>
<published>2021-07-21T16:29:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=fff6a4d34a9a49f9e1e228ffb3afb5385be2a4ad'/>
<id>urn:sha1:fff6a4d34a9a49f9e1e228ffb3afb5385be2a4ad</id>
<content type='text'>
SubordinateOverrides:
  This commit automates the creation of SubordinateOverrides privileges
  structures from the redfish privilege registry. In addition, it
  enhances the function of parse_registries.py.

  It reads SubordinateOverrides privilege registry from DMTF and
  generates const defines SubordinateOverrides for all the privilege
  registry entries in the same format that the Privileges struct
  accepts.

  Moreover, it generates unique const defines for all
  SubordinateOverrides target levels.
  Ex: EthernetInterface SubordinateOverrides has two "Targets":
      ["Manager", "EthernetInterfaceCollection"]. So
      parse_registries.py generates two unique const

      1) Subordinate override for Manager -&gt; EthernetInterface
      2) Subordinate override for Manager -&gt;
         EthernetInterfaceCollection -&gt;  EthernetInterface

  Note: if SubordinateOverrides privilege gets changed, then it
  automatically updates that route privilege, but if
  SubordinateOverrides target gets changed, then the user needs to
  update that manually.

Fix Log_services privileges:
  In Log_services, some of the privileges not following the
  Redfish_1.1.0_PrivilegeRegistry registry.

  This commit contains the following LogServices privileges.

  1) POST method
```
     ComputerSystem -&gt; LogServiceCollection -&gt; LogService
      - POST /redfish/v1/Systems/&lt;str&gt;/LogServices/EventLog/Actions/LogService.ClearLog/
      - POST /redfish/v1/Systems/&lt;str&gt;/LogServices/Dump/Actions/LogService.CollectDiagnosticData/
      - POST /redfish/v1/Systems/&lt;str&gt;/LogServices/Dump/Actions/LogService.ClearLog/
      - POST /LogServices/PostCodes/Actions/LogService.ClearLog/
```

   2) DELETE method
```
     ComputerSystem -&gt; LogServiceCollection -&gt; LogService -&gt; LogEntryCollection -&gt; LogEntry
       - DELETE /redfish/v1/Systems/&lt;str&gt;/LogServices/EventLog/Entries/&lt;str&gt;/
```

This commit also changes the current privilege

   1) ConfigureManager to ConfigureComponents.

```
    DELETE /redfish/v1/Systems/&lt;str&gt;/LogServices/EventLog/Entries/&lt;str&gt;
```

   2) ConfigureCompnents -&gt; ConfigureManager

```
   POST /redfish/v1/Systems/&lt;str&gt;/LogServices/Dump/Actions/LogService.ClearLog/
   POST /redfish/v1/Systems/&lt;str&gt;/LogServices/EventLog/Actions/LogService.ClearLog/
   POST /redfish/v1/Systems/&lt;str&gt;/LogServices/Dump/Actions/LogService.CollectDiagnosticData/
```

Tested: manually tested on Witherspoon system, there is no change in
        output. Run Redfish validator, with all different Privileges;
        Error Get: UUID: String '' does not match pattern ''
        this commit doesn't affect UUID

Email sent to openbmc list:
https://lists.ozlabs.org/pipermail/openbmc/2021-August/027232.html

Change-Id: I37d8a2882f1cfaa59a482083f180fdd0805e2e7d
Signed-off-by: Abhishek Patel &lt;Abhishek.Patel@ibm.com&gt;
Signed-off-by: Myung Bae &lt;myungbae@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>registries: make registration dynamic</title>
<updated>2025-05-20T15:39:45+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2025-02-27T19:52:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=4a102cd48c588d32c0a4d6610b4a9ed616f255f3'/>
<id>urn:sha1:4a102cd48c588d32c0a4d6610b4a9ed616f255f3</id>
<content type='text'>
Rather than having to manually hook code for registries, add a small
registration function to the registry header and use this registration
results throughout the registry interactions.

Tested:

Confirmed registries have same behavior.

```
$ curl -s -k https://localhost:18080/redfish/v1/Registries/ | jq '.Members | map(."@odata.id")'
[
  "/redfish/v1/Registries/Base",
  "/redfish/v1/Registries/HeartbeatEvent",
  "/redfish/v1/Registries/OpenBMC",
  "/redfish/v1/Registries/ResourceEvent",
  "/redfish/v1/Registries/TaskEvent",
  "/redfish/v1/Registries/Telemetry"
]
```

```
$ curl -s -k https://localhost:18080/redfish/v1/Registries/TaskEvent/TaskEvent | jq ".Messages | keys"
[
  "TaskAborted",
  "TaskCancelled",
  "TaskCompletedOK",
  "TaskCompletedWarning",
  "TaskPaused",
  "TaskProgressChanged",
  "TaskRemoved",
  "TaskResumed",
  "TaskStarted"
]
```

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Iaa355420736a2587d9da4e995208d579443ca9b8
</content>
</entry>
<entry>
<title>Update Environmental registry version to 1.1.0</title>
<updated>2025-02-27T02:17:39+00:00</updated>
<author>
<name>Igor Kanyuka</name>
<email>ifelmail@gmail.com</email>
</author>
<published>2025-02-21T12:40:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=0bce6a9516a120d86488d4243f95dae94be447c6'/>
<id>urn:sha1:0bce6a9516a120d86488d4243f95dae94be447c6</id>
<content type='text'>
New version includes Leak related messages we need.

Testing:
Redfish service validator passing

Change-Id: Ieca3e5a7bb785ef7fcffb05f86b88bdbf23a3d99
Signed-off-by: Igor Kanyuka &lt;ifelmail@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use SPDX identifiers</title>
<updated>2025-01-20T18:44:54+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>etanous@nvidia.com</email>
</author>
<published>2024-09-10T20:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=40e9b92ec19acffb46f83a6e55b18974da5d708e'/>
<id>urn:sha1:40e9b92ec19acffb46f83a6e55b18974da5d708e</id>
<content type='text'>
SPDX identifiers are simpler, and reduce the amount of cruft we have in
code files.  They are recommended by linux foundation, and therefore we
should do as they allow.

This patchset does not intend to modify any intent on any existing
copyrights or licenses, only to standardize their inclusion.

[1] https://www.linuxfoundation.org/blog/blog/copyright-notices-in-open-source-software-projects

Change-Id: I935c7c0156caa78fc368c929cebd0f068031e830
Signed-off-by: Ed Tanous &lt;etanous@nvidia.com&gt;
</content>
</entry>
<entry>
<title>Use raw content URL</title>
<updated>2024-12-27T18:45:29+00:00</updated>
<author>
<name>Milton D. Miller II</name>
<email>mdmii@outlook.com</email>
</author>
<published>2024-12-17T05:28:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=770362fe748837bff7106d6350764898b652425e'/>
<id>urn:sha1:770362fe748837bff7106d6350764898b652425e</id>
<content type='text'>
Replace the message registry URL with the official GitHub raw download
URL to give the json content not a web SCM GUI.

Change-Id: I0ac800ee3803c9bef3a6a799b20887df84c3c173
Signed-off-by: Milton Miller &lt;mdmii@outlook.com&gt;
</content>
</entry>
<entry>
<title>Fix URI warning in RSV</title>
<updated>2024-12-16T18:04:55+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>etanous@nvidia.com</email>
</author>
<published>2024-12-11T00:34:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=66aabb702da479b12dca47e53c97986a6abc99cb'/>
<id>urn:sha1:66aabb702da479b12dca47e53c97986a6abc99cb</id>
<content type='text'>
Redfish service valitator warns:

WARNING - PublicationUri: Empty string found - Services should omit
properties if not supported

This commit adds to our registry the url to the openbmc registry file.

Tested: Redfish Service validator no longer returns a warning.

Change-Id: Ia54be175490b4e7e00e3c0c4ab8c60dce1b96863
Signed-off-by: Ed Tanous &lt;etanous@nvidia.com&gt;
</content>
</entry>
<entry>
<title>Make message registries use 2 digit versions</title>
<updated>2024-12-10T19:17:16+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>etanous@nvidia.com</email>
</author>
<published>2024-12-02T18:36:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=56b81992ba8a8e644f2e75251a94df4f4d0d0880'/>
<id>urn:sha1:56b81992ba8a8e644f2e75251a94df4f4d0d0880</id>
<content type='text'>
Redfish specification, section 9.5.11.2 says:

The MessageId property value shall be in the format:
&lt;MessageRegistryPrefix&gt;.&lt;MajorVersion&gt;.&lt;MinorVersion&gt;.&lt;MessageKey&gt;

bmcweb in certain places has incorrectly used the 3 digit version
instead of the 2 digit version.  This commit fixes that by modifying the
parse_registries script to generate 3 separate struct entries to
represent the registry version, and parse them where appropriate.

MessageRegistryFileCollection uses the 3 digit version.  No behavior
changes.
Message/event log entries use the 2 digit version.  This will cause a
MessageId change from:
Base.1.19.0.InternalError
to
Base.1.19.InternalError

This is a breaking change, so a new option to allow the old behavior is
provided.

Tested: Redfish Service validator passes.
Heartbeat events on EventService show 2 digit versions.

Change-Id: I4165e994f73e200f13bed8ea76cb58bee2b69faa
Signed-off-by: Ed Tanous &lt;etanous@nvidia.com&gt;
</content>
</entry>
<entry>
<title>Bump base registry to 1.19.0</title>
<updated>2024-10-01T15:22:44+00:00</updated>
<author>
<name>Jishnu CM</name>
<email>jishnunambiarcm@duck.com</email>
</author>
<published>2024-10-01T06:33:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=b575caefa7f7f58c67cf61c8aa7ba7fb5a43e943'/>
<id>urn:sha1:b575caefa7f7f58c67cf61c8aa7ba7fb5a43e943</id>
<content type='text'>
Adds GenerateSecretKeyRequired registry to the Base for MFA

Change-Id: Ia690639b4bebbbd265b223bd626b0eb814103f99
Signed-off-by: Jishnu CM &lt;jishnunambiarcm@duck.com&gt;
</content>
</entry>
<entry>
<title>Add message registry for power button long press</title>
<updated>2024-08-28T02:35:21+00:00</updated>
<author>
<name>Chanh Nguyen</name>
<email>chanh@os.amperecomputing.com</email>
</author>
<published>2024-08-27T05:34:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=2539e69ce10b61cef945d6dc83a1d603050dc2f5'/>
<id>urn:sha1:2539e69ce10b61cef945d6dc83a1d603050dc2f5</id>
<content type='text'>
When the power button is pressed, it depends on how long
the press takes to cause which event to happen [1].

Add a message registry for the power button long press
event.

[1] https://github.com/openbmc/phosphor-buttons/blob/master/README.md#power-button

Tested:
1. Redfish Validator passed.
2. Verify in Redfish log.
'''
GET: /redfish/v1/Systems/system/LogServices/EventLog/Entries
Response:
{
  "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries",
  "@odata.type": "#LogEntryCollection.LogEntryCollection",
  "Description": "Collection of System Event Log Entries",
  "Members": [
    {
      "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/1724214823",
      "@odata.type": "#LogEntry.v1_9_0.LogEntry",
      "Created": "2024-08-21T04:33:43+00:00",
      "EntryType": "Event",
      "Id": "1724214823",
      "Message": "Power Button Long Pressed.",
      "MessageArgs": [],
      "MessageId": "OpenBMC.0.1.PowerButtonLongPressed.OK",
      "Name": "System Event Log Entry",
      "Severity": "OK"
   }
  ],
  "Members@odata.count": 1,
  "Name": "System Event Log Entries"
}
'''

Change-Id: I772c444303c784d086af69e1eab22d9446658d4b
Signed-off-by: Chanh Nguyen &lt;chanh@os.amperecomputing.com&gt;
</content>
</entry>
</feed>
