Skip to content

Commit 81ab2ed

Browse files
taban03achmelozowe-robotCarsonCookViktorKorladinov
authored
feat: Migrate Login panel to Material UI (#1900)
* 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…
1 parent 1c0e223 commit 81ab2ed

File tree

13 files changed

+41550
-2304
lines changed

13 files changed

+41550
-2304
lines changed

api-catalog-ui/frontend/cypress/integration/e2e/login/login-bad.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ describe('>>> Login bad test', () => {
2121

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

24-
cy.get('.error-message-content')
24+
cy.get('#error-message')
2525
.should('exist')
26-
.should('contain', '(ZWEAS120E) Invalid username or password');
26+
.should('contain', 'Invalid username or password');
2727
});
2828
});

api-catalog-ui/frontend/cypress/integration/mocked-e2e/login/login-bad.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ describe('>>> Login bad test', () => {
2525

2626
cy.get('.error-message-content')
2727
.should('exist')
28-
.should('contain', '(ZWEAS120E) Invalid username or password');
28+
.should('contain', 'Invalid username or password');
2929
});
3030
});

api-catalog-ui/frontend/package-lock.json

Lines changed: 41268 additions & 2191 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api-catalog-ui/frontend/package.json

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
"dependencies": {
77
"@emotion/core": "10.1.1",
88
"@emotion/is-prop-valid": "1.1.0",
9+
"@emotion/react": "11.5.0",
910
"@emotion/styled": "10.0.27",
11+
"@material-ui/core": "4.12.3",
12+
"@material-ui/icons": "4.11.2",
13+
"@mui/icons-material": "5.1.0",
14+
"@mui/material": "5.1.0",
15+
"@types/react": "17.0.31",
1016
"agentkeepalive": "4.1.4",
1117
"emotion-theming": "10.0.27",
1218
"eslint": "7.11.0",
@@ -20,24 +26,24 @@
2026
"mineral-ui": "0.58.0",
2127
"mineral-ui-icons": "0.5.0",
2228
"npm": "7.20.5",
23-
"react": "16.14.0",
24-
"react-app-polyfill": "0.1.3",
25-
"react-dom": "16.14.0",
29+
"react": "17.0.2",
30+
"react-app-polyfill": "2.0.0",
31+
"react-dom": "17.0.2",
2632
"react-loadable": "5.5.0",
27-
"react-redux": "5.1.1",
33+
"react-redux": "7.2.5",
2834
"react-render-html": "0.6.0",
29-
"react-router-dom": "4.3.1",
30-
"react-router-tabs": "1.2.0",
35+
"react-router-dom": "5.3.0",
36+
"react-router-tabs": "1.3.2",
3137
"react-scripts": "4.0.3",
32-
"react-toastify": "4.4.3",
33-
"redux": "4.0.1",
38+
"react-toastify": "8.0.3",
39+
"redux": "4.1.1",
3440
"redux-catch": "1.3.1",
3541
"redux-logger": "3.0.6",
3642
"redux-observable": "1.0.0",
37-
"redux-persist": "5.10.0",
38-
"redux-persist-transform-filter": "0.0.18",
43+
"redux-persist": "6.0.0",
44+
"redux-persist-transform-filter": "0.0.20",
3945
"redux-thunk": "2.3.0",
40-
"rxjs": "6.3.3",
46+
"rxjs": "7.4.0",
4147
"swagger-ui-react": "3.25.0",
4248
"uuid": "3.3.2"
4349
},
@@ -47,7 +53,9 @@
4753
"test": "react-scripts test --silent --watchAll=false --env=jsdom components/* reducers/* epics/* actions/* selectors/* ErrorBoundary/* --reporters=default --reporters=jest-html-reporter --coverage",
4854
"cy:open": "cypress open",
4955
"cy:e2e:ci": "cypress run --spec \"cypress/integration/e2e/**/*.test.js\" --browser firefox --headless",
50-
"cy:e2e:localhost": "cypress run --spec \"cypress/integration/e2e/**/*.test.js\" --browser firefox --headless",
56+
"cy:e2e:localhost": "cypress run --spec \"cypress/integration/e2e/**/*.test.js\" --browser chrome --headless",
57+
"cy:e2e:localhost-headful": "cypress run --spec \"cypress/integration/e2e/**/*.test.js\" --browser chrome",
58+
"cy:e2e:localhost-firefox": "cypress run --spec \"cypress/integration/e2e/**/*.test.js\" --browser firefox --headless",
5159
"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",
5260
"the-scripts-below-might-be-stale": "",
5361
"start": "cross-env HTTPS=true react-scripts start",

api-catalog-ui/frontend/src/assets/css/APIMReactToastify.css

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api-catalog-ui/frontend/src/components/App/App.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe('>>> App component tests', () => {
1212
});
1313

