1 Reply Latest reply on Mar 3, 2015 4:38 PM by Steven Hawkins

    EmbeddedServer - Dynamically add/remove sources to multi-source models?

    Mark Addleman Master

      I'm using the EmbeddedServer and I want to add and remove sources to multi-source models.  I understand that the Admin interface isn't available.  I can't follow the source down the right track to discover the internal API used to reconfigure multi-source models.  Can you give me a good starting point?

        • 1. Re: EmbeddedServer - Dynamically add/remove sources to multi-source models?
          Steven Hawkins Master

          The server makes use of the classes VDBService and RuntimeVDB to manage all of the service interaction and VDB updates.  From embedded's perspective all that is happening is the ModelMetaData map of sources is being modified.  Unless the vdb deployment based upon the ModelMetaData objects is used however, we don't provide good access to the live runtime metadata to make further modifications.  An indirect path would be to extend the EmbeddedServer and use the VDBRepository to obtain the VDBMetaData to get at the ModelMetaData.

           

          It probably makes sense for the EmbeddedServer to provide an implementation of the AdminApi moving forward.