Skip to content

Commit

Permalink
Merge pull request #68 from mandy-chessell/lab-work
Browse files Browse the repository at this point in the history
Add testEntityTypes option
  • Loading branch information
mandy-chessell authored Jul 24, 2023
2 parents 5aab317 + 97dbe84 commit 4001c01
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions conformance-testing-labs/run-conformance-test-suite.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"ctsPlatformURL = os.environ.get('ctsPlatformURL','https://localhost:9445')\n",
"\n",
"def checkServerPlatform(testPlatformName, testPlatformURL):\n",
" response = requests.get(testPlatformURL + \"/open-metadata/platform-services/users/garygeeke/server-platform/origin/\", verify=False)\n",
" response = requests.get(testPlatformURL + \"/open-metadata/platform-services/users/garygeeke/server-platform/origin\", verify=False)\n",
" if response.status_code == 200:\n",
" print(\" ...\", testPlatformName, \"at\", testPlatformURL, \"is active - ready to begin\")\n",
" else:\n",
Expand Down Expand Up @@ -166,8 +166,11 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"We'll also need a JSON request body for configuration of the workbench. \n",
"This can be used to set the pageSize used in searches."
"We'll also need a JSON request body for configuration of the repository workbench.\n",
"\n",
"* tutRepositoryServerName - name of the server to test.\n",
"* maxSearchResults - set the pageSize used in searches.\n",
"* testEntityTypes - optional list of entity types that isu sed to restrict the langth of the test.\n"
]
},
{
Expand All @@ -178,8 +181,9 @@
"source": [
"workbenchConfigBody = {\n",
" \"class\" : \"RepositoryConformanceWorkbenchConfig\",\n",
" \"tutRepositoryServerName\": sutServerName ,\n",
" \"maxSearchResults\" : 10\n",
" \"tutRepositoryServerName\": sutServerName,\n",
" \"maxSearchResults\" : 10,\n",
" \"testEntityTypes\" : [\"Asset\"]\n",
"}"
]
},
Expand Down Expand Up @@ -732,7 +736,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -746,7 +750,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 4001c01

Please sign in to comment.