-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing #2245 by checking for and removing https:// if supplied so the…
… user can either supply or not
- Loading branch information
Showing
4 changed files
with
45 additions
and
15 deletions.
There are no files selected for viewing
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
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
39 changes: 28 additions & 11 deletions
39
bundle/src/test/resources/com/adobe/acs/commons/marketo/cloudconfig.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,31 @@ | ||
{ | ||
"jcr:primaryType": "cq:Page", | ||
"jcr:content": { | ||
"jcr:primaryType": "cq:PageContent", | ||
"jcr:title": "Test Cloud Config", | ||
"cq:template": "/apps/acs-commons/templates/utilities/marketocloudconfig", | ||
"sling:resourceType": "page", | ||
"endpointHost": "test.mktorest.com", | ||
"serverInstance": "//test.marketo.com", | ||
"munchkinId": "123-456-789", | ||
"clientId": "123", | ||
"clientSecret": "456" | ||
"jcr:primaryType": "sling:Folder", | ||
"default": { | ||
"jcr:primaryType": "cq:Page", | ||
"jcr:content": { | ||
"jcr:primaryType": "cq:PageContent", | ||
"jcr:title": "Test Cloud Config", | ||
"cq:template": "/apps/acs-commons/templates/utilities/marketocloudconfig", | ||
"sling:resourceType": "page", | ||
"endpointHost": "test.mktorest.com", | ||
"serverInstance": "//test.marketo.com", | ||
"munchkinId": "123-456-789", | ||
"clientId": "123", | ||
"clientSecret": "456" | ||
} | ||
}, | ||
"https": { | ||
"jcr:primaryType": "cq:Page", | ||
"jcr:content": { | ||
"jcr:primaryType": "cq:PageContent", | ||
"jcr:title": "Test Cloud Config", | ||
"cq:template": "/apps/acs-commons/templates/utilities/marketocloudconfig", | ||
"sling:resourceType": "page", | ||
"endpointHost": "https://test.mktorest.com", | ||
"serverInstance": "//test.marketo.com", | ||
"munchkinId": "123-456-789", | ||
"clientId": "123", | ||
"clientSecret": "456" | ||
} | ||
} | ||
} |
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