Closed juanluisrp closed 1 year ago
This commit adds the gn-ogc-features-api microservice and configures GN to server it through the GN's proxy.
ogc-api-records-service: image: geonetwork/gn-cloud-ogc-api-records-service:0.2.0 environment: SPRING_PROFILES_ACTIVE: standalone SPRING_DATASOURCE_URL: jdbc:postgresql://database:5432/geonetwork SPRING_DATASOURCE_USERNAME: geonetwork SPRING_DATASOURCE_PASSWORD: geonetwork GN_BASEURL: http://geonetwork:8080/geonetwork/api GN_LEGACY_URL: http://geonetwork:8080/geonetwork GN_INDEX_URL: http://elasticsearch:9200 SERVER_FORWARDHEADERSSTRATEGY: FRAMEWORK
In the Geonetwork service it adds this environment variable for configuring the MicroServicesProxy's targetUri property with the ogc-api-records-service URL:
MicroServicesProxy
targetUri
ogc-api-records-service
geonetwork: environment: GEONETWORK_MICROSERVICESPROXY_TARGETURI: http://ogc-api-records-service:8080
After that the OGC records API can be accessed at http://localhost:8080/geonetwork/api/collections
This commit adds the gn-ogc-features-api microservice and configures GN to server it through the GN's proxy.
In the Geonetwork service it adds this environment variable for configuring the
MicroServicesProxy
'stargetUri
property with theogc-api-records-service
URL:After that the OGC records API can be accessed at http://localhost:8080/geonetwork/api/collections