Skip to content

urn, mime and other details are missing in the getManifest response #7

Open

Description

@ryaliscs

I am using the following code to get the manifest from a successful job

ApiResponse manifest = derivativesApi.getManifest(urnOfSuccessfulJob, null, oauth2TwoLegged, twoLeggedCredentials);
Manifest data = manifest.getData();

The response does not contain urn's
eg:
children: [class ManifestChildren {
type: geometry
role: 2d
name: 03.51 - Detail V.01
hasThumbnail: true
mime: null
urn: null
progress: complete
status: success
resolution: []
modelGUID: null
objectIds: []
messages: null
}

Full Response can be found at:
https://drive.google.com/file/d/0ByrHSB-f7jP3TXhHYVQtOEUyM2c/view

Thanks & Regards,
Sarat.

Activity

  1. ryaliscs commented on Aug 11, 2017

    @ryaliscs
    Author

    The issue seems with conversion of response to manifest. check below the plain response and it has all the urn and other information
    https://drive.google.com/file/d/0ByrHSB-f7jP3LXF6Y0VkeHVwWlU/view?usp=sharing

    The response is not correctly converted into Manifest.

  2. ryaliscs commented on Aug 16, 2017

    @ryaliscs
    Author

    Hi,
    The issue closed, but I don't find any comment on why this is closed.

  3. Keorl commented on Feb 9, 2018

    @Keorl

    I have the exact same issue here. I'm supposed to get the converted file's urn from the manifest so I can use it in getDerivativeManifest to download the file (however this function works to download something without a File return value or a target path), but the manifest I get after job success only contains 2 urns :

    • manifest.getUrn(), is nothing else than a base64 version of the urn of the rvt file I uploaded (useless)
    • manifest.getDerivatives().get(0).getChildren().get(0).getUrn(), returns .../output/Rerousrce/model.sdb. Not what I want and is refused by getDerivativeManifest ("the requested derivative urn is invalid")

    I guess I should do something like "manifest.getDerivatives().get(0).getUrn(), but it turns out that the class ManifestDerivative doesn't have an urn member at all.
    What am I supposed to do ? Randomly build an urn and hope my app doesn't crash from so bad coding ? (=> base file urn, replace .rvt with .svf, add /output/0 before file name ?)

  4. ryaliscs commented on Feb 14, 2018

    @ryaliscs
    Author

    Hi Keorl,

    This issues seems to be of no priority to the team.

    I found another GItHub project with the similar implementation, may be that helps

    https://github.com/iamrakesh/jadf.sdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions