Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Search Search
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 35
    • Issues 35
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • System
  • SearchSearch
  • Issues
  • #66
Closed
Open
Issue created Sep 01, 2021 by Kamlesh Todai@todaiksDeveloper

In IBM environment Search to get all records of a particular entity type e.g. SeismicBinGrid is not working.

Search to get all records of a particular entity type e.g. SeismicBinGrid, FileCollection.SEGY is not working. At the same time, it is working for entity type SeismicTraceData.

More concerned about the error return with code 500 server error. If one gets no data found then it would be okay but 500 is definetly not good

curl --location --request POST 'https://osdu-cpd-osdu.odi-osdu-og-fa7661852f2ab29a6be32f560b2f5573-0000.us-south.containers.appdomain.cloud/osdu-search/api/search/v2/query'
--header 'data-partition-id: opendes'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI...clvc0Rwb8Lw'
--data-raw '{ "kind": "opendes:wks:work-product-component--SeismicBinGrid:1.0.0", "query": "*", "aggregateBy": "kind", "limit": 10 }' Response: 500 Internal Server Errpr { "code": 500, "reason": "Server error.", "message": "An unknown error has occurred." }

It works for a similar query when the entity type is SeismicTraceData curl --location --request POST 'https://osdu-cpd-osdu.odi-osdu-og-fa7661852f2ab29a6be32f560b2f5573-0000.us-south.containers.appdomain.cloud/osdu-search/api/search/v2/query'
--header 'data-partition-id: opendes'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI...clvc0Rwb8Lw'
--data-raw '{ "kind": "opendes:wks:work-product-component--SeismicTraceData:1.0.0", "query": "*", "aggregateBy": "kind", "limit": 10 }' Response: 200 OK { "results": [ { "data": { .... } ], "aggregations": [ { "key": "opendes:wks:work-product-component--SeismicTraceData:1.0.0", "count": 2 } ], "totalCount": 2 } @ChrisZhang @ashams_s @anujgupta

Assignee
Assign to
Time tracking