Skip to content

feat!: remove legacy Java node attribute API#758

Open
damacus wants to merge 2 commits into
mainfrom
chore/java-modernization
Open

feat!: remove legacy Java node attribute API#758
damacus wants to merge 2 commits into
mainfrom
chore/java-modernization

Conversation

@damacus

@damacus damacus commented Jun 17, 2026

Copy link
Copy Markdown
Member

Summary

  • replace Berkshelf workflow with Policyfile wiring and aligned CI/Kitchen matrices
  • modernize Java resources with explicit provides names, safer shell handling, cleanup actions, and reduced implicit node state
  • add ChefSpec coverage and update docs for supported Java/platform paths

@damacus damacus requested a review from a team as a code owner June 17, 2026 20:06
@damacus damacus force-pushed the chore/java-modernization branch 5 times, most recently from 777176e to 3971621 Compare June 17, 2026 20:50
@damacus damacus changed the title chore: modernize Java cookbook feat!: modernize Java cookbook resources Jun 17, 2026
@damacus damacus changed the title feat!: modernize Java cookbook resources feat!: remove legacy Java node attribute API Jun 17, 2026
@damacus damacus force-pushed the chore/java-modernization branch 8 times, most recently from 78350f6 to 13f432a Compare June 17, 2026 22:53
Replace Berkshelf with Policyfile wiring, tighten CI and Kitchen matrices, and update resource implementations for safer shell usage, explicit provides names, cleanup actions, and stronger ChefSpec coverage.
@damacus damacus force-pushed the chore/java-modernization branch from 13f432a to 04aa76f Compare June 17, 2026 22:57
@github-actions

Copy link
Copy Markdown

Slowest examples

Top 10 slowest examples (0.41 seconds, 56.95% of total time)
Example Description Time in seconds
spec/resources/openjdk_source_install_spec.rb:14 openjdk_source_install install sets JAVA_HOME in the profile file 0.0951
spec/resources/alternatives_spec.rb:8 java_alternatives converges with an empty command list without shelling out 0.05895
spec/resources/jce_spec.rb:10 java_jce install downloads the JCE archive to the explicit download path 0.03565
spec/resources/certificate_spec.rb:16 java_certificate steps into certificate install without invoking host keytool 0.03416
spec/resources/openjdk_pkg_install_spec.rb:16 openjdk_pkg_install does not write node java_home state 0.03202
spec/resources/temurin_package_install_spec.rb:12 temurin_package_install installs the Adoptium apt keyring 0.03202
spec/resources/alternatives_spec.rb:12 java_alternatives supports unsetting command alternatives 0.03177
spec/resources/temurin_package_install_spec.rb:25 temurin_package_install installs the Temurin package 0.0315
spec/resources/temurin_package_install_spec.rb:42 temurin_package_install on Amazon Linux uses the Adoptium Amazon Linux 2 RPM repository 0.03135
spec/resources/corretto_install_spec.rb:9 corretto_install downloads the Corretto archive 0.03

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant