Skip to content

v1.0.83-alpha

Choose a tag to compare

@github-actions github-actions released this 11 Dec 13:44
2f75560
Search and replace policy (#57)

* Added ‘SearchAndReplace’ Apigee policy

* Renamed to ‘SearchAndReplaceResponse’

* Fixed typo

* Removed any ES6 syntax

* Added SearchAndReplaceResponse Apigee policy to sandbox

* Added JS file

* Updated name

* Moved flow in to the TargetEndpoint

* Updated the search and replace JS

* Debugging basePath and subdomain

* Debug context

* Debugging proxyRequest and targetRequest

* WIP

* Added timestamp

* WIP

* WIP

* WIP

* WIP

* WIP

* Using target.name in API host name

* Removed switch statement

* Using a request.url

* Removed targetName

* Updated JS

* Added check for ‘api.nhs.uk’ too

* Added api.nhs.uk

* Added a check for ‘api’

* Added debugging for ‘requestUrl’ and ‘environmentSubdomain’

* Moved ‘item’ variable outside the ‘for’ loop

* WIP: AssignMessage.CopyRequest

* Commented out the ‘CopyRequest’ flow

* Using ‘requestHostnameEnv’ in SearchAndReplaceResponse.js

* Debugging ‘requestHostnameEnv’ variable

* Removed debugging

* Updated the search and replace Regex