Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile Gateway API #253

Merged
merged 4 commits into from
Jul 19, 2019
Merged

Conversation

yamamoto-febc
Copy link
Member

  • モバイルゲートウェイ APIの追加
  • SIMのfakeドライバー実装
  • mapconvの内部でmapstructureを利用するように変更
  • GSLBのレグレッションの修正

Note: mapconvでは内部的にmapを利用してデータ変換を行い、最後にjson.Marshal/json.Unmarshalを行ってmapからstructへ変換していた。
かつモバイルゲートウェイAPIでは一部フィールドでスネークケースとなっているため、naked型へJSONタグを付与して対応していた。
この場合mapconvにおいてJSONタグ起因でうまく変換できないケースがあったため、json.Marshal/Unmarshalの使用をやめmapstructureを利用するように変更した。

@yamamoto-febc yamamoto-febc added this to the v2.0.0 milestone Jul 19, 2019
@yamamoto-febc yamamoto-febc mentioned this pull request Jul 19, 2019
40 tasks
@yamamoto-febc yamamoto-febc merged commit 66d151e into sacloud:v2-dev Jul 19, 2019
@yamamoto-febc yamamoto-febc deleted the api/mobile-gateway branch July 19, 2019 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant