Modify users with REST driver

I am trying to understand how to use the REST driver functionalities. Have a case where I want to update current users in IDM with data from an API ednpoint. To do that I setup the Publish channel to recieve data from the API. 

I can recive the data from the API but the problem is that I´m not able to update users. This is more like a test for me to understand how to work with the driver. I tried to customize the contract from API as much as possible (so that I can use most of the standard behaviors of the driver) so it´s just hardcoded data which tries to update a telephonenumber. 

The problem I run in to is this:

This is the input:

This is the JSON data the gets recived from the API:

 

Any ideas how to push me in the right direction here?

Parents
  • Suggested Answer

    0  

    You are generating a modify for user that is already associated. Do you really have a user that already has an association for Rest Driver with a value of "ktrötter"?

    If not, you should be creating an add and have the matching policy and merge processor handle this.

  • 0 in reply to   

    Thanks!

    You´re right I don´t have a user that already has an association for Rest Driver with that value, for some reason my driver sees it as a modify which probably is the issue here.

  • 0   in reply to 

    Your driver sees it as a modify, since it probably is.  If there were an association (Which the shim is required to provide) then it would go properly through synthetic add/match/merge process.  So I would work on getting the association set.

  • 0 in reply to 

    Still struggling a bit on this. It looks like I´m able to parse the JSON data:

    Result:

    Also seems that the mapping is working:

    Then I got this error:

    It looks like the operation not being set to "add" which I would assumed it would be set to. Is that something that should be set manually in during the input transformation?

  • 0   in reply to 

    A full trace would be helpful. for me does not look like your request node isn't valid; I normally use this https://www.netiq.com/documentation/identity-manager-49-drivers/generic_rest/data/driver-concepts.html make sure that I create a valid <driver-operation-data/> node.

    Is 'command="pull"' valid? Normally you would use POST, GET, PUT, DELETE and PATCH.

  • 0   in reply to   
    Is 'command="pull"' valid

    Yes, this is the output the shim produces in publisher poll mode.

      Once you converted JSON to XDS, you should strip the driver-operation-data node.

    And please provide a full level 3 trace.

  • 0   in reply to   
    Yes, this is the output the shim produces in publisher poll mode.

    Make sense, though it would be nice to have the documentation updated (hint). Or at least, if it actually is in the documentation, make the search engine find it. 

  • 0 in reply to   

    [09/16/24 20:38:11.593]:Rest Driver PT:Rest Driver: poll
    [09/16/24 20:38:11.593]:Rest Driver PT:Rest Driver: Custom: preparing GET to http://DOMAIN/TelephonesAPI/api/Telephone
    [09/16/24 20:38:11.593]:Rest Driver PT:Rest Driver: Setting the following HTTP request properties:
     Authorization: <content suppressed>
    [09/16/24 20:38:11.594]:Rest Driver PT:Rest Driver: Annonymous login
    [09/16/24 20:38:11.594]:Rest Driver PT:Rest Driver: Did a HTTP GET with 0 bytes of data to http://DOMAIN/TelephonesAPI/api/Telephone
    [09/16/24 20:38:11.598]:Rest Driver PT:Rest Driver: Response code and message: 200 OK
    [09/16/24 20:38:11.598]:Rest Driver PT:Receiving DOM document from application.
    [09/16/24 20:38:11.599]:Rest Driver PT:
    <nds dtdversion="3.5" ndsversion="8.x">
      <source>
        <product build="20181130_1107" instance="Rest Driver" version="1.0.2.0">Identity Manager REST Driver</product>
        <contact>NetIQ Corporation.</contact>
      </source>
      <input>
        <driver-operation-data class-name="Telephone" command="poll" event-id="Rest Driver##124816203811##0">
          <response>
            <value>{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"
    User","id":"27"}]}</value>
          </response>
        </driver-operation-data>
      </input>
    </nds>
    [09/16/24 20:38:11.600]:Rest Driver PT:Applying input transformation policies.
    [09/16/24 20:38:11.601]:Rest Driver PT:Applying policy: %+C%14CNETQRESTJSON-itp-CheckRetries%-C.
    [09/16/24 20:38:11.601]:Rest Driver PT:  Applying to driver-operation-data #1.
    [09/16/24 20:38:11.601]:Rest Driver PT:    Evaluating selection criteria for rule 'set retry on status if sought'.
    [09/16/24 20:38:11.601]:Rest Driver PT:      (if-operation equal "status") = FALSE.
    [09/16/24 20:38:11.601]:Rest Driver PT:    Rule rejected.
    [09/16/24 20:38:11.602]:Rest Driver PT:Policy returned:
    [09/16/24 20:38:11.602]:Rest Driver PT:
    <nds dtdversion="3.5" ndsversion="8.x">
      <source>
        <product build="20181130_1107" instance="Rest Driver" version="1.0.2.0">Identity Manager REST Driver</product>
        <contact>NetIQ Corporation.</contact>
      </source>
      <input>
        <driver-operation-data class-name="Telephone" command="poll" event-id="Rest Driver##124816203811##0">
          <response>
            <value>{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}</value>
          </response>
        </driver-operation-data>
      </input>
    </nds>
    [09/16/24 20:38:11.606]:Rest Driver PT:Applying policy: %+C%14CNETQRESTJSON-itp-ConvertJSON%-C.
    [09/16/24 20:38:11.606]:Rest Driver PT:  Applying to driver-operation-data #1.
    [09/16/24 20:38:11.606]:Rest Driver PT:    Evaluating selection criteria for rule 'Translate JSON to XDS'.
    [09/16/24 20:38:11.606]:Rest Driver PT:      (if-xpath true "string-length(./response/value/text())>0") = TRUE.
    [09/16/24 20:38:11.606]:Rest Driver PT:    Rule selected.
    [09/16/24 20:38:11.606]:Rest Driver PT:    Applying rule 'Translate JSON to XDS'.
    [09/16/24 20:38:11.606]:Rest Driver PT:      Action: do-set-local-variable("jsonString",scope="policy",token-xpath("./response/value/text()")).
    [09/16/24 20:38:11.607]:Rest Driver PT:        arg-string(token-xpath("./response/value/text()"))
    [09/16/24 20:38:11.607]:Rest Driver PT:          token-xpath("./response/value/text()")
    [09/16/24 20:38:11.607]:Rest Driver PT:            Token Value: "{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}".
    [09/16/24 20:38:11.607]:Rest Driver PT:          Arg Value: "{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}".
    [09/16/24 20:38:11.607]:Rest Driver PT:      Action: do-set-local-variable("jsonString",scope="policy",token-replace-all("(\&)","&","$jsonString$")).
    [09/16/24 20:38:11.607]:Rest Driver PT:        arg-string(token-replace-all("(\&)","&","$jsonString$"))
    [09/16/24 20:38:11.607]:Rest Driver PT:          token-replace-all("(\&)","&","$jsonString$")
    [09/16/24 20:38:11.607]:Rest Driver PT:            token-replace-all("(\&)","&","$jsonString$")
    [09/16/24 20:38:11.607]:Rest Driver PT:              token-text("$jsonString$")
    [09/16/24 20:38:11.607]:Rest Driver PT:                Expanded variable reference '$jsonString$' to '{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}'.
    [09/16/24 20:38:11.607]:Rest Driver PT:              Arg Value: "{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}".
    [09/16/24 20:38:11.608]:Rest Driver PT:            Token Value: "{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}".
    [09/16/24 20:38:11.608]:Rest Driver PT:          Arg Value: "{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}".
    [09/16/24 20:38:11.608]:Rest Driver PT:      Action: do-set-local-variable("lvXML",scope="policy",arg-node-set(token-xml-parse(token-xpath("es:json2xml($jsonString)")))).
    [09/16/24 20:38:11.608]:Rest Driver PT:        arg-node-set(token-xml-parse(token-xpath("es:json2xml($jsonString)")))
    [09/16/24 20:38:11.608]:Rest Driver PT:          token-xml-parse(token-xpath("es:json2xml($jsonString)"))
    [09/16/24 20:38:11.608]:Rest Driver PT:            token-xml-parse(token-xpath("es:json2xml($jsonString)"))
    [09/16/24 20:38:11.608]:Rest Driver PT:              token-xpath("es:json2xml($jsonString)")
    [09/16/24 20:38:11.608]:Rest Driver PT:                Token Value: "<root>
    <users><telephoneNumber>0701231211</telephoneNumber><className>User</className><id>14</id></users><users><telephoneNumber>0701231211</telephoneNumber><className>User</className><id>6</id></users><users><telephoneNumber>0701231212</telephoneNumber><className>User</className><id>27</id></users>
    </root>".
    [09/16/24 20:38:11.609]:Rest Driver PT:              Arg Value: "<root>
    <users><telephoneNumber>0701231211</telephoneNumber><className>User</className><id>14</id></users><users><telephoneNumber>0701231211</telephoneNumber><className>User</className><id>6</id></users><users><telephoneNumber>0701231212</telephoneNumber><className>User</className><id>27</id></users>
    </root>".
    [09/16/24 20:38:11.609]:Rest Driver PT:          Token Value: {/}.
    [09/16/24 20:38:11.609]:Rest Driver PT:          Arg Value: {/}.
    [09/16/24 20:38:11.609]:Rest Driver PT:      Action: do-for-each(arg-node-set(token-xpath("$lvXML//users"))).
    [09/16/24 20:38:11.609]:Rest Driver PT:        arg-node-set(token-xpath("$lvXML//users"))
    [09/16/24 20:38:11.609]:Rest Driver PT:          token-xpath("$lvXML//users")
    [09/16/24 20:38:11.609]:Rest Driver PT:          Token Value: {<users>,<users>,<users>}.
    [09/16/24 20:38:11.609]:Rest Driver PT:          Arg Value: {<users>,<users>,<users>}.
    [09/16/24 20:38:11.609]:Rest Driver PT:        Performing actions for local-variable(current-node) = <users>.
    [09/16/24 20:38:11.609]:Rest Driver PT:          Action: do-append-xml-element("instance","..").
    [09/16/24 20:38:11.609]:Rest Driver PT:          Action: do-set-xml-attr("src-dn","../instance[last()]",token-xpath("$current-node/id/text()")).
    [09/16/24 20:38:11.609]:Rest Driver PT:            arg-string(token-xpath("$current-node/id/text()"))
    [09/16/24 20:38:11.610]:Rest Driver PT:              token-xpath("$current-node/id/text()")
    [09/16/24 20:38:11.610]:Rest Driver PT:                Token Value: "14".
    [09/16/24 20:38:11.610]:Rest Driver PT:              Arg Value: "14".
    [09/16/24 20:38:11.610]:Rest Driver PT:          Action: do-set-xml-attr("class-name","../instance[last()]","Telephone").
    [09/16/24 20:38:11.610]:Rest Driver PT:            arg-string("Telephone")
    [09/16/24 20:38:11.610]:Rest Driver PT:              token-text("Telephone")
    [09/16/24 20:38:11.610]:Rest Driver PT:              Arg Value: "Telephone".
    [09/16/24 20:38:11.610]:Rest Driver PT:          Action: do-set-xml-attr("class-name","../instance[last()]","Telephone").
    [09/16/24 20:38:11.610]:Rest Driver PT:            arg-string("Telephone")
    [09/16/24 20:38:11.610]:Rest Driver PT:              token-text("Telephone")
    [09/16/24 20:38:11.610]:Rest Driver PT:              Arg Value: "Telephone".
    [09/16/24 20:38:11.610]:Rest Driver PT:          Action: do-for-each(arg-node-set(token-xpath("$current-node/*"))).
    [09/16/24 20:38:11.610]:Rest Driver PT:            arg-node-set(token-xpath("$current-node/*"))
    [09/16/24 20:38:11.610]:Rest Driver PT:              token-xpath("$current-node/*")
    [09/16/24 20:38:11.610]:Rest Driver PT:              Token Value: {<telephoneNumber>,<className>,<id>}.
    [09/16/24 20:38:11.610]:Rest Driver PT:              Arg Value: {<telephoneNumber>,<className>,<id>}.
    [09/16/24 20:38:11.610]:Rest Driver PT:            Performing actions for local-variable(current-node) = <telephoneNumber>.
    [09/16/24 20:38:11.610]:Rest Driver PT:              Action: do-set-local-variable("lvAttrName",scope="policy",token-xpath("name($current-node)")).
    [09/16/24 20:38:11.610]:Rest Driver PT:                arg-string(token-xpath("name($current-node)"))
    [09/16/24 20:38:11.610]:Rest Driver PT:                  token-xpath("name($current-node)")
    [09/16/24 20:38:11.610]:Rest Driver PT:                    Token Value: "telephoneNumber".
    [09/16/24 20:38:11.611]:Rest Driver PT:                  Arg Value: "telephoneNumber".
    [09/16/24 20:38:11.611]:Rest Driver PT:              Action: do-set-local-variable("lvAttrValue",scope="policy","$current-node$").
    [09/16/24 20:38:11.611]:Rest Driver PT:                arg-string("$current-node$")
    [09/16/24 20:38:11.611]:Rest Driver PT:                  token-text("$current-node$")
    [09/16/24 20:38:11.611]:Rest Driver PT:                    Expanded variable reference '$current-node$' to '0701231211'.
    [09/16/24 20:38:11.611]:Rest Driver PT:                  Arg Value: "0701231211".
    [09/16/24 20:38:11.611]:Rest Driver PT:              Action: do-set-local-variable("lvAttr",scope="policy",arg-node-set(token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")))).
    [09/16/24 20:38:11.611]:Rest Driver PT:                arg-node-set(token-").
    [09/16/24 15:08:55.287]:Rest Driver PT:                arg-string("$current-node$")
    [09/16/24 15:08:55.287]:Rest Driver PT:                  token-text("$current-node$")
    [09/16/24 15:08:55.287]:Rest Driver PT:                    Expanded variable reference '$current-node$' to 'User'.
    [09/16/24 15:08:55.287]:Rest Driver PT:                  Arg Value: "User".
    [09/16/24 15:08:55.287]:Rest Driver PT:              Action: do-set-local-variable("lvAttr",scope="policy",arg-node-set(token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")))).
    [09/16/24 15:08:55.287]:Rest Driver PT:                arg-node-set(token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")))
    [09/16/24 15:08:55.287]:Rest Driver PT:                  token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)"))
    [09/16/24 15:08:55.288]:Rest Driver PT:                    token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)"))
    [09/16/24 15:08:55.288]:Rest Driver PT:                      token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")
    [09/16/24 15:08:55.288]:Rest Driver PT:                        Token Value: "<attr attr-name="className"><value>User</value></attr>".
    [09/16/24 15:08:55.288]:Rest Driver PT:                      Arg Value: "<attr attr-name="className"><value>User</value></attr>".
    [09/16/24 15:08:55.288]:Rest Driver PT:                  Token Value: {/}.
    [09/16/24 15:08:55.288]:Rest Driver PT:                  Arg Value: {/}.
    [09/16/24 15:08:55.288]:Rest Driver PT:              Action: do-clone-xpath(dest-expression="../instance[last()]",src-expression="$lvAttr").
    [09/16/24 15:08:55.288]:Rest Driver PT:            Performing actions for local-variable(current-node) = <id>.
    [09/16/24 15:08:55.288]:Rest Driver PT:              Action: do-set-local-variable("lvAttrName",scope="policy",token-xpath("name($current-node)")).
    [09/16/24 15:08:55.288]:Rest Driver PT:                arg-string(token-xpath("name($current-node)"))
    [09/16/24 15:08:55.288]:Rest Driver PT:                  token-xpath("name($current-node)")
    [09/16/24 15:08:55.288]:Rest Driver PT:                    Token Value: "id".
    [09/16/24 15:08:55.288]:Rest Driver PT:                  Arg Value: "id".
    [09/16/24 15:08:55.288]:Rest Driver PT:              Action: do-set-local-variable("lvAttrValue",scope="policy","$current-node$").
    [09/16/24 15:08:55.288]:Rest Driver PT:                arg-string("$current-node$")
    [09/16/24 15:08:55.289]:Rest Driver PT:                  token-text("$current-node$")
    [09/16/24 15:08:55.289]:Rest Driver PT:                    Expanded variable reference '$current-node$' to '27'.
    [09/16/24 15:08:55.289]:Rest Driver PT:                  Arg Value: "27".
    [09/16/24 15:08:55.289]:Rest Driver PT:              Action: do-set-local-variable("lvAttr",scope="policy",arg-node-set(token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")))).
    [09/16/24 15:08:55.289]:Rest Driver PT:                arg-node-set(token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")))
    [09/16/24 15:08:55.289]:Rest Driver PT:                  token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)"))
    [09/16/24 15:08:55.289]:Rest Driver PT:                    token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)"))
    [09/16/24 15:08:55.289]:Rest Driver PT:                      token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")
    [09/16/24 15:08:55.289]:Rest Driver PT:                        Token Value: "<attr attr-name="id"><value>27</value></attr>".
    [09/16/24 15:08:55.289]:Rest Driver PT:                      Arg Value: "<attr attr-name="id"><value>27</value></attr>".
    [09/16/24 15:08:55.289]:Rest Driver PT:                  Token Value: {/}.
    [09/16/24 15:08:55.289]:Rest Driver PT:                  Arg Value: {/}.
    [09/16/24 15:08:55.289]:Rest Driver PT:              Action: do-clone-xpath(dest-expression="../instance[last()]",src-expression="$lvAttr").
    [09/16/24 15:08:55.289]:Rest Driver PT:      Action: do-trace-message(token-operation()).
    [09/16/24 15:08:55.289]:Rest Driver PT:        arg-string(token-operation())
    [09/16/24 15:08:55.289]:Rest Driver PT:          token-operation()
    [09/16/24 15:08:55.290]:Rest Driver PT:            Token Value: "driver-operation-data".
    [09/16/24 15:08:55.290]:Rest Driver PT:          Arg Value: "driver-operation-data".
    [09/16/24 15:08:55.290]:Rest Driver PT:driver-operation-data
    [09/16/24 15:08:55.290]:Rest Driver PT:Policy returned:
    [09/16/24 15:08:55.290]:Rest Driver PT:
    <nds dtdversion="3.5" ndsversion="8.x">
      <source>
        <product build="20181130_1107" instance="Rest Driver" version="1.0.2.0">Identity Manager REST Driver</product>
        <contact>NetIQ Corporation.</contact>
      </source>
      <input>
        <driver-operation-data class-name="Telephone" command="poll" event-id="Rest Driver##12481615855##0">
          <response>
            <value>{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}</value>
          </response>
        </driver-operation-data>
        <instance class-name="Telephone" src-dn="14">
          <attr attr-name="telephoneNumber">
            <value>0701231211</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>14</value>
          </attr>
        </instance>
        <instance class-name="Telephone" src-dn="6">
          <attr attr-name="telephoneNumber">
            <value>0701231211</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>6</value>
          </attr>
        </instance>
        <instance class-name="Telephone" src-dn="27">
          <attr attr-name="telephoneNumber">
            <value>0701231212</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>27</value>
          </attr>
        </instance>
      </input>
    </nds>
    [09/16/24 15:08:55.291]:Rest Driver PT:Applying policy: %+C%14CNETQRESTDCFG-itp-AddAssociation%-C.
    [09/16/24 15:08:55.291]:Rest Driver PT:  Applying to driver-operation-data #1.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association -ADD'.
    [09/16/24 15:08:55.291]:Rest Driver PT:      (if-operation match "status") = FALSE.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association - MODIFY'.
    [09/16/24 15:08:55.291]:Rest Driver PT:      (if-operation match "modify") = FALSE.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.291]:Rest Driver PT:  Applying to instance #2.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association -ADD'.
    [09/16/24 15:08:55.291]:Rest Driver PT:      (if-operation match "status") = FALSE.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association - MODIFY'.
    [09/16/24 15:08:55.291]:Rest Driver PT:      (if-operation match "modify") = FALSE.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.291]:Rest Driver PT:  Applying to instance #3.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association -ADD'.
    [09/16/24 15:08:55.291]:Rest Driver PT:      (if-operation match "status") = FALSE.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association - MODIFY'.
    [09/16/24 15:08:55.292]:Rest Driver PT:      (if-operation match "modify") = FALSE.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.292]:Rest Driver PT:  Applying to instance #4.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association -ADD'.
    [09/16/24 15:08:55.292]:Rest Driver PT:      (if-operation match "status") = FALSE.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association - MODIFY'.
    [09/16/24 15:08:55.292]:Rest Driver PT:      (if-operation match "modify") = FALSE.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.292]:Rest Driver PT:Policy returned:
    [09/16/24 15:08:55.292]:Rest Driver PT:
    <nds dtdversion="3.5" ndsversion="8.x">
      <source>
        <product build="20181130_1107" instance="Rest Driver" version="1.0.2.0">Identity Manager REST Driver</product>
        <contact>NetIQ Corporation.</contact>
      </source>
      <input>
        <driver-operation-data class-name="Telephone" command="poll" event-id="Rest Driver##12481615855##0">
          <response>
            <value>{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}</value>
          </response>
        </driver-operation-data>
        <instance class-name="Telephone" src-dn="14">
          <attr attr-name="telephoneNumber">
            <value>0701231211</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>14</value>
          </attr>
        </instance>
        <instance class-name="Telephone" src-dn="6">
          <attr attr-name="telephoneNumber">
            <value>0701231211</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>6</value>
          </attr>
        </instance>
        <instance class-name="Telephone" src-dn="27">
          <attr attr-name="telephoneNumber">
            <value>0701231212</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>27</value>
     </attr>
        </instance>
      </input>
    </nds>
    [09/16/24 15:08:55.295]:Rest Driver PT:Applying schema mapping policies to input.
    [09/16/24 15:08:55.295]:Rest Driver PT:Applying policy: %+C%14CSchemaMap%-C.
    [09/16/24 15:08:55.295]:Rest Driver PT:  Mapping class-name 'Telephone' to 'User'.
    [09/16/24 15:08:55.295]:Rest Driver PT:  Mapping class-name 'Telephone' to 'User'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping class-name 'Telephone' to 'User'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping class-name 'Telephone' to 'User'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'telephoneNumber' to 'Telephone Number'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'id' to 'workforceID'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'telephoneNumber' to 'Telephone Number'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'id' to 'workforceID'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'telephoneNumber' to 'Telephone Number'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'id' to 'workforceID'.
    [09/16/24 15:08:55.296]:Rest Driver PT:Resolving association references.
    [09/16/24 15:08:55.296]:Rest Driver PT:No event transformation policies.
    [09/16/24 15:08:55.296]:Rest Driver PT:Applying publisher filter.
    [09/16/24 15:08:55.296]:Rest Driver PT:Publisher processing driver-operation-data for .
    [09/16/24 15:08:55.296]:Rest Driver PT:Applying command transformation policies.
    [09/16/24 15:08:55.296]:Rest Driver PT:Applying policy: %+C%14CNETQRESTDCFG-pub-ctp-ModifytoRename%-C.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Applying to driver-operation-data #1.
    [09/16/24 15:08:55.296]:Rest Driver PT:    Evaluating selection criteria for rule 'Convert modify to rename'.
    [09/16/24 15:08:55.296]:Rest Driver PT:      (if-operation equal "modify") = FALSE.
    [09/16/24 15:08:55.296]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.296]:Rest Driver PT:Policy returned:
    [09/16/24 15:08:55.297]:Rest Driver PT:
    <nds dtdversion="3.5" ndsversion="8.x">
      <source>
        <product build="20181130_1107" instance="Rest Driver" version="1.0.2.0">Identity Manager REST Driver</product>
        <contact>NetIQ Corporation.</contact>
      </source>
      <input>
        <driver-operation-data class-name="User" command="poll" event-id="Rest Driver##12481615855##0">
          <response>
            <value>{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}</value>
          </response>
        </driver-operation-data>
      </input>
    </nds>
    [09/16/24 15:08:55.297]:Rest Driver PT:Filtering out notification-only attributes.
    [09/16/24 15:08:55.297]:Rest Driver PT:Pumping XDS to eDirectory.
    [09/16/24 15:08:55.297]:Rest Driver PT:
    DirXML Log Event -------------------
         Driver:   \NAME\system\driverset1\Rest Driver
         Channel:  Publisher
         Status:   Error
         Message:  Code(-9038) Element <driver-operation-data> found under <input> is not allowed.
    
    

Reply
  • 0 in reply to   

    [09/16/24 20:38:11.593]:Rest Driver PT:Rest Driver: poll
    [09/16/24 20:38:11.593]:Rest Driver PT:Rest Driver: Custom: preparing GET to http://DOMAIN/TelephonesAPI/api/Telephone
    [09/16/24 20:38:11.593]:Rest Driver PT:Rest Driver: Setting the following HTTP request properties:
     Authorization: <content suppressed>
    [09/16/24 20:38:11.594]:Rest Driver PT:Rest Driver: Annonymous login
    [09/16/24 20:38:11.594]:Rest Driver PT:Rest Driver: Did a HTTP GET with 0 bytes of data to http://DOMAIN/TelephonesAPI/api/Telephone
    [09/16/24 20:38:11.598]:Rest Driver PT:Rest Driver: Response code and message: 200 OK
    [09/16/24 20:38:11.598]:Rest Driver PT:Receiving DOM document from application.
    [09/16/24 20:38:11.599]:Rest Driver PT:
    <nds dtdversion="3.5" ndsversion="8.x">
      <source>
        <product build="20181130_1107" instance="Rest Driver" version="1.0.2.0">Identity Manager REST Driver</product>
        <contact>NetIQ Corporation.</contact>
      </source>
      <input>
        <driver-operation-data class-name="Telephone" command="poll" event-id="Rest Driver##124816203811##0">
          <response>
            <value>{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"
    User","id":"27"}]}</value>
          </response>
        </driver-operation-data>
      </input>
    </nds>
    [09/16/24 20:38:11.600]:Rest Driver PT:Applying input transformation policies.
    [09/16/24 20:38:11.601]:Rest Driver PT:Applying policy: %+C%14CNETQRESTJSON-itp-CheckRetries%-C.
    [09/16/24 20:38:11.601]:Rest Driver PT:  Applying to driver-operation-data #1.
    [09/16/24 20:38:11.601]:Rest Driver PT:    Evaluating selection criteria for rule 'set retry on status if sought'.
    [09/16/24 20:38:11.601]:Rest Driver PT:      (if-operation equal "status") = FALSE.
    [09/16/24 20:38:11.601]:Rest Driver PT:    Rule rejected.
    [09/16/24 20:38:11.602]:Rest Driver PT:Policy returned:
    [09/16/24 20:38:11.602]:Rest Driver PT:
    <nds dtdversion="3.5" ndsversion="8.x">
      <source>
        <product build="20181130_1107" instance="Rest Driver" version="1.0.2.0">Identity Manager REST Driver</product>
        <contact>NetIQ Corporation.</contact>
      </source>
      <input>
        <driver-operation-data class-name="Telephone" command="poll" event-id="Rest Driver##124816203811##0">
          <response>
            <value>{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}</value>
          </response>
        </driver-operation-data>
      </input>
    </nds>
    [09/16/24 20:38:11.606]:Rest Driver PT:Applying policy: %+C%14CNETQRESTJSON-itp-ConvertJSON%-C.
    [09/16/24 20:38:11.606]:Rest Driver PT:  Applying to driver-operation-data #1.
    [09/16/24 20:38:11.606]:Rest Driver PT:    Evaluating selection criteria for rule 'Translate JSON to XDS'.
    [09/16/24 20:38:11.606]:Rest Driver PT:      (if-xpath true "string-length(./response/value/text())>0") = TRUE.
    [09/16/24 20:38:11.606]:Rest Driver PT:    Rule selected.
    [09/16/24 20:38:11.606]:Rest Driver PT:    Applying rule 'Translate JSON to XDS'.
    [09/16/24 20:38:11.606]:Rest Driver PT:      Action: do-set-local-variable("jsonString",scope="policy",token-xpath("./response/value/text()")).
    [09/16/24 20:38:11.607]:Rest Driver PT:        arg-string(token-xpath("./response/value/text()"))
    [09/16/24 20:38:11.607]:Rest Driver PT:          token-xpath("./response/value/text()")
    [09/16/24 20:38:11.607]:Rest Driver PT:            Token Value: "{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}".
    [09/16/24 20:38:11.607]:Rest Driver PT:          Arg Value: "{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}".
    [09/16/24 20:38:11.607]:Rest Driver PT:      Action: do-set-local-variable("jsonString",scope="policy",token-replace-all("(\&)","&","$jsonString$")).
    [09/16/24 20:38:11.607]:Rest Driver PT:        arg-string(token-replace-all("(\&)","&","$jsonString$"))
    [09/16/24 20:38:11.607]:Rest Driver PT:          token-replace-all("(\&)","&","$jsonString$")
    [09/16/24 20:38:11.607]:Rest Driver PT:            token-replace-all("(\&)","&","$jsonString$")
    [09/16/24 20:38:11.607]:Rest Driver PT:              token-text("$jsonString$")
    [09/16/24 20:38:11.607]:Rest Driver PT:                Expanded variable reference '$jsonString$' to '{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}'.
    [09/16/24 20:38:11.607]:Rest Driver PT:              Arg Value: "{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}".
    [09/16/24 20:38:11.608]:Rest Driver PT:            Token Value: "{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}".
    [09/16/24 20:38:11.608]:Rest Driver PT:          Arg Value: "{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}".
    [09/16/24 20:38:11.608]:Rest Driver PT:      Action: do-set-local-variable("lvXML",scope="policy",arg-node-set(token-xml-parse(token-xpath("es:json2xml($jsonString)")))).
    [09/16/24 20:38:11.608]:Rest Driver PT:        arg-node-set(token-xml-parse(token-xpath("es:json2xml($jsonString)")))
    [09/16/24 20:38:11.608]:Rest Driver PT:          token-xml-parse(token-xpath("es:json2xml($jsonString)"))
    [09/16/24 20:38:11.608]:Rest Driver PT:            token-xml-parse(token-xpath("es:json2xml($jsonString)"))
    [09/16/24 20:38:11.608]:Rest Driver PT:              token-xpath("es:json2xml($jsonString)")
    [09/16/24 20:38:11.608]:Rest Driver PT:                Token Value: "<root>
    <users><telephoneNumber>0701231211</telephoneNumber><className>User</className><id>14</id></users><users><telephoneNumber>0701231211</telephoneNumber><className>User</className><id>6</id></users><users><telephoneNumber>0701231212</telephoneNumber><className>User</className><id>27</id></users>
    </root>".
    [09/16/24 20:38:11.609]:Rest Driver PT:              Arg Value: "<root>
    <users><telephoneNumber>0701231211</telephoneNumber><className>User</className><id>14</id></users><users><telephoneNumber>0701231211</telephoneNumber><className>User</className><id>6</id></users><users><telephoneNumber>0701231212</telephoneNumber><className>User</className><id>27</id></users>
    </root>".
    [09/16/24 20:38:11.609]:Rest Driver PT:          Token Value: {/}.
    [09/16/24 20:38:11.609]:Rest Driver PT:          Arg Value: {/}.
    [09/16/24 20:38:11.609]:Rest Driver PT:      Action: do-for-each(arg-node-set(token-xpath("$lvXML//users"))).
    [09/16/24 20:38:11.609]:Rest Driver PT:        arg-node-set(token-xpath("$lvXML//users"))
    [09/16/24 20:38:11.609]:Rest Driver PT:          token-xpath("$lvXML//users")
    [09/16/24 20:38:11.609]:Rest Driver PT:          Token Value: {<users>,<users>,<users>}.
    [09/16/24 20:38:11.609]:Rest Driver PT:          Arg Value: {<users>,<users>,<users>}.
    [09/16/24 20:38:11.609]:Rest Driver PT:        Performing actions for local-variable(current-node) = <users>.
    [09/16/24 20:38:11.609]:Rest Driver PT:          Action: do-append-xml-element("instance","..").
    [09/16/24 20:38:11.609]:Rest Driver PT:          Action: do-set-xml-attr("src-dn","../instance[last()]",token-xpath("$current-node/id/text()")).
    [09/16/24 20:38:11.609]:Rest Driver PT:            arg-string(token-xpath("$current-node/id/text()"))
    [09/16/24 20:38:11.610]:Rest Driver PT:              token-xpath("$current-node/id/text()")
    [09/16/24 20:38:11.610]:Rest Driver PT:                Token Value: "14".
    [09/16/24 20:38:11.610]:Rest Driver PT:              Arg Value: "14".
    [09/16/24 20:38:11.610]:Rest Driver PT:          Action: do-set-xml-attr("class-name","../instance[last()]","Telephone").
    [09/16/24 20:38:11.610]:Rest Driver PT:            arg-string("Telephone")
    [09/16/24 20:38:11.610]:Rest Driver PT:              token-text("Telephone")
    [09/16/24 20:38:11.610]:Rest Driver PT:              Arg Value: "Telephone".
    [09/16/24 20:38:11.610]:Rest Driver PT:          Action: do-set-xml-attr("class-name","../instance[last()]","Telephone").
    [09/16/24 20:38:11.610]:Rest Driver PT:            arg-string("Telephone")
    [09/16/24 20:38:11.610]:Rest Driver PT:              token-text("Telephone")
    [09/16/24 20:38:11.610]:Rest Driver PT:              Arg Value: "Telephone".
    [09/16/24 20:38:11.610]:Rest Driver PT:          Action: do-for-each(arg-node-set(token-xpath("$current-node/*"))).
    [09/16/24 20:38:11.610]:Rest Driver PT:            arg-node-set(token-xpath("$current-node/*"))
    [09/16/24 20:38:11.610]:Rest Driver PT:              token-xpath("$current-node/*")
    [09/16/24 20:38:11.610]:Rest Driver PT:              Token Value: {<telephoneNumber>,<className>,<id>}.
    [09/16/24 20:38:11.610]:Rest Driver PT:              Arg Value: {<telephoneNumber>,<className>,<id>}.
    [09/16/24 20:38:11.610]:Rest Driver PT:            Performing actions for local-variable(current-node) = <telephoneNumber>.
    [09/16/24 20:38:11.610]:Rest Driver PT:              Action: do-set-local-variable("lvAttrName",scope="policy",token-xpath("name($current-node)")).
    [09/16/24 20:38:11.610]:Rest Driver PT:                arg-string(token-xpath("name($current-node)"))
    [09/16/24 20:38:11.610]:Rest Driver PT:                  token-xpath("name($current-node)")
    [09/16/24 20:38:11.610]:Rest Driver PT:                    Token Value: "telephoneNumber".
    [09/16/24 20:38:11.611]:Rest Driver PT:                  Arg Value: "telephoneNumber".
    [09/16/24 20:38:11.611]:Rest Driver PT:              Action: do-set-local-variable("lvAttrValue",scope="policy","$current-node$").
    [09/16/24 20:38:11.611]:Rest Driver PT:                arg-string("$current-node$")
    [09/16/24 20:38:11.611]:Rest Driver PT:                  token-text("$current-node$")
    [09/16/24 20:38:11.611]:Rest Driver PT:                    Expanded variable reference '$current-node$' to '0701231211'.
    [09/16/24 20:38:11.611]:Rest Driver PT:                  Arg Value: "0701231211".
    [09/16/24 20:38:11.611]:Rest Driver PT:              Action: do-set-local-variable("lvAttr",scope="policy",arg-node-set(token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")))).
    [09/16/24 20:38:11.611]:Rest Driver PT:                arg-node-set(token-").
    [09/16/24 15:08:55.287]:Rest Driver PT:                arg-string("$current-node$")
    [09/16/24 15:08:55.287]:Rest Driver PT:                  token-text("$current-node$")
    [09/16/24 15:08:55.287]:Rest Driver PT:                    Expanded variable reference '$current-node$' to 'User'.
    [09/16/24 15:08:55.287]:Rest Driver PT:                  Arg Value: "User".
    [09/16/24 15:08:55.287]:Rest Driver PT:              Action: do-set-local-variable("lvAttr",scope="policy",arg-node-set(token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")))).
    [09/16/24 15:08:55.287]:Rest Driver PT:                arg-node-set(token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")))
    [09/16/24 15:08:55.287]:Rest Driver PT:                  token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)"))
    [09/16/24 15:08:55.288]:Rest Driver PT:                    token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)"))
    [09/16/24 15:08:55.288]:Rest Driver PT:                      token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")
    [09/16/24 15:08:55.288]:Rest Driver PT:                        Token Value: "<attr attr-name="className"><value>User</value></attr>".
    [09/16/24 15:08:55.288]:Rest Driver PT:                      Arg Value: "<attr attr-name="className"><value>User</value></attr>".
    [09/16/24 15:08:55.288]:Rest Driver PT:                  Token Value: {/}.
    [09/16/24 15:08:55.288]:Rest Driver PT:                  Arg Value: {/}.
    [09/16/24 15:08:55.288]:Rest Driver PT:              Action: do-clone-xpath(dest-expression="../instance[last()]",src-expression="$lvAttr").
    [09/16/24 15:08:55.288]:Rest Driver PT:            Performing actions for local-variable(current-node) = <id>.
    [09/16/24 15:08:55.288]:Rest Driver PT:              Action: do-set-local-variable("lvAttrName",scope="policy",token-xpath("name($current-node)")).
    [09/16/24 15:08:55.288]:Rest Driver PT:                arg-string(token-xpath("name($current-node)"))
    [09/16/24 15:08:55.288]:Rest Driver PT:                  token-xpath("name($current-node)")
    [09/16/24 15:08:55.288]:Rest Driver PT:                    Token Value: "id".
    [09/16/24 15:08:55.288]:Rest Driver PT:                  Arg Value: "id".
    [09/16/24 15:08:55.288]:Rest Driver PT:              Action: do-set-local-variable("lvAttrValue",scope="policy","$current-node$").
    [09/16/24 15:08:55.288]:Rest Driver PT:                arg-string("$current-node$")
    [09/16/24 15:08:55.289]:Rest Driver PT:                  token-text("$current-node$")
    [09/16/24 15:08:55.289]:Rest Driver PT:                    Expanded variable reference '$current-node$' to '27'.
    [09/16/24 15:08:55.289]:Rest Driver PT:                  Arg Value: "27".
    [09/16/24 15:08:55.289]:Rest Driver PT:              Action: do-set-local-variable("lvAttr",scope="policy",arg-node-set(token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")))).
    [09/16/24 15:08:55.289]:Rest Driver PT:                arg-node-set(token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")))
    [09/16/24 15:08:55.289]:Rest Driver PT:                  token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)"))
    [09/16/24 15:08:55.289]:Rest Driver PT:                    token-xml-parse(token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)"))
    [09/16/24 15:08:55.289]:Rest Driver PT:                      token-xpath("es:createXMLAttr($lvAttrName, $lvAttrValue)")
    [09/16/24 15:08:55.289]:Rest Driver PT:                        Token Value: "<attr attr-name="id"><value>27</value></attr>".
    [09/16/24 15:08:55.289]:Rest Driver PT:                      Arg Value: "<attr attr-name="id"><value>27</value></attr>".
    [09/16/24 15:08:55.289]:Rest Driver PT:                  Token Value: {/}.
    [09/16/24 15:08:55.289]:Rest Driver PT:                  Arg Value: {/}.
    [09/16/24 15:08:55.289]:Rest Driver PT:              Action: do-clone-xpath(dest-expression="../instance[last()]",src-expression="$lvAttr").
    [09/16/24 15:08:55.289]:Rest Driver PT:      Action: do-trace-message(token-operation()).
    [09/16/24 15:08:55.289]:Rest Driver PT:        arg-string(token-operation())
    [09/16/24 15:08:55.289]:Rest Driver PT:          token-operation()
    [09/16/24 15:08:55.290]:Rest Driver PT:            Token Value: "driver-operation-data".
    [09/16/24 15:08:55.290]:Rest Driver PT:          Arg Value: "driver-operation-data".
    [09/16/24 15:08:55.290]:Rest Driver PT:driver-operation-data
    [09/16/24 15:08:55.290]:Rest Driver PT:Policy returned:
    [09/16/24 15:08:55.290]:Rest Driver PT:
    <nds dtdversion="3.5" ndsversion="8.x">
      <source>
        <product build="20181130_1107" instance="Rest Driver" version="1.0.2.0">Identity Manager REST Driver</product>
        <contact>NetIQ Corporation.</contact>
      </source>
      <input>
        <driver-operation-data class-name="Telephone" command="poll" event-id="Rest Driver##12481615855##0">
          <response>
            <value>{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}</value>
          </response>
        </driver-operation-data>
        <instance class-name="Telephone" src-dn="14">
          <attr attr-name="telephoneNumber">
            <value>0701231211</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>14</value>
          </attr>
        </instance>
        <instance class-name="Telephone" src-dn="6">
          <attr attr-name="telephoneNumber">
            <value>0701231211</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>6</value>
          </attr>
        </instance>
        <instance class-name="Telephone" src-dn="27">
          <attr attr-name="telephoneNumber">
            <value>0701231212</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>27</value>
          </attr>
        </instance>
      </input>
    </nds>
    [09/16/24 15:08:55.291]:Rest Driver PT:Applying policy: %+C%14CNETQRESTDCFG-itp-AddAssociation%-C.
    [09/16/24 15:08:55.291]:Rest Driver PT:  Applying to driver-operation-data #1.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association -ADD'.
    [09/16/24 15:08:55.291]:Rest Driver PT:      (if-operation match "status") = FALSE.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association - MODIFY'.
    [09/16/24 15:08:55.291]:Rest Driver PT:      (if-operation match "modify") = FALSE.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.291]:Rest Driver PT:  Applying to instance #2.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association -ADD'.
    [09/16/24 15:08:55.291]:Rest Driver PT:      (if-operation match "status") = FALSE.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association - MODIFY'.
    [09/16/24 15:08:55.291]:Rest Driver PT:      (if-operation match "modify") = FALSE.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.291]:Rest Driver PT:  Applying to instance #3.
    [09/16/24 15:08:55.291]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association -ADD'.
    [09/16/24 15:08:55.291]:Rest Driver PT:      (if-operation match "status") = FALSE.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association - MODIFY'.
    [09/16/24 15:08:55.292]:Rest Driver PT:      (if-operation match "modify") = FALSE.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.292]:Rest Driver PT:  Applying to instance #4.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association -ADD'.
    [09/16/24 15:08:55.292]:Rest Driver PT:      (if-operation match "status") = FALSE.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Evaluating selection criteria for rule 'Check for association - MODIFY'.
    [09/16/24 15:08:55.292]:Rest Driver PT:      (if-operation match "modify") = FALSE.
    [09/16/24 15:08:55.292]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.292]:Rest Driver PT:Policy returned:
    [09/16/24 15:08:55.292]:Rest Driver PT:
    <nds dtdversion="3.5" ndsversion="8.x">
      <source>
        <product build="20181130_1107" instance="Rest Driver" version="1.0.2.0">Identity Manager REST Driver</product>
        <contact>NetIQ Corporation.</contact>
      </source>
      <input>
        <driver-operation-data class-name="Telephone" command="poll" event-id="Rest Driver##12481615855##0">
          <response>
            <value>{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}</value>
          </response>
        </driver-operation-data>
        <instance class-name="Telephone" src-dn="14">
          <attr attr-name="telephoneNumber">
            <value>0701231211</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>14</value>
          </attr>
        </instance>
        <instance class-name="Telephone" src-dn="6">
          <attr attr-name="telephoneNumber">
            <value>0701231211</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>6</value>
          </attr>
        </instance>
        <instance class-name="Telephone" src-dn="27">
          <attr attr-name="telephoneNumber">
            <value>0701231212</value>
          </attr>
          <attr attr-name="className">
            <value>User</value>
          </attr>
          <attr attr-name="id">
            <value>27</value>
     </attr>
        </instance>
      </input>
    </nds>
    [09/16/24 15:08:55.295]:Rest Driver PT:Applying schema mapping policies to input.
    [09/16/24 15:08:55.295]:Rest Driver PT:Applying policy: %+C%14CSchemaMap%-C.
    [09/16/24 15:08:55.295]:Rest Driver PT:  Mapping class-name 'Telephone' to 'User'.
    [09/16/24 15:08:55.295]:Rest Driver PT:  Mapping class-name 'Telephone' to 'User'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping class-name 'Telephone' to 'User'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping class-name 'Telephone' to 'User'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'telephoneNumber' to 'Telephone Number'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'id' to 'workforceID'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'telephoneNumber' to 'Telephone Number'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'id' to 'workforceID'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'telephoneNumber' to 'Telephone Number'.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Mapping attr-name 'id' to 'workforceID'.
    [09/16/24 15:08:55.296]:Rest Driver PT:Resolving association references.
    [09/16/24 15:08:55.296]:Rest Driver PT:No event transformation policies.
    [09/16/24 15:08:55.296]:Rest Driver PT:Applying publisher filter.
    [09/16/24 15:08:55.296]:Rest Driver PT:Publisher processing driver-operation-data for .
    [09/16/24 15:08:55.296]:Rest Driver PT:Applying command transformation policies.
    [09/16/24 15:08:55.296]:Rest Driver PT:Applying policy: %+C%14CNETQRESTDCFG-pub-ctp-ModifytoRename%-C.
    [09/16/24 15:08:55.296]:Rest Driver PT:  Applying to driver-operation-data #1.
    [09/16/24 15:08:55.296]:Rest Driver PT:    Evaluating selection criteria for rule 'Convert modify to rename'.
    [09/16/24 15:08:55.296]:Rest Driver PT:      (if-operation equal "modify") = FALSE.
    [09/16/24 15:08:55.296]:Rest Driver PT:    Rule rejected.
    [09/16/24 15:08:55.296]:Rest Driver PT:Policy returned:
    [09/16/24 15:08:55.297]:Rest Driver PT:
    <nds dtdversion="3.5" ndsversion="8.x">
      <source>
        <product build="20181130_1107" instance="Rest Driver" version="1.0.2.0">Identity Manager REST Driver</product>
        <contact>NetIQ Corporation.</contact>
      </source>
      <input>
        <driver-operation-data class-name="User" command="poll" event-id="Rest Driver##12481615855##0">
          <response>
            <value>{"users":[{"telephoneNumber":"0701231211","className":"User","id":"14"},{"telephoneNumber":"0701231211","className":"User","id":"6"},{"telephoneNumber":"0701231212","className":"User","id":"27"}]}</value>
          </response>
        </driver-operation-data>
      </input>
    </nds>
    [09/16/24 15:08:55.297]:Rest Driver PT:Filtering out notification-only attributes.
    [09/16/24 15:08:55.297]:Rest Driver PT:Pumping XDS to eDirectory.
    [09/16/24 15:08:55.297]:Rest Driver PT:
    DirXML Log Event -------------------
         Driver:   \NAME\system\driverset1\Rest Driver
         Channel:  Publisher
         Status:   Error
         Message:  Code(-9038) Element <driver-operation-data> found under <input> is not allowed.
    
    

Children
No Data