Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21330

Fix usage of aliases with Java Automation Client

    XMLWordPrintable

    Details

    • Backlog priority:
      700
    • Upgrade notes:
      Hide

      Operation documentation can now be export for each alias using the `nuxeo.automation.export.aliases` configuration parameter. Default to false.

      ```
      <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
      <property name="nuxeo.automation.export.aliases">true</property>
      </extension>
      ```

      Show
      Operation documentation can now be export for each alias using the `nuxeo.automation.export.aliases` configuration parameter. Default to false. ``` <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration"> <property name="nuxeo.automation.export.aliases">true</property> </extension> ```
    • Sprint:
      nxfit 9.1.3
    • Story Points:
      5

      Description

      Calls to operations like UserWorkspace.Get, Document.Fetch, Collection.GetCollections, Document.Query will fail because they are aliases of existing operations.

      Code snippet which fails:

              Document doc = (Document) getNuxeoSession().newRequest("UserWorkspace.Get")
                      .setHeader(Constants.HEADER_NX_SCHEMAS)
          }
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days
                2d