Skip to content

Commit

Permalink
Merge pull request #8 from Systems-Modeling/develop
Browse files Browse the repository at this point in the history
Merge fixed from develop to main
  • Loading branch information
manasbajaj authored Jan 30, 2024
2 parents 9d9dead + c144a4b commit 67fd545
Showing 1 changed file with 126 additions and 5 deletions.
131 changes: 126 additions & 5 deletions Req_Str_Beh_Decomposition_Recipe_Spacecraft_Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 2,
"id": "6b5fef59",
"metadata": {},
"outputs": [],
Expand All @@ -24,8 +24,7 @@
"import json\n",
"\n",
"#host = \"<SysML2-API-Repo-Host:Port>\"\n",
"#host = \"Specify the URL of the SysML v2 API and Service Repository\"\n",
"host = \"http://sysml2-sst.intercax.com:9000\""
"host = \"Specify the URL of the SysML v2 API and Service Repository\""
]
},
{
Expand All @@ -37,9 +36,131 @@
]
},
{
"cell_type": "markdown",
"id": "dfe02baa-a9be-46f1-8c3d-bcc76402c6ae",
"cell_type": "code",
"execution_count": 3,
"id": "f7d5de82-fd62-4178-b1ef-5666393fa51f",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Project Name</th>\n",
" <th>Project ID</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>7b-Variant Configurations Mon Mar 13 17:54:29 ...</td>\n",
" <td>000e9890-6935-43e6-a5d7-5d7cac601f4c</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>6-Individual and Snapshots Mon Mar 13 17:53:49...</td>\n",
" <td>00bbbdc9-ea5e-4ab6-8198-94b4708639c4</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>11a-View-Viewpoint Mon Mar 13 17:59:02 EDT 2023</td>\n",
" <td>021b60e9-1d9d-4c0e-af6b-8478b5928ccf</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>VehiclePackage Fri May 05 12:28:40 UTC 2023</td>\n",
" <td>0768a0aa-9be9-457d-b693-12d45c68343c</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>sleon_filtering_test Sat Jun 10 03:30:40 UTC 2023</td>\n",
" <td>0a8f97fe-a4c8-4806-bfa9-0d95e377761a</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>71</th>\n",
" <td>updated-test-project-19/05/2023 13:36:25</td>\n",
" <td>f5d672c5-8a36-4a5a-8fcc-4eb7bfb703ff</td>\n",
" </tr>\n",
" <tr>\n",
" <th>72</th>\n",
" <td>13b-Safety and Security Features Element Group...</td>\n",
" <td>f9079904-26cf-437e-ab74-e1bd6b6013fb</td>\n",
" </tr>\n",
" <tr>\n",
" <th>73</th>\n",
" <td>ts-usage-views Fri Jun 09 06:35:30 UTC 2023</td>\n",
" <td>fcf4f295-8813-4737-ad97-f21267e3738b</td>\n",
" </tr>\n",
" <tr>\n",
" <th>74</th>\n",
" <td>VehicleMasses_MapleConnector Mon Jan 22 20:32:...</td>\n",
" <td>fee1b365-a84d-4de1-ba56-1d364f10478c</td>\n",
" </tr>\n",
" <tr>\n",
" <th>75</th>\n",
" <td>BasicAJMExampleIF1 Fri Sep 22 14:00:29 UTC 2023</td>\n",
" <td>ff444e8e-0bb0-430d-ad75-c6e3de10af30</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>76 rows × 2 columns</p>\n",
"</div>"
],
"text/plain": [
" Project Name \\\n",
"0 7b-Variant Configurations Mon Mar 13 17:54:29 ... \n",
"1 6-Individual and Snapshots Mon Mar 13 17:53:49... \n",
"2 11a-View-Viewpoint Mon Mar 13 17:59:02 EDT 2023 \n",
"3 VehiclePackage Fri May 05 12:28:40 UTC 2023 \n",
"4 sleon_filtering_test Sat Jun 10 03:30:40 UTC 2023 \n",
".. ... \n",
"71 updated-test-project-19/05/2023 13:36:25 \n",
"72 13b-Safety and Security Features Element Group... \n",
"73 ts-usage-views Fri Jun 09 06:35:30 UTC 2023 \n",
"74 VehicleMasses_MapleConnector Mon Jan 22 20:32:... \n",
"75 BasicAJMExampleIF1 Fri Sep 22 14:00:29 UTC 2023 \n",
"\n",
" Project ID \n",
"0 000e9890-6935-43e6-a5d7-5d7cac601f4c \n",
"1 00bbbdc9-ea5e-4ab6-8198-94b4708639c4 \n",
"2 021b60e9-1d9d-4c0e-af6b-8478b5928ccf \n",
"3 0768a0aa-9be9-457d-b693-12d45c68343c \n",
"4 0a8f97fe-a4c8-4806-bfa9-0d95e377761a \n",
".. ... \n",
"71 f5d672c5-8a36-4a5a-8fcc-4eb7bfb703ff \n",
"72 f9079904-26cf-437e-ab74-e1bd6b6013fb \n",
"73 fcf4f295-8813-4737-ad97-f21267e3738b \n",
"74 fee1b365-a84d-4de1-ba56-1d364f10478c \n",
"75 ff444e8e-0bb0-430d-ad75-c6e3de10af30 \n",
"\n",
"[76 rows x 2 columns]"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"projects_url = f\"{host}/projects\" \n",
"projects_response = requests.get(projects_url)\n",
Expand Down

0 comments on commit 67fd545

Please sign in to comment.