pdm annotations

This commit is contained in:
Wolfgang Koch
2020-11-12 12:15:49 +01:00
parent 1a20672401
commit be343d7f6c
2 changed files with 12 additions and 2 deletions

View File

@@ -19,6 +19,16 @@ annotate bookshop.CustomerPostalAddress with @PersonalData.EntitySemantics: 'Dat
country @PersonalData.IsPotentiallyPersonal;
}
// annotations for Personal Data Manager - Search Fields
annotate bookshop.Customers with @(Communication.Contact : {
n : {
surname: lastName,
given: firstName
},
});
annotate bookshop.Customers.emailAddress with @Communication.IsEmailAddress;
// annotations for Audit Log
annotate bookshop.Customers with @AuditLog.Operation: {Read: true, Insert: true, Update: true, Delete: true};

View File

@@ -13,8 +13,8 @@ applications:
buildpack: nodejs_buildpack
services:
- gdpr-db
- name: pdm
parameters: ./pdm-config.json
# - name: pdm
# parameters: ./pdm-config.json
# -----------------------------------------------------------------------------------
# HANA Database Content Deployer App