refactor: rename group/groupName to application/applicationName
Some checks failed
CI / build (push) Failing after 40s
CI / cleanup-branch (push) Has been skipped
CI / docker (push) Has been skipped
CI / deploy (push) Has been skipped
CI / deploy-feature (push) Has been skipped

The execution-related "group" concept actually represents the
application name. Rename all Java fields, API parameters, and frontend
types from groupName→applicationName and group→application for clarity.

- Java records: ExecutionSummary, ExecutionDetail, ExecutionDocument,
  ExecutionRecord, ProcessorRecord
- API params: SearchRequest.group→application, SearchController
  @RequestParam group→application
- Services: IngestionService, DetailService, SearchIndexer, StatsStore
- Frontend: schema.d.ts, Dashboard, ExchangeDetail, RouteDetail,
  executions query hooks

Database column names (group_name) and OpenSearch field names are
unchanged — only the API-facing Java/TS field names are renamed.

RBAC group references (groups table, GroupRepository, GroupsTab) are
a separate domain concept and are NOT affected by this change.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-23 21:21:38 +01:00
parent 3c226de62f
commit 8ad0016a8e
54 changed files with 21442 additions and 73 deletions

View File

@@ -6,10 +6,10 @@ export function useExecutionStats(
timeFrom: string | undefined,
timeTo: string | undefined,
routeId?: string,
group?: string,
application?: string,
) {
return useQuery({
queryKey: ['executions', 'stats', timeFrom, timeTo, routeId, group],
queryKey: ['executions', 'stats', timeFrom, timeTo, routeId, application],
queryFn: async () => {
const { data, error } = await api.GET('/search/stats', {
params: {
@@ -17,7 +17,7 @@ export function useExecutionStats(
from: timeFrom!,
to: timeTo || undefined,
routeId: routeId || undefined,
group: group || undefined,
application: application || undefined,
},
},
});
@@ -49,10 +49,10 @@ export function useStatsTimeseries(
timeFrom: string | undefined,
timeTo: string | undefined,
routeId?: string,
group?: string,
application?: string,
) {
return useQuery({
queryKey: ['executions', 'timeseries', timeFrom, timeTo, routeId, group],
queryKey: ['executions', 'timeseries', timeFrom, timeTo, routeId, application],
queryFn: async () => {
const { data, error } = await api.GET('/search/stats/timeseries', {
params: {
@@ -61,7 +61,7 @@ export function useStatsTimeseries(
to: timeTo || undefined,
buckets: 24,
routeId: routeId || undefined,
group: group || undefined,
application: application || undefined,
},
},
});

View File

@@ -1079,7 +1079,7 @@ export interface components {
routeId?: string;
agentId?: string;
processorType?: string;
group?: string;
application?: string;
agentIds?: string[];
/** Format: int32 */
offset?: number;
@@ -1092,7 +1092,7 @@ export interface components {
executionId: string;
routeId: string;
agentId: string;
groupName: string;
applicationName: string;
status: string;
/** Format: date-time */
startTime: string;
@@ -1327,7 +1327,7 @@ export interface components {
errorStackTrace: string;
diagramContentHash: string;
processors: components["schemas"]["ProcessorNode"][];
groupName?: string;
applicationName?: string;
children?: components["schemas"]["ProcessorNode"][];
};
ProcessorNode: {
@@ -2977,7 +2977,7 @@ export interface operations {
from: string;
to?: string;
routeId?: string;
group?: string;
application?: string;
};
header?: never;
path?: never;
@@ -3003,7 +3003,7 @@ export interface operations {
to?: string;
buckets?: number;
routeId?: string;
group?: string;
application?: string;
};
header?: never;
path?: never;