FISH-9098: fix for deployments caused by referenced resources from apps #6852
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a fix to a reported bug caused by referenced resources used on app's
Description
Important Info
Blockers
Testing
New tests
Testing Performed
Manual testing on the server following described steps on the following tickets:
step 1: create instance and start:

step 2: create jdbc resource without assigned to an specific target

step3: deploy application to the instance created: clusterjsp and SimpleJndiLookup-1.0-SNAPSHOT
Observe components section for both:
step 4: Stop the instance and domain
step 5: Start the domain again, now you can't see any error during startup, this means the issue of the resource is fixed and if we look the Modules and Components for the applications we will see the details for it each application and both should look the same as previous test before to restart server:
Testing Environment
Ubuntu 20.04, azul jdk 11, maven 3.8.6
Documentation
Notes for Reviewers