diff --git a/DeFi-Data-Engine/Api-Handler/bin/org/stream/external/communication/RequestFramework.class b/DeFi-Data-Engine/Api-Handler/bin/org/stream/external/communication/RequestFramework.class new file mode 100644 index 00000000..c9fae6aa Binary files /dev/null and b/DeFi-Data-Engine/Api-Handler/bin/org/stream/external/communication/RequestFramework.class differ diff --git a/DeFi-Data-Engine/Api-Handler/target/classes/org/stream/external/requester/RequestFramework.class b/DeFi-Data-Engine/Api-Handler/target/classes/org/stream/external/requester/RequestFramework.class new file mode 100644 index 00000000..4abdb65a Binary files /dev/null and b/DeFi-Data-Engine/Api-Handler/target/classes/org/stream/external/requester/RequestFramework.class differ diff --git a/DeFi-Data-Engine/Api-Handler/target/classes/requests/amberdata-marketdao-protocol.properties b/DeFi-Data-Engine/Api-Handler/target/classes/requests/amberdata-marketdao-protocol.properties new file mode 100644 index 00000000..e69de29b diff --git a/DeFi-Data-Engine/Api-Handler/target/classes/requests/template.properties b/DeFi-Data-Engine/Api-Handler/target/classes/requests/template.properties new file mode 100644 index 00000000..5f91fd58 --- /dev/null +++ b/DeFi-Data-Engine/Api-Handler/target/classes/requests/template.properties @@ -0,0 +1,47 @@ +# === Required Properties === +# These properties are required regardless of the request and should maintain a uniform syntax. + +# Name of the call to be referenced in the engine +request.name= template + +# Base url of the REST API call +url.base= http://localhost:8080 + +# This property details all required properties to be passed on runtime when called. Optional +# properties are not required to be specified here. Note that properties can be given a default +# value or can be forced to be specified. The list is in (, ) pairs, with each property +# having both a key and value specified. Default values can be placed in the property. +# Key's with no default property that are required on runtime can be filled as '.'. In this example +# has the default value , is required on runtime, and +# has the default value . +url.properties= property1,value1,\ + property2,.,\ + property3,value3 + +# This property details all headers to be passed on runtime when generating the request. +# Optional headers can be passed on runtime and are not required to be specified here. Note +# that headers can be given a default value or can be forced to be specified. The list is in +# (, ) pairs, with each property having both a key and value specified. Default +# values can be placed in the property. Key's with no default property that are required +# on runtime can be filled as '.'. In this example has the default value , +# and headers and are required on runtime. +url.headers= header1,value1,\ + header2,.,\ + header3,. + +# This property determines if the call is recursive, meaning that all data points required +# cannot be obtained in a single request. There are several integrated recursive types +# which have specific properties and handlers. Please review documentation to get a full +# list of these tags. To default with no recursive call, set this property to . +# This property we will set to for a clearer example. +url.recursion.type=parameterized + +# This property sets all tags pertaining to the type of recursive call. Please refer to +# the documentation for the full list of all tags and specified recursive types. All tags +# are in (, ) pairs, with each property having both a key and value specified. +# Should a tag not require an accompanying , please set it to '.'. In this +# example we will set the tags for which are as follows: +# -rp: recursive parameter +# -l: limit on items from request +# -t: type of parameter (url or incremental) +# FINISH \ No newline at end of file