Skip to content

Commit 0750d3e

Browse files
authored
Merge pull request #215 from f5devcentral/dev
Update labs
2 parents e264f2e + 5a76ff0 commit 0750d3e

19 files changed

+28
-21
lines changed
-264 KB
Binary file not shown.
-160 KB
Binary file not shown.
-132 KB
Binary file not shown.
-59.6 KB
Binary file not shown.
-216 KB
Binary file not shown.
-420 KB
Binary file not shown.
-293 KB
Binary file not shown.
-50.7 KB
Loading
-24.9 KB
Loading
-25.3 KB
Loading
-72.6 KB
Loading
-95.2 KB
Loading
-75.8 KB
Loading
18.5 KB
Loading
70.9 KB
Loading
37.8 KB
Loading

docs/class4/_static/shared-001a.png

25.5 KB
Loading

docs/class4/lab1.rst

+17-16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
13
Lab 1: API Discovery
24
=========================================================================================
35

@@ -39,6 +41,11 @@ steps will define an application, register its DNS and assign a target as an ori
3941
.. image:: _static/shared-001.png
4042
:width: 800px
4143

44+
#. Click on the arrow to the right of **Namespace**, select your namespace from the list.
45+
46+
.. image:: _static/shared-001a.png
47+
:width: 500px
48+
4249
#. In the left-hand navigation expand **Manage** and click **Load Balancers > HTTP Load**
4350
**Balancers**
4451

@@ -122,8 +129,8 @@ steps will define an application, register its DNS and assign a target as an ori
122129
.. image:: _static/lab1-task1-012.png
123130
:width: 800px
124131

125-
Task 2: Swagger File Import & Version Control
126-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132+
Task 2: OpenAPI File Import
133+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
127134

128135
In this task's series of steps you will import swagger files into the F5 Distributed Cloud tenant and explore
129136
version control features.
@@ -141,22 +148,17 @@ version control features.
141148
.. image:: _static/shared-001.png
142149
:width: 800px
143150

144-
#. In the left-hand navigation, click on **Files** under the **Manage** section.
145-
146-
#. Click **Add Swagger File** in the main window area as shown. Alternatively, the link near
147-
the top of the window can also be used.
151+
#. In the left-hand navigation, click on **Files** then **OpenAPI Files** under the **Manage** section.
148152

149-
.. note::
150-
*If you receive an error when clicking on "Add Swagger File" located at the center
151-
of the window, click "Add Swagger File" at the top of the same window.*
153+
#. Click **Add OpenAPI File** located in the center of the window.
152154

153155
.. image:: _static/lab1-task2-002.png
154156
:width: 800px
155157

156-
#. In the resulting **New Swagger File** window, input **app-api** for the **Name** under
158+
#. In the resulting **OpenAPI File** window, input **app-api** for the **Name** under
157159
the **Metadata** section.
158160

159-
#. In the **Upload Swagger File** section, click the **Upload File** button. Select the file
161+
#. In the **OpenAPI Upload** section, click the **Upload File** button. Select the file
160162
downloaded in Step 1 above and click **Open**.
161163

162164
.. image:: _static/lab1-task2-003.png
@@ -167,7 +169,7 @@ version control features.
167169
.. image:: _static/lab1-task2-004.png
168170
:width: 800px
169171

170-
#. In the resulting **Swagger Files** window, you will see the upload file with additional
172+
#. In the resulting **OpenAPI File** window, you will see the upload file with additional
171173
metadata.
172174

173175
.. note::
@@ -177,7 +179,7 @@ version control features.
177179
.. image:: _static/lab1-task2-005.png
178180
:width: 800px
179181

180-
Task 3: Swagger Definition
182+
Task 3: API Definition
181183
~~~~~~~~~~~~~~~~~~~~~~~~~~
182184

183185
In this task's series of steps you will establish the Swagger Definition which serves as an object
@@ -198,10 +200,9 @@ pointer to imported swagger files you just uploaded.
198200
#. In the resulting **New API Definition** window, input **app-api-spec**
199201
for the **Name** under the **Metadata** section.
200202

201-
#. In the **Swagger Specs** section, click **Add Item** box in the
202-
**Swagger Specs** column.
203+
#. In the **OpenAPI Specification Files** section, click **Add Item**.
203204

204-
#. Select the version 1 of the previously uploaded swagger spec file. It will be in the
205+
#. Select the version 1 of the previously uploaded OpenAPI spec file. It will be in the
205206
format **<namespace>/app-api/v1-<current-date>**.
206207

207208
#. Once selected, click **Save and Exit** in the bottom-right corner.

docs/class4/lab2.rst

+11-5
Original file line numberDiff line numberDiff line change
@@ -178,17 +178,23 @@ previously built Load Balancer object delivering the targeted API.
178178
.. image:: _static/lab2-task2-005.png
179179
:width: 800px
180180

181-
#. In the resulting configuration window, select **/api/DogLookup/GetAllDogs** for **API
182-
Endpoint** input.
181+
#. In the resulting configuration window, update the following fields then click **Apply**.
183182

184-
#. Select **ANY** for **Method** input and then click the **Apply** button.
183+
* **API Endpoint:** ``/api/DogLookup/GetAllDogs``
184+
* **Method List:** ``ANY``
185+
* **Threshold:** ``3``
186+
* **Duration:** ``Minute``
185187

186-
.. image:: _static/lab2-task2-006.png
188+
189+
.. note::
190+
*This will rate limit a client after making 3 requests within 1 minute.*
191+
192+
.. image:: _static/lab2-task2-006-alt.png
187193
:width: 800px
188194

189195
#. Review the API Endpoint rate limiting rule and click, the **Apply** button.
190196

191-
.. image:: _static/lab2-task2-007.png
197+
.. image:: _static/lab2-task2-007-alt.png
192198
:width: 800px
193199

194200
#. Note the updated configuration for API Rate limiting, Click **Other Settings** on the

0 commit comments

Comments
 (0)