Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

changes files changes/notesDecision
cpsData.yml
nodeByDataspaceAndAnchor:
get:
...
      - $ref: 'components.yml#/components/parameters/depthInQuery'
...

cpsQuery.yml
nodesByDataspaceAndAnchorAndCpsPath:
get:
...
- $ref: 'components.yml#/components/parameters/depthInQuery'
...

components.yml
depthInQuery:
name: depth
in: query
description: depth parameter for large query outputs
required: false
schema:
type: string
default: all
example: 1

FetchDescendantsOption.java

We Need to change this class to accept for any other depth values except -1, 0 and 1.  

Do we need to change FetchDescendantsOption to support multiple depths or add depth as separate argument along with FetchDescendantsOption


CpsDataPersistenceServiceImpl.java
change in "queryDataNodes" method 

...