Title: Issue 100 capture database entries by rahlk · Pull Request #110 · codellm-devkit/codeanalyzer-java · GitHub
Open Graph Title: Issue 100 capture database entries by rahlk · Pull Request #110 · codellm-devkit/codeanalyzer-java
X Title: Issue 100 capture database entries by rahlk · Pull Request #110 · codellm-devkit/codeanalyzer-java
Description: Motivation and Context We now support the following frameworks Jakarta and JavaEE JPA CRUD operations. Springboot JDBC How Has This Been Tested? We have added a new test case to our integration testing suite and we have verified that it runs on plantsbywebsphere package com.ibm.cldk; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Assertions; import org.testcontainers.containers.BindMode; import org.testcontainers.containers.GenericContainer; import org.testcontainers.junit.jupiter.Container; import org.testcontainers.junit.jupiter.Testcontainers; import org.testcontainers.utility.MountableFile; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.file.Paths; import java.util.Properties; @Testcontainers @SuppressWarnings("resource") public class CodeAnalyzerIntegrationTest { // ... @Test void shouldBeAbleToDetectCRUDOperationsAndQueriesForPlantByWebsphere() throws Exception { var runCodeAnalyzerOnPlantsByWebsphere = container.execInContainer( "java", "-jar", String.format("/opt/jars/codeanalyzer-%s.jar", codeanalyzerVersion), "--input=/test-applications/plantsbywebsphere", "--analysis-level=1", "--verbose" ); Assertions.assertTrue(runCodeAnalyzerOnPlantsByWebsphere.getStdout().contains("\"query_type\": \"NAMED\""), "No entry point classes found"); Assertions.assertTrue(runCodeAnalyzerOnPlantsByWebsphere.getStdout().contains("\"operation_type\": \"READ\""), "No entry point methods found"); Assertions.assertTrue(runCodeAnalyzerOnPlantsByWebsphere.getStdout().contains("\"operation_type\": \"UPDATE\""), "No entry point methods found"); Assertions.assertTrue(runCodeAnalyzerOnPlantsByWebsphere.getStdout().contains("\"operation_type\": \"CREATE\""), "No entry point methods found"); } } Breaking Changes Yes. analysis.json has new fields, so cldk's python-sdk will break if this new version of codeanalyzer-2.2.0-dev is used. Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I have read the Codellm-Devkit Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context A number of new interfaces and enums were added, some of them will be backported to refactor the entrypoint detection offered in v2.1.0 of codeanalyzer.
Open Graph Description: Motivation and Context We now support the following frameworks Jakarta and JavaEE JPA CRUD operations. Springboot JDBC How Has This Been Tested? We have added a new test case to our integratio...
X Description: Motivation and Context We now support the following frameworks Jakarta and JavaEE JPA CRUD operations. Springboot JDBC How Has This Been Tested? We have added a new test case to our integratio...
Opengraph URL: https://github.com/codellm-devkit/codeanalyzer-java/pull/110
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:cded7ce0-53bf-c28e-cf10-12c149d83e3d |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E544:ACA10:EFF34:14F549:698F47EC |
| html-safe-nonce | 202174ebd712126e694c55c55866415135888ea56724c2bff1fd5cc972c682f7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTQ0OkFDQTEwOkVGRjM0OjE0RjU0OTo2OThGNDdFQyIsInZpc2l0b3JfaWQiOiI2NjczMTEwMzc2NDU1MzkzMDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 885f4f31da7f4146dd2e802570968443a948704a2b60ecad29398d7ce8ede4e9 |
| hovercard-subject-tag | pull_request:2323610503 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/codellm-devkit/codeanalyzer-java/pull/110/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1433964?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1433964?s=400&v=4 |
| og:image:alt | Motivation and Context We now support the following frameworks Jakarta and JavaEE JPA CRUD operations. Springboot JDBC How Has This Been Tested? We have added a new test case to our integratio... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| turbo-cache-control | no-preview |
| go-import | github.com/codellm-devkit/codeanalyzer-java git https://github.com/codellm-devkit/codeanalyzer-java.git |
| octolytics-dimension-user_id | 197800760 |
| octolytics-dimension-user_login | codellm-devkit |
| octolytics-dimension-repository_id | 731300153 |
| octolytics-dimension-repository_nwo | codellm-devkit/codeanalyzer-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 731300153 |
| octolytics-dimension-repository_network_root_nwo | codellm-devkit/codeanalyzer-java |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6a0e76b4dbdd86599b4b518abe0e57175194496e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width