@truedat/dq 4.47.1 → 4.47.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91,7 +91,7 @@ export default {
91
91
  "populationForm.selectAll.text": "Seleccionar todos los datos",
92
92
  "quality_result.failed": "Fallida",
93
93
  "quality_result.no_execution": "No ejecutada",
94
- "quality_result.over_goal": "Cumpleee el objetivo",
94
+ "quality_result.over_goal": "Cumple el objetivo",
95
95
  "quality_result.under_goal": "Por debajo del objetivo",
96
96
  "quality_result.under_minimum": "Por debajo del umbral",
97
97
  "quality_result.under_minumum": "Por debajo del umbral",
@@ -507,14 +507,20 @@ export default {
507
507
  "El contenido introducido no está permitido: {invalid_content}",
508
508
  "ruleImplementations.actions.create": "Crear nueva implementación",
509
509
  "ruleImplementations.actions.edit": "Editar implementación",
510
- "ruleImplementations.events.action_created":
511
- "Implementación creada en regla: {0}",
512
510
  "ruleImplementations.events.action_changed": "Campo {0} actualizado a {1}",
513
511
  "ruleImplementations.events.action_deprecated": "Implementación archivada",
514
512
  "ruleImplementations.events.action_moved":
515
513
  "Implementación movida a la regla: {0}",
516
514
  "ruleImplementations.events.action_restored": "Implementación restaurada",
517
515
  "ruleImplementations.events.action_updated": "Implementación actualizada",
516
+
517
+ "ruleImplementations.events.action_published": "Implementación publicada",
518
+ "ruleImplementations.events.action_pending_approval": "Aprobación solicitada",
519
+ "ruleImplementations.events.action_rejected": "Aprobación rechazada",
520
+ "ruleImplementations.events.action_deprecated": "Implementación Eliminada",
521
+ "ruleImplementations.events.action_draft": "Implementación en borrador",
522
+ "ruleImplementations.events.action_versioned": "Implementación versionada",
523
+
518
524
  "ruleImplementations.props.business_concept": "Concepto",
519
525
  "ruleImplementations.props.last_change_at": "Fecha de última modificación",
520
526
  "ruleImplementations.props.executable.false": "Interna",
@@ -546,7 +552,6 @@ export default {
546
552
  "ruleImplementations.props.rule_template": "Plantilla de regla",
547
553
  "ruleImplementations.props.implementation_template":
548
554
  "Plantilla de implementación",
549
-
550
555
  "ruleImplementations.props.version": "Versión",
551
556
  "ruleImplementations.retrieved.results":
552
557
  "{count} implementaciones encontradas",
@@ -598,7 +603,7 @@ export default {
598
603
  "rules.events.action_changed_to": "Campo {0} actualizado a {1}",
599
604
  "rules.events.action_updated": "Regla actualizada",
600
605
  "ruleImplementations.events.action_created":
601
- "Implementación creada en regla: {0}",
606
+ "Implementación creada",
602
607
  "ruleImplementations.events.action_changed": "Campo {0} actualizado a {1}",
603
608
  "ruleImplementations.events.action_deprecated": "Implementación archivada",
604
609
  "ruleImplementations.events.action_moved":
@@ -127,6 +127,28 @@ describe("selectors: getParsedEvents", () => {
127
127
  },
128
128
  ts: "2021-10-20T07:56:45.891087Z",
129
129
  },
130
+ {
131
+ id: 15762,
132
+ service: "td_dd",
133
+ resource_id: 1130,
134
+ resource_type: "implementation",
135
+ event: "implementation_status_updated",
136
+ payload: {
137
+ domain_ids: [386],
138
+ implementation_key: "prueba de estados de audit",
139
+ status: "rejected",
140
+ },
141
+ user_id: 1,
142
+ user_name: null,
143
+ user: {
144
+ email: "user@user.com",
145
+ external_id: "",
146
+ full_name: "user",
147
+ id: 1,
148
+ user_name: "user",
149
+ },
150
+ ts: "2022-06-29T10:07:30.260906Z",
151
+ },
130
152
  ];
131
153
 
132
154
  const parsed = [
@@ -158,6 +180,15 @@ describe("selectors: getParsedEvents", () => {
158
180
  { action: "changed", field: "tags", value: "et" },
159
181
  ],
160
182
  },
183
+ {
184
+ ...events[4],
185
+ payload: [
186
+ {
187
+ action: "rejected",
188
+ field: "prueba de estados de audit",
189
+ },
190
+ ],
191
+ },
161
192
  ];
162
193
 
163
194
  it("should return all the events with the new payload", () => {
@@ -86,6 +86,16 @@ const getParsedEvents = createSelector([getEvents], (events) => {
86
86
  }))
87
87
  )(d),
88
88
  };
89
+ case "implementation_status_updated":
90
+ return {
91
+ ...d,
92
+ payload: [
93
+ {
94
+ field: _.path("payload.implementation_key")(d),
95
+ action: _.path("payload.status")(d),
96
+ },
97
+ ],
98
+ };
89
99
  case "rule_created":
90
100
  return {
91
101
  ...d,