Created
January 18, 2012 16:44
-
-
Save joshholt/1633957 to your computer and use it in GitHub Desktop.
Provider Service Document
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var BASE_IMG_URL = "http://ccpv2.herokuapp.com/images"; | |
var BASE_COMP_URL = "http://ccpv2.herokuapp.com/components"; | |
module.exports = { | |
name: 'The CCPV2 Test Provider', | |
version: '2.0.0', | |
logoUrl: BASE_IMG_URL + "/cloud_components.png", | |
components: [{ | |
name: 'My First Component', | |
description: "This our first cloud component", | |
iconUrl: BASE_IMG_URL +'/test_component_icon.png', | |
componentImage: { | |
height: '200', | |
width: '200', | |
url: BASE_IMG_URL +'/test_placeholder.png' | |
}, | |
createInstance: BASE_COMP_URL + '/components/create/{Id}', | |
removeInstance: BASE_COMP_URL + '/remove/{Id}', | |
configurationUrl: BASE_COMP_URL + '/configure/{Id}?assetId={AssetId}&contactId={ContactId}', | |
renderInstance: BASE_COMP_URL + '/render/{Id}?assetId={AssetId}&contactId={ContactId}&visitorId={VisitorId}', | |
instanceImage: BASE_COMP_URL + '/preview/{Id}?assetId={AssetId}&contactId={ContactId}&visitorId={VisitorId}' | |
}] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment