Make DAST site profile form composable
This is to facilitate Inline DAST Profiles Implementation, part of &5469 (closed).
Implementation Plan
-
Update DastSiteProfileForm
component-
Create success
andcancel
custom event handlers -
Use them in the parent components -
Move redirection logic to the parent component
-
-
Add showHeader
prop-
Set it enabled by default -
Use it to show the form heading conditionally
-
-
Update ee/app/views/projects/security/dast_site_profiles/edit.html.haml
-
Make sure the property names match the graphql fields
-
-
Specs / Test coverage -
Add specs for event handlers -
Add a spec for showHeader prop -
Write feature spec for dast_site_profiles_form
-
Edited by Dheeraj Joshi