SD-WAN

 View Only
  • 1.  Cassandra---DataStoreService

    Posted Jun 03, 2014 08:06 AM

    When I tried to reference the service( DataStoreService<DatastoreContext> )  using the code

    -------------------------------------------------CODE---------------------------------------------------

    @Reference(name = "StorageService", policy = ReferencePolicy.DYNAMIC,

                              cardinality = ReferenceCardinality.MANDATORY_UNARY)

    private  volatile DataStoreService<DataStoreContext> service;

    -----------------------------------------------------------------------------------------------------------

     

    I wrote the bindStorageService and unbindStorageService function, still don't get the DataStoreService.

    But when i reference the ControllerService in the same way, it worked! 

     

    I'm confused about how to get the DataStoreService, OR , should i try to manually constructor the class DataStoreManager?

     



  • 2.  RE: Cassandra---DataStoreService

    Posted Jul 23, 2014 04:01 AM

    Hello youngnr,

     

    Could you please share more code?

    Please do let us know  if your problem is solved.

     

    If you have more questions on the same topic please do reply on the same thread or open a new post if new topic.

     

    Thanks,

    HP SDN Team



  • 3.  RE: Cassandra---DataStoreService

    Posted Sep 08, 2014 05:45 AM

    Just want to add that the code mentioned is from the programming guide. The Guide mentions a demo application for cassandra which I would assume would be fully documented since it's mentioned but I don't think it is and a lot of searching through the resources provided hasn't turned up anything useful. 

     

    Can the demo source be provided?



  • 4.  RE: Cassandra---DataStoreService

    Posted Oct 28, 2014 02:55 AM

    Hello jd,

     

    Apologies for the delay.

     

    Please let us know if your problem is solved or you still facing some issue.

     

     

    If you have more questions on the same topic please do reply on the same thread or open a new post if new topic.

     

    Thanks,

    HP SDN Team