Tenant Onboarding

For testing a tenant integration with the Fibre Cafe, the tenant can be setup on the CVT test environment - as multiple "tenants" if required. This environment supports a number of different mock supplier "stubs" that mimic different suppliers and support a variety of different test scenarios. Where the supplier supports it, their test system can also be configured for testing directly with the supplier.

Supplier Stub Scenarios

By default, the supplier stubs allow for tenants to test the full end to end happy path of checking availability, appointing and placing an order through to completion, including any update KCIs. Using request headers, the simulation can be tailored to cover various scenarios.

Headers

  • X-Scenario
  • X-Problem-Code (Default: UNKNOWN_FAULT)
  • X-Kci-Delay (Default: 30) (seconds)

Scenarios available

  • Orders
    • ORDER_SUCCESSFUL (DEFAULT)
    • ORDER_ACKNOWLEDGED
    • ORDER_CANCELLED
    • ORDER_DELAYED
    • ORDER_IN_PROGRESS
    • ORDER_PENDING
    • ORDER_REAPPOINT
    • ORDER_REJECTED
  • Cancellations
    • CANCELLATION_ACCEPTED (DEFAULT)
    • CANCELLATION_REJECTED
    • CANCELLATION_PENDING
  • Amendments
    • AMENDMENT_ACCEPTED (DEFAULT)
    • AMENDMENT_REJECTED
    • AMENDMENT_PENDING

How to use

When creating an Order, Cancellation or Amendment these scenarios can be used to change the outcome.

In order for these to be used X-Scenario can be set to any of the allowed values to trigger these behaviors.
If a scenario of ORDER_CANCELLED or ORDER_DELAYED is used the X-Problem-Code can also be set to any of the available SI problem codes and that will be used in these scenarios.

Scenario Flow

ORDER_SUCCESSFUL

KCI: ORDER SENT
ORDER STATUS: SENT_TO_SUPPLIER
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: ACKNOWLEDGED
ORDER STATUS: ACKNOWLEDGED
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: COMMITTED
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: COMMITTED
KCI: IN_PROGRESS
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: COMPLETE
ORDER STATUS: COMPLETED
TYPE: INFORMATIONAL
REASON: UPDATE

ORDER_ACKNOWLEDGED

KCI: ORDER SENT
ORDER STATUS: SENT_TO_SUPPLIER
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: ACKNOWLEDGED
ORDER STATUS: ACKNOWLEDGED
TYPE: INFORMATIONAL
REASON: UPDATE

ORDER_CANCELLED

KCI: ORDER SENT
ORDER STATUS: SENT_TO_SUPPLIER
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: ACKNOWLEDGED
ORDER STATUS: ACKNOWLEDGED
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: CANCELLED
ORDER STATUS: CANCELLED
TYPE: INFORMATIONAL
REASON: CANCELLED

ORDER_DELAYED

KCI: ORDER SENT
ORDER STATUS: SENT_TO_SUPPLIER
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: ACKNOWLEDGED
ORDER STATUS: ACKNOWLEDGED
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: COMMITTED
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: COMMITTED
KCI: IN_PROGRESS
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: DELAYED
ORDER STATUS: HELD
TYPE: INFORMATIONAL
REASON: DELAY
KCI: RESUMED
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: COMPLETE
ORDER STATUS: COMPLETED
TYPE: INFORMATIONAL
REASON: UPDATE

ORDERINPROGRESS

KCI: ORDER SENT
ORDER STATUS: SENT_TO_SUPPLIER
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: ACKNOWLEDGED
ORDER STATUS: ACKNOWLEDGED
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: COMMITTED
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: COMMITTED
KCI: IN_PROGRESS
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: UPDATE

ORDER_PENDING

KCI: ORDER SENT
ORDER STATUS: SENT_TO_SUPPLIER
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: ACKNOWLEDGED
ORDER STATUS: ACKNOWLEDGED
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: COMMITTED
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: COMMITTED
KCI: IN_PROGRESS
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: INFORMATION REQUIRED
ORDER STATUS: PENDING
TYPE: ACTION_REQUIRED
REASON: INFORMATION_REQUIRED

ORDER_REAPPOINT

KCI: ORDER SENT
ORDER STATUS: SENT_TO_SUPPLIER
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: ACKNOWLEDGED
ORDER STATUS: ACKNOWLEDGED
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: COMMITTED
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: COMMITTED
KCI: IN_PROGRESS
ORDER STATUS: IN_PROGRESS
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: REAPPOINT
ORDER STATUS: PENDING
TYPE: ACTION_REQUIRED
REASON: REAPPOINT

ORDER_REJECTED

KCI: ORDER SENT
ORDER STATUS: SENT_TO_SUPPLIER
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: ORDER REJECTED
ORDER STATUS: REJECTED
TYPE: INFORMATIONAL
REASON: ORDER_REJECTED

CANCELLATION_ACCEPTED

EXISTING ORDER
KCI: CANCELLATION SENT
ORDER STATUS: PENDING_CANCELLATION
TYPE: INFORMATIONAL
REASON: UPDATE
KCI: CANCELLED
ORDER STATUS: CANCELLED
TYPE: INFORMATIONAL
REASON: CANCELLED

CANCELLATION_REJECTED

Cancellation Requested
Return to previous state
EXISTING ORDER
KCI: CANCELLATION SENT
ORDER STATUS: PENDING_CANCELLATION
TYPE: INFORMATIONAL
REASON: UPDATE

CANCELLATION_PENDING

EXISTING ORDER
KCI: CANCELLATION SENT
ORDER STATUS: PENDING_CANCELLATION
TYPE: INFORMATIONAL
REASON: UPDATE

AMENDMENT_ACCEPTED

Amendment Requested
Updates & Return to previous state
EXISTING ORDER
KCI: AMENDMENT SENT
ORDER STATUS: PENDING_AMENDMENT
TYPE: INFORMATIONAL
REASON: UPDATE

AMENDMENT_REJECTED

Amendment Requested
Return to previous state
EXISTING ORDER
KCI: AMENDMENT SENT
ORDER STATUS: PENDING_AMENDMENT
TYPE: INFORMATIONAL
REASON: UPDATE

AMENDMENT_PENDING

Amendment Requested
EXISTING ORDER
KCI: AMENDMENT SENT
ORDER STATUS: PENDING_AMENDMENT
TYPE: INFORMATIONAL
REASON: UPDATE