Skip to content

Commit

Permalink
feat: Migrate Login panel to Material UI (#1900)
Browse files Browse the repository at this point in the history
* update deps

Signed-off-by: achmelo <a.chmelo@gmail.com>

* POC - Fully migrate Login component to Material

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Update version

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

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

* update deps

Signed-off-by: achmelo <a.chmelo@gmail.com>

* POC - Fully migrate Login component to Material

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Change css to look like the wireframe

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add error icon and border

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add caps lock on tracker

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix test

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix spinner position

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Change error icon color

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix height of the form

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix cypress tests

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Feat: Enable hystrix metrics stream for core APIML services (#1899)

* Enable hystrix stream for api catalog

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Remove hystrix dashboard from ac

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Enable hystrix metrics for caching service

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Enable hystrix metrics for gateway

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Enable hystrix metrics for discovery service

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add flag to enable access to hystrix stream

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Remove unused imports

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add HystrixCommand to missed controllers

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Update version

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

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

* fix: remove hardcoded values from metrics service ui (#1902)

* 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 <chanchunche@gmail.com>

* WizardInputs test coverage now at 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Plain Java Enabler data configuration.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Wizard reducer refactoring.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Raised wizard reducer coverage to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Foundation for YAML generation.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* YAML Visualizer test

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Test coverage for wizard files raised to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Styling of YAML code

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Added a missing function after merge.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed npm warning on yaml package

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Moved the yaml dependency to the correct package.json

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Spring Enabler category configuration

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Created a defaults file and configured spring defaults.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Injecting default values operational.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* 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 <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage of wizard files raised to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Test fixes

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Wizard now shows true/false options as checkboxes

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Improved test coverage.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage for WizardInputs raised.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed failing tests & improved test coverage.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* maxLength and lowercase properties functional.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Tab reorganization.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Dependencies now functional.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage of WizardInputs raised

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfixes of unfilled validation

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed failing tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Restructuring. TBD: fix tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed wizard-reducer tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed some code smells.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Reduced reducer's cognitive complexity

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed WizardInputs tests

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

Co-authored-by: DianaKorladinova <chanchunche@gmail.com>
Co-authored-by: Andrea Tabone <andrea.tabone@broadcom.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* refactor: GH1625 integration test refactor (#1727)

* move access tests to functional

Signed-off-by: jandadav <janda.david@gmail.com>

* Change to GatewayRequests

Signed-off-by: jandadav <janda.david@gmail.com>

* cleanup

Signed-off-by: jandadav <janda.david@gmail.com>

* Move the complexity to the Requests.

Signed-off-by: Jakub Balhar <jakub@balhar.net>

Co-authored-by: Jakub Balhar <jakub@balhar.net>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* initial commit, compress response if service wants to

Signed-off-by: achmelo <a.chmelo@gmail.com>

* add unit tests

Signed-off-by: achmelo <a.chmelo@gmail.com>

* empty gzip body should be 20 bytes

Signed-off-by: achmelo <a.chmelo@gmail.com>

* test flush buffers

Signed-off-by: achmelo <a.chmelo@gmail.com>

* test no instances available and close buffers

Signed-off-by: achmelo <a.chmelo@gmail.com>

* compress per service acceptance test

Signed-off-by: achmelo <a.chmelo@gmail.com>

* compress per service acceptance test

Signed-off-by: achmelo <a.chmelo@gmail.com>

* resolve conflicts

Signed-off-by: achmelo <a.chmelo@gmail.com>

* provide description for filter class

Signed-off-by: achmelo <a.chmelo@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: achmelo <a.chmelo@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* Set base image to zowe base

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add initial containers structure

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Use first shared action for GW image

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Set up prepare script

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Allow docker to run start script indefinitely

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Clean up prepare script

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add default values to start.sh

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add readme for GW image

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Rename workflow appropriately

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add ubuntu-s390x workflow

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add ubi amd64 workflow

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add define manifest jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add ubi s390x job

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add image jobs to release workflows

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Use strategy.matrix to combine ubi and ubuntu jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix syntax error

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Use proper permissions for manifests jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Set image artifactory users to delete permission for replacing images

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* feat: SSE - turbine stream access through gateway

Signed-off-by: Kumar Saurabh Raj <kumarsaurabhraj.sr@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* fix: Turbine SSE - multi client support

Signed-off-by: Kumar Saurabh Raj <kumarsaurabhraj.sr@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* fix: code smells in ServerSentEventProxyHandler

Signed-off-by: Kumar Saurabh Raj <kumarsaurabhraj.sr@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* changes for testing

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* enable turbine

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* embeded metrics dashboards

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Update version

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* feat: SAF check controller

Signed-off-by: jandadav <janda.david@gmail.com>

* extend test for coverage

Signed-off-by: jandadav <janda.david@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: achmelo <a.chmelo@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* fix: exclude tls_rsa ciphers (#1737)

* exclude tls_rsa ciphers

Signed-off-by: achmelo <a.chmelo@gmail.com>

* remove exclude ciphers

Signed-off-by: achmelo <a.chmelo@gmail.com>

* revert

Signed-off-by: achmelo <a.chmelo@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* Upgrade spring security to 5.3.11 everywhere

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Force upgrade xstream to 1.4.18

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Force upgrade jquery to 3.5.1

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Force upgrade json-smart to 2.4.7

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade micronaut version to 2.5.12

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade jackson databind in zaas client

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade eureka client

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade Spring fox dependency to 2.9.2

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Remove unused jakarta from whole project.

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Split build of Zowe confomrant containers

Signed-off-by: Jakub Balhar <jakub@balhar.net>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: jandadav <janda.david@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* Set base image to zowe base

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add initial containers structure

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Use first shared action for GW image

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Set up prepare script

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Allow docker to run start script indefinitely

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Clean up prepare script

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add default values to start.sh

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add readme for GW image

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Rename workflow appropriately

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add ubuntu-s390x workflow

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add ubi amd64 workflow

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add define manifest jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add ubi s390x job

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add image jobs to release workflows

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Use strategy.matrix to combine ubi and ubuntu jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix syntax error

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Use proper permissions for manifests jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Prepare structure for more services

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Test matrix for service name

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix directories for prepare scripts

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix master merge adding unneeded files

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add discovery service to containers

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix directory name in workflow

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add default for DS peers

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add caching service

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add api catalog

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add new services to one workflow as test

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Update readme for other service images

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix caching service default port

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add all service images to all jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Run CS and AC in background

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* WIP debug CS

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* 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 <janda.david@gmail.com>

* extend test for coverage

Signed-off-by: jandadav <janda.david@gmail.com>

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

Signed-off-by: achmelo <a.chmelo@gmail.com>

* fix: exclude tls_rsa ciphers (#1737)

* exclude tls_rsa ciphers

Signed-off-by: achmelo <a.chmelo@gmail.com>

* remove exclude ciphers

Signed-off-by: achmelo <a.chmelo@gmail.com>

* revert

Signed-off-by: achmelo <a.chmelo@gmail.com>

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

* Upgrade spring security to 5.3.11 everywhere

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Force upgrade xstream to 1.4.18

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Force upgrade jquery to 3.5.1

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Force upgrade json-smart to 2.4.7

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade micronaut version to 2.5.12

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade jackson databind in zaas client

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade eureka client

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade Spring fox dependency to 2.9.2

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Remove unused jakarta from whole project.

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Split build of Zowe confomrant containers

Signed-off-by: Jakub Balhar <jakub@balhar.net>

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

Signed-off-by: jandadav <janda.david@gmail.com>

* Fix CS default values

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix missing env var in release workflows

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix dockerfile name lables

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add GATEWAY_HOST param for API CATALOG

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix typo

Signed-off-by: Carson Cook <carson.cook@ibm.com>

Co-authored-by: Zowe Robot <zowe-robot@users.noreply.github.com>
Co-authored-by: David Janda <janda.david@gmail.com>
Co-authored-by: achmelo <37397715+achmelo@users.noreply.github.com>
Co-authored-by: Jakub Balhar <jakub@balhar.net>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix syntax for if check

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix syntax for if check

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Combine s390x and amd64 for release jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* 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 <chanchunche@gmail.com>

* WizardInputs test coverage now at 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Plain Java Enabler data configuration.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Wizard reducer refactoring.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Raised wizard reducer coverage to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Foundation for YAML generation.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* YAML Visualizer test

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Test coverage for wizard files raised to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Styling of YAML code

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Added a missing function after merge.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed npm warning on yaml package

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Moved the yaml dependency to the correct package.json

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Spring Enabler category configuration

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Created a defaults file and configured spring defaults.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Injecting default values operational.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* 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 <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage of wizard files raised to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Test fixes

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Wizard now shows true/false options as checkboxes

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Improved test coverage.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage for WizardInputs raised.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed failing tests & improved test coverage.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* maxLength and lowercase properties functional.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Tab reorganization.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Dependencies now functional.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage of WizardInputs raised

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfixes of unfilled validation

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed failing tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Restructuring. TBD: fix tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed wizard-reducer tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed some code smells.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Indentation dependency now available. TBD: fix tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed & added tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Wizard dialog 'Next' button fix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Post-merge fixes.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

Co-authored-by: ViktorKorladinov <v.korladinov@gmail.com>
Co-authored-by: Andrea Tabone <andrea.tabone@broadcom.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* Set base image to zowe base

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add initial containers structure

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Use first shared action for GW image

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Set up prepare script

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Allow docker to run start script indefinitely

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Clean up prepare script

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add default values to start.sh

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add readme for GW image

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Rename workflow appropriately

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add ubuntu-s390x workflow

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add ubi amd64 workflow

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add define manifest jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add ubi s390x job

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add image jobs to release workflows

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Use strategy.matrix to combine ubi and ubuntu jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix syntax error

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Use proper permissions for manifests jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Prepare structure for more services

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Test matrix for service name

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix directories for prepare scripts

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix master merge adding unneeded files

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add discovery service to containers

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix directory name in workflow

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add default for DS peers

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add caching service

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add api catalog

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add new services to one workflow as test

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Update readme for other service images

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix caching service default port

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add all service images to all jobs

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Run CS and AC in background

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* WIP debug CS

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* 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 <janda.david@gmail.com>

* extend test for coverage

Signed-off-by: jandadav <janda.david@gmail.com>

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

Signed-off-by: achmelo <a.chmelo@gmail.com>

* fix: exclude tls_rsa ciphers (#1737)

* exclude tls_rsa ciphers

Signed-off-by: achmelo <a.chmelo@gmail.com>

* remove exclude ciphers

Signed-off-by: achmelo <a.chmelo@gmail.com>

* revert

Signed-off-by: achmelo <a.chmelo@gmail.com>

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

* Upgrade spring security to 5.3.11 everywhere

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Force upgrade xstream to 1.4.18

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Force upgrade jquery to 3.5.1

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Force upgrade json-smart to 2.4.7

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade micronaut version to 2.5.12

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade jackson databind in zaas client

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade eureka client

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Upgrade Spring fox dependency to 2.9.2

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Remove unused jakarta from whole project.

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Split build of Zowe confomrant containers

Signed-off-by: Jakub Balhar <jakub@balhar.net>

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

Signed-off-by: jandadav <janda.david@gmail.com>

* Fix CS default values

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix missing env var in release workflows

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix dockerfile name lables

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add GATEWAY_HOST param for API CATALOG

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Fix typo

Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Add start.sh script check for no launch_component set

Signed-off-by: Carson Cook <carson.cook@ibm.com>

Co-authored-by: Zowe Robot <zowe-robot@users.noreply.github.com>
Co-authored-by: David Janda <janda.david@gmail.com>
Co-authored-by: achmelo <37397715+achmelo@users.noreply.github.com>
Co-authored-by: Jakub Balhar <jakub@balhar.net>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: jandadav <janda.david@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Update version

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* WIP

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add controller and error handler

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add override controller

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Refactoring and debug log

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add license and fix checkstyle

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add functionality to retrieve static location from discovery env endpoint

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add unit test

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add tests

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix code smell

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix bug

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add more test

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Raise coverage

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Address code review comments

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Address code review comments pt.2

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Change the logic and add shared volumes mount

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add integration tests

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix location

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add logs

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Set environment variable in docker containers

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* more debugging

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* additional debug

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix test

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Improve check

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix indentation

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Change the way to get static location

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix IT

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix static def path

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Try the docker URL

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Another take on volumes

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Fix assertion message

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Revert changes

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Get the first directory defined

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix code smells

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Revert staticApiservice

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Increase code coverage

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* revert docker-compose.yml files for local setup

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

Co-authored-by: Jakub Balhar <jakub@balhar.net>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* 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 <chanchunche@gmail.com>

* WizardInputs test coverage now at 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Plain Java Enabler data configuration.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Wizard reducer refactoring.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Raised wizard reducer coverage to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Foundation for YAML generation.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* YAML Visualizer test

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Test coverage for wizard files raised to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Styling of YAML code

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Added a missing function after merge.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed npm warning on yaml package

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Moved the yaml dependency to the correct package.json

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Spring Enabler category configuration

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Created a defaults file and configured spring defaults.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Injecting default values operational.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* 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 <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage of wizard files raised to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Test fixes

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Wizard now shows true/false options as checkboxes

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Improved test coverage.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage for WizardInputs raised.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed failing tests & improved test coverage.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* maxLength and lowercase properties functional.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Tab reorganization.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Dependencies now functional.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage of WizardInputs raised

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfixes of unfilled validation

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed failing tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Restructuring. TBD: fix tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed wizard-reducer tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed some code smells.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Indentation dependency now available. TBD: fix tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed & added tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Wizard dialog 'Next' button fix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Post-merge fixes.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Node Enabler configuration.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Array indentation mechanism for Micronaut & fixed some tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Micronaut default values.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Divided category configurations into separate files to improve readability

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed the code smell (hopefully).

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed the code smell (hopefully).

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed the code smell (hopefully).

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Security hotspots.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* remove extra configuration

Signed-off-by: jandadav <janda.david@gmail.com>

* Updated Node JS configuration.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

Co-authored-by: ViktorKorladinov <v.korladinov@gmail.com>
Co-authored-by: Andrea Tabone <andrea.tabone@broadcom.com>
Co-authored-by: jandadav <janda.david@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* add functional test

Signed-off-by: jandadav <janda.david@gmail.com>

* decouple SslConfig

Signed-off-by: jandadav <janda.david@gmail.com>

* Introduce test fixture

Signed-off-by: jandadav <janda.david@gmail.com>

* revert run config

Signed-off-by: jandadav <janda.david@gmail.com>

* Migrate tests to functional

Signed-off-by: jandadav <janda.david@gmail.com>

* Migrate additional tests

Signed-off-by: jandadav <janda.david@gmail.com>

* https config for for dockerized discovery service

Signed-off-by: jandadav <janda.david@gmail.com>

* Fix code smell

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Allow token refresh for local run

Signed-off-by: jandadav <janda.david@gmail.com>

Co-authored-by: Andrea Tabone <andrea.tabone@broadcom.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* 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 <chanchunche@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Post-merge fixes

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Code smell fix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

Co-authored-by: DianaKorladinova <chanchunche@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* Update changelog

Signed-off-by: Zowe Robot <zowe-robot@users.noreply.github.com>

* Changelog tweaks

Signed-off-by: jandadav <janda.david@gmail.com>

* Update CHANGELOG.md

Signed-off-by: Andrew Jandacek <andrew.jandacek@broadcom.com>

* review points
Signed-off-by: David Janda <janda.david@gmail.com>

Signed-off-by: jandadav <janda.david@gmail.com>

* language refacotr

Signed-off-by: Andrew Jandacek <andrew.jandacek@broadcom.com>

Co-authored-by: Zowe Robot <zowe-robot@users.noreply.github.com>
Co-authored-by: David Janda <janda.david@gmail.com>
Co-authored-by: Andrew Jandacek <38347291+janan07@users.noreply.github.com>
Co-authored-by: David Janda <david.janda@broadcom.com>
Co-authored-by: Andrew Jandacek <andrew.jandacek@broadcom.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* possibility to delete static def

Signed-off-by: achmelo <a.chmelo@gmail.com>

* bug fix

Signed-off-by: achmelo <a.chmelo@gmail.com>

* bug fix

Signed-off-by: achmelo <a.chmelo@gmail.com>

* assert status code only

Signed-off-by: achmelo <a.chmelo@gmail.com>

* styles

Signed-off-by: achmelo <a.chmelo@gmail.com>

* invalid service id test

Signed-off-by: achmelo <a.chmelo@gmail.com>

* disable test

Signed-off-by: achmelo <a.chmelo@gmail.com>

* static compile pattern

Signed-off-by: achmelo <a.chmelo@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* fix: static generation (#1761)

Signed-off-by: jandadav <janda.david@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* protect static def api with saf resource check

Signed-off-by: achmelo <a.chmelo@gmail.com>

* correct SC

Signed-off-by: achmelo <a.chmelo@gmail.com>

* remove access with cert

Signed-off-by: achmelo <a.chmelo@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

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

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Test new and old paths alike.
Test noncompressed paths

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Refactor the Metadata preparation.

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Add Acceptance Tests for the Compression per path

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Use the provided fulent API

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Correctly handle relative paths

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Show debug information from the Gradle.

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Try just building

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Info instead of debug

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Get the info about tests

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Remove the cached packages.

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Limit the amount of time taken

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Provide scan after the build

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Verify the build of gateway service

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Try removing the functional tests

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Return one functional test

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Return the tests

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Limit the tests to the default configuration

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Return the previous setup

Signed-off-by: Jakub Balhar <jakub@balhar.net>

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

Signed-off-by: Jakub Balhar <jakub@balhar.net>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* Fix usage of empty keystore in https client

Signed-off-by: JirkaAichler <jiri.aichler@broadcom.com>

* Add unit test

Signed-off-by: JirkaAichler <jiri.aichler@broadcom.com>

* Comment code

Signed-off-by: JirkaAichler <jiri.aichler@broadcom.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* 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 <chanchunche@gmail.com>

* WizardInputs test coverage now at 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Plain Java Enabler data configuration.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Wizard reducer refactoring.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Raised wizard reducer coverage to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Foundation for YAML generation.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* YAML Visualizer test

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Test coverage for wizard files raised to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Styling of YAML code

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Added a missing function after merge.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed npm warning on yaml package

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Moved the yaml dependency to the correct package.json

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Spring Enabler category configuration

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Created a defaults file and configured spring defaults.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Injecting default values operational.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* 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 <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage of wizard files raised to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Test fixes

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Wizard now shows true/false options as checkboxes

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Improved test coverage.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage for WizardInputs raised.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed failing tests & improved test coverage.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* maxLength and lowercase properties functional.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Tab reorganization.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfix.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Dependencies now functional.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage of WizardInputs raised

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Hotfixes of unfilled validation

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed failing tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Restructuring. TBD: fix tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed wizard-reducer tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Fixed some code smells.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Indentation dependency now available. TBD: fix tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed & added tests.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Reduced reducer's cognitive complexity

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed a failing test

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* YAML is sent only if data validation checks pass.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Raised test coverage

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fetch-action sends a valid POST request

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* WIP

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Ready for SAF check.

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Add controller and error handler

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add override controller

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Refactoring and debug log

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add license and fix checkstyle

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add functionality to retrieve static location from discovery env endpoint

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add unit test

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add tests

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fix code smell

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix bug

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add more test

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Raise coverage

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Address code review comments

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Address code review comments pt.2

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Change the logic and add shared volumes mount

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add integration tests

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix location

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Add logs

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Set environment variable in docker containers

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* more debugging

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* additional debug

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix test

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Improve check

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix indentation

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Change the way to get static location

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix IT

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix static def path

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* POST requests now contain serviceId in the headers

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Try the docker URL

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Another take on volumes

Signed-off-by: Jakub Balhar <jakub@balhar.net>

* Fix assertion message

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Revert changes

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Get the first directory defined

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Fix code smells

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Revert staticApiservice

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* Increase code coverage

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* revert docker-compose.yml files for local setup

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Bugfix

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* Test coverage of ConfirmDialog raised to 100%.

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

* post-merge fixes

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

* Fixed bug where all enablers tried to save

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: ViktorKorladinov <v.korladinov@gmail.com>

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

Signed-off-by: DianaKorladinova <chanchunche@gmail.com>

Co-authored-by: DianaKorladinova <chanchunche@gmail.com>
Co-authored-by: Andrea Tabone <andrea.tabone@broadcom.com>
Co-authored-by: Jakub Balhar <jakub@balhar.net>
Co-authored-by: achmelo <a.chmelo@gmail.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>

* Update version

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

Signed-off-by: Carson Cook <carson.cook@ibm.com>

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

* share filesystem for static definitions

Signed-off-by: jandadav <janda.david@gmail.com>

* debug docker logs

Signed-off-by: jandadav <janda.david@gmail.com>

* debug docker logs 2

Signed-off-by: jandadav <janda.david@gmail.com>

* working directory

Signed-off-by: jandadav <janda.david@gmail.com>

* debug

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* use docker compose

Signed-off-by: jandadav <janda.david@gmail.com>

* add local docker shared apidef dirs

Signed-off-by: jandadav <janda.david@gmail.com>

* add gh actions shared apidef dirs

Signed-off-by: jandadav <janda.david@gmail.com>

* rebuild containers

Signe…
  • Loading branch information
23 people committed Dec 1, 2021
1 parent 1c0e223 commit 81ab2ed
Show file tree
Hide file tree
Showing 13 changed files with 41,550 additions and 2,304 deletions.
Expand Up @@ -21,8 +21,8 @@ describe('>>> Login bad test', () => {

cy.url().should('contain', '/login');

cy.get('.error-message-content')
cy.get('#error-message')
.should('exist')
.should('contain', '(ZWEAS120E) Invalid username or password');
.should('contain', 'Invalid username or password');
});
});
Expand Up @@ -25,6 +25,6 @@ describe('>>> Login bad test', () => {

cy.get('.error-message-content')
.should('exist')
.should('contain', '(ZWEAS120E) Invalid username or password');
.should('contain', 'Invalid username or password');
});
});
43,459 changes: 41,268 additions & 2,191 deletions api-catalog-ui/frontend/package-lock.json

Large diffs are not rendered by default.

32 changes: 20 additions & 12 deletions api-catalog-ui/frontend/package.json
Expand Up @@ -6,7 +6,13 @@
"dependencies": {
"@emotion/core": "10.1.1",
"@emotion/is-prop-valid": "1.1.0",
"@emotion/react": "11.5.0",
"@emotion/styled": "10.0.27",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2",
"@mui/icons-material": "5.1.0",
"@mui/material": "5.1.0",
"@types/react": "17.0.31",
"agentkeepalive": "4.1.4",
"emotion-theming": "10.0.27",
"eslint": "7.11.0",
Expand All @@ -20,24 +26,24 @@
"mineral-ui": "0.58.0",
"mineral-ui-icons": "0.5.0",
"npm": "7.20.5",
"react": "16.14.0",
"react-app-polyfill": "0.1.3",
"react-dom": "16.14.0",
"react": "17.0.2",
"react-app-polyfill": "2.0.0",
"react-dom": "17.0.2",
"react-loadable": "5.5.0",
"react-redux": "5.1.1",
"react-redux": "7.2.5",
"react-render-html": "0.6.0",
"react-router-dom": "4.3.1",
"react-router-tabs": "1.2.0",
"react-router-dom": "5.3.0",
"react-router-tabs": "1.3.2",
"react-scripts": "4.0.3",
"react-toastify": "4.4.3",
"redux": "4.0.1",
"react-toastify": "8.0.3",
"redux": "4.1.1",
"redux-catch": "1.3.1",
"redux-logger": "3.0.6",
"redux-observable": "1.0.0",
"redux-persist": "5.10.0",
"redux-persist-transform-filter": "0.0.18",
"redux-persist": "6.0.0",
"redux-persist-transform-filter": "0.0.20",
"redux-thunk": "2.3.0",
"rxjs": "6.3.3",
"rxjs": "7.4.0",
"swagger-ui-react": "3.25.0",
"uuid": "3.3.2"
},
Expand All @@ -47,7 +53,9 @@
"test": "react-scripts test --silent --watchAll=false --env=jsdom components/* reducers/* epics/* actions/* selectors/* ErrorBoundary/* --reporters=default --reporters=jest-html-reporter --coverage",
"cy:open": "cypress open",
"cy:e2e:ci": "cypress run --spec \"cypress/integration/e2e/**/*.test.js\" --browser firefox --headless",
"cy:e2e:localhost": "cypress run --spec \"cypress/integration/e2e/**/*.test.js\" --browser firefox --headless",
"cy:e2e:localhost": "cypress run --spec \"cypress/integration/e2e/**/*.test.js\" --browser chrome --headless",
"cy:e2e:localhost-headful": "cypress run --spec \"cypress/integration/e2e/**/*.test.js\" --browser chrome",
"cy:e2e:localhost-firefox": "cypress run --spec \"cypress/integration/e2e/**/*.test.js\" --browser firefox --headless",
"cy:e2e:mocked-backend": "cypress run --spec \"cypress/integration/mocked-e2e/**/*.test.js\" --env catalogHomePage=https://localhost:3000/ui/v1/apicagalog,username=user,password=user",
"the-scripts-below-might-be-stale": "",
"start": "cross-env HTTPS=true react-scripts start",
Expand Down
3 changes: 3 additions & 0 deletions api-catalog-ui/frontend/src/assets/css/APIMReactToastify.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api-catalog-ui/frontend/src/components/App/App.test.js
Expand Up @@ -12,7 +12,7 @@ describe('>>> App component tests', () => {
});

it('should not show header on login route', () => {
const wrapper = mount(
const wrapper = shallow(
<MemoryRouter initialEntries={['/login']}>
<App />
</MemoryRouter>
Expand Down
@@ -1,7 +1,7 @@
/* eslint-disable no-undef */

import * as enzyme from 'enzyme';
import { AjaxError } from 'rxjs/ajax/index';
import { AjaxError } from 'rxjs/ajax';
import Error from './Error';
import { ApiError, MessageType } from '../../constants/error-constants';

Expand Down
@@ -1,6 +1,9 @@
/* eslint-disable no-undef */
import * as enzyme from 'enzyme';
import Shield from './Shield';
import React from "react";
import { render } from "react-dom";
import { act } from "react-dom/test-utils";

const Child = () => {
throw 'error';
Expand All @@ -17,13 +20,12 @@ const pauseErrorLogging = codeToRun => {
describe('>>> Shield component tests', () => {
it('Should catches error and renders message', () => {
const errorMessage = 'Display the error stack';
pauseErrorLogging(() => {
const wrapper = enzyme.mount(
<Shield>
<Child />
</Shield>
);
expect(wrapper.text()).toBe(errorMessage);
});
let container = document.createElement("div");
act(()=>{
render( <Shield>
<Child />
</Shield>,container)
})
expect(container.textContent).toBe(errorMessage);
});
});
112 changes: 101 additions & 11 deletions api-catalog-ui/frontend/src/components/Login/Login.css
@@ -1,5 +1,4 @@
#login-form {
display: flex;
flex-direction: column;
}

Expand Down Expand Up @@ -33,27 +32,118 @@
height: 100vh;
}

.error-message {
display: flex;
align-items: center;
}

.error-message-content {
display: inline-flex;
align-items: center;
}

.error-message > * {
padding: 0;
margin: 0;
}

@media only screen and (max-width: 1315px) {
.picture {
display: none;
}
}

#error-message {
margin-bottom: 20px;
align-self: baseline;
}

.w-form {
display: inline-table;
resize: inherit;
position: static;
margin-top: 60px;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
padding: 24px 24px 2px;
width: 344px;
height: 420px;
left: 428px;
top: calc(50% - 420px/2 - 0.29px);

background: #FFFFFF;
/* 16 dp */
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.14), 0px 6px 30px rgba(0, 0, 0, 0.12), 0px 8px 10px rgba(0, 0, 0, 0.2);
border-radius: 4px;
}

.username-input {
resize: inherit;
margin-left: 48px;
}

form#login-form {
width: 294px;
}

.product-title {
margin: 150px 0px;
}


.MuiButton-label {
flex-direction: row;
align-items: flex-start;
padding: 6px 6px 6px 8px;
font-family: inherit;
font-style: normal;
font-weight: 500;
background: #0052CC;
font-size: 12px;
width: 50%;
height: 36px;
left: 218px;
ine-height: 16px;
/* identical to box height, or 114% */
letter-spacing: 1.25px;
text-transform: uppercase;
top: 0px;
color: #FFFFFF;
border-radius: 4px;
flex: none;
order: 0;
flex-grow: 0;
margin: 25px -14px 20px 0px;
position: static;
}

.MuiTypography-gutterBottom {
color: #57606E;
}

.login-typo {
color: black;
}

.text-block-4 {
color: black;
}

.loginButton {
display: inline-block;
width: 100px;
float: right;
margin-right: 10px;
position: relative;
}

#error-message {
padding: 20px;
display: inline-block;
color: #B71C1C;
background-color: #FCE4EC;
}

.login-inputs-container {
display: inline-block;
}

.errorIcon {
color: #de1b1b;
}

.logo-container {
margin: 24px;
width: 71px;
}

0 comments on commit 81ab2ed

Please sign in to comment.