5 | GeoServer-Cloud version N/A 6 |
7 |Redirecting to the actual home page.
14 |If you're stuck here, it means you don't have javascript 15 | enabled. Javascript is required to actually use the GeoServer admin console.
16 | 17 | 18 | -------------------------------------------------------------------------------- /src/apps/geoserver/webui/src/test/resources/bootstrap-test.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | main: 3 | banner-mode: off 4 | allow-bean-definition-overriding: true 5 | allow-circular-references: true # false by default since spring-boot 2.6.0, breaks geoserver initialization 6 | cloud.config.enabled: false 7 | cloud.config.discovery.enabled: false 8 | cloud.discovery.enabled: false 9 | cloud.bus.enabled: false 10 | eureka.client.enabled: false 11 | 12 | geoserver: 13 | acl.enabled: false 14 | security.enabled: true 15 | backend: 16 | data-directory: 17 | enabled: true 18 | location: # to be set by the test classes 19 | 20 | logging: 21 | level: 22 | root: WARN 23 | org.geoserver.platform: error 24 | org.geoserver.cloud: info 25 | org.geoserver.cloud.config.factory: info 26 | org.springframework.test: error 27 | -------------------------------------------------------------------------------- /src/apps/geoserver/webui/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 |
14 | * Using Spring Boot 3.2.x with Spring Cloud 2024.0.1+ for improved
15 | * reactive context propagation, especially for MDC values in logging.
16 | */
17 | @SpringBootApplication
18 | public class GatewayApplication {
19 |
20 | public static void main(String[] args) {
21 | SpringApplication.run(GatewayApplication.class, args);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/apps/infrastructure/gateway/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports:
--------------------------------------------------------------------------------
1 | org.geoserver.cloud.autoconfigure.gateway.GatewayApplicationAutoconfiguration
2 | org.geoserver.cloud.autoconfigure.gateway.GatewaySharedAuthAutoConfiguration
--------------------------------------------------------------------------------
/src/apps/infrastructure/gateway/src/test/resources/application-json-logs.yml:
--------------------------------------------------------------------------------
1 | spring:
2 | output:
3 | ansi:
4 | enabled: never
5 |
6 | # Configure MDC logging for JSON output in tests
7 | logging:
8 | level:
9 | root: INFO
10 | org.geoserver.cloud.accesslog: INFO
11 | org.geoserver.cloud.gateway: DEBUG
--------------------------------------------------------------------------------
/src/apps/infrastructure/gateway/src/test/resources/application-test.yml:
--------------------------------------------------------------------------------
1 | spring:
2 | application:
3 | name: gateway
4 | cloud:
5 | gateway:
6 | enabled: true
7 | discovery:
8 | locator:
9 | enabled: false
10 | routes: [] # Empty list of routes for testing
11 |
12 | # Gateway logging properties
13 | geoserver:
14 | cloud:
15 | gateway:
16 | logging:
17 | includeQueryParams: true
18 | maxFieldLength: 256
--------------------------------------------------------------------------------
/src/apps/infrastructure/gateway/src/test/resources/bootstrap.yml:
--------------------------------------------------------------------------------
1 | spring:
2 | application:
3 | name: gateway
4 | config:
5 | enabled: false
6 | cloud:
7 | config:
8 | enabled: false
9 | discovery:
10 | enabled: false
--------------------------------------------------------------------------------
/src/catalog/backends/common/src/main/java/org/geoserver/cloud/autoconfigure/metrics/catalog/GeoSeverMetricsConfigProperties.java:
--------------------------------------------------------------------------------
1 | /* (c) 2022 Open Source Geospatial Foundation - all rights reserved
2 | * This code is licensed under the GPL 2.0 license, available at the root
3 | * application directory.
4 | */
5 |
6 | package org.geoserver.cloud.autoconfigure.metrics.catalog;
7 |
8 | import lombok.Data;
9 | import org.springframework.boot.context.properties.ConfigurationProperties;
10 |
11 | /**
12 | * @since 1.0
13 | */
14 | @Data
15 | @ConfigurationProperties(prefix = "geoserver.metrics")
16 | public class GeoSeverMetricsConfigProperties {
17 |
18 | private boolean enabled = true;
19 |
20 | private String instanceId;
21 | }
22 |
--------------------------------------------------------------------------------
/src/catalog/backends/common/src/main/java/org/geoserver/cloud/autoconfigure/security/ConditionalOnGeoServerSecurityDisabled.java:
--------------------------------------------------------------------------------
1 | /* (c) 2020 Open Source Geospatial Foundation - all rights reserved
2 | * This code is licensed under the GPL 2.0 license, available at the root
3 | * application directory.
4 | */
5 |
6 | package org.geoserver.cloud.autoconfigure.security;
7 |
8 | import java.lang.annotation.Documented;
9 | import java.lang.annotation.ElementType;
10 | import java.lang.annotation.Retention;
11 | import java.lang.annotation.RetentionPolicy;
12 | import java.lang.annotation.Target;
13 | import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
14 |
15 | @Retention(RetentionPolicy.RUNTIME)
16 | @Target({ElementType.METHOD, ElementType.TYPE})
17 | @Documented
18 | @ConditionalOnProperty(prefix = "geoserver.security", name = "enabled", havingValue = "false", matchIfMissing = false)
19 | public @interface ConditionalOnGeoServerSecurityDisabled {}
20 |
--------------------------------------------------------------------------------
/src/catalog/backends/common/src/main/java/org/geoserver/cloud/autoconfigure/security/ConditionalOnGeoServerSecurityEnabled.java:
--------------------------------------------------------------------------------
1 | /* (c) 2020 Open Source Geospatial Foundation - all rights reserved
2 | * This code is licensed under the GPL 2.0 license, available at the root
3 | * application directory.
4 | */
5 |
6 | package org.geoserver.cloud.autoconfigure.security;
7 |
8 | import java.lang.annotation.Documented;
9 | import java.lang.annotation.ElementType;
10 | import java.lang.annotation.Retention;
11 | import java.lang.annotation.RetentionPolicy;
12 | import java.lang.annotation.Target;
13 | import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
14 |
15 | @Retention(RetentionPolicy.RUNTIME)
16 | @Target({ElementType.METHOD, ElementType.TYPE})
17 | @Documented
18 | @ConditionalOnProperty(prefix = "geoserver.security", name = "enabled", havingValue = "true", matchIfMissing = true)
19 | public @interface ConditionalOnGeoServerSecurityEnabled {}
20 |
--------------------------------------------------------------------------------
/src/catalog/backends/common/src/main/java/org/geoserver/cloud/config/catalog/backend/core/CatalogProperties.java:
--------------------------------------------------------------------------------
1 | /* (c) 2020 Open Source Geospatial Foundation - all rights reserved
2 | * This code is licensed under the GPL 2.0 license, available at the root
3 | * application directory.
4 | */
5 |
6 | package org.geoserver.cloud.config.catalog.backend.core;
7 |
8 | import lombok.Data;
9 | import org.springframework.boot.context.properties.ConfigurationProperties;
10 |
11 | @ConfigurationProperties(prefix = "geoserver.catalog")
12 | public @Data class CatalogProperties {
13 | private boolean isolated = true;
14 | private boolean secure = true;
15 | private boolean localWorkspace = true;
16 | private boolean advertised = true;
17 | }
18 |
--------------------------------------------------------------------------------
/src/catalog/backends/common/src/main/resources/META-INF/services/org.geotools.http.HTTPClientFactory:
--------------------------------------------------------------------------------
1 | org.geoserver.cloud.autoconfigure.geotools.SpringEnvironmentAwareGeoToolsHttpClientFactory
--------------------------------------------------------------------------------
/src/catalog/backends/common/src/test/resources/application.yml:
--------------------------------------------------------------------------------
1 | info:
2 | instance-id: test-instance-id
3 | spring:
4 | main:
5 | banner-mode: off
6 | allow-bean-definition-overriding: true
7 | # false by default since spring-boot 2.6.0, breaks geoserver initialization
8 | allow-circular-references: true
9 | cloud.bus.enabled: false
10 | autoconfigure:
11 | exclude:
12 | - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
13 |
14 |
15 | eureka.client.enabled: false
16 |
17 | logging:
18 | level:
19 | root: WARN
20 | #org.geoserver.platform: ERROR
21 | org.geoserver: warn
22 | org.geoserver.cloud: warn
23 | org.geoserver.cloud.config.factory: warn
24 | org.geoserver.jdbcconfig: warn
25 | org.geoserver.jdbcstore: warn
26 |
--------------------------------------------------------------------------------
/src/catalog/backends/common/src/test/resources/logback-test.xml:
--------------------------------------------------------------------------------
1 |
15 | * These properties control whether the DXF extension is enabled.
16 | *
17 | * @since 2.27.0
18 | */
19 | @Data
20 | @ConfigurationProperties(prefix = "geoserver.extension.dxf")
21 | public class DxfConfigProperties {
22 |
23 | /**
24 | * Whether DXF output format support is enabled.
25 | * Default is true.
26 | */
27 | private boolean enabled = true;
28 | }
29 |
--------------------------------------------------------------------------------
/src/extensions/output-formats/flatgeobuf/bin/src/main/java/org/geoserver/cloud/autoconfigure/extensions/flatgeobuf/ConditionalOnFlatGeobuf.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geoserver/geoserver-cloud/8d434f7e43fdb22fe528380a57df59eba7d3ca40/src/extensions/output-formats/flatgeobuf/bin/src/main/java/org/geoserver/cloud/autoconfigure/extensions/flatgeobuf/ConditionalOnFlatGeobuf.class
--------------------------------------------------------------------------------
/src/extensions/output-formats/flatgeobuf/bin/src/main/java/org/geoserver/cloud/autoconfigure/extensions/flatgeobuf/FlatGeobufAutoConfiguration$FlatGeobufOutputFormatConfiguration.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geoserver/geoserver-cloud/8d434f7e43fdb22fe528380a57df59eba7d3ca40/src/extensions/output-formats/flatgeobuf/bin/src/main/java/org/geoserver/cloud/autoconfigure/extensions/flatgeobuf/FlatGeobufAutoConfiguration$FlatGeobufOutputFormatConfiguration.class
--------------------------------------------------------------------------------
/src/extensions/output-formats/flatgeobuf/bin/src/main/java/org/geoserver/cloud/autoconfigure/extensions/flatgeobuf/FlatGeobufAutoConfiguration.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geoserver/geoserver-cloud/8d434f7e43fdb22fe528380a57df59eba7d3ca40/src/extensions/output-formats/flatgeobuf/bin/src/main/java/org/geoserver/cloud/autoconfigure/extensions/flatgeobuf/FlatGeobufAutoConfiguration.class
--------------------------------------------------------------------------------
/src/extensions/output-formats/flatgeobuf/bin/src/main/java/org/geoserver/cloud/autoconfigure/extensions/flatgeobuf/FlatGeobufConfigProperties.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geoserver/geoserver-cloud/8d434f7e43fdb22fe528380a57df59eba7d3ca40/src/extensions/output-formats/flatgeobuf/bin/src/main/java/org/geoserver/cloud/autoconfigure/extensions/flatgeobuf/FlatGeobufConfigProperties.class
--------------------------------------------------------------------------------
/src/extensions/output-formats/flatgeobuf/bin/src/main/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
2 | org.geoserver.cloud.autoconfigure.extensions.flatgeobuf.FlatGeobufAutoConfiguration
--------------------------------------------------------------------------------
/src/extensions/output-formats/flatgeobuf/bin/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports:
--------------------------------------------------------------------------------
1 | org.geoserver.cloud.autoconfigure.extensions.flatgeobuf.FlatGeobufAutoConfiguration
--------------------------------------------------------------------------------
/src/extensions/output-formats/flatgeobuf/bin/src/test/java/org/geoserver/cloud/autoconfigure/extensions/flatgeobuf/FlatGeobufAutoConfigurationTest.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geoserver/geoserver-cloud/8d434f7e43fdb22fe528380a57df59eba7d3ca40/src/extensions/output-formats/flatgeobuf/bin/src/test/java/org/geoserver/cloud/autoconfigure/extensions/flatgeobuf/FlatGeobufAutoConfigurationTest.class
--------------------------------------------------------------------------------
/src/extensions/output-formats/flatgeobuf/bin/src/test/resources/logback-test.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |