Skip to content

Instantly share code, notes, and snippets.

@forkfork
Last active February 13, 2018 02:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save forkfork/6846a0aaf25a94f1db9c7d666aec8fca to your computer and use it in GitHub Desktop.
Save forkfork/6846a0aaf25a94f1db9c7d666aec8fca to your computer and use it in GitHub Desktop.
Mobile Config Phase 2
Currently:
- S3 bucket proxy_pass
Plan A:
- Serve mobile config route from svc-discovery
- Continue to store 'main' state file in S3
- Add an 'index' state file which looks something like:
```
{
"ios": {
"main": "mainconfig.json",
"custom": [
{ "from": "0", "to": "2559", "file": "forceupgrade_ios.json" }
]
},
"android": {
"main": "mainconfig.json",
"custom": [
{ "from": "0.0.0", "to": "2.1.0", "file": "forceupgrade_android.json" }
]
}
}
```
The resulting json is the merge of both the mainconfig and anything matching the
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment