From b3ecb3ea3ef0c736bc86c647cb98f9bb1c2f617d Mon Sep 17 00:00:00 2001 From: Frances Elliott <42477011+fscelliott@users.noreply.github.com> Date: Mon, 19 Apr 2021 10:57:57 -0600 Subject: [PATCH 1/5] Update 010 - evaluate-rest-apis.md --- .../030 - use-optimizely-agent/010 - evaluate-rest-apis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/readme-sync/v4.0/deploy-as-a-microservice/030 - use-optimizely-agent/010 - evaluate-rest-apis.md b/docs/readme-sync/v4.0/deploy-as-a-microservice/030 - use-optimizely-agent/010 - evaluate-rest-apis.md index 6628abee..85715af7 100644 --- a/docs/readme-sync/v4.0/deploy-as-a-microservice/030 - use-optimizely-agent/010 - evaluate-rest-apis.md +++ b/docs/readme-sync/v4.0/deploy-as-a-microservice/030 - use-optimizely-agent/010 - evaluate-rest-apis.md @@ -8,7 +8,7 @@ metadata: createdAt: "2020-02-21T17:44:53.019Z" updatedAt: "2021-03-15T23:02:34.056Z" --- -Below is an example demonstrating the APIs capabilities. For brevity, we've chosen to illustrate the API usage with Python. Note that the API documentation is defined via an OpenAPI (Swagger) spec and can be viewed [here](https://library.optimizely.com/docs/api/agent/v1/index.htm). +Below is an example demonstrating the APIs capabilities. For brevity, we've chosen to illustrate the API usage with Python. Note that the API documentation is defined via an OpenAPI (Swagger) spec and can be viewed [here](https://library.optimizely.com/docs/api/agent/v1/index.html). ## Start an http session Each request made into Optimizely Agent is in the context of an Optimizely SDK Key. SDK Keys map API requests to a specific Optimizely Project and Environment. We can setup a global request header by using the `requests.Session` object. From 23c2e42b0adc4c619bb67ef20c133194b3a0ab9a Mon Sep 17 00:00:00 2001 From: Frances Elliott <42477011+fscelliott@users.noreply.github.com> Date: Mon, 19 Apr 2021 11:01:17 -0600 Subject: [PATCH 2/5] Update 010 - evaluate-rest-apis.md --- .../030 - use-optimizely-agent/010 - evaluate-rest-apis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/readme-sync/v3.1/deploy-as-a-microservice/030 - use-optimizely-agent/010 - evaluate-rest-apis.md b/docs/readme-sync/v3.1/deploy-as-a-microservice/030 - use-optimizely-agent/010 - evaluate-rest-apis.md index a5dd0c42..0bf59ca2 100644 --- a/docs/readme-sync/v3.1/deploy-as-a-microservice/030 - use-optimizely-agent/010 - evaluate-rest-apis.md +++ b/docs/readme-sync/v3.1/deploy-as-a-microservice/030 - use-optimizely-agent/010 - evaluate-rest-apis.md @@ -8,7 +8,7 @@ metadata: createdAt: "2020-02-21T17:44:53.019Z" updatedAt: "2020-04-13T23:02:34.056Z" --- -Below is an example demonstrating the APIs capabilities. For brevity, we've chosen to illustrate the API usage with Python. Note that the API documentation is defined via an OpenAPI (Swagger) spec and can be viewed [here](https://library.optimizely.com/docs/api/agent/v1/index.htm). +Below is an example demonstrating the APIs capabilities. For brevity, we've chosen to illustrate the API usage with Python. Note that the API documentation is defined via an OpenAPI (Swagger) spec and can be viewed [here](https://library.optimizely.com/docs/api/agent/v1/index.html). ## Start an http session Each request made into Optimizely Agent is in the context of an Optimizely SDK Key. SDK Keys map API requests to a specific Optimizely Project and Environment. We can setup a global request header by using the `requests.Session` object. From 0f1107704dfe22e945ed30e23bb4243d4c2ebc71 Mon Sep 17 00:00:00 2001 From: Frances Elliott <42477011+fscelliott@users.noreply.github.com> Date: Mon, 19 Apr 2021 11:02:31 -0600 Subject: [PATCH 3/5] Update 012 - quickstart-for-agent.md --- .../deploy-as-a-microservice/012 - quickstart-for-agent.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/readme-sync/v3.1/deploy-as-a-microservice/012 - quickstart-for-agent.md b/docs/readme-sync/v3.1/deploy-as-a-microservice/012 - quickstart-for-agent.md index d0e3a8da..fe3de499 100644 --- a/docs/readme-sync/v3.1/deploy-as-a-microservice/012 - quickstart-for-agent.md +++ b/docs/readme-sync/v3.1/deploy-as-a-microservice/012 - quickstart-for-agent.md @@ -11,7 +11,7 @@ updatedAt: "2020-08-17T20:51:52.458Z" This brief quickstart describes how to run Agent, using two examples: -- To get started using Docker, see [Running locally via Docker](https://docs.developers.optimizely.com/full-stack/docs/quickstart-with-docker#section-running-locally-via-docker). +- To get started using Docker, see the following section. - To get started using example Node microservices, see the following video link. @@ -85,4 +85,4 @@ resp = s.post(url = 'http://localhost:8080/v1/activate', params=params, json=pay print(resp.json()) ``` -The activate API is a POST to signal to the caller that there are side-effects. Namely, activation results in a "decision" event sent to Optimizely analytics for the purpose of analyzing Feature Test results. A "decision" will NOT be sent if the feature is simply part of a rollout. \ No newline at end of file +The activate API is a POST to signal to the caller that there are side-effects. Namely, activation results in a "decision" event sent to Optimizely analytics for the purpose of analyzing Feature Test results. A "decision" will NOT be sent if the feature is simply part of a rollout. From 3272bb2b04d2b25b47b2acfa72b74dd6bbab37f8 Mon Sep 17 00:00:00 2001 From: Frances Elliott <42477011+fscelliott@users.noreply.github.com> Date: Mon, 19 Apr 2021 11:02:51 -0600 Subject: [PATCH 4/5] Update 012 - quickstart-for-agent.md --- .../v4.0/deploy-as-a-microservice/012 - quickstart-for-agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/readme-sync/v4.0/deploy-as-a-microservice/012 - quickstart-for-agent.md b/docs/readme-sync/v4.0/deploy-as-a-microservice/012 - quickstart-for-agent.md index 643778fd..071f052b 100644 --- a/docs/readme-sync/v4.0/deploy-as-a-microservice/012 - quickstart-for-agent.md +++ b/docs/readme-sync/v4.0/deploy-as-a-microservice/012 - quickstart-for-agent.md @@ -11,7 +11,7 @@ updatedAt: "2021-03-15T23:02:34.056Z" This brief quickstart describes how to run Agent, using two examples: -- To get started using Docker, see [Running locally via Docker](https://docs.developers.optimizely.com/full-stack/docs/quickstart-with-docker#section-running-locally-via-docker). +- To get started using Docker, see the following section. - To get started using example Node microservices, see the following video link. From 39b7602f8c6dab5edd079337981e351d70336785 Mon Sep 17 00:00:00 2001 From: Sohail Hussain Date: Mon, 19 Apr 2021 11:50:20 -0700 Subject: [PATCH 5/5] hadolint version fixed --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cb9747e9..1793a138 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ jobs: dist: xenial script: - make -e lint - - for f in `find scripts/dockerfiles -type f`; do echo $f; docker run --rm -i hadolint/hadolint < $f; done + - for f in `find scripts/dockerfiles -type f`; do echo $f; docker run --rm -i hadolint/hadolint:v2.1.0 < $f; done - stage: Tests name: coveralls