Polyjuice database flag

May 10, 2015 1:29 pm Published by Leave your thoughts

Starting from build 2.0.3164.3 both Starcounter and Polyjuice editions will have a new flag in database config PolyjuiceDatabaseFlag which determines if its a database (and corresponding codehost) for Polyjuice or Starcounter applications. There are certain things that Polyjuice flag does for applications:

  1. It preloads all libraries from EditionLibraries directory in StarcounterBin upon codehost start.
  2. It enforces all applications for this database to only register handlers starting with application name.
  3. It invokes JSON response merger when mapped handlers are called.

The default value for this flag is set depending on the edition version of distribution: False for Starcounter, and True for Polyjuice edition correspondingly.

Categorised in:

This post was written by Alexey Moiseenko

Leave a Reply

Your email address will not be published. Required fields are marked *