Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I-ALiRT: OpsSW test updates #388

Merged

Conversation

laspsandoval
Copy link
Contributor

@laspsandoval laspsandoval commented Nov 8, 2024

Change Summary

Overview

Changes based on testing with OpsSW image.

Updated Files

  • stackbuilder.py
    • Accomodate for 1:1 ratio for ports (ground station port will be reflected in container port). Previously I had all ground station ports directed to a single container port. So now container ports = ground station ports.
  • ialirt_processing_construct.py
    • Accomodate for 1:1 ratio for ports (ground station port will be reflected in container port). Previously I had all ground station ports directed to a single container port. So now container ports = ground station ports.
    • Added SSM access to EC2 instance. This is something that will be helpful for OpsSW as they test.
    • Increased the memory and CPU that the container is allowed to use
  • test_app.py
    • Added ability to handle multiple ports.
  • test_ialirt_processing_construct.py
    • Test ialirt_processing_construct.py
  • Dockerfile
    • Added ability to handle multiple ports.

Testing

  • Deploys properly
  • Checked that target groups for NLB are as expected
  • Checked that s3 object appears as expected

If you click on:
http://Ialirt-Ialir-8V10DnoSyr56-62024c6e10d35fef.elb.us-west-2.amazonaws.com:1234
http://Ialirt-Ialir-8V10DnoSyr56-62024c6e10d35fef.elb.us-west-2.amazonaws.com:1235

You will see hello world messages with respective ports. Make certain that you are on the VPN!

if you click on:
http://Ialirt-Ialir-8V10DnoSyr56-62024c6e10d35fef.elb.us-west-2.amazonaws.com:1235/list

you will see a list of objects in the s3 bucket.

@laspsandoval laspsandoval self-assigned this Nov 8, 2024
@laspsandoval laspsandoval changed the title Opssw test I-ALiRT: OpsSW test updates Nov 8, 2024
@laspsandoval laspsandoval added this to the Nov 2024 milestone Nov 8, 2024
@laspsandoval laspsandoval merged commit d646fd8 into IMAP-Science-Operations-Center:dev Nov 12, 2024
2 checks passed
@laspsandoval laspsandoval deleted the opssw_test branch November 12, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants