Anonymous_User Absent Member.
Absent Member.
943 views

Accessing service configuration info from formulascript?


Hi,

I wonder is it possible in formulascript to determine:

1) if a given element has a BSCM service configuration definition
associated with it
2) the Structures, Sources and Dependencies associated with that
definition

The idea is to see if we can create a formulascript operation which when
run against service model element shows which BSCM definitions it
depends on, and which adapters contribute to that service model.

Mike


--
mosborne
------------------------------------------------------------------------
mosborne's Profile: https://forums.netiq.com/member.php?userid=7459
View this thread: https://forums.netiq.com/showthread.php?t=50922

Labels (1)
0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Accessing service configuration info from formulascript?


Short answer, you should probably reach out to support to find the
optimum way (assuming there is one) to do this.

Longer answer. Typically an element has a property or method/function
to determine these types of things. Sometimes the script may have to be
running in serverscript context to determine these types of things. I
know from the past that the Service Configuration details are stored in
an XML format. It used to be stored on the file system but it is
persisted to the database now.


--
tisenberg
------------------------------------------------------------------------
tisenberg's Profile: https://forums.netiq.com/member.php?userid=1851
View this thread: https://forums.netiq.com/showthread.php?t=50922

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Accessing service configuration info from formulascript?


Would like to add a bit of information,
you can easily access sources of an element created by a BSCM or by a
script
(see TID 7009000 at
https://www.novell.com/support/kb/doc.php?id=7009000)
where you can find elements that drive an element condition.
There is also a property for relationships (i.e. dependencies) that you
can manipulate via script,
while regarding structure I don't think, once you have created an
element,
you can trace the structure from which it has been generated.
Probably you should add some scripting in the BSCM to record this fact
on the generated element.
BSCM could be a tricky issue, so I would keep things simple.


--
ebomitali
------------------------------------------------------------------------
ebomitali's Profile: https://forums.netiq.com/member.php?userid=1132
View this thread: https://forums.netiq.com/showthread.php?t=50922

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.