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

Compare with Current View Page History

« Previous Version 8 Next »

For accessing OpenNaaS functionalities remotely the system exports the OSGI services through RESTful web services.

Distributed OSGI has been used for the integration of REST in the OpenNaaS platform. DOSGi allows integrating REST or SOAP technologies with OSGi allowing dynamic registration of resources, capabilities and other services as a web service.

When a resource is created, for example, all its capabilities are published dynamically to access remotely.

Each capability of each resource has its own web service and its own URL to access it. 

The future security layer should control access to different capabilities according to the resource that is running.

 

 

 

 

 

 

 

 

 

 

 

 

For anyone who wants to integrate with OpenNaaS, the best approach is to create a client that uses the RESTful web services published. This client would need to be an independent set of classes (its own library) from OpenNaaS. In order to be able to develop there certain recommendations that would help a developer:

  1. Download and install OpenNaaS.
  2. Run OpenNaaS.
  3. Access the following URL to obtain the information needed to acces the RESTful web services:
    1. Resources: http://localhost:8888/opennaas/resources?_wadl
    2. vCPE Network: http://localhost:8888/opennaas/vcpenetwork?_wadl

You can see en example of a web application develop on top of the vCPE Network resource by following the steps explained in How to deploy a vCPE

 

  • No labels