31
#atlascamp @atlassian

AtlasCamp 2013: Bring your own Stack

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: AtlasCamp 2013: Bring your own Stack

#atlascamp@atlassian

Page 2: AtlasCamp 2013: Bring your own Stack

Andreas Knecht, JIRA Team Lead, Atlassian

Bring your own Stack

2

Page 3: AtlasCamp 2013: Bring your own Stack

3

Page 4: AtlasCamp 2013: Bring your own Stack

What are we building?

4

Page 5: AtlasCamp 2013: Bring your own Stack

What are we building?

54

Page 6: AtlasCamp 2013: Bring your own Stack

What are we building?

54

You

Page 7: AtlasCamp 2013: Bring your own Stack

What are we building?

54

Register AC add-on

You

Page 8: AtlasCamp 2013: Bring your own Stack

What are we building?

54

Register AC add-on

Register instancevia Webhook

You

Page 9: AtlasCamp 2013: Bring your own Stack

What are we building?

54

Register AC add-on

Register instancevia Webhook

Authenticated requestsand responses

You

Page 10: AtlasCamp 2013: Bring your own Stack

What are we building?

54

Register AC add-on

Register instancevia Webhook

Authenticated requestsand responses

You

Page 11: AtlasCamp 2013: Bring your own Stack

• It’s• Low resource usage• Easy to host• Fast and Fun!

Why NodeJS?

6

Page 12: AtlasCamp 2013: Bring your own Stack

All this in 30 mins?

7

Page 13: AtlasCamp 2013: Bring your own Stack

• Install NodeJS and NPM: http://nodejs.org/

All this in 30 mins?

7

Page 14: AtlasCamp 2013: Bring your own Stack

• Install NodeJS and NPM: http://nodejs.org/• Install Feebs CLI: npm i -g feebs-cli

All this in 30 mins?

7

Page 15: AtlasCamp 2013: Bring your own Stack

• Install NodeJS and NPM: http://nodejs.org/• Install Feebs CLI: npm i -g feebs-cli

• Create Feebs NodeJS app: feebs new atlascamp-demo

All this in 30 mins?

7

Page 16: AtlasCamp 2013: Bring your own Stack

• Install NodeJS and NPM: http://nodejs.org/• Install Feebs CLI: npm i -g feebs-cli

• Create Feebs NodeJS app: feebs new atlascamp-demo• Download deps: cd atlascamp-demo ; npm install

All this in 30 mins?

7

Page 17: AtlasCamp 2013: Bring your own Stack

• Install NodeJS and NPM: http://nodejs.org/• Install Feebs CLI: npm i -g feebs-cli

• Create Feebs NodeJS app: feebs new atlascamp-demo• Download deps: cd atlascamp-demo ; npm install• Run App: node app.js

All this in 30 mins?

7

Page 18: AtlasCamp 2013: Bring your own Stack

Ready, Set, Code!

Page 19: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

9

Option 1

Page 20: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

9

Option 1

Request iframe (issue_id)

Page 21: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

9

REST call with OAuth

Option 1

Request iframe (issue_id)

Page 22: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

9

REST call with OAuth

Option 1

Request iframe (issue_id)

Page 23: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

9

REST call with OAuth

Option 1

Request iframe (issue_id)

Return Rendered Panel

Page 24: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

10

Option 2

Page 25: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

10

Request iframe (issue_id)

Option 2

Page 26: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

10

Request iframe (issue_id)

Return Rendered Panel

Option 2

Page 27: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

10

Request iframe (issue_id)

Return Rendered Panel

REST call via iframe bridgeAP.request(); Option 2

Page 28: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

10

Request iframe (issue_id)

Return Rendered Panel

REST call via iframe bridgeAP.request();

REST call with details

Option 2

Page 29: AtlasCamp 2013: Bring your own Stack

Requests to Atlassian App

10

Request iframe (issue_id)

Return Rendered Panel

REST call via iframe bridgeAP.request();

REST call with details

Option 2

Page 30: AtlasCamp 2013: Bring your own Stack

• http://go.atlassian.com/acnodedemo(Demo source code)

• http://go.atlassian.com/acstart(Getting Started with Atlassian Connect)

Documentation

11

Page 31: AtlasCamp 2013: Bring your own Stack

Thank you!