diff options
author | Björn Mattsson <bjorn@sunet.se> | 2025-01-09 16:44:54 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2025-01-09 16:44:54 +0100 |
commit | 0bbb4f67541bad9cc7a75db9d735caaa9c74d82c (patch) | |
tree | 30a539184e32d3ef43476d035aff56bcd67ce432 | |
parent | 79af41bae927dcf0e2ec32533875fef7bcf716b6 (diff) |
Prepare for new DS. Needs discojson_spfidus-metadata-2025-01-09-v01
-rw-r--r-- | metadata/fidus-prod.fd | 9 | ||||
-rw-r--r-- | metadata/fidus-test.fd | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/metadata/fidus-prod.fd b/metadata/fidus-prod.fd index d3bb9d0..503513a 100644 --- a/metadata/fidus-prod.fd +++ b/metadata/fidus-prod.fd @@ -30,6 +30,11 @@ - fork: - select as ds - break + - fork: + # need a uniq name to avoid format problem + # pyFF caches accept-type and requse selection :-( + - select as ds-sp: + - break - break - when request: - select @@ -53,3 +58,7 @@ - discojson - emit application/json: - break + - when accept application/json-sp: + - discojson_sp + - emit application/json: + - break diff --git a/metadata/fidus-test.fd b/metadata/fidus-test.fd index 32d8ef3..cf99db5 100644 --- a/metadata/fidus-test.fd +++ b/metadata/fidus-test.fd @@ -27,6 +27,11 @@ - fork: - select as ds - break + - fork: + # need a uniq name to avoid format problem + # pyFF caches accept-type and requse selection :-( + - select as ds-sp: + - break - break - when request: - select @@ -50,3 +55,7 @@ - discojson - emit application/json: - break + - when accept application/json-sp: + - discojson_sp + - emit application/json: + - break |