Skip to content

New non-Docker installations still use deprecated BlockedApi* database settings #11553

@ofahimIQSS

Description

@ofahimIQSS

Summary

As of PR #11454 and the related upgrade guidance, :BlockedApiEndpoints, :BlockedApiPolicy, :BlockedApiKey, and :AllowCors are now deprecated and replaced by JVM settings (e.g. -Ddataverse.api.blocked.endpoints, etc.).

However, fresh non-Docker installations using the dvinstall script still initialize the deprecated database settings instead of the new JVM-based equivalents.

This leads to inconsistency:

  • Upgraded instances will be encouraged to use JVM options
  • Fresh installs will continue using deprecated DB settings
  • Leads to potential confusion and maintenance overhead

Steps to Reproduce

  1. Spin up a fresh, non-Docker Dataverse installation from develop
  2. Run curl commands:
    curl http://localhost:8080/api/admin/settings/:BlockedApiEndpoints
    curl http://localhost:8080/api/admin/settings/:BlockedApiPolicy
  3. Observe that deprecated DB settings are set, and JVM settings are not present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: ContainersAnything related to cloudy Dataverse, shipped in containers.Type: Buga defect

    Type

    No type

    Projects

    Status

    SPRINT- NEEDS SIZING

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions