|
9 | 9 | # CONNECTOR API SETTINGS # |
10 | 10 | ########################## |
11 | 11 | apiUser = "admin" |
12 | | -apiPassword = "idsappstore!" |
| 12 | +apiPassword = "password" |
13 | 13 | host = "localhost" |
14 | 14 | port = 8080 |
15 | | -protocol = "http" |
| 15 | +protocol = "https" |
16 | 16 | if port is not None: |
17 | 17 | combined_host = f"{protocol}://{host}:{port}" |
18 | 18 | else: |
|
22 | 22 | # APPSTORE REGISTRY SETTINGS # |
23 | 23 | ############################## |
24 | 24 | registry_address = "app.registry.example.org" |
25 | | -registry_repo_name = "ids-example" |
| 25 | +registry_repo_name = "library" |
26 | 26 | registry_user = "admin" |
27 | 27 | registry_password = "password" |
28 | 28 |
|
|
31 | 31 | ################### |
32 | 32 | client = docker.from_env() |
33 | 33 |
|
34 | | -resource_id_tag_version = "main" |
35 | | -image_name = "ubuntu:latest" |
| 34 | +resource_id_tag_version = "latest" |
| 35 | +image_name = "ahemid:idsapp" |
36 | 36 |
|
37 | 37 | resource_version = 1 |
38 | 38 |
|
@@ -504,15 +504,15 @@ def send_get_artifact_data(artifact_url_tmp, artifact_uuid_tmp): |
504 | 504 | ########################### |
505 | 505 | # SENDING SIMULATED EVENT # |
506 | 506 | ########################### |
507 | | -send_simulated_registry_event(resource_uuid) |
| 507 | +##send_simulated_registry_event(resource_uuid) |
508 | 508 |
|
509 | 509 | ################################## |
510 | 510 | # GET ARTIFACT AND ARTIFACT DATA # |
511 | 511 | ################################## |
512 | | -send_get_artifact(artifact) |
| 512 | +##send_get_artifact(artifact) |
513 | 513 |
|
514 | | -filename = send_get_artifact_data(artifact, artifact_uuid) |
515 | | -pprint.pprint("File can be found in working directory: " + filename) |
| 514 | +##filename = send_get_artifact_data(artifact, artifact_uuid) |
| 515 | +##pprint.pprint("File can be found in working directory: " + filename) |
516 | 516 |
|
517 | 517 | ########################## |
518 | 518 | # DOCKER UPLOAD METHODS # |
|
0 commit comments