mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-21 05:09:15 +00:00
Add CQCM staging server to platforms
This commit is contained in:
@@ -6,6 +6,7 @@ module DfcProvider
|
||||
# local ID => semantic ID
|
||||
PLATFORM_IDS = {
|
||||
'cqcm-dev' => "https://api.proxy-dev.cqcm.startinblox.com/profile",
|
||||
'cqcm-stg' => "https://api.proxy-stg.cqcm.startinblox.com/profile",
|
||||
}.freeze
|
||||
|
||||
prepend_before_action :move_authenticity_token
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
class ApiUser
|
||||
CLIENT_MAP = {
|
||||
"https://waterlooregionfood.ca/portal/profile" => "cqcm-dev",
|
||||
"https://api.proxy-stg.cqcm.startinblox.com/profile" => "cqcm-stg",
|
||||
}.freeze
|
||||
|
||||
def self.from_client_id(client_id)
|
||||
|
||||
@@ -62,7 +62,11 @@ module OpenFoodNetwork
|
||||
Enable the inventory.
|
||||
DESC
|
||||
"cqcm-dev" => <<~DESC,
|
||||
Show DFC Permissions interface to share data with CQCM dev platform.
|
||||
Show DFC Permissions interface with development platform.
|
||||
DESC
|
||||
"cqcm-stg" => <<~DESC,
|
||||
Show DFC Permissions interface to share data with CQCM staging platform.
|
||||
After approval, enteprises should apppear on https://cqcm-map.startinblox.com/.
|
||||
DESC
|
||||
}.merge(conditional_features).freeze;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user