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