Sun N1 Service Provisioning System User's Guide for SAP Plug-In 1.0

ProcedureHow to Generate a Delete Plan for a GDS Resource

This is a markOnly task.


Note –

The installPath is the only plan parameter.


Steps
  1. In the Application Deployment section of the N1 SPS browser interface, click Components.

  2. Change the folder to /com/sun/n1aa/GDS.

  3. Click on the details link of the created GDS component.

  4. Select the check box for the uninstall:default procedure.

    You can also select the check box for the uninstall:markOnly procedure.

  5. Click on the Generate Plan With Checked Procedures link.

  6. Enter the name of the plan as Deletegds-component-namePlan.

    Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.

  7. In the XML text <executionPlan> element, change the name of the attribute to Deletegds-component-namePlan.

  8. Before the <simpleSteps> element, add the installPath as the plan parameter.

    For example, include the following text to insert the plan parameter:

    <paramList>
            <param name="installPath" default="" prompt="Install path of the GDS component"></param>
         </paramList>
  9. Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.

    For example:

    Before adding the installPath.

    <uninstall blockName='default'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS'></installedComponent>
    </uninstall>

    After adding the installPath.

    <uninstall blockName='default'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
        path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </uninstall>
  10. Click Check In.

  11. Click Continue to Check In.