Project

General

Profile

Actions

Architecture #7918

closed

Architecture #7915: Merge initial promises and system techniques

Create a system variable to tell if we are generating initial promises or not

Added by Benoît PECCATTE almost 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
N/A
Category:
System techniques
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

Let's call it "OUTPUT_FORMAT" and give it a constant value "system" (in Rudder).
In the initial promises case, its value could be "initial".

StringTemplate doesn't support value comparison within if. So it would be better to have a boolean.
Lets' call it "INITIAL" that can be true or false.

Actions #1

Updated by Benoît PECCATTE almost 9 years ago

  • Description updated (diff)
Actions #2

Updated by Benoît PECCATTE almost 9 years ago

  • Description updated (diff)
  • Status changed from New to Rejected

Since an undefined variable is equivalent to a false boolean, we can just skip creating this variable in Rudder.

Actions

Also available in: Atom PDF