-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse the event url with Regex not split
- Loading branch information
Showing
3 changed files
with
48 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
.../providers/ibm_power_hmc/infra_manager/test_data/logical_partition_invalid_event_data.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<feed> | ||
<entry> | ||
<id>1afb3833-8a85-369f-977a-bb8741b1a15a</id> | ||
<title>Event</title> | ||
<published>2022-02-02T15:05:12.772Z</published> | ||
<link rel="SELF" href="https://te.st:12443/rest/api/uom/Event/1afb3833-8a85-369f-977a-bb8741b1a15a"/> | ||
<author> | ||
<name>IBM Power Systems Management Console</name> | ||
</author> | ||
<etag:etag xmlns:etag="http://www.ibm.com/xmlns/systems/power/firmware/uom/mc/2012_10/" xmlns="http://www.ibm.com/xmlns/systems/power/firmware/uom/mc/2012_10/">-83524495</etag:etag> | ||
<content type="application/vnd.ibm.powervm.uom+xml; type=Event"> | ||
<Event:Event xmlns:Event="http://www.ibm.com/xmlns/systems/power/firmware/uom/mc/2012_10/" xmlns="http://www.ibm.com/xmlns/systems/power/firmware/uom/mc/2012_10/" xmlns:ns2="http://www.w3.org/XML/1998/namespace/k2" schemaVersion="V1_6_0"> | ||
<Metadata> | ||
<Atom> | ||
<AtomID>1afb3833-8a85-369f-977a-bb8741b1a15a</AtomID> | ||
<AtomCreated>1639561179310</AtomCreated> | ||
</Atom> | ||
</Metadata> | ||
<EventType kb="ROR" kxe="false">ADD_URI</EventType> | ||
<EventID kb="ROR" kxe="false">1639561179310</EventID> | ||
<EventData kxe="false" kb="ROR">https://te.st:12443/rest/api/uom/ManagedSyste/e4acf909-6d0b-3c03-b75a-4d8495e5fc49/LogicalPartition/</EventData> | ||
<EventDetail kxe="false" kb="ROR">Other</EventDetail> | ||
</Event:Event> | ||
</content> | ||
</entry> | ||
</feed> |