Ballerina library
microsoft.dynamics365.scm.mock.server
Modules
microsoft.dynamics365.scm
microsoft.dynamics365.scm.mock.server
Module microsoft.dynamics365.scm.mock.server
API
Definitions
ballerinax/microsoft.dynamics365.scm.mock.server Ballerina library
0.1.0
Functions
startMock
Isolated Function
function startMock(MockServerConfig config) returns Listener|errorStart the mock on the given port. Returns the listener so the caller can stop it from tests.
Parameters
- config MockServerConfig (default {}) -
Records
microsoft.dynamics365.scm.mock.server: MockServerConfig
Closed record
Fields
- port int(default 9091) - Port the mock server will listen on.
- defaultCompany string(default "USMF") - Legal entity returned when the caller does not set
cross-company=true.
- contextBase string(default "http://localhost:9091/data/") - Base of the generated
@odata.contextURL.
Import
import ballerinax/microsoft.dynamics365.scm.mock.server;Other versions
0.1.0
Metadata
Released date: 4 days ago
Version: 0.1.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.13.0
GraalVM compatible: Yes
Pull count
Total: 2
Current verison: 2
Weekly downloads
Keywords
Name/Microsoft Dynamics 365 Supply Chain Management
Area/ERP & Business Operations
Vendor/Microsoft
Dynamics365
SupplyChain
ERP
Type/Connector
Contributors