Hydra

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 Log
Chris Andrew: Here is the presentation I will be using in the call today https://docs.google.com/presentation/d/1NLbRM4M5boVY1d0aTMP9uXomIamClN0k5l9X4pInRIU/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
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 action types
Chris Andrew: you can specify whatever type you want over there
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
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?
Akshay Dahiya: 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]
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!