Top Banner
Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead http://openag.io http://engineering.purdue.edu/ oatsgroup /
49

Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Dec 30, 2015

Download

Documents

Jacob Baker
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Open Ag Data Alliance

March 7, 2015

A standard REST API for Ag+open source code

Aaron AultOADA Project Lead

http://openag.iohttp://engineering.purdue.edu/oatsgroup/

Page 2: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Background: OATS group

http://engineering.purdue.edu/oatsgroup

Open Ag Tech Group at Purdue

Page 3: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

The Promise of Data

Page 4: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

What Farmers Want from Data

Data should flow

Page 5: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

What Farmers Want from Data

Data should flow

from whatever source a farmer has

Page 6: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

What Farmers Want from Data

Data should flow

from whatever source a farmer has

into whatever tool a farmer wants

Page 7: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

What Farmers Want from Data

Data should flow

without manual intervention

from whatever source a farmer has

into whatever tool a farmer wants

Page 8: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Very Bold Claim

Data in ag is a hassle primarily because…..

Page 9: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Very Bold Claim

Data in ag is a hassle primarily because…..

Without the cloud, the “best ideas” just aren’t good enough.

I need answers while I’m thinking about something. Whenever. Wherever. Within 20 seconds.

Page 10: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Very Bold Claim

Data in ag is a hassle primarily because…..

Without the cloud, the “best ideas” just aren’t good enough.

I need answers while I’m thinking about something. Whenever. Wherever. Within 20 seconds.

?To sell tools, you need real-time data.

To provide data, you need customers with tools to use it.

Page 11: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Why Should You Care?

Chickens eventually hatch….

Page 12: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Why Should You Care?

Data compatibility will drive purchasing decisions

for successful farms.

Chickens eventually hatch….

Page 13: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Why Should You Care?

Data compatibility will drive purchasing decisions

for successful farms.

Winners will effectively scale compatibility

in the emerging market.

Chickens eventually hatch….

Page 14: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Why Should You Care?

Data compatibility will drive purchasing decisions

for successful farms.

Winners will effectively scale compatibility

in the emerging market.

Public Standards + Open Source Code The distributed way to build a market.

Page 15: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Why The Code is Important

Source: https://www.xkcd.com/927/

Page 16: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Source: https://www.xkcd.com/927/

Why The Code is Important

Page 17: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Source: https://www.xkcd.com/927/

Why The Code is Important

Page 18: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Source: https://www.xkcd.com/927/

Why The Code is Important

There will always be multiple standards. They will change over time.

Page 19: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Source: https://www.xkcd.com/927/

Why The Code is Important

There will always be multiple standards. They will change over time.

The world can still function thanks to open source pain relievers.

Examples: images, jQuery, npm, Babel

Page 20: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Source: https://www.xkcd.com/927/

Why The Code is Important

There will always be multiple standards. They will change over time.

The world can still function thanks to open source pain relievers.

Examples: images, jQuery, npm, Babel

…but only if published publicly.

Page 21: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Why there are so many formats

“It’s easier to write code than to read it” – Joel Spolsky

Page 22: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Why there are so many formats

“It’s easier to write code than to read it” – Joel Spolsky

Fact of Life #1: FIRYO First Instinct is to Roll Your Own.

Page 23: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Why there are so many formats

“It’s easier to write code than to read it” – Joel Spolsky

Fact of Life #1: FIRYO First Instinct is to Roll Your Own.

How to Embrace: It’s sometimes OK to Roll Your Own. It’s how we learn. Get to MVP in a bubble, then adapt to a standard.

Page 24: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Why there are so many formats

“It’s easier to write code than to read it” – Joel Spolsky

Fact of Life #1: FIRYO First Instinct is to Roll Your Own.

How to Embrace: It’s OK to Roll Your Own. Get to MVP in a bubble, then adapt to a standard.

This is how innovation happens anyway.

Page 25: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Embrace Facts of Life

Fact of Life #2: SHII Somebody Has to Implement It.

Page 26: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Embrace Facts of Life

Fact of Life #2: SHII Somebody Has to Implement It.

How to Embrace SHII:Provide incremental path to compliance

v1.0.0 prefers simplicity to featuresPublic community of fellow travelers

Helpful tests and tools

Page 27: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Embrace Facts of Life

Fact of Life #3: ENEAExistence != Adoption: compatibility comes from many

developers independently choosing to use it.

Page 28: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Embrace Facts of Life

Fact of Life #3: ENEAExistence != Adoption: compatibility comes from many

developers independently choosing to use it.

Meritorious adaptability: prove it first, then standardize.First end user of an API is a developer.

Focus on features relevant to current community.

How to Embrace ENEA:

Page 29: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Overview

Page 30: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Overview

