Architecture #7310


Refactor & clean up promise writting part

Added by François ARMAND over 5 years ago. Updated over 5 years ago.

Architecture - Refactoring
Target version:
Effort required:


The part of the generation of promise that write the files used to be splitted between cf-clerk and rudder project, leading to arbitrary changes, intermediate data structure, and on the whole, quite obscure code logic.

In the short time, we are going to introduce a "verify only" policy type, which need as a prerequisite to have Rudder be able to generate promises directive by directive. So this is a major change in the way promise file are written, and with the current tech debt on that part of the code, it's really, really hard to be done.

So that ticket is here to trace the first step on the path: refactore all the writting of promise, taking advantage of the reunification of rudder and cf-clerk, and clean the whole thing.

A direct user benefit is that it will be MUCH easier to optimise (and particulary, to parallelize) things after the rewrite, allowing better generation time.

Subtasks 1 (0 open1 closed)

Bug #7321: Cf3PromisesFileWriterServiceImpl.writeTemplate use a bad version of sequenceParReleasedNicolas CHARLES2015-10-28Actions

Related issues

Related to Rudder - Architecture #6948: Merge cf-clerk into RudderReleasedVincent MEMBRÉ2015-07-15Actions
Related to Rudder - Bug #7442: License file is not generated any moreReleasedNicolas CHARLES2015-11-23Actions
Actions #2

Updated by François ARMAND over 5 years ago

Actions #3

Updated by François ARMAND over 5 years ago

  • Status changed from In progress to Pending release
  • % Done changed from 0 to 100
Actions #5

Updated by Nicolas CHARLES over 5 years ago

  • Related to Bug #7442: License file is not generated any more added
Actions #6

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.2.0~beta1 which was released today.


Also available in: Atom PDF