The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
Hi together...
if I execute the following si diff command...
si diff --r=1.1 --r=1.2 --project=#/BRK#ProductDevelopment/SubSystems/SsmPb/08_Software#d=IQM_INTEG_SsmPb_Core_A#SSM_PB_APPL/03_Integration/Project_Conf --hostname=skobde-mks.kobde.trw.com --port=7001 "version_config.ini"
the CLI interface response contains the detailled differences between the two revisions (1.1 and 1.2 as requested):
Showing differences ...
Showing differences ...
version_config.ini
"version_config.ini": Differences between Revision 1.1 and Revision 1.2
2c2
< SOFTWARE_NAME="113_70"
---
> SOFTWARE_NAME="114_00"
Due to a general decision we I want to replace all Command-Executions against the CLI Interface by Command-Executions against the Java-API. But the Java API does not provide the blue marked details. I have the same problem when I execute the Command against the SOAP Interface. How do I get the missing details from the Java API/SOAP interface?
==========================
Java API
==========================
Response:
App. Name = si
Command Name = diff
Work Item:
Id = version_config.ini
Context = /BRK/ProductDevelopment/SubSystems/SsmPb/08_Software/SSM_PB_APPL/03_Integration/Project_Conf/project.pj
Model Type = si.Member
Result:
Message = null
Field:
Name = resultant
Data Type = com.mks.api.response.Item
Item:
Id = version_config.ini
Context = /BRK/ProductDevelopment/SubSystems/SsmPb/08_Software/SSM_PB_APPL/03_Integration/Project_Conf/project.pj
Model Type = si.MemberDifference
Field:
Name = different
Data Type = java.lang.Boolean
Value = true
Exit Code = 0
==========================
SOAP
==========================
Request:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gen="http://webservice.mks.com/2009/Generic" xmlns:sch="http://webservice.mks.com/2009/Generic/schema">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<gen:command>
<arg0 TransactionId="?">
<sch:Username>?</sch:Username>
<sch:Password>?</sch:Password>
<sch:Application>si</sch:Application>
<sch:Command>diff</sch:Command>
<sch:Option Name="r">1.1</sch:Option>
<sch:Option Name="r">1.2</sch:Option>
<sch:Option Name="project">#/BRK#ProductDevelopment/SubSystems/SsmPb/08_Software#d=IQM_INTEG_SsmPb_Core_A#SSM_PB_APPL/03_Integration/Project_Conf</sch:Option>
<sch:Selection>version_config.ini</sch:Selection>
</arg0>
</gen:command>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns3:commandResponse xmlns:ns3="http://webservice.mks.com/2009/Generic" xmlns:ns2="http://webservice.mks.com/2009/Generic/schema" xmlns:ns4="http://webservice.mks.com/2009/Generic/fault">
<return TransactionId="?">
<ns2:return>success</ns2:return>
<ns2:Application>si</ns2:Application>
<ns2:Command>diff</ns2:Command>
<ns2:WorkItems>
<ns2:Id>version_config.ini</ns2:Id>
<ns2:ModelType>si.Member</ns2:ModelType>
<ns2:Context>/BRK/ProductDevelopment/SubSystems/SsmPb/08_Software/SSM_PB_APPL/03_Integration/Project_Conf/project.pj</ns2:Context>
<ns2:DisplayId>version_config.ini</ns2:DisplayId>
</ns2:WorkItems>
</return>
</ns3:commandResponse>
</S:Body>
</S:Envelope>