- From: Markus Lanthaler <markus.lanthaler@gmx.net>
- Date: Tue, 5 Sep 2017 21:00:12 +0200
- To: "'Akshay dahiya'" <xadahiya@gmail.com>
- Cc: <public-hydra@w3.org>
- Message-ID: <013001d32679$34044630$9c0cd290$@gmx.net>
Awesome! Thanks Akshay I really loved the way Chris live coded the server yesterday. Do you guys think you could record a YouTube video of that and/or put together a blog post describing that? That would be a great way to promote the work you did. Thanks, Markus From: Akshay dahiya [mailto:xadahiya@gmail.com] Sent: Monday, September 4, 2017 10:22 PM To: Markus Lanthaler <markus.lanthaler@gmx.net> Cc: public-hydra@w3.org Subject: Re: Hydra W3C Community Group Telecon Minutes for 2017-09-04 Hi Markus, I've updated the simulation server, now the simulation is being reset every 2 hours, should be good enough for demo purposes. Please let me know if there's anything else. Simulation GUI Link - http://104.197.234.187:5000/ Central Controller Link - http://104.197.234.187:8080/api/ Drones - http://104.197.234.187:8081/api/ , http://104.197.234.187:8082/api/, http://104.197.234.187:8083/api/, http://104.197.234.187:8084/ Greetings Akshay On Sep 5, 2017 12:45 AM, "Markus Lanthaler" <markus.lanthaler@gmx.net <mailto:markus.lanthaler@gmx.net> > wrote: Thanks Chris and Akshay for the presentation in the telecon today and the awesome work during Google Summer of Code. Thanks also to Pavlik for scribing. The minutes from this week's telecon are now available at http://www.hydra-cg.com/minutes/2017-09-04/ The full text of the discussion is below, including a link to the audio transcript. ------------------------------------------------------------------- Hydra W3C Community Group Telecon Minutes for 2017-09-04 Agenda: https://www.w3.org/community/hydra/wiki/Conference_Calls Topics: 1. Hydra Python Google Summer of Code 2. Follow-up on action items Chair: Markus Lanthaler Scribe: elf Pavlik Present: elf Pavlik, Markus Lanthaler, Akshay Dahiya, Chris Andrew, Lorenzo Moriondo Audio: http://www.hydra-cg.org/minutes/2017-09-04/audio.mp3 Chris Andrew: Here is the presentation I will be using in the call today https://docs.google.com/presentation/d/1NLbRM4M5boVY1d0aTMP9uXomIamClN0k5l9X <https://docs.google.com/presentation/d/1NLbRM4M5boVY1d0aTMP9uXomIamClN0k5l9X4pInRIU/edit?usp=sharing> 4pInRIU/edit?usp=sharing elf Pavlik: Hello, Lorenzo will you also join the voice call ? Markus Lanthaler: Lorenzo, will you be able to dial in? elf Pavlik is scribing. Topic: Hydra Python Google Summer of Code Chris Andrew: I will screenshare slidedeck linked above Markus Lanthaler: https://docs.google.com/presentation/d/1NLbRM4M5boVY1d0aTMP9uXomIamClN0k5l9X <https://docs.google.com/presentation/d/1NLbRM4M5boVY1d0aTMP9uXomIamClN0k5l9X4pInRIU/edit?usp=sharing> 4pInRIU/edit?usp=sharing Chris Andrew: Hydrus uses HTTP Authorization header ... we use triples but we modified them a bit ... instance predicates ans abstract predicates Chris Andrew: I'll show you how to setup server using Hydrus ... first we setup connection to the database (sqlalchemy) ... now we need to create all the models hydrus needs ... then we use hydrus doc_maker to create api documentation ... hydrus app factory returns flask object with routes ... remember that we basically get flask application Markus Lanthaler: does this server also supports CRUD operations ? Chris Andrew: you have to specify those operations in api documentation Markus Lanthaler: so POST will also resolve in new item? ... I see you use schema.org <http://schema.org> action types Chris Andrew: you can specify whatever type you want over there Akshay Dahiya: https://docs.google.com/presentation/d/1GlN7URXyVFl8UufjBf3SUyG8PVSKTHHljg4n <https://docs.google.com/presentation/d/1GlN7URXyVFl8UufjBf3SUyG8PVSKTHHljg4n4LiWETw/edit?usp=sharing> 4LiWETw/edit?usp=sharing Akshay Dahiya: we wanted to demonstrate it in some interesting way ... we created simulation of drones which detect fires in some geo area ... central controler - hydrus instance, all drones send their data to it ... demo of the GUI of Hydra Flock Demo Akshay Dahiya: http://104.197.234.187:5000/ Markus Lanthaler: how often do the drones check api documentation ... if during operation it changes would they figure it out? Akshay Dahiya: i don't think you can change it during operation they get it during initialization Markus Lanthaler: do you plan to write a blog post about it? Chris Andrew: https://gsocchrizandr.wordpress.com/the-book-of-hydrus/ Akshay Dahiya: xadahiya.github.io <http://xadahiya.github.io> elf Pavlik: Thanks for the demo [scribe assist by Markus Lanthaler] ... do you consider to have a live public demo so that people from the CG can go and play with it ... without having to set up anything Chris Andrew: We actually set up a AWS server but it needs some config [scribe assist by Markus Lanthaler] elf Pavlik: Right, that's what I meant. Set it up with this demo [scribe assist by Markus Lanthaler] Chris Andrew: Yeah, we could do that [scribe assist by Markus Lanthaler] elf Pavlik: Are the properties in the EntryPoint instances of hydra:Link? [scribe assist by Markus Lanthaler] Akshay Dahiya: So you are asking how the client discovers the various endpoints? [scribe assist by Markus Lanthaler] elf Pavlik: yes [scribe assist by Markus Lanthaler] elf Pavlik: How do you link from the entry point to the anomaly collection? [scribe assist by Markus Lanthaler] Akshay Dahiya: Here you see the properties, they are instances of hydra:Link [scribe assist by Markus Lanthaler] Lorenzo Moriondo: Is this the correct way to do it? [scribe assist by Markus Lanthaler] elf Pavlik: yes [scribe assist by Markus Lanthaler] Lorenzo Moriondo: great job, well done. I'm really proud [scribe assist by Markus Lanthaler] Markus Lanthaler: I agree, please share it more broadly ... i'll tweet about it Akshay Dahiya: we use sqlite but i plan to change it to postgresql ... this will support larger quantities of loads Markus Lanthaler: i hope we can have public demo running somewhere Topic: Follow-up on action items Markus Lanthaler: Pavlik, do you have an update? [scribe assist by Markus Lanthaler] https://github.com/HydraCG/Specifications/pull/136 Akshay Dahiya: http://xadahiya.github.io/ elf Pavlik: I created a first PR.. waiting for feedback [scribe assist by Markus Lanthaler] Markus Lanthaler: sorry, slipped under my radar [scribe assist by Markus Lanthaler] Markus Lanthaler: anything else for today? any questions comments... Chris Andrew: for authorization / authentication we used Authorization header ... does any other ways to support auth in APIs ? Markus Lanthaler: currently hydra doesn't have anything specific to authorization Chris Andrew: what we currently do not secure unless we use TLS ... HTTP Authorization header Markus Lanthaler: thanks a lot again for the awesome demo! Lorenzo Moriondo: Thanks guys. See you next time!
Received on Tuesday, 5 September 2017 19:00:43 UTC