Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [Version 1.2.7](https://github.com/dataiku/dss-plugin-api-connect/releases/tag/v1.2.7) - Bugfix release - 2025-10-14

- Better backward compatibility on existing flows using the recipe

## [Version 1.2.6](https://github.com/dataiku/dss-plugin-api-connect/releases/tag/v1.2.6) - Feature - 2025-09-24

- Add "recipesCategory" parameter so that the API connect recipe is categorized as a Visual recipe in the right hand panel
Expand Down
5 changes: 4 additions & 1 deletion custom-recipes/api-connect/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ def get_partitioning_keys(id_list, dku_flow_variables):
logger.info("config={}".format(logger.filter_secrets(config)))

credential_parameters = config.get("credential", {})
behaviour_when_error = config.get("behaviour_when_error", "add-error-column")
behaviour_when_error = config.get("behaviour_when_error", "ignore")
# if behaviour_when_error not in UI, this is an update from older version
# -> behave like the older version (=ignore)
logger.info("Behaviour in case of an error: {}".format(behaviour_when_error))
endpoint_parameters = get_endpoint_parameters(config)
secure_credentials = get_secure_credentials(config)
extraction_key = endpoint_parameters.get("extraction_key", "")
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "api-connect",
"version": "1.2.6",
"version": "1.2.7",
"meta": {
"label": "API Connect",
"description": "Retrieve data from any REST API",
Expand Down
2 changes: 1 addition & 1 deletion python-lib/dku_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ class DKUConstants(object):
API_RESPONSE_KEY = "api_response"
FORBIDDEN_KEYS = ["token", "password", "api_key_value", "secure_token"]
FORM_DATA_BODY_FORMAT = "FORM_DATA"
PLUGIN_VERSION = "1.2.5"
PLUGIN_VERSION = "1.2.7"
RAW_BODY_FORMAT = "RAW"
REPONSE_ERROR_KEY = "dku_error"