Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

response for getDataNode is

{
   "bookstore-name":"Chapters",
   "categories":[
      ...
   ]
}


But we send this body when creating/updating DataNode (i.e. its wrapped using module information)

{
   "bookstore":{
      "bookstore-name":"Chapters",
      "categories":[
         ...
      ]
   }
}
SolutionsIssues


Populate the schema_node_id variable in the fragment table which would equate to the schemaSetName variable in the DataNode class/object. This variable is currently null and not used.Adds a substantial amount of extra data to the fragment table. 


Obtain the schema node from the xpath of the queried node. Node xpath will be /bookstore/categories[@code='01'] where bookstore is the container name given in the module info.



Create a query to obtain the schema node directly from the database using and propagate through persistence and service layers.Would need to create a new query and also pass a new schema node object to the toDataMap method which would not be used every time which it is called


For the JSON output of Get DataNode we need to alter the DataMapUtils class. The function toDataMap 

  • No labels