pdm binding
This commit is contained in:
@@ -9,6 +9,7 @@ annotate bookshop.Customers with @PersonalData.EntitySemantics: 'DataSubject'
|
||||
firstName @PersonalData.IsPotentiallyPersonal;
|
||||
lastName @PersonalData.IsPotentiallyPersonal;
|
||||
creditCardNo @PersonalData.IsPotentiallySensitive;
|
||||
dateOfBirth @PersonalData.IsPotentiallyPersonal;
|
||||
}
|
||||
|
||||
annotate bookshop.CustomerPostalAddress with @PersonalData.EntitySemantics: 'DataSubjectDetails'
|
||||
@@ -20,11 +21,12 @@ annotate bookshop.CustomerPostalAddress with @PersonalData.EntitySemantics: 'Dat
|
||||
}
|
||||
|
||||
// annotations for Personal Data Manager - Search Fields
|
||||
annotate bookshop.Customers with @(Communication.Contact : {
|
||||
annotate bookshop.Customers with @(Communication.Contact : {
|
||||
n : {
|
||||
surname: lastName,
|
||||
given: firstName
|
||||
},
|
||||
},
|
||||
bday: dateOfBirth,
|
||||
email: emailAddress
|
||||
});
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ applications:
|
||||
buildpack: nodejs_buildpack
|
||||
services:
|
||||
- gdpr-db
|
||||
- uaa
|
||||
# - name: pdm
|
||||
# parameters: ./pdm-config.json
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"serviceName": "pdm-service",
|
||||
"serviceTitle": "GDPR",
|
||||
"serviceTitleKey": "GDPR",
|
||||
"serviceURI": "gdpr",
|
||||
"serviceURI": "pdm",
|
||||
"hasGdprV4Annotations": true,
|
||||
"cacheControl": "no-cache"
|
||||
}
|
||||
|
||||
@@ -9,4 +9,8 @@ create-services:
|
||||
- name: pdm
|
||||
broker: personal-data-manager-service
|
||||
plan: standard
|
||||
parameters: pdm-config-hugo.json
|
||||
parameters: pdm-instance-config.json
|
||||
- name: uaa
|
||||
broker: xsuaa
|
||||
plan: application
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ using { sap.capire.bookshop.OrderItems } from '@capire/orders';
|
||||
Items.netAmount as Item_NetAmount};
|
||||
|
||||
// annotate new view
|
||||
annotate PDMService.OrderItemView with @(PersonalData.EntitySemantics: 'ContractRelated')
|
||||
annotate PDMService.OrderItemView with @(PersonalData.EntitySemantics: 'LegalGround')
|
||||
{
|
||||
Customer_ID @PersonalData.FieldSemantics: 'DataSubjectID';
|
||||
Customer_Email @PersonalData.IsPotentiallyPersonal;
|
||||
|
||||
Reference in New Issue
Block a user