On Sat, Jul 15, 2017 at 9:24 PM, Madhawa Vidanapathirana < [email protected]> wrote:
> Hi, > > Where can I find the up to date REST endpoints for DAS 4.0? > > The endpoints I am aware so far are available at [1] but they seem to be > not working (probably outdated). > > I tried sending a post request to Endpoint 1 in [1] ( > http://localhost:9090/siddhi/artifact/deploy) with a Siddhi App as plain > text request body but the response I got was "Problem accessing: > /siddhi/artifact/deploy. Reason: Not Found". Postman was used for sending > the request. > > [1] - https://docs.google.com/document/d/154ndex3OBoE0zNOLHatmMOvt2JHh9 > RJya2VdHlHOTl4/edit?usp=sharing > Above is outdated. Please refer [0] for latest Siddhi-App APIs. Please use "admin:admin" as the credentials.. [0] https://docs.wso2.com/display/DAS400/apidocs/siddhiapps/ Thanks, Mohan > > Kind Regards, > Madhawa > > > > On Sat, Jul 8, 2017 at 12:47 PM, Sriskandarajah Suhothayan <[email protected]> > wrote: > >> @Ramindu >> >> Do we have a doc that has different options that we can have for >> simulation. If so please share. >> >> On Fri, Jul 7, 2017 at 11:18 PM Madhawa Vidanapathirana < >> [email protected]> wrote: >> >>> Hi, >>> >>> So far I've managed to implement the REST endpoints of Event Simulator >>> mentioned at [1]. The code is available at repository [2]. >>> >>> The objects passed to REST API has been mapped to Python Classes. All >>> the fields mentioned in POSTMAN samples (attached) given by Ramindu has >>> been added to the classes. Additionally, most of the POSTMAN samples has >>> been implemented as tests in Python Code. >>> >>> Is their any technique I can use to identify the possible fields of any >>> object that could be passed to REST API? >>> >>> [1] - https://docs.google.com/document/d/154ndex3OBoE0zNOLHatmMO >>> vt2JHh9RJya2VdHlHOTl4/edit?usp=sharing >>> [2] - https://github.com/madhawav/DASPythonClient >>> >>> Kind Regards, >>> Madhawa >>> >>> -- >>> *Madhawa Vidanapathirana* >>> Student >>> Department of Computer Science and Engineering >>> University of Moratuwa >>> Sri Lanka >>> >>> Mobile: (+94) 716874425 <+94%2071%20687%204425> >>> Email: [email protected] >>> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathirana-3430b94 >>> >> -- >> >> *S. Suhothayan* >> Associate Director / Architect >> *WSO2 Inc. *http://wso2.com >> * <http://wso2.com/>* >> lean . enterprise . middleware >> >> >> *cell: (+94) 779 756 757 <+94%2077%20975%206757> | blog: >> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter: >> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in: >> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>* >> > > > > -- > *Madhawa Vidanapathirana* > Student > Department of Computer Science and Engineering > University of Moratuwa > Sri Lanka > > Mobile: (+94) 716874425 <+94%2071%20687%204425> > Email: [email protected] > Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathirana-3430b94 > -- *V. Mohanadarshan* *Associate Tech Lead,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com <http://wso2.com> * *lean.enterprise.middleware.* email: [email protected] phone:(+94) 771117673
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
