X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Funit%2Fgenerators%2Fsnippets%2Fdata_ddl;fp=spec%2Funit%2Fgenerators%2Fsnippets%2Fdata_ddl;h=a37ec1037a7f29174aaef8e28df6dea58e8b55f3;hb=b87d2f4e68281062df1913440ca5753ae63314a9;hp=0000000000000000000000000000000000000000;hpb=ab0ea530b8ac956091f17b104ab2311336cfc250;p=packages%2Fprecise%2Fmcollective.git diff --git a/spec/unit/generators/snippets/data_ddl b/spec/unit/generators/snippets/data_ddl new file mode 100644 index 0000000..a37ec10 --- /dev/null +++ b/spec/unit/generators/snippets/data_ddl @@ -0,0 +1,20 @@ +metadata :name => "%FULLNANE%", + :description => "%DESCRIPTION%", + :author => "%AUTHOR%", + :license => "%LICENSE%", + :version => "%VERSION%", + :url => "%URL%", + :timeout => %TIMEOUT% + +dataquery :description => "Query information" do + input :query, + :prompt => "%PROMP%", + :description => "%DESCRIPTION%", + :type => %TYPE%, + :validation => %VALIDATION%, + :maxlength => %MAXLENGTH% + + output :output, + :description => "%DESCRIPTION%", + :display_as => "%DESCRIPTION%" +end