Fukuoka.rb #150 LT

621bfd40708f02d23140620b3e9f0560?s=47 oda-i3
September 18, 2019

Fukuoka.rb #150 LT

621bfd40708f02d23140620b3e9f0560?s=128

oda-i3

September 18, 2019
Tweet

Transcript

  1. αʔυύʔςΟʔ੡ SDK ։ൃ Fukuoka.rb #149/150 ߹ซ߸ LT ODA Hirohito

  2. ࠷ۙ Fukuoka.rb Ͱ΍͍ͬͯΔ͜ͱ

  3. msgraph https://github.com/jinroq/msgraph

  4. Microsoft Graph https://developer.microsoft.com/en-us/graph

  5. Office 365 ͱ͔Λศརʹѻ͑Δ https://docs.microsoft.com/en-us/graph/?view=graph-rest-1.0

  6. αϙʔτϓϥοτϑΥʔϜ https://docs.microsoft.com/en-us/graph/?view=graph-rest-1.0#supported-platforms

  7. Ruby ΋αϙʔτର৅ https://docs.microsoft.com/en-us/graph/?view=graph-rest-1.0#supported-platforms

  8. Microsoft Graph Client Library for Ruby https://github.com/microsoftgraph/msgraph-sdk-ruby

  9. ͕

  10. ίϛοτ਺͕গͳ͗͢ͳ͍ʁ Microsoft Graph ͕ϦϦʔε͞Εͨͷ͸ 2015 ೥

  11. ͜Μͳ issue ͕͋Δ https://github.com/microsoftgraph/msgraph-sdk-ruby/issues/42

  12. ໰୊఺ • ϝϯςφʔ͕ϝϯςφϯεΛͯ͘͠Ε͍ͯͳ͍ • υΩϡϝϯτ͕ͳ͍ͷͰ࢖͍ํ͕ͬ͞ͺΓ෼͔Βͳ͍ • ެࣜʹαϙʔτ͍ͯ͠Δͱᨳ͍ͬͯΔ͕ SDK ͸ preview

  13. ࠓޙ΋։ൃ͕ܧଓ͞ΕΔ͔ෆ໌ྎ

  14. Ͳ͏͠Α͏ʁ

  15. – ੲͷۈ຿ઌͷઌഐͷ֨ݴ ແ͍ͳΒ૑Ε

  16. ͦΜͳ༁Ͱແ๳ʹ΋ҰਓͰ SDK Λ૑ͬͯΈΔ͜ͱʹͨ͠

  17. ·ͣ͸ૉ௚ʹΤϯυϙΠϯτʹ ରͯ͠ΫϥΠΞϯτΛͭͬͯ͘ΈΔ

  18. ͕

  19. ૉ௚ʹ࣮૷ͯ͠ΈΔ • ຊՈ SDK ͸ OData Protocol ͷ࢓༷͕๲େʢಡΈͨ͘ͳ͍ʣ • ΤϯυϙΠϯτ͸

    100 Ҏ্ʢ్தͰ਺͑ΔࣄΛఘΊͨʣ͋Δ
  20. ૉ௚ʹ࣮૷ͯ͠ΈΔ • ຊՈ SDK ͸ OData Protocol ͷ࢓༷͕๲େ • ΤϯυϙΠϯτ͸

    100 Ҏ্ʢ਺͑Δͷ͸్தͰఘΊͨʣ͋Δ ૉ௚ʹ։ൃ͍ͯͨ͠Β ҰਓͰ͸౸ఈऴΘΒͳ͍
  21. ͡Ό͋Ͳ͏͢Δʁ

  22. Ͳ͏͢Δʁ • ݱঢ়Λ੔ཧ͢Δ • Microsoft Graph API ͸ RESTful API

    ͱͯ͠ఏڙ͞Ε͍ͯΔ • OData Protocol Λ࠾༻͍ͯ͠ΔΑ͏͕ͩɺΫΤϦύϥϝʔλ−ʹ OData ΫΤϦΛ౉ͤΕ͹ղܾͦ͠͏
  23. Ͳ͏͢Δʁ • ݱঢ়Λ੔ཧ͢Δ • Microsoft Graph API ͸ RESTful API

    ͱͯ͠ఏڙ͞Ε͍ͯΔ • OData Protocol Λ࠾༻͍ͯ͠ΔΑ͏͕ͩɺΫΤϦύϥϝʔλ−ʹ OData ΫΤϦΛ౉ͤΕ͹ղܾͦ͠͏ OpenAPI Generator ͕࢖͑ͦ͏
  24. OpenAPI Generator • https://github.com/OpenAPITools/openapi-generator • OpenAPI Schema Λఆٛ͢Ε͹ΫϥΠΞϯτΛੜ੒ͯ͘͠ΕΔπʔϧ • ࢀߟɿ

    https://rubykaigi.org/2019/presentations/ota42y.html#apr18 • Ruby Ҏ֎ʹ΋༷ʑͳݴޠͷΫϥΠΞϯτΛ࡞੒Ͱ͖Δ
  25. microsoft-graph-openapi https://github.com/microsoftgraph/microsoft-graph-openapi

  26. microsoft-graph-openapi https://github.com/microsoftgraph/microsoft-graph-openapi ΋͏ग़དྷͨ΋ಉવʂ

  27. microsoft-graph-openapi https://github.com/microsoftgraph/microsoft-graph-openapi ΋͏ग़དྷͨ΋ಉવʂ

  28. microsoft-graph-openapi https://github.com/microsoftgraph/microsoft-graph-openapi ΋͏ग़དྷͨ΋ಉવʂ

  29. ·ͱΊ • OpenAPI Generator Λ࢖͑ΔΑ͏ʹ͢Ε͹ग़དྷΔ͔΋ • ͋͘·Ͱࣗ෼͕ϝϯςφϯεͰ͖Δఔ౓ʹͱͲΊΔ • ࡞Γͬͺͳ͠ͰऴΘΓʹ͠ͳ͍