Commit Graph

27 Commits

Author SHA1 Message Date
Daniel Hutzel
b888a65381 Prepare for cds9 2025-04-14 18:13:27 +02:00
Olena
1ff53edf85 Fiori Tree Views (#816)
* add read only tree table and value help
* rm tree table in catalogservice
* Update cat-service.cds
* i18n and object page
* hana workaround, local messaging and rm virtual
* move hierarchy to fiori
* Update admin-service.cds

* Update common.cds

* fix after moving to fiori

* fix UI filter

* file-based-messaging in hybrid

* review fixes

* Update services.cds

* make bookshop Books fiori.draft.enabled

* add simplest handler for sqlite

* adapt test and link in csvs

* .

* Reverting to human-readable UUIDs :)

* Less obstrusive workaround

* typo

* Update fiori/app/common.cds

* Update fiori/app/common.cds

* Workaround for stupid GUID check in Fiori client

* ...

* Simplified mock support for recursive hierarchies in SQLite :)

* missing comma

* Rudimentary tree support for Genres on SQLite

* ?.

* fixed copy error

* using subselect to determine leafs

* Revert "using subselect to determine leafs"

This reverts commit f01ddaea1f.

* Using scalar subselect for DrillState

* .

---------

Co-authored-by: D070615 <[email protected]>
Co-authored-by: D045778 <[email protected]>
Co-authored-by: Daniel Hutzel <[email protected]>
2025-04-02 13:00:32 +02:00
Daniel Hutzel
7b92463394 Spring cleaning, part 2 (#813)
* Remove OData v2 show case: Genres TreeView
* Refactored bookstore and fiori services: consolidate routing and remove deprecated files
* Add Jest configuration file with silent mode enabled
* Refactor test files: streamline imports and remove redundant code
* Change price field type to Price for better clarity and precision
* Example for separation of concerns: access-control.cds
2025-03-21 09:48:11 +01:00
sjvans
187014d98b adjust content-type check (#728) 2024-05-29 10:42:35 +02:00
Daniel Hutzel
85f24970de Fully revert hacks (#727) 2024-05-29 09:58:02 +02:00
Samuel Brucksch
a191c4fd50 Partially revert "fix: adjusted tests for new OData adapter" (#726) 2024-05-28 18:22:45 +02:00
Samuel Brucksch
710dd7ac32 make it work 2024-05-28 14:27:08 +02:00
Daniel Hutzel
c6b88f6b66 import from @sap/cds instead of @sap/cds/lib 2024-05-14 15:57:14 +02:00
Daniel Hutzel
aaa94e2d5f Improve tests to also work with node --test 2024-05-14 14:37:37 +02:00
Christian Georgi
3140806c12 Make test more robust against schema changes
Only check for subset of JSON, not full JSON
2023-04-11 15:25:16 +02:00
Daniel Hutzel
a1c2f32408 Cleanup (#440)
* Cleanup

* minor cleanups
2023-01-13 09:08:20 +01:00
Daniel
02fc1a89a1 Fixed expected tenants in odata.test.js 2022-10-19 13:00:20 +02:00
Daniel
b0b4412c7a Fixed genre for Eleonora 2022-10-12 14:59:10 +02:00
Daniel Hutzel
8ab66b4130 Fix tests to run with mocha (#389) 2022-08-15 14:11:52 +02:00
Daniel
b733643f2a fixed accidential push 2022-04-09 12:38:24 +02:00
Daniel Hutzel
bbf1194a09 Cosmetics to test outlines (#340) 2022-04-03 12:36:11 +02:00
Daniel
959c07cee3 minor cosmetics for user service 2022-03-31 09:49:47 +02:00
Christian Georgi
bb55c432c9 Bookshop showing user info
Show current user name, locale and tenant (if available).
Useful in deployments w/ real auth and tenant contexts.
2022-03-28 14:36:32 +02:00
Daniel
8d8aa6c2c9 Fixing copy errors
Signed-off-by: Daniel <[email protected]>
2021-11-29 15:33:57 +01:00
Gregor Wolf
152d088ff4 rename author to authorName 2021-11-12 21:49:39 +01:00
Daniel
2f5d159428 using cds.test 2021-08-30 16:08:25 +02:00
Daniel
f32398ba8d Using cds.User.default in 4.4.4 2020-12-07 12:41:22 +01:00
Daniel
b6028721af make tests more robust 2020-11-22 10:57:13 +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
Christian Georgi
5d64ca3555 Use test API from cds lib instead of custom one 2020-10-29 11:12:18 +01:00
Daniel
039f62209c Prepare moving test kit over to @sap/cds 2020-08-19 09:38:07 +02:00
Daniel
ef520571d5 Cleaned up tests 2020-04-06 09:12:59 +02:00