Skip to main content

3 posts tagged with "News"

News and important announcements

View All Tags

ZPA Atlas 0.1.0

· 3 min read
Maintainer

ZPA Atlas 0.1.0 is out! It is a new tool, built on ZPA 4.3.0, that maps an Oracle PL/SQL and SQL codebase. It reads a folder of sources and records in one SQLite file every definition and every use of tables, columns, views, packages, subprograms, types, sequences and synonyms. Before you change one of them, it shows who uses it and what the change reaches.

What it answers​

  • Who uses it: who calls a procedure, overloads included, and who reads or writes a table or a column, including select *, column lists and triggers.
  • What a change reaches: from an object up to the entry points, grouped by package, with the path behind each one.
  • Where a column's value goes: every variable, parameter or field it is read into, how each is declared, and whether it still fits if the column grows to a size you give.
  • Which values are written: the values passed to a parameter or written to a column, such as who sets a status column to 'S'.
  • Views and triggers: which views read a table and where each view column comes from; which triggers fire on a table or column.
  • What it could not tell: every use carries a status and a reason, so an unproven answer shows as one.

Here is the page of a table of utPLSQL, from the sample index that comes with the release: its columns, and the code that uses it, statement by statement, with how each one uses it.

The page of the UT_SUITE_CACHE_PACKAGE table in ZPA Atlas: its columns and the code that selects, inserts, updates and deletes its rows

Its Impact walks up the code from the table: 40 objects may be affected, 36 of them for certain, and the entry points they are reached from.

The impact of the UT_SUITE_CACHE_PACKAGE table: 40 objects may be affected, grouped by distance, and the entry points

How to use it​

zpa-atlas index --sources path/to/sources --out atlas.db --compilation-schema HR
zpa-atlas serve --db atlas.db --sources path/to/sources

index builds the index, optionally checked against the Oracle data dictionary. serve opens a web page to search and browse the code, and an MCP endpoint at /mcp, so AI agents can ask the same questions. The index is a plain SQLite file, so it also answers SQL. Oracle Forms modules exported with frmf2xml are indexed together with the database code.

To try it without your own code, the release carries an index of utPLSQL v.3.2.3 and the sources it was built from:

tar -xzf utplsql-v.3.2.3-sources.tar.gz
zpa-atlas serve --db zpa-atlas-0.1.0-utplsql-v.3.2.3.db --sources utplsql-v.3.2.3/source

Then open http://127.0.0.1:8080 and search for ut_runner.run.

Getting it​

Download it from the release page, as a zip that needs Java 25 or as the container image ghcr.io/felipebz/zpa-atlas:0.1.0. ZPA Atlas is open source under the Apache License 2.0. See ZPA Atlas for an overview and the project documentation for indexing, serving and authentication.

ZPA Atlas is in early development: in 0.x, an index must be rebuilt with each new version, and the SQL of the index is not a stable contract.

ZPA Forms Extractor 1.0.0

· One min read
Maintainer

ZPA Forms Extractor 1.0.0 is out! It is a new tool that brings the PL/SQL code of Oracle Forms within reach of ZPA.

Forms keeps its code inside binary modules (.fmb, .mmb, .pll, .olb). The extractor opens them through Oracle's Forms API and writes:

  • every trigger, program unit, menu item and record group query to its own file, as compilable PL/SQL;
  • a metadata.json with the blocks, items, alerts and LOVs of each form, ready to be used as ZPA's Forms metadata.
zpa-forms-extractor --input forms/ --output extracted/ --metadata-format legacy
zpa-cli --sources extracted/orders.fmb --forms-metadata extracted/orders.fmb/metadata.json

The extractor runs on a machine with Oracle Forms Builder installed and needs Java 8 or newer. With ZPA 4.2.1, use --metadata-format legacy.

See Oracle Forms support for the complete workflow with the ZPA CLI and the SonarQube plugin, and the project README for installation and troubleshooting. The tool is open source under the Apache License 2.0.

Download it from the release page.

Important Update on SonarQube Support

· 2 min read
Maintainer

At the end of 2024, SonarSource introduced significant changes to the release cycle and versioning of SonarQube Community Edition, now known as SonarQube Community Build. One of the most impactful changes is the removal of a long-term active (LTA) equivalent version for the Community Build. Community builds are now released monthly, while commercial editions follow a separate quarterly release cycle with an annual LTA version.

I would like to clarify my stance on support for SonarQube commercial editions. I have never officially supported the commercial editions, as I do not have access to them for testing. Moving forward, I will no longer be making an effort to maintain compatibility with SonarQube commercial editions, and the ZPA plugin may explicitly prevent execution in those environments.

While SonarSource has announced that they will only support the latest SonarQube Community Build, I remain committed to testing my plugin with the four most recent releases, ensuring greater stability and flexibility for users who may need time to update to newer SonarQube versions.

ZPA 3.7.x will be the last release to offer compatibility with SonarQube 9.9 LTA. Future releases will require at least SonarQube 25.x (with the specific release version to be determined at the time of release). I do not intend to keep the plugin compatible with SonarQube 2025.1 LTA.

If you have any questions, feel free to reach out or contribute to the discussion in the project repository.