Skip to content

Commit 7fd0a73

Browse files
committed
refactor: rename executed to applied
1 parent a55cd15 commit 7fd0a73

File tree

43 files changed

+102
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+102
-102
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
132132
by You to the Licensor shall be under the terms and conditions of
133133
this License, without any additional terms or conditions.
134134
Notwithstanding the above, nothing herein shall supersede or modify
135-
the terms of any separate license agreement you may have executed
135+
the terms of any separate license agreement you may have applied
136136
with Licensor regarding such Contributions.
137137

138138
6. Trademarks. This License does not grant permission to use the trade

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
<h3 align="center">Auditable, versioned changes across distributed systems.</h3>
7-
<p align="center">Evolve queues, DBs, APIs, configs, resources and more — governed, auditable, executed at startup in lockstep.</p>
7+
<p align="center">Evolve queues, DBs, APIs, configs, resources and more — governed, auditable, applied at startup in lockstep.</p>
88

99
<p align="center"><small><a href="https://github.com/flamingock/mongock-legacy?tab=readme-ov-file#%EF%B8%8F-mongock-is-deprecated">Coming from Mongock?</a></small></p>
1010
<br />
@@ -35,7 +35,7 @@
3535

3636
With Flamingock, your application and the systems it interacts with — including databases, message queues, feature flags, configurations, APIs, and cloud resources — evolve together, in lockstep.
3737

38-
**All changes are versioned, auditable**, and executed as part of the same deployment lifecycle.
38+
**All changes are versioned, auditable**, and applied as part of the same deployment lifecycle.
3939

4040
No more post-deploy scripts or manual tweaks: every change is declared alongside your code and applied safely during application startup.
4141

cli/flamingock-cli/CLI-README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ A lightweight command-line interface for Flamingock audit operations in communit
2424
# List conflicted audit entries
2525
./flamingock-cli-dist/flamingock audit list
2626

27-
# Mark change unit as executed
27+
# Mark change unit as applied
2828
./flamingock-cli-dist/flamingock audit mark --change-id ch1 --state APPLIED
2929

3030
# Mark change unit as rolled back
@@ -163,7 +163,7 @@ Lists all conflicted audit entries showing:
163163

164164
### `flamingock audit mark`
165165
Marks a change unit with a specific state:
166-
- **`--state APPLIED`** - Marks as successfully executed
166+
- **`--state APPLIED`** - Marks as successfully applied
167167
- **`--state ROLLED_BACK`** - Marks as rolled back
168168
- **`--change-id <id>`** - Required change unit identifier
169169

cli/flamingock-cli/src/test/java/io/flamingock/cli/integration/CLIMongoIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void shouldRunAuditListCommandWithMongoDB() throws Exception {
7272
System.out.println("MongoDB container is running: " + mongoContainer.isRunning());
7373
System.out.println("MongoDB connection string: " + mongoContainer.getConnectionString());
7474

75-
// The fact that we got here means TestContainers worked and CLI executed
75+
// The fact that we got here means TestContainers worked and CLI applied
7676
assertThat(mongoContainer.isRunning()).isTrue();
7777

7878
} finally {

cloud/flamingock-cloud/src/main/java/io/flamingock/cloud/audit/HtttpAuditWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ public Result writeEntry(AuditEntry auditEntry) {
8484

8585

8686
private AuditEntryRequest buildRequest(AuditEntry auditEntry) {
87-
long executedAtEpochMillis = ZonedDateTime.of(auditEntry.getCreatedAt(), ZoneId.systemDefault()).toInstant().toEpochMilli();
87+
long appliedAtEpochMillis = ZonedDateTime.of(auditEntry.getCreatedAt(), ZoneId.systemDefault()).toInstant().toEpochMilli();
8888
return new AuditEntryRequest(
8989
auditEntry.getStageId(),
9090
auditEntry.getTaskId(),
9191
auditEntry.getAuthor(),
92-
executedAtEpochMillis,
92+
appliedAtEpochMillis,
9393
auditEntry.getState().toRequestStatus(),
9494
auditEntry.getType().toRequestExecutionType(),
9595
auditEntry.getClassName(),

cloud/flamingock-cloud/src/main/java/io/flamingock/cloud/planner/CloudExecutionPlanMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ private static ChangeActionMap getChangeActionMap(AbstractLoadedStage loadedStag
114114
String taskId = task.getId();
115115
CloudChangeAction cloudAction = actionsMapByChangeId.get(taskId);
116116

117-
// If task not in response, assume it's already executed (cloud orchestrator decision)
117+
// If task not in response, assume it's already applied (cloud orchestrator decision)
118118
if (cloudAction == null) {
119119
actionMap.put(taskId, ChangeAction.SKIP);
120120
} else {

cloud/flamingock-cloud/src/test/java/io/flamingock/core/utils/TaskExecutionChecker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void reset() {
3131
history.clear();
3232
}
3333

34-
public boolean isExecuted() {
34+
public boolean isApplied() {
3535
return history.contains(TestTaskExecution.EXECUTION);
3636
}
3737

@@ -47,7 +47,7 @@ public void markRollBackExecution() {
4747
history.add(TestTaskExecution.ROLLBACK_EXECUTION);
4848
}
4949

50-
public boolean isBeforeExecuted() {
50+
public boolean isBeforeApplied() {
5151
return history.contains(TestTaskExecution.BEFORE_EXECUTION);
5252
}
5353

community/flamingock-auditstore-dynamodb/src/test/java/io/flamingock/community/dynamodb/DynamoDBAuditStoreTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ void happyPathWithTransaction() {
165165
}
166166

167167
@Test
168-
@DisplayName("When standalone runs the driver and execution fails should persist only the executed audit logs")
168+
@DisplayName("When standalone runs the driver and execution fails should persist only the applied audit logs")
169169
void failedWithTransaction() {
170170
// Given-When-Then - Test failure scenario with audit verification
171171
AuditTestSupport.withTestKit(testKit)

community/flamingock-auditstore-mongodb-sync/src/test/java/io/flamingock/community/mongodb/sync/MongoSyncAuditStoreTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ void happyPathWithTransaction() {
166166
}
167167

168168
@Test
169-
@DisplayName("When standalone runs the driver with transactions enabled and execution fails should persist only the executed audit logs")
169+
@DisplayName("When standalone runs the driver with transactions enabled and execution fails should persist only the applied audit logs")
170170
void failedWithTransaction() {
171171
//Given-When-Then
172172
AuditTestSupport.withTestKit(testKit)

community/flamingock-auditstore-mongodb-sync/src/test/java/io/flamingock/community/mongodb/sync/MongoSyncCoreStrategiesE2ETest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ void testFailingTransactionalChangeWithRollback() {
195195
}
196196

197197
@Test
198-
@DisplayName("Should handle already-executed changes correctly on second run with MongoDB persistence")
199-
void testAlreadyExecutedChangesSkipping() {
198+
@DisplayName("Should handle already-applied changes correctly on second run with MongoDB persistence")
199+
void testAlreadyAppliedChangesSkipping() {
200200
// Given - Create MongoDB test kit with persistent storage
201201
TestKit testKit = MongoDBSyncTestKit.create(new MongoDBSyncAuditStore(mongoClient, "test"), mongoClient, database);
202202
AuditTestHelper auditHelper = testKit.getAuditHelper();

0 commit comments

Comments
 (0)