refactor: archive 12 dead gRPC RPCs with [ARCHIVED] markers

Archived RPCs (code preserved, marked obsolete):
- fms.proto: excluded from csproj (CreateNewFileInfo, DeleteFileInfo)
- UserOrderService: GetOrdersByDateRange, CreateNewOrderForCustomer, SubmitOrderForCustomer
- ConfigurationService: DeactivateConfiguration, GetConfigurationHistory
- CityService: UpdateCity, DeleteCity
- HealthService: GetServiceHealth
- CategoryService: GetCategoryByIdForCustomer
- inventory.proto: BulkAdjustStock (no implementation existed)

All archived RPCs wrapped in #region [ARCHIVED] with [Obsolete] attributes.
No code deleted — archive only. Build passes with 0 errors.
This commit is contained in:
masoodafar-web
2026-02-24 22:53:36 +03:30
parent 8b9c317de6
commit 13dd0f552f
6 changed files with 29 additions and 7 deletions
@@ -25,9 +25,11 @@ public class HealthService : HealthContract.HealthContractBase
return result.Adapt<GetSystemHealthResponse>();
}
#region [ARCHIVED] GetServiceHealth تکراری: GetSystemHealth کل سیستم را برمیگرداند، فیلتر client-side کافی است
[Obsolete("ARCHIVED: Use GetSystemHealth + client-side filter by service name")]
public override async Task<GetServiceHealthResponse> GetServiceHealth(GetServiceHealthRequest request, ServerCallContext context)
{
// For now, just return system health filtered by service name
// [ARCHIVED] duplicate — GetSystemHealth returns all, client can filter
var systemHealthQuery = new GetSystemHealthQuery();
var systemHealth = await _mediator.Send(systemHealthQuery, context.CancellationToken);
@@ -45,4 +47,5 @@ public class HealthService : HealthContract.HealthContractBase
CheckedAt = Google.Protobuf.WellKnownTypes.Timestamp.FromDateTime(DateTime.UtcNow)
};
}
#endregion
}