Questions tagged [dsl]

1 votes
0 replies
Expressing simple geometry manipulation computational graph
I'm writing a simple geometry composition/manipulation library. The library needs to allow the clients to express high-level logic like below: t...
asked 4 months ago
0 votes
0 replies
Can you call a bean method that takes a Supplier as a parameter from a Camel RestDefinition (and if so, how)?
I have a method that takes a Supplier and returns the summary version of the objects. I want to call this from a Camel RestDefinition, but I have...
asked 4 months ago
0 votes
1 replies
How to handle parameters of pipeline job in DSL?
I have a pipeline job which runs a sequence of jobs (Eg; setup >> run test >> clean). I want this sequence to run for 100 different t...
0 votes
0 replies
How to add cascading content assist in Xtext document
I want to add cascading content assist while creating an array of pre-defined values. When I'm creating the array, it should first give me the as...
asked 4 months ago
0 votes
1 replies
How to refer to a property reference instead of a 'named' reference?
This question is a follow up on /how-to-add-a-separate-in-in-xtext-list. I have the following grammar part: Fixture:...
asked 4 months ago
0 votes
1 replies
how to add a separator in in xtext list?
I have the following grammar fragment: FixtureGroup: name = ID ':' fixtures += [...
asked 4 months ago
0 votes
0 replies
How can I enable discoverTags using Jenkins Job DSL?
When creating a Multibranch Pipeline manually using the Jeninkins "New Item" UI, I can add "Discover tags" within the Behaviors section. How can...
4 votes
0 replies
In ruby ensure only certain methods are available
I was reading an article on how to build a simple DSL and parse the file but it does (and rightfully so) point out how dangerous this is as you c...
asked 5 months ago
0 votes
1 replies
can we make spring cloud contract request/response attribute optional?
I have a spring cloud contract(written in groovy dsl) which takes a object(Let's say Employee with 5 fields) as a request and updated object(Empl...
1 votes
1 replies
How to change big json dynamicly in Karate framework?
I have next JSON { "updated": [ { "id": "1", "email": "api.test@test.io", "businessUnit": "US", "firstName": "Joh...
asked 5 months ago
-1 votes
1 replies
How does threads operate with internal calls to other features within a scenario?
I am running couple of tests in which I do calls to other features to do a validation and come back to scenario and execute further. Example :...
asked 6 months ago
0 votes
1 replies
Which tool privides the easiest way to create a textual external DSL for simple code translation?
In my application I have to type in some code for a specific domain and I would like to create a DSL for that. The DSL just should have some real...
asked 6 months ago
0 votes
0 replies
QueryDSL - DTO projections for one-to-many relationship
I'm looking at using DTO projections - I have two entities with a one-to-many relationship (an instance of EntityOne is linked to multiple instan...
asked 6 months ago
0 votes
0 replies
declarative language for complex & big binary files in .Net
What would be a possible possible solution to define a complex binary file to read and write from C# to it. Currently I access the fields the bin...
asked 6 months ago
0 votes
1 replies
How can i specify timout in apache camel route
I have an apache camel route i want to specify timeout for that route if that route does not get completed in that timeout need to raise timeout...
asked 6 months ago
0 votes
1 replies
default consumer URL for spring boot saml dsl
What is the default Consumer URL for Spring boot saml dsl? Wanted to confirm if this is /saml/SSOHoK I am trying to implement a simple spring boo...
0 votes
1 replies
How to set Rx Action Consumer in Kotlin DSL
I am investigating the development of a Kotlin DSL for RxKotlin commands I have something working however I would to improve my approach to sett...
asked 5 months ago
10 votes
3 replies
Ruby DSL used across multiple <% %> tags or multiple lines
I am writing a helper DSL to make it easier to craft a nice menu ui within a view. The view's erb is producing an error undefined method 'safe_a...
asked 5 months ago
0 votes
1 replies
How to write Elasticsearch DSL multi field and multi term query?
How should I write an Elasticsearch (6.6) DSL query to return only documents Doc2 and Doc3 from this example pool: Doc1 { "Field1" : "Term1", "F...
asked 7 months ago
2 votes
2 replies
Is there a way to declare a java method as infix for kotlin [duplicate]
This question already has an answer here: Kotlin: make Java function callable infix...
asked 6 months ago
0 votes
1 replies
Writing proper DSL
I want to be able to write that calls a factory method to create an instance of a object instead of directly calling the constructor. I have a...
1 votes
1 replies
How does @parallel=false work when put at the top of a scenario and not feature
If we put @parallel=false only at the top of a scenario and not on a feature , then will it stop running the test cases in parallel and still run...
asked 7 months ago
2 votes
1 replies
How to get Rosenbrock23 to work with ODE in ParameterizedFunctions.jl DSL?
Further to this question, I have the same model implemented in ParameterizedFunctions.jl DSL. The following MWE works: using DifferentialEquatio...
asked 7 months ago
1 votes
1 replies
Retry function for karate dsl is not working
I have been using a feature in my test which calls the retry function for calling an end point. It used to work fine before but in last few days...
asked 6 months ago
1 votes
1 replies
Methods of creating syntax highlighting in textX?
As I cannot find any guidelines about syntax highlighting, I decided to prepare simple write-as-plain-text-and-then-highlight-everything-in-html-...
asked 8 months ago