Skip to content

Commit

Permalink
Merge pull request #70 from cap-js/minorchanges
Browse files Browse the repository at this point in the history
minor changes
  • Loading branch information
DanSchlachter authored Aug 9, 2024
2 parents f5b4d84 + 32a6cd5 commit 90fe926
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion srv/services.cds
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using { sap.capire.incidents as my } from '../db/schema';
/**
* Service used by support personell, i.e. the incidents' 'processors'.
*/
service ProcessorService @(requires:'support') {
service ProcessorService {
entity Incidents as projection on my.Incidents;
entity Customers @readonly as projection on my.Customers;
}
Expand All @@ -15,3 +15,7 @@ service AdminService @(requires:'admin') {
entity Customers as projection on my.Customers;
entity Incidents as projection on my.Incidents;
}

annotate ProcessorService.Incidents with @odata.draft.enabled;
annotate ProcessorService with @(requires: 'support');
annotate AdminService with @(requires: 'admin');

0 comments on commit 90fe926

Please sign in to comment.