Edwin van den Berg - 24 September 2008 10:04 AM
No, I don’t think the arguments are fully captured in the DDD.
Somebody helped us out by changing the WAS pattern a while ago so it would run an extra ps command to get the full string.
....
This change took care of our problem and I would like it to be part of an official TKU because I have to apply the change over and over when installing new TKUs.
Edwin,
Just to add to what Charles was saying…
Note that you should create a copy of the pattern module, and then rename it (e.g.
tpl 1.0 module Custom_IBM.WebSphereApplicationServer
)
Then add to this module the ‘import’ and ‘override’ statements as described by Charles.
My comments regarding incorporating your solution into a TKU release:
TPL provides us with ability to drive Discovery in order to obtain additional information within patterns. However, it would not really be appropriate to try and solve issues that may exist in a Discovery script by adding a workaround within a pattern, especially if this workaround ends up trying to obtain the information Discovery is meant to feed into the data model in the first place.
Your solution solves the problem in the short term and through the use of overrides feature that Charles outlined, you will not need to keep editing the pattern every time a new TKU is released. The only time your custom pattern would need to be updated is if the major version of the TKU pattern in question is incremented, i.e. if it goes from 1.x to 2.0.
With regards to solving the actual issue you seem to be experiencing, it would be greatly appreciated if you could raise a case with our Customer Support and provide them with the information as to which platform you have experienced this issue on.
This will enable our Engineering team to investigate the issue properly and solve it in the future releases of the product.
Regards,
Nik.