Your SlideShare is downloading. ×
Summit2011 satellites-robinf-20110605
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Summit2011 satellites-robinf-20110605

354
views

Published on

See http://summit.atlassian.com/archives/plugin-devs/integrating-infrastructure-with-jira

See http://summit.atlassian.com/archives/plugin-devs/integrating-infrastructure-with-jira

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
354
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1.  
  • 2. Satellites around the Cloud
    • Use remote APIs to integrate your systems with JIRA Studio, Atlassian's hosted software suite.
    • Robin Fernandes Software Developer Atlassian
    • 3. Satellite Apps
      • REST
      • XML-RPC
      • SOAP
      • RSS
      • 4. Marvin the IRC bot
          <fcuozzo> marvin2 resolve JST-4478 as Fixed <marvin2> fcuozzo: Resolved https://studio.atlassian.com/browse/JST-4478 as Fixed <jkodumal> marvin2 raise task &quot;Fix xstream dependencies&quot; in NOT assign to me <marvin2> jkodumal: Created issue https://studio.atlassian.com/browse/NOT-9 <fcuozzo> marvin2 can you buy us dinner? <marvin2> fcuozzo: ''help'' expected but identifier ''can'' found
        • 5. Satellite Apps – run on your favourite platform!
          • 6. Atlassian CLI
            • 7. Satellite Apps – run them wherever you need!
              • 8. Scenarios for Satellite Apps
                • -> Reporting
                • 9. -> Integration
                • 10. -> Automation
                • 11. Reporting using Satellite Apps -> Reporting -> Integration -> Automation
                  • 12. Reporting using Satellite Apps def client = n ew HTTPBuilder( 'http://simpsons.jira.com' ) client. get (path : '/source/rest-service/auth-v1/login' , query: [userName: 'homer' , password: 'beer' ]) { } client. get (path : '/source/rest-service/reviews-v1/filter' , query: [project: 'BEERBARON' ]) { resp, xml -> println process (xml) }
                    • 13. Reporting using Satellite Apps def client = n ew HTTPBuilder( 'http://simpsons.jira.com' ) client. get (path : '/source/rest-service/auth-v1/login' , query: [userName: 'homer' , password: 'beer' ]) { } client. get (path : '/source/rest-service/reviews-v1/filter' , query: [project: 'BEERBARON' ]) { resp, xml -> println process (xml) }
                      • 14. Reporting using Satellite Apps def client = n ew HTTPBuilder( 'http://simpsons.jira.com' ) client. get (path : '/source/rest-service/auth-v1/login' , query: [userName: 'homer' , password: 'beer' ]) { } client. get (path : '/source/rest-service/reviews-v1/filter' , query: [project: 'BEERBARON' ]) { resp, xml -> println process (xml) }
                        • 15. Reporting using Satellite Apps
                          • 16. Useful APIs for Reporting -> Reporting -> Integration -> Automation
                            • /
                            Access issue details, retrieve issues by filter Access details of all build results Access details of reviews & repository
                            • 17. -> Reporting -> Integration -> Automation Integration using Satellite Apps
                              • 18. Integration using Satellite Apps
                                • 19. Integration using Satellite Apps
                                  • 20. Integration using Satellite Apps
                                    • 21. Integration using Satellite Apps
                                        <?php $wsdl = 'http://simpsons.jira.com/rpc/soap/jirasoapservice-v2?wsdl' ; $username = 'homer' ; $password = 'beer' ; $client = new soapclient($wsdl); $token = $client->login($username, $password); $filterID = '10240' ; $issues = $client->getIssuesFromFilter($token, $filterID); $drupalPages = create_drupal_pages ($issues); foreach ($drupalPages as $issueKey => $pageUrl) { $remoteComment = create_remote_comment ($pageUrl); $issues = $client->addComment($token, $issueKey, $remoteComment); }
                                      • 22. Integration using Satellite Apps
                                          <?php $wsdl = 'http://simpsons.jira.com/rpc/soap/jirasoapservice-v2?wsdl' ; $username = 'homer' ; $password = 'beer' ; $client = new soapclient($wsdl); $token = $client->login($username, $password); $filterID = '10240' ; $issues = $client->getIssuesFromFilter($token, $filterID); $drupalPages = create_drupal_pages ($issues); foreach ($drupalPages as $issueKey => $pageUrl) { $remoteComment = create_remote_comment ($pageUrl); $issues = $client->addComment($token, $issueKey, $remoteComment); }
                                        • 23. Integration using Satellite Apps
                                            <?php $wsdl = 'http://simpsons.jira.com/rpc/soap/jirasoapservice-v2?wsdl' ; $username = 'homer' ; $password = 'beer' ; $client = new soapclient($wsdl); $token = $client->login($username, $password); $filterID = '10240' ; $issues = $client->getIssuesFromFilter($token, $filterID); $drupalPages = create_drupal_pages ($issues); foreach ($drupalPages as $issueKey => $pageUrl) { $remoteComment = create_remote_comment ($pageUrl); $issues = $client->addComment($token, $issueKey, $remoteComment); }
                                          • 24. Atlassian IDE Connectors
                                            • 25. Hercules
                                              • 26. -> Reporting -> Integration -> Automation
                                                • /
                                                Create & modify issues Manage users Create & modify pages Create reviews & comments Useful APIs for Integration
                                                • 27. Scenarios for Satellite Apps -> Reporting -> Integration -> Automation
                                                  • 28. fairly unique leveraged she literally exploded
                                                    • 29. Automation using Satellite Apps
                                                      • 30. Automation using Satellite Apps
                                                          Post blah put blah blah resource blah idempotent blah representation
                                                        • 31. Automation using Satellite Apps require 'confluence4r' serverUrl = 'https://simpsons.jira.com/wiki' server = Confluence::Server.new(serverUrl) server.login( 'homer' , 'beer' ) term = 'she literally exploded' server.search( term , 5).each { |searchResult| page = server.getPage(searchResult[ 'id' ]) page[ 'content' ] = page[ 'content' ].gsub( term , '███████' ) server.storePage(page) }
                                                          • 32. Automation using Satellite Apps require 'confluence4r' serverUrl = 'https://simpsons.jira.com/wiki' server = Confluence::Server.new(serverUrl) server.login( 'homer' , 'beer' ) term = 'she literally exploded' server.search( term , 5).each { |searchResult| page = server.getPage(searchResult[ 'id' ]) page[ 'content' ] = page[ 'content' ].gsub( term , '███████' ) server.storePage(page) }
                                                            • 33. Useful APIs for Automation -> Reporting -> Integration -> Automation Use filters to monitor for new hot issues Use feeds to listen for build results Kick off new builds Modification & creation of pages
                                                              • 34. Activity Streams
                                                                • 35.
                                                                  • Robin Fernandes Software Developer Atlassian
                                                                  Satellites Around Studio
                                                                    More information, links & code samples: http://bit.ly/satellitesTalk