63 Commits

Author SHA1 Message Date
Johannes Vogel
bab7827000 chore(deps): allow newer cap-js versions (#835) 2025-04-29 14:48:22 +02:00
Daniel Hutzel
56a9796329 . 2025-04-24 05:33:59 +02:00
Vladislav Leonkev
38decb41dc Vue UIs: unstable unpkg - use jsdelivr (#825) 2025-03-31 17:23:57 +02:00
Daniel Hutzel
9451e3ff67 Eliminate usages of obsolete cds.tx(req) 2025-03-31 12:15:59 +02:00
Vladislav Leonkev
737e766d53 Deploy on BTP (#793)
minimal changes required to deploy the CAP samples in _shared db_ mode:
- db: all bookshop, orders, reviews CDS models into one db instance (_shared-db_)
- services: bookstore, orders, reviews
- approuter with UI symlinks:
  - Vue: bookshop, reviews
  - Fiori: orders
 - authentification: xsuaa
 - messaging: Event Mesh
 - destinations: orders, reviews
- cds:
  - projection OrdersNoDraft for backend direct access
  - event OrderChanged
- deployment: mta.yml
2025-03-20 09:36:16 +01:00
Daniel Hutzel
5e5ed7749d More i18n content 2024-11-04 12:40:24 +01:00
Daniel Hutzel
02ea798f5f Streamlined eslint usage for eslint9 w/ cds8 (#719)
* Streamlined eslint usage

* import from @sap/cds instead of @sap/cds/lib

* Using @sap/cds/eslint.js

* eslint.config.mjs aktualisieren

* Adjusted eslint usage for eslint9 with cds8
2024-07-15 14:27:03 +02:00
Daniel Hutzel
8ffa3f052d Fixing paths for cds7 2023-06-30 18:36:38 +02:00
Dr. David A. Kunz
9a98ffd298 fix(reviews): authorization restrictions (#382) 2022-07-18 14:02:43 +02:00
Christian Georgi
af605bf685 Some bad restrict stuff 2022-05-31 16:23:28 +02:00
Daniel Hutzel
912271338d Prepare for cds6 (#341) 2022-04-05 16:30:04 +02:00
D065023
179d301acb Use stable URI 2022-02-09 10:12:41 +01:00
D065023
bbf20b1ca3 Change to Vue 3 2022-02-09 10:10:19 +01:00
Daniel Hutzel
bc03cae550 fix duplicate annotates (#317) 2022-02-04 16:19:54 +01:00
Daniel Hutzel
7accf1ae23 Using only bob as reviewer (#315) 2022-02-03 04:35:56 +01:00
Daniel
2703e8b999 Removed authorization workaround 2021-11-08 13:19:12 +01:00
Daniel
64fe700d1e ... 2021-11-04 10:37:33 +01:00
Daniel
5c3cec973e Using bookstore as composite app 2021-11-04 10:37:33 +01:00
Daniel
404427237b Updated reviews samples for messaging GA 2021-10-18 18:04:33 +02:00
Christian Georgi
702c3245bd Fix broken translation UI
Use `Books.texts` instead of `_texts`, requiring sap/cds 5
2021-05-10 10:33:39 +02:00
Christian Georgi
450577d5a7 Refer to fiori app instead of bookshop 2021-04-06 16:11:24 +02:00
Marc Becker
049345a39c Replace @assert.enum with @assert.range
@assert.enum has been deprecated since April 2020: https://cap.cloud.sap/docs/releases/apr20#value-range-annotations-for-odata
@assert.range is the correct annotation to use: https://cap.cloud.sap/docs/guides/generic#assertrange-check-constraints
2021-03-23 15:44:49 +01:00
Daniel
a7e0cf61a3 bump versions 2021-03-23 13:09:05 +01:00
Iwona Hahn
ebc7017ded UA review 2021-03-01 20:42:23 +01:00
Daniel
ea6e274810 Fixed: missing await srv.emit 2020-12-17 16:39:06 +01:00
Daniel
dae8e96fe1 Adding Vue.js apps for reviews service 2020-11-20 16:11:33 +01:00
Daniel
f2c37ec162 composites 2020-11-17 07:35:43 +01:00
Daniel Hutzel
d0d08b1ee1 Enable authorizations w/ dummy-auth (#158)
* Enable authorizations w/ dummy-auth

* fixed: some tests run in privileged mode

* Fixed tests to skip auth

* npm test --silent

* Added dependency to passport
2020-11-12 23:56:04 +01:00
Daniel
df55110b9b Updated to use srv-to-srv + declared events 2020-10-28 15:17:28 +01:00
Daniel
c424517770 fixing reviews sample 2020-10-22 18:11:46 +02:00
D065023
a456eae8ba Merge branch 'messaging-cds-4' of https://github.com/SAP-samples/cloud-cap-samples into messaging-cds-4 2020-09-15 16:36:23 +02:00
D065023
d8308fe7a3 review/reviewed -> reviewed 2020-09-15 16:36:04 +02:00
Dr. David Kunz
a75f8bdc45 Update reviews/srv/reviews-service.js
Co-authored-by: Daniel Hutzel <daniel.hutzel@sap.com>
2020-09-15 16:35:24 +02:00
D065023
a71aaf75a1 new messaging 2020-09-15 15:30:14 +02:00
Daniel
6f9133cd4f Simplified reviewed/server.js 2020-08-06 19:32:07 +02:00
Daniel
6ccecfecae Doing bindings in .env 2020-07-17 16:04:03 +02:00
Daniel
6f9737ae38 Separated reviewed and reviews 2020-05-29 16:56:03 +02:00
Christian Georgi
e408836c2a Fix typo in bootstrap event 2020-05-06 18:33:16 +02:00
Daniel
e3670b5337 Prepared for @sap/cds@4 2020-04-28 22:24:40 +02:00
Daniel
2cefb0e829 Update server.js 2020-04-15 22:58:00 +02:00
Daniel
31357cde95 Improved and documented server.js 2020-04-12 06:15:23 +02:00
Daniel
93f4cd5c6e Improved and documented server.js 2020-04-12 06:12:26 +02:00
Daniel
faa910161a Adding tests for mocha and jest 2020-04-04 18:03:04 +02:00
Daniel
b339e40ac1 Using relative npm dependencies 2020-04-04 18:01:58 +02:00
Daniel
9998997a73 Using port 5005 by default 2020-03-22 22:11:26 +01:00
Daniel
3872ac21a3 Improved reviews-service 2020-03-20 15:29:10 +01:00
Daniel
4ae16e8fd2 Cleaned up delegation 2020-03-15 12:12:18 +01:00
Daniel
e4983b8bde Moved managed data annotations 2020-03-15 12:11:07 +01:00
Daniel
eefdf6c976 less prominent workaround 2020-03-09 16:34:53 +01:00
Daniel
8613475988 beautified impl 2020-03-08 16:16:27 +01:00