- new conf property for named renderer options so you don't need to include a json file.
There are 2 new conf parameters :
substance.renderer.style
which defaults to a value of"CONF"
which means to use the conf file specified bysubstance.renderer.configPath
. You may also set this value to any of the named Renderers such asINN
,USP
,ball and stick
, orDEFAULT
. and it will use those pre-defined render settings. For backwards compatibility, we also allow for the GSRS 2.x conf parametergsrs.renderers.selected
which can have the same values. If bothsubstance.renderer.style
andgsrs.renderers.selected
are specified, precedence is given togsrs.renderers.selected
.
- new conf property for default renderer options json file is now called
substance.renderer.configPath
. If not overridden by client conf, the default is specified in substances-core.conf issubstance.renderer.configPath="substances-default-renderer.json"
.
- gsrs file specified by property ix.ginas.load.file only loaded now if substance table is empty
- added new helper methods to
AbstractSubstanceJpaEntityTestSuperClass
to pull out filtered JSON records from gsrs encoded files either as a Stream or as a Yield. optional parameters can filter by SubstanceClass(es). Any more involved filtering requires parsing the JSON into a Substance object.
- changed name of
AbstractSubstanceJpaEntityTest2
toAbstractSubstanceJpaEntityTestSuperClass