Skip to content

FrankMathers/Typeorm_closure_table

Repository files navigation

X/4 Design Time Service

How to use?

Start design time service from source code:

npm run start -- -r C:\Telford\platform\x4 -p 8888

Install design time service from internal npm registry:

Create file .npmrc in your project repository and add below content:

@sap:registry="https://nexus.wdf.sap.corp:8443/nexus/content/groups/build.snapshots.npm/"
strict-ssl=false

Run npm install --save @sap/x4-dts to add design time service module as a dependency.

You can use command x4-dts to start design time service.

Overall Design

In order to achieve loose coupling and reusable design, design time service module is divided into several sub-modules.

Module Overview

  1. File. File module encapsulates technical details of file repository and provide an set of abstract APIs to other modules. After starting, it will also watch corresponding file repository and update index proactively.
  2. Index. Index modules utilize sqlite to save structured model information to accelerate query. The model will be parsed and loaded into index storage during bootstrap process of design time service. After starting, adhoc model index update will be notified by File module.
  3. Model. Model module sits above File and Index modules to provide unified service to consumer and hide the technical details of underlying storage mechanisum.
  4. Restful API. Restful API module is a thin layer that calls model service and provide restful API to outside via HTTP. API Details

About

test sample Typeorm closure table

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published