In oneM2M, all the resources created on MN-CSE node are stored in the database on the node itself. I also want to notify IN-CSE of the new resources that are created on the MN-CSE and save them in the datatbase there. How can I achieve this?
My approach - currently, I am thinking of creating a subscription for each resource with IN-CSE address as the notificationURL. So that as soon as a new child resource is created for a resource, IN-CSE will be notified and IN-CSE will parse the notification and save the information in the database. Is the approach correct?
Thanks in advance :)