Closed
Bug 1027487
Opened 10 years ago
Closed 10 years ago
Point FMD Client to New STG Server URL
Categories
(Firefox OS Graveyard :: FindMyDevice, defect)
Tracking
(blocking-b2g:2.0+, b2g-v2.0 fixed, b2g-v2.1 fixed)
People
(Reporter: elan, Assigned: jhirsch)
Details
Attachments
(1 file)
Here's the URL: https://fmd.stage.mozaws.net
Reporter | ||
Updated•10 years ago
|
Target Milestone: --- → 2.0 S4 (20june)
Reporter | ||
Comment 1•10 years ago
|
||
I'm also unclear if this is truly a staging server or a stable end point on the dev server but I'm not going to over-rotate on semantics. We just need the client to talk to correct URL. Thank you.
Comment 2•10 years ago
|
||
We also need to use staging oauth: https://oauth.stage.mozaws.net/v1 highly recommend making this use a pref that can be set in prefs.js such as: user_pref("toolkit.fmd.app.uri", 'https://fmd.stage.mozaws.net'); user_pref("toolkit.fmd.oauth.uri", 'https://oauth.stage.mozaws.net/v1');
Comment 3•10 years ago
|
||
Our current setup is to store these URLs in Gaia, not Gecko, so tweaking them only requires changing gaia://customization/findmydevice.json [1], which seems to be just as easy as using prefs.js. Would that suffice for testing? 1- https://github.com/mozilla-b2g/gaia/blob/master/customization/findmydevice.json
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(edwong)
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(jrconlin)
Reporter | ||
Updated•10 years ago
|
blocking-b2g: --- → 2.1?
Reporter | ||
Updated•10 years ago
|
blocking-b2g: 2.1? → 2.0?
Updated•10 years ago
|
blocking-b2g: 2.0? → 2.0+
Comment 4•10 years ago
|
||
(In reply to Erin Lancaster [:elan] from comment #1) > I'm also unclear if this is truly a staging server or a stable end point on > the dev server but I'm not going to over-rotate on semantics. The role of fmd.stage.mozaws.net is to provide a consistent platform for testing and external integration. It pulls from https://github.com/mozilla-services/FindMyDevice:master. If there is a change, I will pull and restart before 0900 Pacific the following day. Efforts will be made to ensure that the platform is operational. The role of fmd.dev.mozaws.net is for localized development and component integrations (e.g. web ui builds, FxA integration, server db tweaking, etc.). It will change more often as bugs are encountered or addressed.
Flags: needinfo?(jrconlin)
Comment 5•10 years ago
|
||
in response to comment #3 - yes editing that file works for me.
Flags: needinfo?(edwong)
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8442981 -
Flags: review?(ggoncalves)
Assignee | ||
Updated•10 years ago
|
Assignee: ggoncalves → 6a68
Comment 7•10 years ago
|
||
Comment on attachment 8442981 [details] [review] Github PR 20762 Thanks! Talking to :jrconlin on IRC, he would also like to bump the version to 1. Can you please do that too?
Attachment #8442981 -
Flags: review?(ggoncalves) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Done, updated.
Assignee | ||
Comment 9•10 years ago
|
||
Master: https://github.com/mozilla-b2g/gaia/commit/8deef2b4f48912175cf5ff14a2c28144831ed674
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 10•10 years ago
|
||
NI Jared to help land this on 2.0 as ryan is out until Monday and QA needs this fixed. How do I uplift to 2.0? Checkout the gaia v2.0 branch , commit your patch and push. Gaia checkins should automatically get pushed to aurora via the bumper bot within 20 minutes of landing to git after which make sure you have a green tree : https://tbpl.mozilla.org/?tree=Mozilla-Aurora
Flags: needinfo?(6a68)
Assignee | ||
Comment 11•10 years ago
|
||
Hi Bhavana - Sadly, I don't know how the uplift process works. I'll see if someone in #gaia can offer help.
Flags: needinfo?(6a68)
Assignee | ||
Comment 12•10 years ago
|
||
Aha, you were right: [14:58:39] <fabrice1> _6a68: do a PR against 2.0 [14:58:43] <fabrice1> and merge it Would you like me to do this in github?
Flags: needinfo?(bbajaj)
Assignee | ||
Comment 14•10 years ago
|
||
RyanVM is taking the day off, and nobody is sheriffing (!), so I uplifted this manually. v2.0: https://github.com/mozilla-b2g/gaia/commit/766c3d71c018b8f055371f649daa16fbd5d5a460
status-b2g-v2.0:
--- → fixed
status-b2g-v2.1:
--- → fixed
Comment 15•10 years ago
|
||
:ggp is there a way to update gaia://customization/findmydevice.json on device. I can't find such a file in gaia on device. Having to edit and flash image isn't ideal when we're testing a build from the build machines.
Comment 16•10 years ago
|
||
(In reply to Edwin Wong [:edwong] from comment #15) > :ggp is there a way to update gaia://customization/findmydevice.json on > device. I can't find such a file in gaia on device. Having to edit and > flash image isn't ideal when we're testing a build from the build machines. Hmm, not that I know of, but it might be worth checking with someone who works on the Gaia build system. Since FMD currently doesn't have any Gecko bits either, switching to prefs now might also be difficult. But we can try to work something out next week, if that's ok with you.
Assignee | ||
Comment 17•10 years ago
|
||
Hey Edwin, I looked through the code[1] a bit, and the output file corresponding to customization/findmydevice.json is build_stage/settings/resources/findmydevice.json. Does this help at all with finding that file on device? If not, I can help look through the Makefile a bit more on Monday (to figure out how build_stage corresponds to on-device codepaths. [1] https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/build/build.js#L31-L43
You need to log in
before you can comment on or make changes to this bug.
Description
•