Skip to content

Commit 3cac44c

Browse files
ui apis unit tests
1 parent 1234d73 commit 3cac44c

12 files changed

+779
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
4+
"created_by": "ocid1.user.oc1..<OCID>",
5+
"defined_tags": null,
6+
"etag": "c56b6c1b-cb97-408a-b1a6-c41e682ab773",
7+
"freeform_tags": null,
8+
"name": "bucket-name-1",
9+
"namespace": "test-namespace",
10+
"time_created": "2021-04-05T21:18:45.194000+00:00"
11+
}
12+
]
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[
2+
{
3+
"compartment_id": "ocid1.tenancy.oc1..<OCID>",
4+
"defined_tags": {},
5+
"description": "Compartment Description",
6+
"freeform_tags": {},
7+
"id": "ocid1.compartment.oc1..<OCID>",
8+
"inactive_status": null,
9+
"is_accessible": null,
10+
"lifecycle_state": "ACTIVE",
11+
"name": "compartment-name-1",
12+
"time_created": "2019-04-01T18:17:16.010000+00:00"
13+
},
14+
{
15+
"compartment_id": "ocid1.tenancy.oc1..<OCID>",
16+
"defined_tags": {
17+
"OracleInternalReserved": {
18+
"ServiceType": "Other"
19+
}
20+
},
21+
"description": "Compartment Description",
22+
"freeform_tags": {},
23+
"id": "ocid1.compartment.oc1..<OCID>",
24+
"inactive_status": null,
25+
"is_accessible": null,
26+
"lifecycle_state": "ACTIVE",
27+
"name": "compartment-name-2",
28+
"time_created": "2020-08-19T00:01:54.961000+00:00"
29+
}
30+
]
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[
2+
{
3+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
4+
"created_by": "ocid1.user.oc1..<OCID>",
5+
"defined_tags": {},
6+
"freeform_tags": {
7+
"aqua_evaluation": "aqua_evaluation"
8+
},
9+
"id": "ocid1.datasciencemodelversionset.oc1.iad.<OCID>",
10+
"lifecycle_state": "ACTIVE",
11+
"name": "evaluation-experiment-1",
12+
"project_id": "ocid1.datascienceproject.oc1.iad.<OCID>",
13+
"time_created": "2024-03-18T22:47:14.080000+00:00",
14+
"time_updated": "2024-04-10T16:46:12.740000+00:00"
15+
},
16+
{
17+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
18+
"created_by": "ocid1.user.oc1..<OCID>",
19+
"defined_tags": {},
20+
"freeform_tags": {
21+
"aqua_evaluation": "aqua_evaluation"
22+
},
23+
"id": "ocid1.datasciencemodelversionset.oc1.iad.<OCID>",
24+
"lifecycle_state": "ACTIVE",
25+
"name": "evaluation-experiment-2",
26+
"project_id": "ocid1.datascienceproject.oc1.iad.<OCID>",
27+
"time_created": "2024-03-18T22:47:14.080000+00:00",
28+
"time_updated": "2024-04-10T16:46:12.740000+00:00"
29+
}
30+
]
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[
2+
{
3+
"core_count": 1,
4+
"memory_in_gbs": 15,
5+
"name": "VM.Standard2.1",
6+
"shape_series": "INTEL_SKYLAKE"
7+
},
8+
{
9+
"core_count": 64,
10+
"memory_in_gbs": 1024,
11+
"name": "VM.Standard.E3.Flex",
12+
"shape_series": "AMD_ROME"
13+
},
14+
{
15+
"core_count": 32,
16+
"memory_in_gbs": 512,
17+
"name": "VM.Standard.x86.Generic",
18+
"shape_series": "UNKNOWN_ENUM_VALUE"
19+
},
20+
{
21+
"core_count": 15,
22+
"memory_in_gbs": 240,
23+
"name": "VM.GPU.A10.1",
24+
"shape_series": "NVIDIA_GPU"
25+
},
26+
{
27+
"core_count": 80,
28+
"memory_in_gbs": 512,
29+
"name": "VM.Standard.A1.Flex",
30+
"shape_series": "ARM"
31+
}
32+
]
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[
2+
{
3+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
4+
"defined_tags": {},
5+
"description": "Log group 1",
6+
"display_name": "log-group-name-1",
7+
"freeform_tags": {},
8+
"id": "ocid1.loggroup.oc1.iad.<OCID>",
9+
"lifecycle_state": "ACTIVE",
10+
"time_created": "2023-11-21T00:08:07.399000+00:00",
11+
"time_last_modified": "2023-11-21T00:08:07.399000+00:00"
12+
},
13+
{
14+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
15+
"defined_tags": {},
16+
"description": "Log group 2",
17+
"display_name": "log-group-name-2",
18+
"freeform_tags": {},
19+
"id": "ocid1.loggroup.oc1.iad.<OCID>",
20+
"lifecycle_state": "ACTIVE",
21+
"time_created": "2023-10-09T23:28:56.170000+00:00",
22+
"time_last_modified": "2023-10-09T23:28:56.170000+00:00"
23+
}
24+
]
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[
2+
{
3+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
4+
"configuration": null,
5+
"defined_tags": {},
6+
"display_name": "log-name-1",
7+
"freeform_tags": {},
8+
"id": "ocid1.log.oc1.iad.<OCID>",
9+
"is_enabled": true,
10+
"lifecycle_state": "ACTIVE",
11+
"log_group_id": "ocid1.loggroup.oc1.iad.<OCID>",
12+
"log_type": "CUSTOM",
13+
"retention_duration": 30,
14+
"time_created": "2024-02-16T06:19:42.637000+00:00",
15+
"time_last_modified": "2024-02-16T06:20:16.711000+00:00"
16+
},
17+
{
18+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
19+
"configuration": null,
20+
"defined_tags": {},
21+
"display_name": "log-name-2",
22+
"freeform_tags": {},
23+
"id": "ocid1.log.oc1.iad.<OCID>",
24+
"is_enabled": true,
25+
"lifecycle_state": "ACTIVE",
26+
"log_group_id": "ocid1.loggroup.oc1.iad.<OCID>",
27+
"log_type": "CUSTOM",
28+
"retention_duration": 30,
29+
"time_created": "2023-11-21T16:02:31.592000+00:00",
30+
"time_last_modified": "2023-11-21T16:02:31.592000+00:00"
31+
}
32+
]
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[
2+
{
3+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
4+
"created_by": "ocid1.user.oc1..<OCID>",
5+
"defined_tags": {},
6+
"freeform_tags": {
7+
"aqua_finetuning": "aqua_finetuning"
8+
},
9+
"id": "ocid1.datasciencemodelversionset.oc1.iad.<OCID>",
10+
"lifecycle_state": "ACTIVE",
11+
"name": "fine-tuning-mvs-1",
12+
"project_id": "ocid1.datascienceproject.oc1.iad.<OCID>",
13+
"time_created": "2024-03-18T22:47:14.080000+00:00",
14+
"time_updated": "2024-04-10T16:46:12.740000+00:00"
15+
},
16+
{
17+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
18+
"created_by": "ocid1.user.oc1..<OCID>",
19+
"defined_tags": {},
20+
"freeform_tags": {
21+
"aqua_finetuning": "aqua_finetuning"
22+
},
23+
"id": "ocid1.datasciencemodelversionset.oc1.iad.<OCID>",
24+
"lifecycle_state": "ACTIVE",
25+
"name": "fine-tuning-mvs-2",
26+
"project_id": "ocid1.datascienceproject.oc1.iad.<OCID>",
27+
"time_created": "2024-03-18T22:47:14.080000+00:00",
28+
"time_updated": "2024-04-10T16:46:12.740000+00:00"
29+
}
30+
]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"available": 2,
3+
"effective_quota_value": null,
4+
"fractional_availability": 2.0,
5+
"fractional_usage": 1.0,
6+
"used": 1
7+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"compartment_id": null,
3+
"defined_tags": {
4+
"OracleInternalReserved": {
5+
"CostCenter": "123456",
6+
"OwnerEmail": "email@oracle.com",
7+
"Phonebook": "datascience",
8+
"ServiceType": "IaaS",
9+
"UsageType": "development"
10+
}
11+
},
12+
"description": "root-compartment-description",
13+
"freeform_tags": {},
14+
"id": "ocid1.tenancy.oc1..<OCID>",
15+
"inactive_status": null,
16+
"is_accessible": true,
17+
"lifecycle_state": "ACTIVE",
18+
"name": "root-compartment-name",
19+
"time_created": "2018-11-08T18:08:40.849000+00:00"
20+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[
2+
{
3+
"availability_domain": null,
4+
"cidr_block": "1.0.0.0/24",
5+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
6+
"defined_tags": {},
7+
"dhcp_options_id": "ocid1.dhcpoptions.oc1.iad.<OCID>",
8+
"display_name": "subnet-name-1",
9+
"dns_label": "dns-label-1",
10+
"freeform_tags": {
11+
"VCN": "VCN-2023-07-31T06:17:27"
12+
},
13+
"id": "ocid1.subnet.oc1.iad.<OCID>",
14+
"ipv6_cidr_block": null,
15+
"ipv6_cidr_blocks": null,
16+
"ipv6_virtual_router_ip": null,
17+
"lifecycle_state": "AVAILABLE",
18+
"prohibit_internet_ingress": true,
19+
"prohibit_public_ip_on_vnic": true,
20+
"route_table_id": "ocid1.routetable.oc1.iad.<OCID>",
21+
"security_list_ids": [
22+
"ocid1.securitylist.oc1.iad.<OCID>"
23+
],
24+
"subnet_domain_name": "subnet-domain-name-1",
25+
"time_created": "2023-07-31T06:18:16.904000+00:00",
26+
"vcn_id": "ocid1.vcn.oc1.iad.<OCID>",
27+
"virtual_router_ip": "0.0.0.0",
28+
"virtual_router_mac": "00:00:00:00:00:00"
29+
},
30+
{
31+
"availability_domain": null,
32+
"cidr_block": "10.0.0.0/24",
33+
"compartment_id": "ocid1.compartment.oc1..<OCID>",
34+
"defined_tags": {},
35+
"dhcp_options_id": "ocid1.dhcpoptions.oc1.iad.<OCID>",
36+
"display_name": "subnet-name-2",
37+
"dns_label": "dns-label-2",
38+
"freeform_tags": {
39+
"VCN": "VCN-2023-07-31T06:17:27"
40+
},
41+
"id": "ocid1.subnet.oc1.iad.<OCID>",
42+
"ipv6_cidr_block": null,
43+
"ipv6_cidr_blocks": null,
44+
"ipv6_virtual_router_ip": null,
45+
"lifecycle_state": "AVAILABLE",
46+
"prohibit_internet_ingress": false,
47+
"prohibit_public_ip_on_vnic": false,
48+
"route_table_id": "ocid1.routetable.oc1.iad.<OCID>",
49+
"security_list_ids": [
50+
"ocid1.securitylist.oc1.iad.<OCID>",
51+
"ocid1.securitylist.oc1.iad.<OCID>"
52+
],
53+
"subnet_domain_name": "subnet-domain-name-2",
54+
"time_created": "2023-07-31T06:18:16.381000+00:00",
55+
"vcn_id": "ocid1.vcn.oc1.iad.<OCID>",
56+
"virtual_router_ip": "0.0.0.0",
57+
"virtual_router_mac": "00:00:00:00:00:00"
58+
}
59+
]

0 commit comments

Comments
 (0)