am ae3bd63b: am a1572ffc: Merge "Doc update: Update preprod (staging) instructions." into klp-modular-docs

* commit 'ae3bd63bc5ef8106a0d1c2ac15d872517bded5c3':
  Doc update: Update preprod (staging) instructions.
This commit is contained in:
kmccormick
2014-10-01 17:25:38 +00:00
committed by Android Git Automerger

View File

@@ -81,10 +81,14 @@ Java sample using the Smack library</a>.</p>
<p>The CCS XMPP endpoint runs at {@code gcm.googleapis.com:5235}. When testing
functionality (with non-production users), you should instead connect to
{@code gcm-staging.googleapis.com:5236} (note the different port). Testing on
staging (a smaller environment where the latest CCS builds run) is beneficial
both for isolating real users from test code, as well as for early detection of
unexpected behavior changes.</p>
{@code gcm-preprod.googleapis.com:5236} (note the different port). Regular
testing on preprod (a smaller environment where the latest CCS builds run) is
beneficial both for isolating real users from test code, as well as for early
detection of unexpected behavior changes. Note that a connection receives upstream
messages destined for its GCM sender ID, regardless of which environment (gcm or
gcm-preprod) it is connected to. Therefore, test code connecting to
{@code gcm-preprod.googleapis.com:5236} should use a different GCM sender ID to
avoid upstream messages from production traffic being sent over test connections.</p>
<p>The connection has two important requirements:</p>