This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'issue-563' of github.com:dmcassel/roxy into issue-563
Conflicts: src/test/suites/Framework Tests/routing.xqy src/test/suites/Framework Tests/site-index.xqy
- Loading branch information
Showing
14 changed files
with
349 additions
and
82 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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
xquery version "1.0-ml"; | ||
|
||
module namespace frm = "http://marklogic.com/roxy/test/framework"; | ||
|
||
declare option xdmp:mapping "false"; | ||
|
||
(: Wrapper so that we can have an amp, allowing the default user to run this | ||
: test without getting extra privileges. | ||
:) | ||
declare function frm:http-head($url, $options) | ||
{ | ||
xdmp:http-head($url, $options) | ||
}; | ||
|
||
(: Wrapper so that we can have an amp, allowing the default user to run this | ||
: test without getting extra privileges. | ||
:) | ||
declare function frm:http-delete($url, $options) | ||
{ | ||
xdmp:http-delete($url, $options) | ||
}; | ||
|
||
(: Wrapper so that we can have an amp, allowing the default user to run this | ||
: test without getting extra privileges. | ||
:) | ||
declare function frm:http-post($url, $options) | ||
{ | ||
xdmp:http-post($url, $options) | ||
}; | ||
|
||
(: Wrapper so that we can have an amp, allowing the default user to run this | ||
: test without getting extra privileges. | ||
:) | ||
declare function frm:http-put($url, $options) | ||
{ | ||
xdmp:http-put($url, $options) | ||
}; |
Oops, something went wrong.