Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit da6d02c

Browse files
authored
Update create_resources_and_upload_app_local.py
1 parent b0d8438 commit da6d02c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

scripts/tests/create_resources_and_upload_app_local.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
# CONNECTOR API SETTINGS #
1010
##########################
1111
apiUser = "admin"
12-
apiPassword = "idsappstore!"
12+
apiPassword = "password"
1313
host = "localhost"
1414
port = 8080
15-
protocol = "http"
15+
protocol = "https"
1616
if port is not None:
1717
combined_host = f"{protocol}://{host}:{port}"
1818
else:
@@ -22,7 +22,7 @@
2222
# APPSTORE REGISTRY SETTINGS #
2323
##############################
2424
registry_address = "app.registry.example.org"
25-
registry_repo_name = "ids-example"
25+
registry_repo_name = "library"
2626
registry_user = "admin"
2727
registry_password = "password"
2828

@@ -31,8 +31,8 @@
3131
###################
3232
client = docker.from_env()
3333

34-
resource_id_tag_version = "main"
35-
image_name = "ubuntu:latest"
34+
resource_id_tag_version = "latest"
35+
image_name = "ahemid:idsapp"
3636

3737
resource_version = 1
3838

@@ -504,15 +504,15 @@ def send_get_artifact_data(artifact_url_tmp, artifact_uuid_tmp):
504504
###########################
505505
# SENDING SIMULATED EVENT #
506506
###########################
507-
send_simulated_registry_event(resource_uuid)
507+
##send_simulated_registry_event(resource_uuid)
508508

509509
##################################
510510
# GET ARTIFACT AND ARTIFACT DATA #
511511
##################################
512-
send_get_artifact(artifact)
512+
##send_get_artifact(artifact)
513513

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)
516516

517517
##########################
518518
# DOCKER UPLOAD METHODS #

0 commit comments

Comments
 (0)