Project

General

Profile

Actions

Architecture #2593

closed

Use label declared in Constants.scala for all XML serialized entities

Added by François ARMAND almost 12 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
3
Category:
Architecture - Code maintenance
Effort required:
Name check:
Fix check:
Regression:

Description

Following #2592, we started to use labels declared in a scala class (com.normation.rudder.domain.Constants) to avoid inconsistencies in labels.

That was only done for entities in com.normation.rudder.services.marshalling.Xml(un)SerialisationImpl.scala (directives, active techniques, etc) and not for all serialised events used in event logs.

=> use the same technique for all entities.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #2592: On first application start, root directive category is not exported in XML, causing bug in next importReleasedFrançois ARMAND2012-06-18Actions
Actions

Also available in: Atom PDF