diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-18 08:17:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-18 08:17:02 +0000 |
commit | b39512ed755239198a9c294b6a45e65c05900235 (patch) | |
tree | d234a3efade1de67c46b9e5a38ce813627726aa7 /app/graphql/types/ci_configuration | |
parent | d31474cf3b17ece37939d20082b07f6657cc79a9 (diff) | |
download | gitlab-ce-15.3.0-rc42.tar.gz |
Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42
Diffstat (limited to 'app/graphql/types/ci_configuration')
6 files changed, 38 insertions, 28 deletions
diff --git a/app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb b/app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb index 68b9a63d8dc..3344693bf46 100644 --- a/app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb +++ b/app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb @@ -8,10 +8,10 @@ module Types description 'Represents the analyzers entity in SAST CI configuration' argument :name, GraphQL::Types::String, required: true, - description: 'Name of analyzer.' + description: 'Name of analyzer.' argument :enabled, GraphQL::Types::Boolean, required: true, - description: 'State of the analyzer.' + description: 'State of the analyzer.' argument :variables, [::Types::CiConfiguration::Sast::EntityInputType], description: 'List of variables for the analyzer.', diff --git a/app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb b/app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb index 9fdc7c1b000..de160756c8c 100644 --- a/app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb +++ b/app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb @@ -9,19 +9,21 @@ module Types description 'Represents an analyzer entity in SAST CI configuration' field :name, GraphQL::Types::String, null: true, - description: 'Name of the analyzer.' + description: 'Name of the analyzer.' field :label, GraphQL::Types::String, null: true, - description: 'Analyzer label used in the config UI.' + description: 'Analyzer label used in the config UI.' field :enabled, GraphQL::Types::Boolean, null: true, - description: 'Indicates whether an analyzer is enabled.' + description: 'Indicates whether an analyzer is enabled.' field :description, GraphQL::Types::String, null: true, - description: 'Analyzer description that is displayed on the form.' + description: 'Analyzer description that is displayed on the form.' - field :variables, ::Types::CiConfiguration::Sast::EntityType.connection_type, null: true, - description: 'List of supported variables.' + field :variables, + ::Types::CiConfiguration::Sast::EntityType.connection_type, + null: true, + description: 'List of supported variables.' end end end diff --git a/app/graphql/types/ci_configuration/sast/entity_input_type.rb b/app/graphql/types/ci_configuration/sast/entity_input_type.rb index f0e3c07d71f..095097fe7b5 100644 --- a/app/graphql/types/ci_configuration/sast/entity_input_type.rb +++ b/app/graphql/types/ci_configuration/sast/entity_input_type.rb @@ -8,13 +8,13 @@ module Types description 'Represents an entity in SAST CI configuration' argument :field, GraphQL::Types::String, required: true, - description: 'CI keyword of entity.' + description: 'CI keyword of entity.' argument :default_value, GraphQL::Types::String, required: true, - description: 'Default value that is used if value is empty.' + description: 'Default value that is used if value is empty.' argument :value, GraphQL::Types::String, required: true, - description: 'Current value of the entity.' + description: 'Current value of the entity.' end end end diff --git a/app/graphql/types/ci_configuration/sast/entity_type.rb b/app/graphql/types/ci_configuration/sast/entity_type.rb index 41b8575d99a..91e80fdd9f8 100644 --- a/app/graphql/types/ci_configuration/sast/entity_type.rb +++ b/app/graphql/types/ci_configuration/sast/entity_type.rb @@ -9,28 +9,30 @@ module Types description 'Represents an entity in SAST CI configuration' field :field, GraphQL::Types::String, null: true, - description: 'CI keyword of entity.' + description: 'CI keyword of entity.' field :label, GraphQL::Types::String, null: true, - description: 'Label for entity used in the form.' + description: 'Label for entity used in the form.' field :type, GraphQL::Types::String, null: true, - description: 'Type of the field value.' + description: 'Type of the field value.' - field :options, ::Types::CiConfiguration::Sast::OptionsEntityType.connection_type, null: true, - description: 'Different possible values of the field.' + field :options, + ::Types::CiConfiguration::Sast::OptionsEntityType.connection_type, + null: true, + description: 'Different possible values of the field.' field :default_value, GraphQL::Types::String, null: true, - description: 'Default value that is used if value is empty.' + description: 'Default value that is used if value is empty.' field :description, GraphQL::Types::String, null: true, - description: 'Entity description that is displayed on the form.' + description: 'Entity description that is displayed on the form.' field :value, GraphQL::Types::String, null: true, - description: 'Current value of the entity.' + description: 'Current value of the entity.' field :size, ::Types::CiConfiguration::Sast::UiComponentSizeEnum, null: true, - description: 'Size of the UI component.' + description: 'Size of the UI component.' end end end diff --git a/app/graphql/types/ci_configuration/sast/options_entity_type.rb b/app/graphql/types/ci_configuration/sast/options_entity_type.rb index 5f365807cfe..2de84adf685 100644 --- a/app/graphql/types/ci_configuration/sast/options_entity_type.rb +++ b/app/graphql/types/ci_configuration/sast/options_entity_type.rb @@ -9,10 +9,10 @@ module Types description 'Represents an entity for options in SAST CI configuration' field :label, GraphQL::Types::String, null: true, - description: 'Label of option entity.' + description: 'Label of option entity.' field :value, GraphQL::Types::String, null: true, - description: 'Value of option entity.' + description: 'Value of option entity.' end end end diff --git a/app/graphql/types/ci_configuration/sast/type.rb b/app/graphql/types/ci_configuration/sast/type.rb index 35d11584ac7..edfdf296929 100644 --- a/app/graphql/types/ci_configuration/sast/type.rb +++ b/app/graphql/types/ci_configuration/sast/type.rb @@ -8,14 +8,20 @@ module Types graphql_name 'SastCiConfiguration' description 'Represents a CI configuration of SAST' - field :global, ::Types::CiConfiguration::Sast::EntityType.connection_type, null: true, - description: 'List of global entities related to SAST configuration.' + field :global, + ::Types::CiConfiguration::Sast::EntityType.connection_type, + null: true, + description: 'List of global entities related to SAST configuration.' - field :pipeline, ::Types::CiConfiguration::Sast::EntityType.connection_type, null: true, - description: 'List of pipeline entities related to SAST configuration.' + field :pipeline, + ::Types::CiConfiguration::Sast::EntityType.connection_type, + null: true, + description: 'List of pipeline entities related to SAST configuration.' - field :analyzers, ::Types::CiConfiguration::Sast::AnalyzersEntityType.connection_type, null: true, - description: 'List of analyzers entities attached to SAST configuration.' + field :analyzers, + ::Types::CiConfiguration::Sast::AnalyzersEntityType.connection_type, + null: true, + description: 'List of analyzers entities attached to SAST configuration.' end end end |