Commit e864040
committed
Refactor AgentType enum: Replace 'AFJ' with 'Credo'
**What does this PR do?**
This pull request refactors the `AgentType` enum by replacing the outdated `'AFJ'` value with `'Credo'` in `libs/enum/src/enum.ts`. All usages of `AgentType.AFJ` and the string `'AFJ'` across the codebase have been updated to `AgentType.Credo` and `'Credo'` respectively. The lingering TODO comment has also been removed.
**Why is this change necessary?**
There was a TODO to update the agent type for consistency and clarity. Using the correct agent name avoids confusion and ensures uniform reference across services.
**What has changed?**
- `AgentType.AFJ` → `AgentType.Credo`
- `'AFJ'` string values replaced with `'Credo'`
- TODO comment removed
**How was this tested?**
All references and usages were carefully updated and verified.
✅ (Optional) If tests were run: "The test suite was executed to ensure no regressions."
Signed-off-by: CodeWithAryanK <[email protected]>1 parent 2b1a409 commit e864040
File tree
4 files changed
+5
-6
lines changed- apps
- agent-provisioning/src
- agent-service/src
- repositories
- libs/enum/src
4 files changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
865 | | - | |
| 865 | + | |
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
0 commit comments