You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Jon Freedman (JIRA)" <ji...@apache.org> on 2016/02/15 12:57:18 UTC

[jira] [Updated] (OLINGO-885) pojogen-maven-plugin fails to generate model for .Net service

     [ https://issues.apache.org/jira/browse/OLINGO-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Freedman updated OLINGO-885:
--------------------------------
    Description: 
Given the Thomson Reuters DataScope API is a production system I assume the OData metadata is valid however the pojogen-maven-plugin fails to parse some of the metadata documents.

See https://hosted.datascopeapi.reuters.com/RestApi/

Specifically:
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/$metadata
org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name: ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateType
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Users/$metadata
java.lang.IllegalStateException: File 'C:\code\Java\Risk\shared\risk-reuters-api\target\generated-sources\users\ojc-plugin\thomsonreuters\dss\api\users\Users.java' already exists
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Search/$metadata
org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name: ThomsonReuters.Dss.Api.Content.InstrumentTypeGroup
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Jobs/$metadata
java.lang.IllegalStateException: File 'C:\code\Java\Risk\shared\risk-reuters-api\target\generated-sources\jobs\ojc-plugin\thomsonreuters\dss\api\jobs\Jobs.java' already exists
* https://hosted.datascopeapi.reuters.com/RestApi/v1/AskTrps/$metadata
 org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name: ThomsonReuters.Dss.Api.Content.InstrumentIdentifier

  was:
Given the Thomson Reuters DataScope API is a production system I assume the OData metadata is valid however the pojogen-maven-plugin fails to parse some of the metadata documents.

See https://hosted.datascopeapi.reuters.com/RestApi/

Specifically:
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/$metadata
Caused by: org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name: ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateType
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Users/$metadata
java.lang.IllegalStateException: File 'C:\code\Java\Risk\shared\risk-reuters-api\target\generated-sources\users\ojc-plugin\thomsonreuters\dss\api\users\Users.java' already exists
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Search/$metadata
Caused by: org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name: ThomsonReuters.Dss.Api.Content.InstrumentTypeGroup
* https://hosted.datascopeapi.reuters.com/RestApi/v1/Jobs/$metadata
java.lang.IllegalStateException: File 'C:\code\Java\Risk\shared\risk-reuters-api\target\generated-sources\jobs\ojc-plugin\thomsonreuters\dss\api\jobs\Jobs.java' already exists
* https://hosted.datascopeapi.reuters.com/RestApi/v1/AskTrps/$metadata
 org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name: ThomsonReuters.Dss.Api.Content.InstrumentIdentifier


> pojogen-maven-plugin fails to generate model for .Net service
> -------------------------------------------------------------
>
>                 Key: OLINGO-885
>                 URL: https://issues.apache.org/jira/browse/OLINGO-885
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-ext
>    Affects Versions: (Java) V4 4.1.0
>            Reporter: Jon Freedman
>
> Given the Thomson Reuters DataScope API is a production system I assume the OData metadata is valid however the pojogen-maven-plugin fails to parse some of the metadata documents.
> See https://hosted.datascopeapi.reuters.com/RestApi/
> Specifically:
> * https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/$metadata
> org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name: ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateType
> * https://hosted.datascopeapi.reuters.com/RestApi/v1/Users/$metadata
> java.lang.IllegalStateException: File 'C:\code\Java\Risk\shared\risk-reuters-api\target\generated-sources\users\ojc-plugin\thomsonreuters\dss\api\users\Users.java' already exists
> * https://hosted.datascopeapi.reuters.com/RestApi/v1/Search/$metadata
> org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name: ThomsonReuters.Dss.Api.Content.InstrumentTypeGroup
> * https://hosted.datascopeapi.reuters.com/RestApi/v1/Jobs/$metadata
> java.lang.IllegalStateException: File 'C:\code\Java\Risk\shared\risk-reuters-api\target\generated-sources\jobs\ojc-plugin\thomsonreuters\dss\api\jobs\Jobs.java' already exists
> * https://hosted.datascopeapi.reuters.com/RestApi/v1/AskTrps/$metadata
>  org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name: ThomsonReuters.Dss.Api.Content.InstrumentIdentifier



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)