Skip to content

Commit ade2bac

Browse files
authored
fix: remove hardcoded Prerequisites UUID and add required config fields (#17)
1 parent bbe5770 commit ade2bac

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

wsuks/xml_files/get-config.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,24 @@
1313
<Parameter />
1414
</AuthPlugInInfo>
1515
</AuthInfo>
16-
<Properties />
16+
<Properties>
17+
<ConfigurationProperty>
18+
<Name>MaxExtendedUpdatesPerRequest</Name>
19+
<Value>20</Value>
20+
</ConfigurationProperty>
21+
<ConfigurationProperty>
22+
<Name>ProtocolVersion</Name>
23+
<Value>3.2</Value>
24+
</ConfigurationProperty>
25+
<ConfigurationProperty>
26+
<Name>IsInventoryRequired</Name>
27+
<Value>0</Value>
28+
</ConfigurationProperty>
29+
<ConfigurationProperty>
30+
<Name>ClientReportingLevel</Name>
31+
<Value>2</Value>
32+
</ConfigurationProperty>
33+
</Properties>
1734
</GetConfigResult>
1835
</GetConfigResponse>
1936
</s:Body>

wsuks/xml_files/sync-updates.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@
2020
<Xml>&lt;UpdateIdentity UpdateID="{uuid1}" RevisionNumber="204"
2121
/&gt;&lt;Properties UpdateType="Software" ExplicitlyDeployable="true"
2222
AutoSelectOnWebSites="true"
23-
/&gt;&lt;Relationships&gt;&lt;Prerequisites&gt;&lt;AtLeastOne
24-
IsCategory="true"&gt;&lt;UpdateIdentity
25-
UpdateID="0fa1201d-4330-4fa8-8ae9-b877473b6441"
26-
/&gt;&lt;/AtLeastOne&gt;&lt;/Prerequisites&gt;&lt;BundledUpdates&gt;&lt;UpdateIdentity
23+
/&gt;&lt;Relationships&gt;&lt;BundledUpdates&gt;&lt;UpdateIdentity
2724
UpdateID="{uuid2}" RevisionNumber="204"
2825
/&gt;&lt;/BundledUpdates&gt;&lt;/Relationships&gt;</Xml>
2926
</UpdateInfo>

0 commit comments

Comments
 (0)