commit 22e8e727a9b2678a8f3afbfcdc7d2325dc95765d Author: Thorsten Schmitz Date: Wed Jul 8 23:05:45 2026 +0200 Initial export of EON_EMOBILITY_VIRTA diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b105cb4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +node_modules/ +.DS_Store +*.log +.idea/ +.vscode/ +dist/ +build/ +*.pyc +__pycache__/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..285f52a --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# EON_EMOBILITY_VIRTA Deployment Unit + +This is the EON EMOBILITY VIRTA deployment unit exported from SAP HANA XS repository. + +## Structure + +- `uniorg/eon/virta/meta/` - Database schema and view definitions (SQL) +- `uniorg/eon/virta/v1/` - VIRTA API v1 integration services +- `uniorg/eon/virta/v2/` - VIRTA API v2 integration services + +## Components + +### Meta Schema +- Database table alterations for charging transactions +- View definitions for charge data (EMP and CPO perspectives) +- Schema initialization and migration scripts + +### API Integrations +- VIRTA API HTTP destination configurations +- Transaction data retrieval and management services +- Field reload and data synchronization services + +## File Statistics +- Total files: 23 +- SQL files: 11 (meta/) +- XSJS files: 12 (v1/ and v2/) diff --git a/uniorg/eon/virta/meta/alter_tables.sql b/uniorg/eon/virta/meta/alter_tables.sql new file mode 100644 index 0000000..a8f508a --- /dev/null +++ b/uniorg/eon/virta/meta/alter_tables.sql @@ -0,0 +1,13 @@ +--ALTER TABLE "VIRTAPORTAL"."CPO_CHARGES" ADD ("EICHRECHTTYPE" NVARCHAR(50)); +--ALTER TABLE "VIRTAPORTAL"."EMP_TRANSACTIONS" ADD ("EICHRECHTTYPE" NVARCHAR(50)); + +ALTER TABLE "VIRTAPORTAL"."EMP_TRANSACTIONS" ADD ("KWHNETPRICE" INTEGER CS_INT); +ALTER TABLE "VIRTAPORTAL"."EMP_TRANSACTIONS" ADD ("MINUTENETPRICE" INTEGER CS_INT); +ALTER TABLE "VIRTAPORTAL"."EMP_TRANSACTIONS" ADD ("SESSIONNETPRICE" INTEGER CS_INT); + +-- Felder müssen noch im Interface gemappt werden +ALTER TABLE "VIRTAPORTAL"."EMP_TRANSACTIONS" ADD ("KWHGROSSPRICE" INTEGER CS_INT); +ALTER TABLE "VIRTAPORTAL"."EMP_TRANSACTIONS" ADD ("MINUTEGROSSPRICE" INTEGER CS_INT); +ALTER TABLE "VIRTAPORTAL"."EMP_TRANSACTIONS" ADD ("SESSIONGROSSPRICE" INTEGER CS_INT); +-- Mapping von CPOOPERATORID übernehmen +ALTER TABLE "VIRTAPORTAL"."EMP_TRANSACTIONS" ADD ("CPOOPERATORID" NVARCHAR(50)); \ No newline at end of file diff --git a/uniorg/eon/virta/v1/VirtaAPI.xshttpdest b/uniorg/eon/virta/v1/VirtaAPI.xshttpdest new file mode 100644 index 0000000..e981de9 --- /dev/null +++ b/uniorg/eon/virta/v1/VirtaAPI.xshttpdest @@ -0,0 +1,12 @@ +description = "VIRTA API PROD SERVER"; +host = "api.virta.fi"; +port = 443; +pathPrefix = "/v4/admin"; +proxyType = none; +proxyHost = "localhost"; +proxyPort = 0; +authType = none; +useSSL = true; +timeout = 0; +sslHostCheck = false; +sslAuth = anonymous; \ No newline at end of file diff --git a/uniorg/eon/virta/v2/VirtaAPI.xshttpdest b/uniorg/eon/virta/v2/VirtaAPI.xshttpdest new file mode 100644 index 0000000..111689a --- /dev/null +++ b/uniorg/eon/virta/v2/VirtaAPI.xshttpdest @@ -0,0 +1,12 @@ +description = "VIRTA API 4.1 PROD SERVER"; +host = "api.virta.global"; +port = 443; +pathPrefix = "/admin"; +proxyType = none; +proxyHost = ""; +proxyPort = 0; +authType = none; +useSSL = true; +timeout = 0; +sslHostCheck = false; +sslAuth = anonymous; \ No newline at end of file