-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 24900 part 1: document and refactor, part 2: add first step in PoolManagerImpl unit test #24901
Conversation
Part 3 for issue #24900 adds some more documentation. Main item of this commit is:
|
Integrate jsch 0.2.18
Integrate Nimbus 9.40
…mmand-logger New feature: Admin command logger
Signed-off-by: Alexander Pinčuk <[email protected]>
Signed-off-by: Alexander Pinčuk <[email protected]>
Signed-off-by: Alexander Pinčuk <[email protected]>
Integrate JUnit 5.10.3
Signed-off-by: Alexander Pinčuk <[email protected]>
Signed-off-by: Alexander Pinčuk <[email protected]>
Signed-off-by: Alexander Pinčuk <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Integrate Parsson 1.1.7
…ty-tck Add standalone Jakarta JSON Processing Pluggability TCK
Signed-off-by: Alexander Pinčuk <[email protected]>
Remove the temporary service and use the HK2 topic service instead
Signed-off-by: David Matějček <[email protected]>
Replaced method call incompatible with Java 11
Signed-off-by: Alexander Pinčuk <[email protected]>
…9_7_0 Integrate EclipseLink-ASM 9.7.0
Also report the error immediately, don't run the command again Adds tests for the startserv script. For that, improves the process manager to allow waiting until a text it output instead of waiting for the process to complete.
Add missing dependency to GF Embedded All and Web
Use the standard HK2 topic service
Signed-off-by: David Matějček <[email protected]>
Part 4 for issue #24900 adds more detailed logging I used in the last months. During rebase I made some merge errors, so commit also contains some merge work from part 1,2,3. |
I am bit confused why there's so many changes and some look like they already are in the master branch. Is it some GitHub issue? Seems so ... I tried locally:
|
@dmatej Not sure what happened. I had a few tasks from May I wanted to rebase to the most recent master (maybe I used an incorrect approach into getting all master tasks into this branch), then I made a few mistakes in merging the import changes. I will try to clean it up and make a correct pull request. This should have been draft so far. |
Just replace those crlf with lf (linux) and I believe it will be alright. I tried to fetch and compare your brach with master and it seems ok, just github is somehow confused and shows diff to some old commit. |
Not sure why the last build failed and the build before the 'crlf' fix did not fail. Perhaps a rebuild is needed, but I cannot start it I think. Part 1 for issue #24900 Document and rename some Resource… Part 2 for issue #24900 Start with a new PoolManagertImpl… Part 3 for issue #24900 More documentation and more unit … Part 4 for issue #24900 Add more detailed logging to impr… Merge branch 'issue_24900' of https://github.com/escay/glassfish into… Fix checkstyle for issue #24900 merge. Change 'git ls-files --eol' value i/-text to i/lf Solve issue #24900 |
472 commits, 4006 files - seriously? |
I did a rebase last week to get my changes from May in this branch to work, it is only the last 7 commits. Maybe I rebased wrong as mentioned above. Github somehow shows all changes since June in the full list, which are not mine. |
I was waiting for that. |
Edit: the commit I meant was already in master. 😞 |
But it didn't work, did it? And yet you marked as ready to review. So I comment on what I see. |
I think the crlf / lf linefeed change in 1 unit test file succeeded. I do not know why the build failed in the ejb_group_2 set, and I cannot start a new build to see if it was an environment issue. It was not the linefeed change in the unit test file. If needed I can create a new branch and do everything fresh, so you can more easily review 4 cleaner commits. |
Started build no. 11. |
@escay Does this https://github.com/eclipse-ee4j/glassfish/compare/master...pzygielo:glassfish:pr24901?expand=1 look like the changes intended? |
@pzygielo It looks like the changes indeed. But I do not see a few new files like InjectionUtil and PoolManagerImplTest. |
True, I see I've missed untracked on commit. |
I reviewed using this command without --stat. GitHub's UI failed in this case.
|
Is it maybe better to close this PR and create it again, so that it contains only the real changes? |
(No problem for me, just let me know) |
@escay - please do |
GOTO replacement of this PR: #25155 |
Draft for now, I would like to add more unit tests and I would like to remove a number of TODO statements I added in ConnectionPool and PoolManagerImpl classes.
Part 1 for issue #24900 Document and rename some ResourceHandle fields. Document and rename some ConnectionPool fields. Remove some unused methods and constructor parameters. Functional / possible incompatibility changes in DataStructureFactory and in ResourceHandle due to constructor changes.
(Maybe part 1 is a bit too much, I altered a few interfaces and removed unused parameters)
Part 2 for issue #24900 Start with a new PoolManagertImpl unit test to understand enlisted versus busy states of Resource handles and the wiring inside a transaction to keep track of all used resources.