• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

geosolutions-it / MapStore2 / 19710972030

26 Nov 2025 03:38PM UTC coverage: 76.665% (-0.3%) from 76.929%
19710972030

Pull #11119

github

web-flow
Fix maven publish (#11739)
Pull Request #11119: Layer Selection Plugin on ArcGIS, WFS & WMS layers

32272 of 50209 branches covered (64.28%)

3 of 3 new or added lines in 2 files covered. (100.0%)

3018 existing lines in 249 files now uncovered.

40157 of 52380 relevant lines covered (76.66%)

37.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

92.86
/web/client/plugins/ResourcesCatalog/actions/resources.js
1
/*
2
 * Copyright 2024, GeoSolutions Sas.
3
 * All rights reserved.
4
 *
5
 * This source code is licensed under the BSD-style license found in the
6
 * LICENSE file in the root directory of this source tree.
7
 */
8

9
export const UPDATE_RESOURCES = 'RESOURCES:UPDATE_RESOURCES';
1✔
10
export const UPDATE_RESOURCE = 'RESOURCES:UPDATE_RESOURCE';
1✔
11
export const LOADING_RESOURCES = 'RESOURCES:LOADING_RESOURCES';
1✔
12
export const UNLOAD_RESOURCES = 'RESOURCES:UNLOAD_RESOURCES';
1✔
13

14
export const UPDATE_RESOURCES_METADATA = 'RESOURCES:UPDATE_RESOURCES_METADATA';
1✔
15
export const SET_SHOW_FILTERS_FORM = 'RESOURCES:SET_SHOW_FILTERS_FORM';
1✔
16
export const SET_SHOW_DETAILS = 'RESOURCES:SET_SHOW_DETAILS';
1✔
17
export const SET_SELECTED_RESOURCE = 'RESOURCES:SET_SELECTED_RESOURCE';
1✔
18
export const UPDATE_SELECTED_RESOURCE = 'RESOURCES:UPDATE_SELECTED_RESOURCE';
1✔
19
export const SEARCH_RESOURCES = 'RESOURCES:SEARCH_RESOURCES';
1✔
20
export const RESET_SEARCH_RESOURCES = 'RESOURCES:RESET_SEARCH_RESOURCES';
1✔
21
export const RESET_SELECTED_RESOURCE = 'RESOURCES:RESET_SELECTED_RESOURCE';
1✔
22
export const SET_DETAIL_PANEL_TAB = 'RESOURCES:SET_DETAIL_PANEL_TAB';
1✔
23
export const SET_RESOURCE_TYPES = 'RESOURCES:SET_RESOURCES_TYPES';
1✔
24

25
export function updateResources(resources, id) {
26
    return {
2✔
27
        type: UPDATE_RESOURCES,
28
        resources,
29
        id
30
    };
31
}
32

33
export function updateResourcesMetadata(metadata, id) {
34
    return {
2✔
35
        type: UPDATE_RESOURCES_METADATA,
36
        metadata,
37
        id
38
    };
39
}
40

41
export function updateResource(resource) {
UNCOV
42
    return {
×
43
        type: UPDATE_RESOURCE,
44
        resource
45
    };
46
}
47

48
export function loadingResources(loading, id) {
49
    return {
2✔
50
        type: LOADING_RESOURCES,
51
        loading,
52
        id
53
    };
54
}
55

56
export function unloadResources() {
57
    return {
2✔
58
        type: UNLOAD_RESOURCES
59
    };
60
}
61

62
export function setShowFiltersForm(show, id) {
63
    return {
2✔
64
        type: SET_SHOW_FILTERS_FORM,
65
        show,
66
        id
67
    };
68
}
69

70
export function setSelectedResource(selectedResource, id) {
71
    return {
4✔
72
        type: SET_SELECTED_RESOURCE,
73
        selectedResource,
74
        id
75
    };
76
}
77

78
export function updateSelectedResource(properties, initialize, id) {
79
    return {
3✔
80
        type: UPDATE_SELECTED_RESOURCE,
81
        properties,
82
        initialize,
83
        id
84
    };
85
}
86

87
export function searchResources({ params, clear, refresh }) {
88
    return {
4✔
89
        type: SEARCH_RESOURCES,
90
        clear,
91
        params,
92
        refresh
93
    };
94
}
95

96
export function resetSearchResources() {
97
    return {
2✔
98
        type: RESET_SEARCH_RESOURCES
99
    };
100
}
101

102
export function resetSelectedResource(id) {
103
    return {
2✔
104
        type: RESET_SELECTED_RESOURCE,
105
        id
106
    };
107
}
108

109
export function setShowDetails(show, id) {
110
    return {
4✔
111
        type: SET_SHOW_DETAILS,
112
        show,
113
        id
114
    };
115
}
116

117
export function setDetailPanelTab(tab) {
118
    return {
2✔
119
        type: SET_DETAIL_PANEL_TAB,
120
        tab
121
    };
122
}
123
export function setResourceTypes(resourceTypes) {
UNCOV
124
    return {
×
125
        type: SET_RESOURCE_TYPES,
126
        resourceTypes
127
    };
128
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc