Batch changes from of review comments - there are more

This commit is contained in:
alandavis
2022-09-07 15:12:19 +01:00
parent 1abbae8e5b
commit 6e85b860e9
13 changed files with 81 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
## Transformer selection strategy
# Transformer selection strategy
The TransformRegistry uses t-config to choose which Transformer will be
used. A transformer definition contains a supported list of source and
@@ -6,12 +6,13 @@ target Media Types. This is used for the most basic selection. It is further
refined by checking that the definition also supports transform options (the
parameters) that have been supplied in a transform request.
~~~
~~~text
Transformer 1 defines options: Op1, Op2
Transformer 2 defines options: Op1, Op2, Op3, Op4
Transform request provides values for options: Op2, Op3
~~~
If we assume both transformers support the required source and target Media
Types, Transformer 2 will be selected because it knows about all the supplied
options. The definition may also specify that some options are required or
@@ -24,4 +25,4 @@ the transforms consuming too many resources.
The configuration may also specify a priority which will be used in
Transformer selection if there are a number of possible transformers. The
highest priority is the one with the lowest number.
highest priority is the one with the lowest number.