1414
it('should not show header on login route', () => {
15-
const wrapper = mount(
15+
const wrapper = shallow(
1616
<MemoryRouter initialEntries={['/login']}>
1717
<App />
1818
</MemoryRouter>

api-catalog-ui/frontend/src/components/Error/Error.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable no-undef */
22

33
import * as enzyme from 'enzyme';
4-
import { AjaxError } from 'rxjs/ajax/index';
4+
import { AjaxError } from 'rxjs/ajax';
55
import Error from './Error';
66
import { ApiError, MessageType } from '../../constants/error-constants';
77

api-catalog-ui/frontend/src/components/ErrorBoundary/Shield/Shield.test.jsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/* eslint-disable no-undef */
22
import * as enzyme from 'enzyme';
33
import Shield from './Shield';
4+
import React from "react";
5+
import { render } from "react-dom";
6+
import { act } from "react-dom/test-utils";
47

58
const Child = () => {
69
throw 'error';
@@ -17,13 +20,12 @@ const pauseErrorLogging = codeToRun => {
1720
describe('>>> Shield component tests', () => {
1821
it('Should catches error and renders message', () => {
1922
const errorMessage = 'Display the error stack';
20-
pauseErrorLogging(() => {
21-
const wrapper = enzyme.mount(
22-
<Shield>
23-
<Child />
24-
</Shield>
25-
);
26-
expect(wrapper.text()).toBe(errorMessage);
27-
});
23+
let container = document.createElement("div");
24+
act(()=>{
25+
render( <Shield>
26+
<Child />
27+
</Shield>,container)
28+
})
29+
expect(container.textContent).toBe(errorMessage);
2830
});
2931
});

api-catalog-ui/frontend/src/components/Login/Login.css

Lines changed: 101 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#login-form {
2-
display: flex;
32
flex-direction: column;
43
}
54

@@ -33,27 +32,118 @@
3332
height: 100vh;
3433
}
3534

36-
.error-message {
37-
display: flex;
38-
align-items: center;
39-
}
40-
4135
.error-message-content {
4236
display: inline-flex;
4337
align-items: center;
4438
}
4539

46-
.error-message > * {
47-
padding: 0;
48-
margin: 0;
49-
}
50-
5140
@media only screen and (max-width: 1315px) {
5241
.picture {
5342
display: none;
5443
}
5544
}
5645

5746
#error-message {
47+
margin-bottom: 20px;
5848
align-self: baseline;
5949
}
50+
51+
.w-form {
52+
display: inline-table;
53+
resize: inherit;
54+
position: static;
55+
margin-top: 60px;
56+
flex-direction: column;
57+
justify-content: flex-end;
58+
align-items: flex-end;
59+
padding: 24px 24px 2px;
60+
width: 344px;
61+
height: 420px;
62+
left: 428px;
63+
top: calc(50% - 420px/2 - 0.29px);
64+
65+
background: #FFFFFF;
66+
/* 16 dp */
67+
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);
68+
border-radius: 4px;
69+
}
70+
71+
.username-input {
72+
resize: inherit;
73+
margin-left: 48px;
74+
}
75+
76+
form#login-form {
77+
width: 294px;
78+
}
79+
80+
.product-title {
81+
margin: 150px 0px;
82+
}
83+
84+
85+
.MuiButton-label {
86+
flex-direction: row;
87+
align-items: flex-start;
88+
padding: 6px 6px 6px 8px;
89+
font-family: inherit;
90+
font-style: normal;
91+
font-weight: 500;
92+
background: #0052CC;
93+
font-size: 12px;
94+
width: 50%;
95+
height: 36px;
96+
left: 218px;
97+
ine-height: 16px;
98+
/* identical to box height, or 114% */
99+
letter-spacing: 1.25px;
100+
text-transform: uppercase;
101+
top: 0px;
102+
color: #FFFFFF;
103+
border-radius: 4px;
104+
flex: none;
105+
order: 0;
106+
flex-grow: 0;
107+
margin: 25px -14px 20px 0px;
108+
position: static;
109+
}
110+
111+
.MuiTypography-gutterBottom {
112+
color: #57606E;
113+
}
114+
115+
.login-typo {
116+
color: black;
117+
}
118+
119+
.text-block-4 {
120+
color: black;
121+
}
122+
123+
.loginButton {
124+
display: inline-block;
125+
width: 100px;
126+
float: right;
127+
margin-right: 10px;
128+
position: relative;
129+
}
130+
131+
#error-message {
132+
padding: 20px;
133+
display: inline-block;
134+
color: #B71C1C;
135+
background-color: #FCE4EC;
136+
}
137+
138+
.login-inputs-container {
139+
display: inline-block;
140+
}
141+
142+
.errorIcon {
143+
color: #de1b1b;
144+
}
145+
146+
.logo-container {
147+
margin: 24px;
148+
width: 71px;
149+
}

0 commit comments

Comments
 (0)