Commit 03e1d35
refactor: rename Python files and classes to match new module names
Rename files, classes, and view strings to eliminate stale
"aggregation" and "statistic" naming from the Python layer.
spp_analytics:
- aggregation_access.py -> analytics_access.py (AggregationAccessRule -> AnalyticsAccessRule)
- aggregation_scope.py -> analytics_scope.py (AggregationScope -> AnalyticsScope)
- statistic_registry.py -> indicator_registry.py (StatisticRegistry -> IndicatorRegistry)
- AggregationService -> AnalyticsService, AggregationCacheService -> AnalyticsCacheService
- AggregationTestCase -> AnalyticsTestCase
- View XML files renamed accordingly
spp_indicator:
- statistic.py -> indicator.py, statistic_context.py -> indicator_context.py
- statistic_categories.xml -> indicator_categories.xml
- View strings: "Statistic(s)" -> "Indicator(s)"
- Field label: string="Statistic" -> string="Indicator"
spp_indicator_studio:
- statistic_views.xml -> indicator_views.xml
- statistic_category_views.xml -> indicator_category_views.xml
spp_api_v2_simulation:
- aggregation_api_service.py -> analytics_api_service.py
- schemas/aggregation.py -> schemas/analytics.py
- routers/aggregation.py -> routers/analytics.py
- AggregationApiService -> AnalyticsApiService
- AggregationScopeRequest -> AnalyticsScopeRequest
- AggregationResponse -> AnalyticsResponse
spp_api_v2_gis:
- StatisticInfo -> IndicatorInfo
- StatisticCategoryInfo -> IndicatorCategoryInfo
- StatisticsListResponse -> IndicatorsListResponse1 parent 2571b7d commit 03e1d35
File tree
40 files changed
+120
-120
lines changed- spp_analytics
- models
- tests
- views
- spp_api_v2_gis
- routers
- schemas
- tests
- spp_api_v2_simulation
- routers
- schemas
- services
- tests
- spp_indicator_studio
- views
- spp_indicator
- data
- models
- tests
40 files changed
+120
-120
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
spp_analytics/tests/test_aggregation_scope.py renamed to spp_analytics/tests/test_analytics_scope.py
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments