@@ -109,6 +109,8 @@ SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
109
109
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , CONFIG_URL + "/deploymentId" ), // system config
110
110
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , APPLICATION_URL + "/*/view" ), // application view
111
111
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , APPLICATION_URL + "/*/view_marketplace" ), // application view
112
+ ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , APPLICATION_URL + "/marketplace-apps" ), // marketplace apps
113
+
112
114
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , USER_URL + "/me" ),
113
115
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , USER_URL + "/currentUser" ),
114
116
@@ -134,6 +136,7 @@ SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
134
136
ServerWebExchangeMatchers .pathMatchers (HttpMethod .HEAD , NewUrl .STATE_URL + "/healthCheck" ),
135
137
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .APPLICATION_URL + "/*/view" ),
136
138
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .APPLICATION_URL + "/*/view_marketplace" ),
139
+ ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .APPLICATION_URL + "/marketplace-apps" ), // marketplace apps
137
140
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .USER_URL + "/me" ),
138
141
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .USER_URL + "/currentUser" ),
139
142
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .GROUP_URL + "/list" ),
@@ -180,6 +183,7 @@ private CorsConfigurationSource buildCorsConfigurationSource() {
180
183
source .registerCorsConfiguration (QUERY_URL + "/execute" , skipCheckCorsForAll );
181
184
source .registerCorsConfiguration (APPLICATION_URL + "/*/view" , skipCheckCorsForAll );
182
185
source .registerCorsConfiguration (APPLICATION_URL + "/*/view_marketplace" , skipCheckCorsForAll );
186
+ source .registerCorsConfiguration (APPLICATION_URL + "/marketplace-apps" , skipCheckCorsForAll );
183
187
source .registerCorsConfiguration (GITHUB_STAR , skipCheckCorsForAll );
184
188
source .registerCorsConfiguration (ORGANIZATION_URL + "/*/datasourceTypes" , skipCheckCorsForAll );
185
189
source .registerCorsConfiguration (DATASOURCE_URL + "/jsDatasourcePlugins" , skipCheckCorsForAll );
@@ -190,6 +194,7 @@ private CorsConfigurationSource buildCorsConfigurationSource() {
190
194
source .registerCorsConfiguration (NewUrl .QUERY_URL + "/execute" , skipCheckCorsForAll );
191
195
source .registerCorsConfiguration (NewUrl .APPLICATION_URL + "/*/view" , skipCheckCorsForAll );
192
196
source .registerCorsConfiguration (NewUrl .APPLICATION_URL + "/*/view_marketplace" , skipCheckCorsForAll );
197
+ source .registerCorsConfiguration (NewUrl .APPLICATION_URL + "/marketplace-apps" , skipCheckCorsForAll );
193
198
source .registerCorsConfiguration (NewUrl .ORGANIZATION_URL + "/*/datasourceTypes" , skipCheckCorsForAll );
194
199
source .registerCorsConfiguration (NewUrl .DATASOURCE_URL + "/jsDatasourcePlugins" , skipCheckCorsForAll );
195
200
0 commit comments