Samples - codbex/codbex-kronos GitHub Wiki

Samples

The following sample applications can be used as reference:

HDB Related Samples:

Non HDI Container Related:

hdb-simple

A sample with a single hdbtable artefact.

hdb-hdbdd-simple

A sample with a hdbdd artefact.

hdb-hdbsequence-simple

A sample with a hdbsequence artefact.

hdb-hdbstructure-simple

A sample with a hdbstructure artefact.

hdb-hdbtable-simple

A sample with a hdbtable artefact.

hdb-hdbti-simple

A sample with a hdbti artefact.

hdb-procedure-simple

A sample with a hdbprocedure artefact.

hdb-schema-simple

A sample with a hdbschema artefact.

hdb-synonym-simple

A sample with a hdbsynonym artefact.

hdb-tablefunction-simple

A sample with a hdbtablefunction artefact.

hdb-view-simple

A sample with a hdbview artefact.

HDI Container Related:

hdi-simple

A group of artefacts - hdbtable (new format) and hdbcalculationview deployed as a HDI container.

hdi-ext

Hybrid scenario where the hdbtable and its data - hdbti and csv, are deployed on the target schema (e.g. DBADMIN) and the hdbcalculationview is deployed as a HDI container. There is a need of a hdbsynonym artefact within the HDI container as well to make the table visible to the hdbcalculationview.

hdi-cube

Similar as the above sample, but the hdbcalculationview is of type CUBE, so that it can be visible and used in SAP Analytics Cloud.


XS Related Samples:

XSJS Related:

api-db

A sample with service using the $.db api.

api-hdb

A sample with service using the $.hdb api.

api-import

A sample with service using the $.import api.

api-jobs

A sample with service using the $.jobs api.

api-net

A sample with service using the $.net api.

api-session

A sample with service using the $.session api.

api-trace

A sample with service using the $.trace api.

api-util

A sample with service using the $.util api.

api-web

A sample with services using the $.request and $.response apis.

xsjs-simple

A sample with a single xsjs service of type hello world.

xsjs

This sample contains a single xsjs service using the $.db, $.session and $.response APIs.

XSOData Related:

xsodata-simple

This sample contains a single xsodata service.

xsodata-navigations

This sample contains a xsodata services with navigations.


End-To-End Scenario Samples:

products

A more complex sample containing hdbdd and hdbti for data structure and content, xsodata for REST services exposure and UI5 user interface. It contains also xsaccess definition for authorization management. xsjob is showing how to schedule a job which can regularly can call an operation from a xsjs service. xsjs and xsjslib dependency management is also presented.