Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Azure Logic Appsにおける リファクタリング
Search
Recruit Technologies
March 29, 2019
Technology
790
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Azure Logic Appsにおける リファクタリング
2019/3/29 Azure DevOps Tokyo, Japan 3rd strikeでの、瀧田の講演資料になります
Recruit Technologies
March 29, 2019
More Decks by Recruit Technologies
See All by Recruit Technologies
障害はチャンスだ! 障害を前向きに捉える
rtechkouhou
1
800
Flutter移行の苦労と、乗り越えた先に得られたもの
rtechkouhou
3
12k
ここ数年間のタウンワークiOSアプリのエンジニアのチャレンジ
rtechkouhou
1
1.6k
大規模環境をAWS Transit Gatewayで設計/移行する前に考える3つのポイントと移行への挑戦
rtechkouhou
1
2k
【61期 新人BootCamp】TOC入門
rtechkouhou
3
43k
【RTC新人研修 】 TPS
rtechkouhou
1
42k
Android Boot Camp 2020
rtechkouhou
0
42k
HTML/CSS
rtechkouhou
10
52k
TypeScript Bootcamp 2020
rtechkouhou
9
46k
Other Decks in Technology
See All in Technology
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
1
270
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
PRO
0
430
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1.2k
hackers_champloo_2026_tidb
makocchi
0
170
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
270
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
Getting Started with Google Antigravity
glaforge
0
320
Browser Spec: Testing Hotwire with Ruby
takahashim
1
130
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
Local CI × GitHub Actions
gogutan
2
220
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
880
Rust で関数型ドメインモデリング
takonda
0
150
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
460
Believing is Seeing
oripsolob
1
240
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
How to build a perfect <img>
jonoalderson
1
6.1k
Faster Mobile Websites
deanohume
310
32k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
520
Navigating Weather and Climate Data
rabernat
0
560
Transcript
Azure Logic Appsにおける リファクタリング 株式会社リクルートテクノロジーズ 瀧田直斗 2019年3月29日 Azure DevOps Tokyo
Japan 3rd strike
目次 • 自己紹介 • Azure Logic Appsとは • カオスになっていくLogicApps •
リファクタリング方法 • リファクタリング後とテスト方法 2 (C) Recruit Technologies Co., Ltd. All rights reserved.
自己紹介 瀧田 直斗 株式会社リクルートテクノロジーズ ITソリューション本部 インフラソリューション部 経歴 2011〜2016 製薬業界様向けのIT会社 -
営業支援システムのインフラ全般構築担当 2016/9〜 リクルートテクノロジーズ入社 - 商用インフラと社内インフラを担当 最近の技術興味 ・Linuxカーネル、Docker、Kubernetes、GoLang ・データ操作,ログまわりが好き ELS、fluentd/embulk、SQL、・・・ 3 (C) Recruit Technologies Co., Ltd. All rights reserved.
Azure Logic Appsとは Azure Logic Appsとは システムやサービス、アプリケーション間をつなぐAzure上のサービス。 GUIで設定可能で、ノンプログラミングでアプリケーションを構築できる。 サーバレスなのでサーバメンテナンスなどの運用は発生しない。 4
(C) Recruit Technologies Co., Ltd. All rights reserved. + Office365やSalesforceなどの200を超 えるコネクタがあり、それぞれイベント をトリガーとして実行できる。 またスケジュール実行やHTTPで受信し たら実行することもできる。 Azure Functionを実行、SQL Serverか らレコードを取得するといったアクショ ンの他、条件文やswitch文、ループなど のフォロー制御もできる。 処理結果をSlackへ通知したり、メール を送信したり、DBへレコードを追加した りなどを行う。
カオスになっていくLogicApps 便利だけど・・・ GUIで簡単に構築できるため、 調子に乗って作っていくとカオスになってくる・・・。 5 (C) Recruit Technologies Co., Ltd.
All rights reserved.
カオスになっていくLogicApps カオスになると・・・ 追加や変更、テストが大変・・・! 例えば、途中のロジックをテストしたくても頭から実行しないとテスト できない。 6 (C) Recruit Technologies Co.,
Ltd. All rights reserved. 毎回トリガーを起動し いと 途中のロジックがテス トできない! テストしたいロジック トリガー
リファクタリング方法 単体機能で分割を考える 単体機能ごとに分割してリファクタリング! それぞれのロジックが依存しないで呼び出せるように変更する。 7 (C) Recruit Technologies Co., Ltd.
All rights reserved. それぞれ別のLogicAppsに 切り出す! 処理1 処理2 処理3
リファクタリング方法 HTTP要求/応答を利用して機能単位に分割しよう! 例えば以下の様にHTTPでパラメータを受信して、処理結果をレスポンス として応答する。 8 (C) Recruit Technologies Co., Ltd.
All rights reserved. 受信するパラメータを要求本文 (Body)にJSON型で設定!
リファクタリング後とテスト方法 リファクタリング後! とってもシンプルに! 9 (C) Recruit Technologies Co., Ltd. All
rights reserved.
リファクタリング後とテスト方法 単体テスト方法 それぞれのLogicAppsにPOSTでパラメータを送信すればOK! 10 (C) Recruit Technologies Co., Ltd. All
rights reserved. パラメータ ※Postmanを利用
おしまい ご清聴ありがとうございました! 11 (C) Recruit Technologies Co., Ltd. All rights
reserved.