View Revisions: Issue #5109

Summary 0005109: Need same merchant key regardless of the color
Revision 2017-07-16 13:10 by Marcello Stanisci
Description The current deployment scheme gives each color (blue/green) a different merchant instance private key.

That makes the db look different when the color is switched, because a lot of db methods take the instance key among their parameters.

Take this problem example:

test-green blog sells article X, then article X shows up in backoffice sold items.
Let's then switch to test-blue; article X then does NOT show up in backoffice sold items, because the db method will try to find article X against test-blue's public key,
which fails.

So deployment scripts should make sure all colors have the same key.
Revision 2017-07-16 13:08 by Marcello Stanisci
Description The current deployment scheme gives each color (blue/green) a different merchant instance private key.

That makes the db look different when the color is switched, because a lot of db methods take the instance key among their parameters.

Take this problem example:

test-green blog sells article X, then article X shows up in backoffice sold items.
Let's then switch to test-blue; article X then does NOT show up in backoffice sold items, because the db method will try to find article X against test-blue's public key,
which fails.

So deployment scripts should take this issue into account when they set up directories and configuration files.