[GemStone-Smalltalk] Production only code

James Foster Smalltalk at JGFoster.net
Tue Jul 13 07:34:40 PDT 2021


Hi Dirk,

Are the names of prod and test different? If so, consider the following:

System stoneName = ‘prod’ ifTrue: [
   “Prod-only code”
].

Regards,
James


> On Jul 13, 2021, at 3:43 AM, Dirk Nel via GemStone-Smalltalk <gemstone-smalltalk at lists.gemtalksystems.com> wrote:
> 
> Hi all
> 
> I'm currently working on some data anonymization stuff in our GemStone production database.  I'm thinking of strategies of having certain portions of code just running in the prod Db.  As we restore our prod Db into our test Db this is difficult.  One idea that I had was to let the code that should only run in prod live in topaz scripts on the host instead of in the Db.  Any other thoughts about this out there?  And maybe just about data anonymization and Gs in general?
> 
> Regards
> Dirk
> 
> 
> _______________________________________________
> GemStone-Smalltalk mailing list
> GemStone-Smalltalk at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk



More information about the GemStone-Smalltalk mailing list