Skip to content

#10935: update RulesManager JSDoc to document multi-instance GeoServer support for stand-alone geofence#11321

Merged
mahmoudadel54 merged 6 commits intogeosolutions-it:masterfrom
mahmoudadel54:issue_4718
Jul 17, 2025
Merged

#10935: update RulesManager JSDoc to document multi-instance GeoServer support for stand-alone geofence#11321
mahmoudadel54 merged 6 commits intogeosolutions-it:masterfrom
mahmoudadel54:issue_4718

Conversation

@mahmoudadel54
Copy link
Copy Markdown
Contributor

Description

This PR includes:

  • add jsdocs for RulesManager page for multi-instances support for stand-alone geofence

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe: add jsdoc

Issue

What is the current behavior?

#10935

What is the new behavior?

Update RulesManager JSDoc to document multi-instance GeoServer support is done.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

… rules support

- add jsdocs for RulesManager page for multi-instances support for stand-alone geofence
@mahmoudadel54 mahmoudadel54 added this to the 2025.02.00 milestone Jul 15, 2025
@mahmoudadel54 mahmoudadel54 self-assigned this Jul 15, 2025
@mahmoudadel54 mahmoudadel54 linked an issue Jul 15, 2025 that may be closed by this pull request
6 tasks
Copy link
Copy Markdown
Member

@offtherailz offtherailz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer a simplified version of the documentation, that let the application load and setup the geoserver instances by default.

IF the legacy mode is needed only for previous versions of geofence, we can simply indicate what version require a different configuration, and avoid any additional justification or unuseful explaination.

The easier way is :

  • we have geofence, we configure the url, we startup mapstore and configure everything from UI.
  • If a standalone version of GeoFence do not allow this, indicate the version and the settings to use

In my inline suggestion, you have to insert the GeoFence version when the legacy configuration must be used.

Comment on lines +79 to +89
* *GeoFence Stand-Alone (Single Instance - Legacy)*
*
* ```json
* "geoFencePath": "geofence/rest",
* "geoFenceUrl": "https://my-domain.org/",
* "geoFenceServiceType": "geofence",
* "geoFenceGeoServerInstance": {
* "url": "https://my-domain.org/geoserver/",
* "id": 1
* }
* ```
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* *GeoFence Stand-Alone (Single Instance - Legacy)*
*
* ```json
* "geoFencePath": "geofence/rest",
* "geoFenceUrl": "https://my-domain.org/",
* "geoFenceServiceType": "geofence",
* "geoFenceGeoServerInstance": {
* "url": "https://my-domain.org/geoserver/",
* "id": 1
* }
* ```

mahmoudadel54 and others added 2 commits July 17, 2025 14:02
@mahmoudadel54 mahmoudadel54 merged commit a2dc21c into geosolutions-it:master Jul 17, 2025
6 checks passed
@mahmoudadel54
Copy link
Copy Markdown
Contributor Author

@ElenaGallo, could you please test this on DEV ? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancing MapStore Rule Manager

4 participants