[Bug 510246] Fix discovery inconsistency

  The contentInstance was not removed from the URI Mapper table when
  it is deleted due to a full container. This fix removes the entry
  on this specific execution.

Signed-off-by: Francois Aissaoui <aissaoui@laas.fr>
1 file changed
tree: 3091ef61aa45fa15c36bb81efc50d6e8a8e25bd5
  1. org.eclipse.om2m.binding.coap/
  2. org.eclipse.om2m.binding.http/
  3. org.eclipse.om2m.binding.mqtt/
  4. org.eclipse.om2m.binding.service/
  5. org.eclipse.om2m.commons/
  6. org.eclipse.om2m.commons.logging/
  7. org.eclipse.om2m.core/
  8. org.eclipse.om2m.core.service/
  9. org.eclipse.om2m.datamapping.jaxb/
  10. org.eclipse.om2m.datamapping.service/
  11. org.eclipse.om2m.interworking.service/
  12. org.eclipse.om2m.ipe.sample/
  13. org.eclipse.om2m.persistence.eclipselink/
  14. org.eclipse.om2m.persistence.service/
  15. org.eclipse.om2m.site.asn-cse/
  16. org.eclipse.om2m.site.in-cse/
  17. org.eclipse.om2m.site.mn-cse/
  18. org.eclipse.om2m.webapp.resourcesbrowser.json/
  19. org.eclipse.om2m.webapp.resourcesbrowser.xml/
  20. .gitignore
  21. .project
  22. CONTRIBUTING.md
  23. epl-v10.html
  24. pom.xml
  25. README.md
README.md

About OM2M

OM2M is an open source OSGi-based implementation of the ETSI M2M standard .

Prerequisites:

  • JAVA 1.7 tu run OM2M.
  • Apaceh Maven 3 to build OM2M.

Building OM2M from sources using maven:

  • Go to the parent project directory “org.eclipse.om2m”
  • Build the OM2M project using the following command:

mvn clean install

  • The NSCL product is generated on the this directory: “om2m/org.eclipse.om2m/org.eclipse.om2m.site.nscl/target/products/nscl///”
  • The GSCL product is generated on the this directory: “om2m/org.eclipse.om2m/org.eclipse.om2m.site.gscl/target/products/gscl///”

Configure and Start the NSCL:

  • Go to the NSCL product directory.
  • You can edit the file “configuration/config.ini” to configure the NSCL
  • You can start the NSCL using the following command:

java -jar -ea -Declipse.ignoreApp=true -Dosgi.clean=true -Ddebug=true plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -console -noExit

Configure and Start the GSCL:

  • Go to the NSCL product directory.
  • The GSCL can be configured and started with the same steps used for the NSCL.
  • Open your browser, then enter the address “http://127.0.0.1:8181” to access the GSCL web interface.

For more details, see http://wiki.eclipse.org/OM2M