Skip to content
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

chore: merge main branch #1956

Merged
merged 53 commits into from
Dec 7, 2021
Merged

chore: merge main branch #1956

merged 53 commits into from
Dec 7, 2021

Conversation

achmelo
Copy link
Member

@achmelo achmelo commented Dec 7, 2021

Description

Automated merge doesn't work properly.

Linked to # (issue)

Type of change

Please delete options that are not relevant.

  • (fix) Bug fix (non-breaking change which fixes an issue)
  • (feat) New feature (non-breaking change which adds functionality)
  • (docs) Change in a documentation
  • (refactor) Refactor the code
  • (chore) Chore, repository cleanup, updates the dependencies.
  • (BREAKING CHANGE or !) Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

For more details about how should the code look like read the Contributing guideline

zowe-robot and others added 30 commits November 12, 2021 00:30
* Enable hystrix stream for api catalog

Signed-off-by: Carson Cook <[email protected]>

* Remove hystrix dashboard from ac

Signed-off-by: Carson Cook <[email protected]>

* Enable hystrix metrics for caching service

Signed-off-by: Carson Cook <[email protected]>

* Enable hystrix metrics for gateway

Signed-off-by: Carson Cook <[email protected]>

* Enable hystrix metrics for discovery service

Signed-off-by: Carson Cook <[email protected]>

* Add flag to enable access to hystrix stream

Signed-off-by: Carson Cook <[email protected]>

* Remove unused imports

Signed-off-by: Carson Cook <[email protected]>

* Add HystrixCommand to missed controllers

Signed-off-by: Carson Cook <[email protected]>
* refactor: Streamline category's content - Wizard Dialog (#1720)

* Allows for more inputs where multiple configurations can be present. Updated input data for the Plain Java Enabler. TBD: testing.

Signed-off-by: DianaKorladinova <[email protected]>

* WizardInputs test coverage now at 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Multiple configs of same category now visually divided, wizard-reducer test coverage raised to 100%

Signed-off-by: ViktorKorladinov <[email protected]>

* Squashed bug occurring after loading already wrapped in array category content.

Signed-off-by: ViktorKorladinov <[email protected]>

* Plain Java Enabler data configuration.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard reducer refactoring.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised wizard reducer coverage to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Foundation for YAML generation.

Signed-off-by: DianaKorladinova <[email protected]>

* YAML now shows in its own tab. TBD: lots of bug squashing.

Signed-off-by: ViktorKorladinov <[email protected]>

* YAML Visualizer test

Signed-off-by: ViktorKorladinov <[email protected]>

* Wizard actions and reducer test coverage raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed Next / Save button bug, added 'Copy' button the the YAML result tab.

Signed-off-by: ViktorKorladinov <[email protected]>

* Test coverage for wizard files raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Styling of YAML code

Signed-off-by: ViktorKorladinov <[email protected]>

* Added a missing function after merge.

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfix.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed npm warning on yaml package

Signed-off-by: at670475 <[email protected]>

* Moved the yaml dependency to the correct package.json

Signed-off-by: DianaKorladinova <[email protected]>

* Spring Enabler category configuration

Signed-off-by: DianaKorladinova <[email protected]>

* Created a defaults file and configured spring defaults.

Signed-off-by: ViktorKorladinov <[email protected]>

* Injecting default values operational.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised test coverage to 100% & added a missing category for the Spring Enabler.

Signed-off-by: DianaKorladinova <[email protected]>

* Moved different components into separate sub-folders, reduced size of wizard-config.jsx by dividing the data inside into 2 files - wizard_categories.jsx and wizard_onboarding_methods.jsx.

Signed-off-by: ViktorKorladinov <[email protected]>

* WizardNavigation component now able to group multiple categories under a single tab. Test coverage raised to 100%.

Signed-off-by: ViktorKorladinov <[email protected]>

* Added comments to wizard-actions and all components' functions that weren't self-explanatory.

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed several bugs after merging. TBD: improve test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage of wizard files raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Added comments to wizard-reducer, hopefully reduced cognitive complexity

Signed-off-by: ViktorKorladinov <[email protected]>

* Test fixes

Signed-off-by: ViktorKorladinov <[email protected]>

* Mechanism for handling optional fields and checking for empty compulsory fields. TBD: Fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard now shows true/false options as checkboxes

Signed-off-by: ViktorKorladinov <[email protected]>

* Boolean property fully works. TBD: mountains of testing : )

Signed-off-by: ViktorKorladinov <[email protected]>

* UI now alerts when a compulsory field is left empty & optional fields are marked as such

Signed-off-by: DianaKorladinova <[email protected]>

* Option property fully works. Fake events substitute the events Select fires.

Signed-off-by: ViktorKorladinov <[email protected]>

* Improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage for WizardInputs raised.

Signed-off-by: ViktorKorladinov <[email protected]>

* Redid functions for unfilled compulsory fields. TBD: fix tests

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed failing tests & improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* maxLength and lowercase properties functional.

Signed-off-by: ViktorKorladinov <[email protected]>

* Tab reorganization.

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfix.

Signed-off-by: DianaKorladinova <[email protected]>

* Dependencies now functional.

Signed-off-by: ViktorKorladinov <[email protected]>

* Tabs now indicate if they have an unfilled field & improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage of WizardInputs raised

Signed-off-by: ViktorKorladinov <[email protected]>

* Added mechanism for generating warnings when deleting filled fields & improved test coverage. TBD: Add the actual warnings

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfixes of unfilled validation

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed failing tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Restructuring. TBD: fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised coverage of WizardNavigation, WizardInputs and WizardDialog to 100.

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed wizard-reducer tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed some code smells.

Signed-off-by: ViktorKorladinov <[email protected]>

* Simplified and streamlined the way a category's content is used.

Signed-off-by: ViktorKorladinov <[email protected]>

* Reduced reducer's cognitive complexity

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed WizardInputs tests

Signed-off-by: ViktorKorladinov <[email protected]>

