Skip to content

Commit b84500f

Browse files
committed
Merge branch 'odata'
2 parents 9eae3af + 9024476 commit b84500f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mdl-examples/doctype-tests/10-odata-examples.mdl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,18 @@ DEFAULT 'proxy.example.com';
228228
CREATE CONSTANT OdTest.ProxyPortConst
229229
TYPE String
230230
DEFAULT '8080';
231+
232+
CREATE CONSTANT OdTest.FullConfigAPIServiceUrl
233+
TYPE String
234+
DEFAULT 'https://api.example.com/odata/v4';
231235
/
232236

233237
CREATE ODATA CLIENT OdTest.FullConfigAPI (
234238
Version: '3.0',
235239
ODataVersion: OData4,
236240
MetadataUrl: 'https://api.example.com/odata/v4/$metadata',
237241
Timeout: 300,
238-
ServiceUrl: 'https://api.example.com/odata/v4',
242+
ServiceUrl: @OdTest.FullConfigAPIServiceUrl,
239243
UseAuthentication: Yes,
240244
HttpUsername: 'admin',
241245
HttpPassword: 'secret',

0 commit comments

Comments
 (0)