OADA Is Not a “Cloud”

Page 31: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Overview

OADA Is Not a “Cloud”

Frank’s choice: Frank’s farm, local retailer,

Climate, CNH, Winfield, etc.

Page 32: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Overview

OADA Is Not a “Cloud”

Frank’s choice: Frank’s farm, local retailer,

Climate, CNH, Winfield, etc.

Tools aren’t tied to storage

Page 33: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Overview

OADA Is Not a “Cloud”Long Live Transferability!--> market picks winners

Frank’s choice: Frank’s farm, local retailer,

Climate, CNH, Winfield, etc.

Tools aren’t tied to storage

Page 34: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Role Definitions

Certifiable Roles In OADA Ecosystem

OADA-Conformant Cloud

OADA-Conformant Application

OADA-Conformant Device

OADA-Conformant Data Generator

OADA-Conformant Identity Provider

Agcloud.com

Page 35: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Role Definitions

Certifiable Roles In OADA Ecosystem

OADA-Conformant Cloud

OADA-Conformant Application

OADA-Conformant Device

OADA-Conformant Data Generator

OADA-Conformant Identity Provider

Page 36: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Role Definitions

Certifiable Roles In OADA Ecosystem

OADA-Conformant Cloud

OADA-Conformant Application

OADA-Conformant Device

OADA-Conformant Data Generator

OADA-Conformant Identity Provider

Page 37: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Role Definitions

Certifiable Roles In OADA Ecosystem

OADA-Conformant Cloud

OADA-Conformant Application

OADA-Conformant Device

OADA-Conformant Edge

OADA-Conformant Identity Provider

Page 38: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Role Definitions

Certifiable Roles In OADA Ecosystem

OADA-Conformant Cloud

OADA-Conformant Application

OADA-Conformant Device

OADA-Conformant Edge

OADA-Conformant Identity Provider

http://www.iconhot.com/icon/png/devine/256/lock-6.png

Page 39: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

OADA Role Definitions

Certifiable Roles In OADA Ecosystem

OADA-Conformant Cloud

OADA-Conformant Application

OADA-Conformant Device

OADA-Conformant Edge

OADA-Conformant Identity Provider

OADA-Conformant Client Registrarhttp://leomancinidesign.com/front/resources/portfolio/full/certificate-of-awesomeness/1.jpg

Page 40: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

A Few Design goals

Simple to adapt existing JSON-based REST API’sAPI defined by the data you put in it

http://www.kissbdc.com/wp-content/uploads/2015/02/ein.jpg

Page 41: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

A Few Design goals

Simple to adapt existing JSON-based REST API’sAPI defined by the data you put in it

Implementable on existing scalable architectures

http://www.wisdomenough.com/wp-content/uploads/2015/06/blog-square-peg.jpg

Page 42: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

A Few Design goals

Simple to adapt existing JSON-based REST API’sAPI defined by the data you put in it

Implementable on existing scalable architectures

Works for both cloud-cloud and app-cloud

https://cloud.google.com/actual-cloud/images/google-actual-cloud-platform.pnghttp://static4.businessinsider.com/image/551c606869bedd5e2a51ea27-480/google-actual-cloud.png

Page 43: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

A Few Design goals

Simple to adapt existing JSON-based REST API’sAPI defined by the data you put in it

Implementable on existing scalable architectures

Works for both cloud-cloud and app-cloud

Standardized auth+registration

http://jalapenoberry.com/media/changed-passwords-to-incorrect_admin052413y4ihq.jpg

Page 44: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

A Few Design goals

Simple to adapt existing JSON-based REST API’sAPI defined by the data you put in it

Implementable on existing scalable architectures

Works for both cloud-cloud and app-cloud

Standardized auth+registration

Synchronization

Page 45: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Operations

Success != 100% acceptanceFind partners who want to exchange data today

Help exchange it via OADA API

Page 46: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Operations

Success != 100% acceptanceFind partners who want to exchange data today

Help exchange it via OADA API

Downsides: α != β

Page 47: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Operations

Success != 100% acceptanceFind partners who want to exchange data today

Help exchange it via OADA API

Upsides: Enshrines innovatibiltyGets real data flowing

Keeps us honest: reducible to practice

Downsides: α != β

Page 48: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Funding Model

OADA is not an entity. It’s an open source project. - Linux, Android, node.js, …

Github repo + website + brand.

Funding is for people to contribute.Partner sponsorships

Grants

Page 49: Open Ag Data Alliance March 7, 2015 A standard REST API for Ag +open source code Aaron Ault OADA Project Lead

Thank You

Aaron AultOADA Project Leadhttp://openag.io

Senior Research EngineerOpen Ag Technology and Systems GroupPurdue Universityhttp://engineering.purdue.edu/oatsgroup/