Jody Garnett ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae422bb7f-4808-47e3-837f-13db0e6681e3
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMDhmMGE4NjMyN2Q4NGJkZWE4YWQ3NTc3MjA3ZmFiODQiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10664?atlOrigin=eyJpIjoiMDhmMGE4NjMyN2Q4NGJkZWE4YWQ3NTc3MjA3ZmFiODQiLCJwIjoiaiJ9
 ) GEOS-10664 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10664?atlOrigin=eyJpIjoiMDhmMGE4NjMyN2Q4NGJkZWE4YWQ3NTc3MjA3ZmFiODQiLCJwIjoiaiJ9
 ) WMTSGetCapabilities providerSite use of online resource ( 
https://osgeo-org.atlassian.net/browse/GEOS-10664?atlOrigin=eyJpIjoiMDhmMGE4NjMyN2Q4NGJkZWE4YWQ3NTc3MjA3ZmFiODQiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Unassigned Created: 21/Sep/22 5:43 AM Priority: 
Medium Reporter: Jody Garnett ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae422bb7f-4808-47e3-837f-13db0e6681e3
 )

Noticed the following in code review of ServiceInformation 
getServiceInformation() :

// add provider information
ServiceProvider serviceProvider = new ServiceProvider();
serviceProvider.setProviderName(gsInfo.getMaintainer());
serviceProvider.setProviderName(gsInfo.getOnlineResource())

Checking GWC Codebase the following is an appropriate replacement:

gwcInfo.setProviderSite(gsInfo.getOnlineResource());

Where GWC WMTSGetCapabilities is expecting a url:

           if (servProv.getProviderSite() != null) {
               xml.indentElement("ows:ProviderSite")
                       .attribute("xlink:href", servProv.getProviderSite())
                       .endElement();
           }

( 
https://osgeo-org.atlassian.net/browse/GEOS-10664#add-comment?atlOrigin=eyJpIjoiMDhmMGE4NjMyN2Q4NGJkZWE4YWQ3NTc3MjA3ZmFiODQiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10664#add-comment?atlOrigin=eyJpIjoiMDhmMGE4NjMyN2Q4NGJkZWE4YWQ3NTc3MjA3ZmFiODQiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207- 
sha1:a65942b )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to