Co-authored-by: DianaKorladinova <[email protected]>
Co-authored-by: Andrea Tabone <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* refactor: GH1625 integration test refactor (#1727)

* move access tests to functional

Signed-off-by: jandadav <[email protected]>

* Change to GatewayRequests

Signed-off-by: jandadav <[email protected]>

* cleanup

Signed-off-by: jandadav <[email protected]>

* Move the complexity to the Requests.

Signed-off-by: Jakub Balhar <[email protected]>

Co-authored-by: Jakub Balhar <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* feat: compress response if service wants to (#1728)

* initial commit, compress response if service wants to

Signed-off-by: achmelo <[email protected]>

* add unit tests

Signed-off-by: achmelo <[email protected]>

* empty gzip body should be 20 bytes

Signed-off-by: achmelo <[email protected]>

* test flush buffers

Signed-off-by: achmelo <[email protected]>

* test no instances available and close buffers

Signed-off-by: achmelo <[email protected]>

* compress per service acceptance test

Signed-off-by: achmelo <[email protected]>

* compress per service acceptance test

Signed-off-by: achmelo <[email protected]>

* resolve conflicts

Signed-off-by: achmelo <[email protected]>

* provide description for filter class

Signed-off-by: achmelo <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* fix: check for correct URI pattern (#1732)

Signed-off-by: achmelo <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* chore: Publish Zowe Conformant Gateway image (#1730)

* Set base image to zowe base

Signed-off-by: Carson Cook <[email protected]>

* Add initial containers structure

Signed-off-by: Carson Cook <[email protected]>

* Use first shared action for GW image

Signed-off-by: Carson Cook <[email protected]>

* Set up prepare script

Signed-off-by: Carson Cook <[email protected]>

* Allow docker to run start script indefinitely

Signed-off-by: Carson Cook <[email protected]>

* Clean up prepare script

Signed-off-by: Carson Cook <[email protected]>

* Add default values to start.sh

Signed-off-by: Carson Cook <[email protected]>

* Add readme for GW image

Signed-off-by: Carson Cook <[email protected]>

* Rename workflow appropriately

Signed-off-by: Carson Cook <[email protected]>

* Add ubuntu-s390x workflow

Signed-off-by: Carson Cook <[email protected]>

* Add ubi amd64 workflow

Signed-off-by: Carson Cook <[email protected]>

* Add define manifest jobs

Signed-off-by: Carson Cook <[email protected]>

* Add ubi s390x job

Signed-off-by: Carson Cook <[email protected]>

* Add image jobs to release workflows

Signed-off-by: Carson Cook <[email protected]>

* Use strategy.matrix to combine ubi and ubuntu jobs

Signed-off-by: Carson Cook <[email protected]>

* Fix syntax error

Signed-off-by: Carson Cook <[email protected]>

* Use strategy matrix to combine release jobs for ubuntu and ubi images

Signed-off-by: Carson Cook <[email protected]>

* Use proper permissions for manifests jobs

Signed-off-by: Carson Cook <[email protected]>

* Add back pid and wait for java to stop early container exit

Signed-off-by: Carson Cook <[email protected]>

* Set image artifactory users to delete permission for replacing images

Signed-off-by: Carson Cook <[email protected]>

* feat: SSE - turbine stream access through gateway

Signed-off-by: Kumar Saurabh Raj <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* fix: Turbine SSE - multi client support

Signed-off-by: Kumar Saurabh Raj <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* fix: code smells in ServerSentEventProxyHandler

Signed-off-by: Kumar Saurabh Raj <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* changes for testing

Signed-off-by: Carson Cook <[email protected]>

* enable turbine

Signed-off-by: Carson Cook <[email protected]>

* embeded metrics dashboards

Signed-off-by: Carson Cook <[email protected]>

* Update version

Signed-off-by: Carson Cook <[email protected]>

* [Gradle Release plugin] Before tag commit 'v1.24.3'.

Signed-off-by: Carson Cook <[email protected]>

* [Gradle Release plugin] Create new version: 'v1.24.4-SNAPSHOT'.

Signed-off-by: Carson Cook <[email protected]>

* feat: SAF resource access check controller (#1734)

* feat: SAF check controller

Signed-off-by: jandadav <[email protected]>

* extend test for coverage

Signed-off-by: jandadav <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* fix: configurable timeout to verify the zOSMF availability (#1738)

Signed-off-by: achmelo <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* fix: exclude tls_rsa ciphers (#1737)

* exclude tls_rsa ciphers

Signed-off-by: achmelo <[email protected]>

* remove exclude ciphers

Signed-off-by: achmelo <[email protected]>

* revert

Signed-off-by: achmelo <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* chore: Upgrade dependencies for 1.24 release (#1736)

* Upgrade spring security to 5.3.11 everywhere

Signed-off-by: Jakub Balhar <[email protected]>

* Force upgrade xstream to 1.4.18

Signed-off-by: Jakub Balhar <[email protected]>

* Force upgrade jquery to 3.5.1

Signed-off-by: Jakub Balhar <[email protected]>

* Force upgrade json-smart to 2.4.7

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade micronaut version to 2.5.12

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade jackson databind in zaas client

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade eureka client

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade Spring fox dependency to 2.9.2

Signed-off-by: Jakub Balhar <[email protected]>

* Remove unused jakarta from whole project.

Signed-off-by: Jakub Balhar <[email protected]>

* Split build of Zowe confomrant containers

Signed-off-by: Jakub Balhar <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* chore: explain override to jwtSecurityInitializer timeout (#1739)

Signed-off-by: jandadav <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* chore: Zowe Conformant images for all services (#1731)

* Set base image to zowe base

Signed-off-by: Carson Cook <[email protected]>

* Add initial containers structure

Signed-off-by: Carson Cook <[email protected]>

* Use first shared action for GW image

Signed-off-by: Carson Cook <[email protected]>

* Set up prepare script

Signed-off-by: Carson Cook <[email protected]>

* Allow docker to run start script indefinitely

Signed-off-by: Carson Cook <[email protected]>

* Clean up prepare script

Signed-off-by: Carson Cook <[email protected]>

* Add default values to start.sh

Signed-off-by: Carson Cook <[email protected]>

* Add readme for GW image

Signed-off-by: Carson Cook <[email protected]>

* Rename workflow appropriately

Signed-off-by: Carson Cook <[email protected]>

* Add ubuntu-s390x workflow

Signed-off-by: Carson Cook <[email protected]>

* Add ubi amd64 workflow

Signed-off-by: Carson Cook <[email protected]>

* Add define manifest jobs

Signed-off-by: Carson Cook <[email protected]>

* Add ubi s390x job

Signed-off-by: Carson Cook <[email protected]>

* Add image jobs to release workflows

Signed-off-by: Carson Cook <[email protected]>

* Use strategy.matrix to combine ubi and ubuntu jobs

Signed-off-by: Carson Cook <[email protected]>

* Fix syntax error

Signed-off-by: Carson Cook <[email protected]>

* Use strategy matrix to combine release jobs for ubuntu and ubi images

Signed-off-by: Carson Cook <[email protected]>

* Use proper permissions for manifests jobs

Signed-off-by: Carson Cook <[email protected]>

* Prepare structure for more services

Signed-off-by: Carson Cook <[email protected]>

* Test matrix for service name

Signed-off-by: Carson Cook <[email protected]>

* Fix directories for prepare scripts

Signed-off-by: Carson Cook <[email protected]>

* Add back pid and wait for java to stop early container exit

Signed-off-by: Carson Cook <[email protected]>

* Fix master merge adding unneeded files

Signed-off-by: Carson Cook <[email protected]>

* Add discovery service to containers

Signed-off-by: Carson Cook <[email protected]>

* Fix directory name in workflow

Signed-off-by: Carson Cook <[email protected]>

* Add default for DS peers

Signed-off-by: Carson Cook <[email protected]>

* Add caching service

Signed-off-by: Carson Cook <[email protected]>

* Add api catalog

Signed-off-by: Carson Cook <[email protected]>

* Add new services to one workflow as test

Signed-off-by: Carson Cook <[email protected]>

* Update readme for other service images

Signed-off-by: Carson Cook <[email protected]>

* Fix caching service default port

Signed-off-by: Carson Cook <[email protected]>

* Add all service images to all jobs

Signed-off-by: Carson Cook <[email protected]>

* Run CS and AC in background

Signed-off-by: Carson Cook <[email protected]>

* WIP debug CS

Signed-off-by: Carson Cook <[email protected]>

* Update version

* [Gradle Release plugin] Before tag commit 'v1.24.3'.

* [Gradle Release plugin] Create new version: 'v1.24.4-SNAPSHOT'.

* feat: SAF resource access check controller (#1734)

* feat: SAF check controller

Signed-off-by: jandadav <[email protected]>

* extend test for coverage

Signed-off-by: jandadav <[email protected]>

* fix: configurable timeout to verify the zOSMF availability (#1738)

Signed-off-by: achmelo <[email protected]>

* fix: exclude tls_rsa ciphers (#1737)

* exclude tls_rsa ciphers

Signed-off-by: achmelo <[email protected]>

* remove exclude ciphers

Signed-off-by: achmelo <[email protected]>

* revert

Signed-off-by: achmelo <[email protected]>

* chore: Upgrade dependencies for 1.24 release (#1736)

* Upgrade spring security to 5.3.11 everywhere

Signed-off-by: Jakub Balhar <[email protected]>

* Force upgrade xstream to 1.4.18

Signed-off-by: Jakub Balhar <[email protected]>

* Force upgrade jquery to 3.5.1

Signed-off-by: Jakub Balhar <[email protected]>

* Force upgrade json-smart to 2.4.7

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade micronaut version to 2.5.12

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade jackson databind in zaas client

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade eureka client

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade Spring fox dependency to 2.9.2

Signed-off-by: Jakub Balhar <[email protected]>

* Remove unused jakarta from whole project.

Signed-off-by: Jakub Balhar <[email protected]>

* Split build of Zowe confomrant containers

Signed-off-by: Jakub Balhar <[email protected]>

* chore: explain override to jwtSecurityInitializer timeout (#1739)

Signed-off-by: jandadav <[email protected]>

* Fix CS default values

Signed-off-by: Carson Cook <[email protected]>

* Fix missing env var in release workflows

Signed-off-by: Carson Cook <[email protected]>

* Fix dockerfile name lables

Signed-off-by: Carson Cook <[email protected]>

* Add GATEWAY_HOST param for API CATALOG

Signed-off-by: Carson Cook <[email protected]>

* Fix typo

Signed-off-by: Carson Cook <[email protected]>

Co-authored-by: Zowe Robot <[email protected]>
Co-authored-by: David Janda <[email protected]>
Co-authored-by: achmelo <[email protected]>
Co-authored-by: Jakub Balhar <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* refactor: Combine amd64 and s390x image jobs (#1740)

* Add if logic to steps to combine amd64 and s390x jobs

Signed-off-by: Carson Cook <[email protected]>

* Fix syntax for if check

Signed-off-by: Carson Cook <[email protected]>

* Fix syntax for if check

Signed-off-by: Carson Cook <[email protected]>

* Combine s390x and amd64 for release jobs

Signed-off-by: Carson Cook <[email protected]>

* feat: Wizard configuration (#1722)

* Allows for more inputs where multiple configurations can be present. Updated input data for the Plain Java Enabler. TBD: testing.

Signed-off-by: DianaKorladinova <[email protected]>

* WizardInputs test coverage now at 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Multiple configs of same category now visually divided, wizard-reducer test coverage raised to 100%

Signed-off-by: ViktorKorladinov <[email protected]>

* Squashed bug occurring after loading already wrapped in array category content.

Signed-off-by: ViktorKorladinov <[email protected]>

* Plain Java Enabler data configuration.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard reducer refactoring.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised wizard reducer coverage to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Foundation for YAML generation.

Signed-off-by: DianaKorladinova <[email protected]>

* YAML now shows in its own tab. TBD: lots of bug squashing.

Signed-off-by: ViktorKorladinov <[email protected]>

* YAML Visualizer test

Signed-off-by: ViktorKorladinov <[email protected]>

* Wizard actions and reducer test coverage raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed Next / Save button bug, added 'Copy' button the the YAML result tab.

Signed-off-by: ViktorKorladinov <[email protected]>

* Test coverage for wizard files raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Styling of YAML code

Signed-off-by: ViktorKorladinov <[email protected]>

* Added a missing function after merge.

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfix.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed npm warning on yaml package

Signed-off-by: at670475 <[email protected]>

* Moved the yaml dependency to the correct package.json

Signed-off-by: DianaKorladinova <[email protected]>

* Spring Enabler category configuration

Signed-off-by: DianaKorladinova <[email protected]>

* Created a defaults file and configured spring defaults.

Signed-off-by: ViktorKorladinov <[email protected]>

* Injecting default values operational.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised test coverage to 100% & added a missing category for the Spring Enabler.

Signed-off-by: DianaKorladinova <[email protected]>

* Moved different components into separate sub-folders, reduced size of wizard-config.jsx by dividing the data inside into 2 files - wizard_categories.jsx and wizard_onboarding_methods.jsx.

Signed-off-by: ViktorKorladinov <[email protected]>

* WizardNavigation component now able to group multiple categories under a single tab. Test coverage raised to 100%.

Signed-off-by: ViktorKorladinov <[email protected]>

* Added comments to wizard-actions and all components' functions that weren't self-explanatory.

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed several bugs after merging. TBD: improve test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage of wizard files raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Added comments to wizard-reducer, hopefully reduced cognitive complexity

Signed-off-by: ViktorKorladinov <[email protected]>

* Test fixes

Signed-off-by: ViktorKorladinov <[email protected]>

* Mechanism for handling optional fields and checking for empty compulsory fields. TBD: Fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard now shows true/false options as checkboxes

Signed-off-by: ViktorKorladinov <[email protected]>

* Boolean property fully works. TBD: mountains of testing : )

Signed-off-by: ViktorKorladinov <[email protected]>

* UI now alerts when a compulsory field is left empty & optional fields are marked as such

Signed-off-by: DianaKorladinova <[email protected]>

* Option property fully works. Fake events substitute the events Select fires.

Signed-off-by: ViktorKorladinov <[email protected]>

* Improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage for WizardInputs raised.

Signed-off-by: ViktorKorladinov <[email protected]>

* Redid functions for unfilled compulsory fields. TBD: fix tests

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed failing tests & improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* maxLength and lowercase properties functional.

Signed-off-by: ViktorKorladinov <[email protected]>

* Tab reorganization.

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfix.

Signed-off-by: DianaKorladinova <[email protected]>

* Dependencies now functional.

Signed-off-by: ViktorKorladinov <[email protected]>

* Tabs now indicate if they have an unfilled field & improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage of WizardInputs raised

Signed-off-by: ViktorKorladinov <[email protected]>

* Added mechanism for generating warnings when deleting filled fields & improved test coverage. TBD: Add the actual warnings

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfixes of unfilled validation

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed failing tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Restructuring. TBD: fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised coverage of WizardNavigation, WizardInputs and WizardDialog to 100.

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed wizard-reducer tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed some code smells.

Signed-off-by: ViktorKorladinov <[email protected]>

* Indentation dependency now available. TBD: fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Array wrapping of some YAML categories for static onboarding. TBD: fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed & added tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard dialog 'Next' button fix.

Signed-off-by: DianaKorladinova <[email protected]>

* Post-merge fixes.

Signed-off-by: DianaKorladinova <[email protected]>

Co-authored-by: ViktorKorladinov <[email protected]>
Co-authored-by: Andrea Tabone <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* refactor: Remove required LAUNCH_COMPONENT from conformant containers environment variables (#1741)

* Set base image to zowe base

Signed-off-by: Carson Cook <[email protected]>

* Add initial containers structure

Signed-off-by: Carson Cook <[email protected]>

* Use first shared action for GW image

Signed-off-by: Carson Cook <[email protected]>

* Set up prepare script

Signed-off-by: Carson Cook <[email protected]>

* Allow docker to run start script indefinitely

Signed-off-by: Carson Cook <[email protected]>

* Clean up prepare script

Signed-off-by: Carson Cook <[email protected]>

* Add default values to start.sh

Signed-off-by: Carson Cook <[email protected]>

* Add readme for GW image

Signed-off-by: Carson Cook <[email protected]>

* Rename workflow appropriately

Signed-off-by: Carson Cook <[email protected]>

* Add ubuntu-s390x workflow

Signed-off-by: Carson Cook <[email protected]>

* Add ubi amd64 workflow

Signed-off-by: Carson Cook <[email protected]>

* Add define manifest jobs

Signed-off-by: Carson Cook <[email protected]>

* Add ubi s390x job

Signed-off-by: Carson Cook <[email protected]>

* Add image jobs to release workflows

Signed-off-by: Carson Cook <[email protected]>

* Use strategy.matrix to combine ubi and ubuntu jobs

Signed-off-by: Carson Cook <[email protected]>

* Fix syntax error

Signed-off-by: Carson Cook <[email protected]>

* Use strategy matrix to combine release jobs for ubuntu and ubi images

Signed-off-by: Carson Cook <[email protected]>

* Use proper permissions for manifests jobs

Signed-off-by: Carson Cook <[email protected]>

* Prepare structure for more services

Signed-off-by: Carson Cook <[email protected]>

* Test matrix for service name

Signed-off-by: Carson Cook <[email protected]>

* Fix directories for prepare scripts

Signed-off-by: Carson Cook <[email protected]>

* Add back pid and wait for java to stop early container exit

Signed-off-by: Carson Cook <[email protected]>

* Fix master merge adding unneeded files

Signed-off-by: Carson Cook <[email protected]>

* Add discovery service to containers

Signed-off-by: Carson Cook <[email protected]>

* Fix directory name in workflow

Signed-off-by: Carson Cook <[email protected]>

* Add default for DS peers

Signed-off-by: Carson Cook <[email protected]>

* Add caching service

Signed-off-by: Carson Cook <[email protected]>

* Add api catalog

Signed-off-by: Carson Cook <[email protected]>

* Add new services to one workflow as test

Signed-off-by: Carson Cook <[email protected]>

* Update readme for other service images

Signed-off-by: Carson Cook <[email protected]>

* Fix caching service default port

Signed-off-by: Carson Cook <[email protected]>

* Add all service images to all jobs

Signed-off-by: Carson Cook <[email protected]>

* Run CS and AC in background

Signed-off-by: Carson Cook <[email protected]>

* WIP debug CS

Signed-off-by: Carson Cook <[email protected]>

* Update version

* [Gradle Release plugin] Before tag commit 'v1.24.3'.

* [Gradle Release plugin] Create new version: 'v1.24.4-SNAPSHOT'.

* feat: SAF resource access check controller (#1734)

* feat: SAF check controller

Signed-off-by: jandadav <[email protected]>

* extend test for coverage

Signed-off-by: jandadav <[email protected]>

* fix: configurable timeout to verify the zOSMF availability (#1738)

Signed-off-by: achmelo <[email protected]>

* fix: exclude tls_rsa ciphers (#1737)

* exclude tls_rsa ciphers

Signed-off-by: achmelo <[email protected]>

* remove exclude ciphers

Signed-off-by: achmelo <[email protected]>

* revert

Signed-off-by: achmelo <[email protected]>

* chore: Upgrade dependencies for 1.24 release (#1736)

* Upgrade spring security to 5.3.11 everywhere

Signed-off-by: Jakub Balhar <[email protected]>

* Force upgrade xstream to 1.4.18

Signed-off-by: Jakub Balhar <[email protected]>

* Force upgrade jquery to 3.5.1

Signed-off-by: Jakub Balhar <[email protected]>

* Force upgrade json-smart to 2.4.7

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade micronaut version to 2.5.12

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade jackson databind in zaas client

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade eureka client

Signed-off-by: Jakub Balhar <[email protected]>

* Upgrade Spring fox dependency to 2.9.2

Signed-off-by: Jakub Balhar <[email protected]>

* Remove unused jakarta from whole project.

Signed-off-by: Jakub Balhar <[email protected]>

* Split build of Zowe confomrant containers

Signed-off-by: Jakub Balhar <[email protected]>

* chore: explain override to jwtSecurityInitializer timeout (#1739)

Signed-off-by: jandadav <[email protected]>

* Fix CS default values

Signed-off-by: Carson Cook <[email protected]>

* Fix missing env var in release workflows

Signed-off-by: Carson Cook <[email protected]>

* Fix dockerfile name lables

Signed-off-by: Carson Cook <[email protected]>

* Add GATEWAY_HOST param for API CATALOG

Signed-off-by: Carson Cook <[email protected]>

* Fix typo

Signed-off-by: Carson Cook <[email protected]>

* Add start.sh script check for no launch_component set

Signed-off-by: Carson Cook <[email protected]>

Co-authored-by: Zowe Robot <[email protected]>
Co-authored-by: David Janda <[email protected]>
Co-authored-by: achmelo <[email protected]>
Co-authored-by: Jakub Balhar <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* fix: hide logmessages with no value (#1744)

Signed-off-by: jandadav <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* Update version

Signed-off-by: Carson Cook <[email protected]>

* [Gradle Release plugin] Before tag commit 'v1.24.4'.

Signed-off-by: Carson Cook <[email protected]>

* [Gradle Release plugin] Create new version: 'v1.24.5-SNAPSHOT'.

Signed-off-by: Carson Cook <[email protected]>

* feat: Static Definition creation endpoints in API Catalog (#1735)

* WIP

Signed-off-by: at670475 <[email protected]>

* Add controller and error handler

Signed-off-by: at670475 <[email protected]>

* Add override controller

Signed-off-by: at670475 <[email protected]>

* Refactoring and debug log

Signed-off-by: at670475 <[email protected]>

* Add license and fix checkstyle

Signed-off-by: at670475 <[email protected]>

* Add functionality to retrieve static location from discovery env endpoint

Signed-off-by: at670475 <[email protected]>

* Add unit test

Signed-off-by: at670475 <[email protected]>

* Add tests

Signed-off-by: at670475 <[email protected]>

* Fix code smell

Signed-off-by: at670475 <[email protected]>

* Fix bug

Signed-off-by: at670475 <[email protected]>

* Add more test

Signed-off-by: at670475 <[email protected]>

* Raise coverage

Signed-off-by: at670475 <[email protected]>

* Address code review comments

Signed-off-by: at670475 <[email protected]>

* Address code review comments pt.2

Signed-off-by: at670475 <[email protected]>

* Change the logic and add shared volumes mount

Signed-off-by: at670475 <[email protected]>

* Add integration tests

Signed-off-by: at670475 <[email protected]>

* Fix location

Signed-off-by: at670475 <[email protected]>

* Add logs

Signed-off-by: at670475 <[email protected]>

* Set environment variable in docker containers

Signed-off-by: at670475 <[email protected]>

* more debugging

Signed-off-by: at670475 <[email protected]>

* additional debug

Signed-off-by: at670475 <[email protected]>

* Fix test

Signed-off-by: at670475 <[email protected]>

* Improve check

Signed-off-by: at670475 <[email protected]>

* Fix indentation

Signed-off-by: at670475 <[email protected]>

* Change the way to get static location

Signed-off-by: at670475 <[email protected]>

* Fix IT

Signed-off-by: at670475 <[email protected]>

* Fix static def path

Signed-off-by: at670475 <[email protected]>

* Try the docker URL

Signed-off-by: Jakub Balhar <[email protected]>

* Another take on volumes

Signed-off-by: Jakub Balhar <[email protected]>

* Fix assertion message

Signed-off-by: at670475 <[email protected]>

* Fix

Signed-off-by: at670475 <[email protected]>

* Revert changes

Signed-off-by: at670475 <[email protected]>

* Get the first directory defined

Signed-off-by: at670475 <[email protected]>

* Fix code smells

Signed-off-by: at670475 <[email protected]>

* Revert staticApiservice

Signed-off-by: at670475 <[email protected]>

* Increase code coverage

Signed-off-by: at670475 <[email protected]>

* revert docker-compose.yml files for local setup

Signed-off-by: at670475 <[email protected]>

Co-authored-by: Jakub Balhar <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* feat: Wizard NodeJS & Micronaut enablers' configurations (#1733)

* Allows for more inputs where multiple configurations can be present. Updated input data for the Plain Java Enabler. TBD: testing.

Signed-off-by: DianaKorladinova <[email protected]>

* WizardInputs test coverage now at 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Multiple configs of same category now visually divided, wizard-reducer test coverage raised to 100%

Signed-off-by: ViktorKorladinov <[email protected]>

* Squashed bug occurring after loading already wrapped in array category content.

Signed-off-by: ViktorKorladinov <[email protected]>

* Plain Java Enabler data configuration.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard reducer refactoring.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised wizard reducer coverage to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Foundation for YAML generation.

Signed-off-by: DianaKorladinova <[email protected]>

* YAML now shows in its own tab. TBD: lots of bug squashing.

Signed-off-by: ViktorKorladinov <[email protected]>

* YAML Visualizer test

Signed-off-by: ViktorKorladinov <[email protected]>

* Wizard actions and reducer test coverage raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed Next / Save button bug, added 'Copy' button the the YAML result tab.

Signed-off-by: ViktorKorladinov <[email protected]>

* Test coverage for wizard files raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Styling of YAML code

Signed-off-by: ViktorKorladinov <[email protected]>

* Added a missing function after merge.

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfix.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed npm warning on yaml package

Signed-off-by: at670475 <[email protected]>

* Moved the yaml dependency to the correct package.json

Signed-off-by: DianaKorladinova <[email protected]>

* Spring Enabler category configuration

Signed-off-by: DianaKorladinova <[email protected]>

* Created a defaults file and configured spring defaults.

Signed-off-by: ViktorKorladinov <[email protected]>

* Injecting default values operational.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised test coverage to 100% & added a missing category for the Spring Enabler.

Signed-off-by: DianaKorladinova <[email protected]>

* Moved different components into separate sub-folders, reduced size of wizard-config.jsx by dividing the data inside into 2 files - wizard_categories.jsx and wizard_onboarding_methods.jsx.

Signed-off-by: ViktorKorladinov <[email protected]>

* WizardNavigation component now able to group multiple categories under a single tab. Test coverage raised to 100%.

Signed-off-by: ViktorKorladinov <[email protected]>

* Added comments to wizard-actions and all components' functions that weren't self-explanatory.

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed several bugs after merging. TBD: improve test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage of wizard files raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Added comments to wizard-reducer, hopefully reduced cognitive complexity

Signed-off-by: ViktorKorladinov <[email protected]>

* Test fixes

Signed-off-by: ViktorKorladinov <[email protected]>

* Mechanism for handling optional fields and checking for empty compulsory fields. TBD: Fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard now shows true/false options as checkboxes

Signed-off-by: ViktorKorladinov <[email protected]>

* Boolean property fully works. TBD: mountains of testing : )

Signed-off-by: ViktorKorladinov <[email protected]>

* UI now alerts when a compulsory field is left empty & optional fields are marked as such

Signed-off-by: DianaKorladinova <[email protected]>

* Option property fully works. Fake events substitute the events Select fires.

Signed-off-by: ViktorKorladinov <[email protected]>

* Improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage for WizardInputs raised.

Signed-off-by: ViktorKorladinov <[email protected]>

* Redid functions for unfilled compulsory fields. TBD: fix tests

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed failing tests & improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* maxLength and lowercase properties functional.

Signed-off-by: ViktorKorladinov <[email protected]>

* Tab reorganization.

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfix.

Signed-off-by: DianaKorladinova <[email protected]>

* Dependencies now functional.

Signed-off-by: ViktorKorladinov <[email protected]>

* Tabs now indicate if they have an unfilled field & improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage of WizardInputs raised

Signed-off-by: ViktorKorladinov <[email protected]>

* Added mechanism for generating warnings when deleting filled fields & improved test coverage. TBD: Add the actual warnings

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfixes of unfilled validation

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed failing tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Restructuring. TBD: fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised coverage of WizardNavigation, WizardInputs and WizardDialog to 100.

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed wizard-reducer tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed some code smells.

Signed-off-by: ViktorKorladinov <[email protected]>

* Indentation dependency now available. TBD: fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Array wrapping of some YAML categories for static onboarding. TBD: fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed & added tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard dialog 'Next' button fix.

Signed-off-by: DianaKorladinova <[email protected]>

* Post-merge fixes.

Signed-off-by: DianaKorladinova <[email protected]>

* Node Enabler configuration.

Signed-off-by: DianaKorladinova <[email protected]>

* Array indentation mechanism for Micronaut & fixed some tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Micronaut default values.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised test coverage of wizard-reducer and wizard-actions to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Divided category configurations into separate files to improve readability

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed the code smell (hopefully).

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed the code smell (hopefully).

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed the code smell (hopefully).

Signed-off-by: DianaKorladinova <[email protected]>

* Security hotspots.

Signed-off-by: DianaKorladinova <[email protected]>

* remove extra configuration

Signed-off-by: jandadav <[email protected]>

* Updated Node JS configuration.

Signed-off-by: DianaKorladinova <[email protected]>

Co-authored-by: ViktorKorladinov <[email protected]>
Co-authored-by: Andrea Tabone <[email protected]>
Co-authored-by: jandadav <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* refactor: Discovery service functional test infrastructure (#1749)

* add functional test

Signed-off-by: jandadav <[email protected]>

* decouple SslConfig

Signed-off-by: jandadav <[email protected]>

* Introduce test fixture

Signed-off-by: jandadav <[email protected]>

* revert run config

Signed-off-by: jandadav <[email protected]>

* Migrate tests to functional

Signed-off-by: jandadav <[email protected]>

* Migrate additional tests

Signed-off-by: jandadav <[email protected]>

* https config for for dockerized discovery service

Signed-off-by: jandadav <[email protected]>

* Fix code smell

Signed-off-by: at670475 <[email protected]>

* Allow token refresh for local run

Signed-off-by: jandadav <[email protected]>

Co-authored-by: Andrea Tabone <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* feat: Wizard UX tweaks (#1752)

* UX tweaks: modified tab warning sign, changed order for checkboxes and labels, fully acceptable tabs now bold.

Signed-off-by: DianaKorladinova <[email protected]>

* 'Done' button disabled till the end of the wizard is reached.

Signed-off-by: DianaKorladinova <[email protected]>

* Post-merge fixes

Signed-off-by: DianaKorladinova <[email protected]>

* Code smell fix.

Signed-off-by: DianaKorladinova <[email protected]>

Co-authored-by: DianaKorladinova <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* chore: Automatic update for the Changelog for release (#1748)

* Update changelog

Signed-off-by: Zowe Robot <[email protected]>

* Changelog tweaks

Signed-off-by: jandadav <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Andrew Jandacek <[email protected]>

* review points
Signed-off-by: David Janda <[email protected]>

Signed-off-by: jandadav <[email protected]>

* language refacotr

Signed-off-by: Andrew Jandacek <[email protected]>

Co-authored-by: Zowe Robot <[email protected]>
Co-authored-by: David Janda <[email protected]>
Co-authored-by: Andrew Jandacek <[email protected]>
Co-authored-by: David Janda <[email protected]>
Co-authored-by: Andrew Jandacek <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* feat: possibility to delete static def (#1759)

* possibility to delete static def

Signed-off-by: achmelo <[email protected]>

* bug fix

Signed-off-by: achmelo <[email protected]>

* bug fix

Signed-off-by: achmelo <[email protected]>

* assert status code only

Signed-off-by: achmelo <[email protected]>

* styles

Signed-off-by: achmelo <[email protected]>

* invalid service id test

Signed-off-by: achmelo <[email protected]>

* disable test

Signed-off-by: achmelo <[email protected]>

* static compile pattern

Signed-off-by: achmelo <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* fix: static generation (#1761)

Signed-off-by: jandadav <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* feat: static api enpoints protected by SAF check (#1764)

* protect static def api with saf resource check

Signed-off-by: achmelo <[email protected]>

* correct SC

Signed-off-by: achmelo <[email protected]>

* remove access with cert

Signed-off-by: achmelo <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* feat: Provide compression for specific paths only.  (#1755)

* Limit to Accept-Encoding containing gzip
Limit to specific routes.

Signed-off-by: Jakub Balhar <[email protected]>

* Test new and old paths alike.
Test noncompressed paths

Signed-off-by: Jakub Balhar <[email protected]>

* Refactor the Metadata preparation.

Signed-off-by: Jakub Balhar <[email protected]>

* Add Acceptance Tests for the Compression per path

Signed-off-by: Jakub Balhar <[email protected]>

* Use the provided fulent API

Signed-off-by: Jakub Balhar <[email protected]>

* Correctly handle relative paths

Signed-off-by: Jakub Balhar <[email protected]>

* Show debug information from the Gradle.

Signed-off-by: Jakub Balhar <[email protected]>

* Try just building

Signed-off-by: Jakub Balhar <[email protected]>

* Info instead of debug

Signed-off-by: Jakub Balhar <[email protected]>

* Get the info about tests

Signed-off-by: Jakub Balhar <[email protected]>

* Remove the cached packages.

Signed-off-by: Jakub Balhar <[email protected]>

* Limit the amount of time taken

Signed-off-by: Jakub Balhar <[email protected]>

* Provide scan after the build

Signed-off-by: Jakub Balhar <[email protected]>

* Verify the build of gateway service

Signed-off-by: Jakub Balhar <[email protected]>

* Try removing the functional tests

Signed-off-by: Jakub Balhar <[email protected]>

* Return one functional test

Signed-off-by: Jakub Balhar <[email protected]>

* Return the tests

Signed-off-by: Jakub Balhar <[email protected]>

* Limit the tests to the default configuration

Signed-off-by: Jakub Balhar <[email protected]>

* Return the previous setup

Signed-off-by: Jakub Balhar <[email protected]>

* Test response isn't compressed when client doesn't accept gzip encoding

Signed-off-by: Jakub Balhar <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* fix: Zaas client to not send a certificate during authentication  (#1763)

* Fix usage of empty keystore in https client

Signed-off-by: JirkaAichler <[email protected]>

* Add unit test

Signed-off-by: JirkaAichler <[email protected]>

* Comment code

Signed-off-by: JirkaAichler <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* feat: Wizard automatic onboarding & SAF check (#1751)

* Allows for more inputs where multiple configurations can be present. Updated input data for the Plain Java Enabler. TBD: testing.

Signed-off-by: DianaKorladinova <[email protected]>

* WizardInputs test coverage now at 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Multiple configs of same category now visually divided, wizard-reducer test coverage raised to 100%

Signed-off-by: ViktorKorladinov <[email protected]>

* Squashed bug occurring after loading already wrapped in array category content.

Signed-off-by: ViktorKorladinov <[email protected]>

* Plain Java Enabler data configuration.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard reducer refactoring.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised wizard reducer coverage to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Foundation for YAML generation.

Signed-off-by: DianaKorladinova <[email protected]>

* YAML now shows in its own tab. TBD: lots of bug squashing.

Signed-off-by: ViktorKorladinov <[email protected]>

* YAML Visualizer test

Signed-off-by: ViktorKorladinov <[email protected]>

* Wizard actions and reducer test coverage raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed Next / Save button bug, added 'Copy' button the the YAML result tab.

Signed-off-by: ViktorKorladinov <[email protected]>

* Test coverage for wizard files raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Styling of YAML code

Signed-off-by: ViktorKorladinov <[email protected]>

* Added a missing function after merge.

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfix.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed npm warning on yaml package

Signed-off-by: at670475 <[email protected]>

* Moved the yaml dependency to the correct package.json

Signed-off-by: DianaKorladinova <[email protected]>

* Spring Enabler category configuration

Signed-off-by: DianaKorladinova <[email protected]>

* Created a defaults file and configured spring defaults.

Signed-off-by: ViktorKorladinov <[email protected]>

* Injecting default values operational.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised test coverage to 100% & added a missing category for the Spring Enabler.

Signed-off-by: DianaKorladinova <[email protected]>

* Moved different components into separate sub-folders, reduced size of wizard-config.jsx by dividing the data inside into 2 files - wizard_categories.jsx and wizard_onboarding_methods.jsx.

Signed-off-by: ViktorKorladinov <[email protected]>

* WizardNavigation component now able to group multiple categories under a single tab. Test coverage raised to 100%.

Signed-off-by: ViktorKorladinov <[email protected]>

* Added comments to wizard-actions and all components' functions that weren't self-explanatory.

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed several bugs after merging. TBD: improve test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage of wizard files raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Added comments to wizard-reducer, hopefully reduced cognitive complexity

Signed-off-by: ViktorKorladinov <[email protected]>

* Test fixes

Signed-off-by: ViktorKorladinov <[email protected]>

* Mechanism for handling optional fields and checking for empty compulsory fields. TBD: Fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard now shows true/false options as checkboxes

Signed-off-by: ViktorKorladinov <[email protected]>

* Boolean property fully works. TBD: mountains of testing : )

Signed-off-by: ViktorKorladinov <[email protected]>

* UI now alerts when a compulsory field is left empty & optional fields are marked as such

Signed-off-by: DianaKorladinova <[email protected]>

* Option property fully works. Fake events substitute the events Select fires.

Signed-off-by: ViktorKorladinov <[email protected]>

* Improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage for WizardInputs raised.

Signed-off-by: ViktorKorladinov <[email protected]>

* Redid functions for unfilled compulsory fields. TBD: fix tests

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed failing tests & improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* maxLength and lowercase properties functional.

Signed-off-by: ViktorKorladinov <[email protected]>

* Tab reorganization.

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfix.

Signed-off-by: DianaKorladinova <[email protected]>

* Dependencies now functional.

Signed-off-by: ViktorKorladinov <[email protected]>

* Tabs now indicate if they have an unfilled field & improved test coverage.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage of WizardInputs raised

Signed-off-by: ViktorKorladinov <[email protected]>

* Added mechanism for generating warnings when deleting filled fields & improved test coverage. TBD: Add the actual warnings

Signed-off-by: DianaKorladinova <[email protected]>

* Hotfixes of unfilled validation

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed failing tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Restructuring. TBD: fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised coverage of WizardNavigation, WizardInputs and WizardDialog to 100.

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed wizard-reducer tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Fixed some code smells.

Signed-off-by: ViktorKorladinov <[email protected]>

* Indentation dependency now available. TBD: fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Array wrapping of some YAML categories for static onboarding. TBD: fix tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Simplified and streamlined the way a category's content is used.

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed & added tests.

Signed-off-by: DianaKorladinova <[email protected]>

* Reduced reducer's cognitive complexity

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed a failing test

Signed-off-by: ViktorKorladinov <[email protected]>

* Request now fires with valid YAML as body. Response is handled both for success and error.

Signed-off-by: ViktorKorladinov <[email protected]>

* YAML is sent only if data validation checks pass.

Signed-off-by: ViktorKorladinov <[email protected]>

* Raised test coverage

Signed-off-by: ViktorKorladinov <[email protected]>

* Fetch-action sends a valid POST request

Signed-off-by: ViktorKorladinov <[email protected]>

* Fetch-action request body refactored to a  plain/text format

Signed-off-by: ViktorKorladinov <[email protected]>

* WIP

Signed-off-by: at670475 <[email protected]>

* Ready for SAF check.

Signed-off-by: ViktorKorladinov <[email protected]>

* Add controller and error handler

Signed-off-by: at670475 <[email protected]>

* Add override controller

Signed-off-by: at670475 <[email protected]>

* Refactoring and debug log

Signed-off-by: at670475 <[email protected]>

* Add license and fix checkstyle

Signed-off-by: at670475 <[email protected]>

* Add functionality to retrieve static location from discovery env endpoint

Signed-off-by: at670475 <[email protected]>

* Add unit test

Signed-off-by: at670475 <[email protected]>

* Add tests

Signed-off-by: at670475 <[email protected]>

* SAF check determines whether user can onboard APIs or not.

Signed-off-by: ViktorKorladinov <[email protected]>

* Fix code smell

Signed-off-by: at670475 <[email protected]>

* Fix bug

Signed-off-by: at670475 <[email protected]>

* Add more test

Signed-off-by: at670475 <[email protected]>

* Raise coverage

Signed-off-by: at670475 <[email protected]>

* Address code review comments

Signed-off-by: at670475 <[email protected]>

* Address code review comments pt.2

Signed-off-by: at670475 <[email protected]>

* Change the logic and add shared volumes mount

Signed-off-by: at670475 <[email protected]>

* Add integration tests

Signed-off-by: at670475 <[email protected]>

* Fix location

Signed-off-by: at670475 <[email protected]>

* Add logs

Signed-off-by: at670475 <[email protected]>

* Set environment variable in docker containers

Signed-off-by: at670475 <[email protected]>

* more debugging

Signed-off-by: at670475 <[email protected]>

* additional debug

Signed-off-by: at670475 <[email protected]>

* Fix test

Signed-off-by: at670475 <[email protected]>

* Improve check

Signed-off-by: at670475 <[email protected]>

* Fix indentation

Signed-off-by: at670475 <[email protected]>

* Change the way to get static location

Signed-off-by: at670475 <[email protected]>

* Fix IT

Signed-off-by: at670475 <[email protected]>

* Fix static def path

Signed-off-by: at670475 <[email protected]>

* POST requests now contain serviceId in the headers

Signed-off-by: ViktorKorladinov <[email protected]>

* Try the docker URL

Signed-off-by: Jakub Balhar <[email protected]>

* Another take on volumes

Signed-off-by: Jakub Balhar <[email protected]>

* Fix assertion message

Signed-off-by: at670475 <[email protected]>

* Fix

Signed-off-by: at670475 <[email protected]>

* Revert changes

Signed-off-by: at670475 <[email protected]>

* Get the first directory defined

Signed-off-by: at670475 <[email protected]>

* Fix code smells

Signed-off-by: at670475 <[email protected]>

* Revert staticApiservice

Signed-off-by: at670475 <[email protected]>

* Increase code coverage

Signed-off-by: at670475 <[email protected]>

* revert docker-compose.yml files for local setup

Signed-off-by: at670475 <[email protected]>

* Merged backend endpoints and wired them together. Automatic onboarding now successfully handles normal saves & overwrites.

Signed-off-by: ViktorKorladinov <[email protected]>

* Bugfix

Signed-off-by: ViktorKorladinov <[email protected]>

* Test coverage of wizard-actions, wizard-reducer and WizardInputs now at 100%. Raised test coverage for wizard-fetch-actions.

Signed-off-by: DianaKorladinova <[email protected]>

* Test coverage of ConfirmDialog raised to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* post-merge fixes

Signed-off-by: ViktorKorladinov <[email protected]>

* Fixed bug where all enablers tried to save

Signed-off-by: ViktorKorladinov <[email protected]>

* Static onboarding shows up only if user's SAF check passes.

Signed-off-by: ViktorKorladinov <[email protected]>

* Post-merge fixes (handleIndentationDependency, handleArrayIndentation, tests).

Signed-off-by: DianaKorladinova <[email protected]>

Co-authored-by: DianaKorladinova <[email protected]>
Co-authored-by: Andrea Tabone <[email protected]>
Co-authored-by: Jakub Balhar <[email protected]>
Co-authored-by: achmelo <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* Update version

Signed-off-by: Carson Cook <[email protected]>

* [Gradle Release plugin] Before tag commit 'v1.24.5'.

Signed-off-by: Carson Cook <[email protected]>

* [Gradle Release plugin] Create new version: 'v1.24.6-SNAPSHOT'.

Signed-off-by: Carson Cook <[email protected]>

* chore: share filesystem for static definitions (#1765)

* share filesystem for static definitions

Signed-off-by: jandadav <[email protected]>

* debug docker logs

Signed-off-by: jandadav <[email protected]>

* debug docker logs 2

Signed-off-by: jandadav <[email protected]>

* working directory

Signed-off-by: jandadav <[email protected]>

* debug

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* use docker compose

Signed-off-by: jandadav <[email protected]>

* add local docker shared apidef dirs

Signed-off-by: jandadav <[email protected]>

* add gh actions shared apidef dirs

Signed-off-by: jandadav <[email protected]>

* rebuild containers

Signed-off-by: jandadav <[email protected]>

* run full test

Signed-off-by: jandadav <[email protected]>

* move docker compose shared mount

Signed-off-by: jandadav <[email protected]>

* remove nginx

Signed-off-by: jandadav <[email protected]>

* volumes everywhere

Signed-off-by: jandadav <[email protected]>

* volumes everywhere

Signed-off-by: jandadav <[email protected]>

* revert debug changes

Signed-off-by: jandadav <[email protected]>

* revert imports

Signed-off-by: jandadav <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* fix: Fix flaky unit test (#1771)

Fix flaky test

Signed-off-by: at670475 <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* chore: Support v2.x.x branch and clean statistics (#1775)

Signed-off-by: Jakub Balhar <[email protected]>
Signed-off-by: Carson Cook <[email protected]>

* feat: Wizard improvements (#1772)

* Allows for more inputs where multiple configurations can be present. Updated input data for the Plain Java Enabler. TBD: testing.

Signed-off-by: DianaKorladinova <[email protected]>

* WizardInputs test coverage now at 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Multiple configs of same category now visually divided, wizard-reducer test coverage raised to 100%

Signed-off-by: ViktorKorladinov <[email protected]>

* Squashed bug occurring after loading already wrapped in array category content.

Signed-off-by: ViktorKorladinov <[email protected]>

* Plain Java Enabler data configuration.

Signed-off-by: DianaKorladinova <[email protected]>

* Wizard reducer refactoring.

Signed-off-by: DianaKorladinova <[email protected]>

* Raised wizard reducer coverage to 100%.

Signed-off-by: DianaKorladinova <[email protected]>

* Foundation for YAML generation.

Signed-off-by: DianaKorladinova <[email protected]>

* YAML now shows in its own tab. TBD: lots of bug squashing.

Signed-off-by: ViktorKorladinov <[email protected]>

* YAML Visualizer test

Signed-off-by: ViktorKorladinov <[email protected]>
…
* Fix script

Signed-off-by: at670475 <[email protected]>

* Update gateway-package/src/main/resources/bin/start.sh

Co-authored-by: Pavel Jareš <[email protected]>

* Change other scripts

Signed-off-by: at670475 <[email protected]>

* Change zowe-dev script

Signed-off-by: at670475 <[email protected]>

* Use parameter

Signed-off-by: at670475 <[email protected]>

Co-authored-by: Pavel Jareš <[email protected]>
* Fix dependency vulnerabilities in the Caching Service

Signed-off-by: Jakub Balhar <[email protected]>

* Clean and update zaas-client dependencies

Signed-off-by: Jakub Balhar <[email protected]>

Co-authored-by: Jakub Balhar <[email protected]>
* Add proper ms icon

Signed-off-by: Carson Cook <[email protected]>

* Add ms favicon

Signed-off-by: Carson Cook <[email protected]>

* Fix metrics button icon for header

Signed-off-by: Carson Cook <[email protected]>

* Make icon colour customizable

Signed-off-by: Carson Cook <[email protected]>

* Fix ui unit tests

Signed-off-by: Carson Cook <[email protected]>
* Add first functional test for the metrics service

Signed-off-by: Jakub Balhar <[email protected]>

* Remove irrelevant changes

Signed-off-by: Jakub Balhar <[email protected]>

* Remove unused test properties

Signed-off-by: Jakub Balhar <[email protected]>

* Remove unneeded public modifier

Signed-off-by: Jakub Balhar <[email protected]>

Co-authored-by: Jakub Balhar <[email protected]>
* render dashboard

Signed-off-by: achmelo <[email protected]>

* exclude mock zosmf from tests

Signed-off-by: achmelo <[email protected]>

* user actions and dashboard unit tests

Signed-off-by: achmelo <[email protected]>

* lock specific dep

Signed-off-by: achmelo <[email protected]>
* run metrics service as a part of IT

Signed-off-by: achmelo <[email protected]>

* fix styles

Signed-off-by: achmelo <[email protected]>

* use real credentials

Signed-off-by: achmelo <[email protected]>

* uri from gw

Signed-off-by: achmelo <[email protected]>

* remove public modifier

Signed-off-by: achmelo <[email protected]>

* add APICATALOG

Signed-off-by: achmelo <[email protected]>
* remove spring boot web

Signed-off-by: achmelo <[email protected]>

* remove tomcat

Signed-off-by: achmelo <[email protected]>
* Provide basic documentation on the VSAM

Signed-off-by: Jakub Balhar <[email protected]>

* Minor grammar and consistency tweaks

Signed-off-by: Carson Cook <[email protected]>

Co-authored-by: Jakub Balhar <[email protected]>
Co-authored-by: Carson Cook <[email protected]>
* Remove security for / path for ms

Signed-off-by: Carson Cook <[email protected]>

* Add middleware to check for auth and forward to login if not authed

Signed-off-by: Carson Cook <[email protected]>

* Clean up ms security config

Signed-off-by: Carson Cook <[email protected]>

* Fix security config

Signed-off-by: Carson Cook <[email protected]>

* Minor cleanup

Signed-off-by: Carson Cook <[email protected]>

* Set spring security config for ms

Signed-off-by: Carson Cook <[email protected]>

* Add auth check logic in auth route component

Signed-off-by: Carson Cook <[email protected]>

* Cleanup code

Signed-off-by: Carson Cook <[email protected]>

* Allow access to hystrix dashboard to enable loading scripts

Signed-off-by: Carson Cook <[email protected]>

* Restore user action for auth failure

Signed-off-by: Carson Cook <[email protected]>

* Fix authroute unit tests

Signed-off-by: Carson Cook <[email protected]>

* Cleanup

Signed-off-by: Carson Cook <[email protected]>

* Cleanup

Signed-off-by: Carson Cook <[email protected]>

* Cleanup

Signed-off-by: Carson Cook <[email protected]>
* Fix ms port var name

Signed-off-by: Carson Cook <[email protected]>

* Use ms lite lib

Signed-off-by: Carson Cook <[email protected]>

* Add common lib to loader path

Signed-off-by: Carson Cook <[email protected]>

* Add proper default values

Signed-off-by: Carson Cook <[email protected]>

* Add ms container files

Signed-off-by: Carson Cook <[email protected]>

* Add missing default value

Signed-off-by: Carson Cook <[email protected]>

* Add metrics service to container workflows

Signed-off-by: Carson Cook <[email protected]>

* Fix metrics start script for container

Signed-off-by: Carson Cook <[email protected]>

* Add wait to metrics start script

Signed-off-by: Carson Cook <[email protected]>

* WIP debug

Signed-off-by: Carson Cook <[email protected]>

* WIP debug logging

Signed-off-by: Carson Cook <[email protected]>

* Set ms packaging to use lite jar

Signed-off-by: Carson Cook <[email protected]>

* Clean up debugging logging

Signed-off-by: Carson Cook <[email protected]>

* Add metrics service to containers readme

Signed-off-by: Carson Cook <[email protected]>
…1924)

* Add check for correct stream before adding

Signed-off-by: Carson Cook <[email protected]>

* Remove logging experimental messages

Signed-off-by: Jakub Balhar <[email protected]>

Co-authored-by: Jakub Balhar <[email protected]>
CarsonCook and others added 23 commits November 26, 2021 11:41
Signed-off-by: Jakub Balhar <[email protected]>

Co-authored-by: Jakub Balhar <[email protected]>
* Fix transformation of swagger servers urls

Signed-off-by: Carson Cook <[email protected]>

* Fix bug in tests with undefined swagger version

Signed-off-by: Carson Cook <[email protected]>

* Add test for swagger server url transform

Signed-off-by: Carson Cook <[email protected]>
* choose correct key by alias

Signed-off-by: achmelo <[email protected]>

* add alias

Signed-off-by: achmelo <[email protected]>

* keep default private key strategy in case of missing alias in configuration

Signed-off-by: achmelo <[email protected]>
* Update json-schema

Signed-off-by: Jakub Balhar <[email protected]>

* Update tmpl to 1.0.5

Signed-off-by: Jakub Balhar <[email protected]>

* Update apache velocity version

Signed-off-by: Jakub Balhar <[email protected]>

* Update nth-check version

Signed-off-by: Jakub Balhar <[email protected]>

* Use specific version of eslint

Signed-off-by: Jakub Balhar <[email protected]>

Co-authored-by: Jakub Balhar <[email protected]>
* npm 8.1.0

Signed-off-by: achmelo <[email protected]>
* do not use node cache

Signed-off-by: achmelo <[email protected]>

* do not use default cache

Signed-off-by: achmelo <[email protected]>

* split hashfiles string

Signed-off-by: achmelo <[email protected]>

* consolidate node cache for all actions

Signed-off-by: achmelo <[email protected]>

* remove restore key from gradle cache and remaining node cache

Signed-off-by: achmelo <[email protected]>

Co-authored-by: Zowe Robot <[email protected]>
# Conflicts:
#	api-catalog-ui/frontend/package-lock.json
#	api-catalog-ui/frontend/package.json
#	gradle.properties
#	onboarding-enabler-nodejs/package.json
Signed-off-by: achmelo <[email protected]>
@zowe-robot zowe-robot added the Sensitive Sensitive change that requires peer review label Dec 7, 2021
@achmelo achmelo merged commit b895d58 into v2.x.x Dec 7, 2021
@delete-merged-branch delete-merged-branch bot deleted the rip/ac/merge_main branch December 7, 2021 12:17
taban03 pushed a commit that referenced this pull request Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sensitive Sensitive change that requires peer review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants