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

Final Updates for R4 #53

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Final Updates for R4 #53

merged 2 commits into from
Sep 25, 2024

Conversation

amsmith-pro
Copy link
Contributor

No description provided.

@amsmith-pro amsmith-pro requested review from a team as code owners September 11, 2024 14:15
Copy link

cla-bot bot commented Sep 11, 2024

We require contributors to sign our Contributor License Agreement, and we don"t have @amsmith-pro on file. In order for us to review and merge your code, please visit https://www.arrowair.com/docs/contributing/cla and follow the instructions on the page to add yourself to the list.

@amsmith-pro
Copy link
Contributor Author

amsmith-pro commented Sep 11, 2024

In local-dev/docker-compose/aetheric-svc.yml the list of environment variables have a <SERVICE>_PORT_REST for each service with a REST server. However this variable is never used since the docker-compose.yml exposes the respective REST ports per service via ports: using the <SERVICE>_HOST_PORT_REST variable in the dotfile.

I assume then that <SERVICE>_PORT_REST is simply an empty string that isn't read by the program

@amsmith-pro
Copy link
Contributor Author

Add a (commented) dozzle instance in the docker-compose.yaml for easier log perusal, extended timeouts for health checks otherwise certain services (like svc-storage and svc-gis) don't have long enough to start.

One slightly misleading log warning for multiple services is this:
image

Which is only because "Config::try_from_env" is being used, and in some instances it starts with creating a default:
image

@owlot
Copy link
Contributor

owlot commented Sep 24, 2024

In local-dev/docker-compose/aetheric-svc.yml the list of environment variables have a <SERVICE>_PORT_REST for each service with a REST server. However this variable is never used since the docker-compose.yml exposes the respective REST ports per service via ports: using the <SERVICE>_HOST_PORT_REST variable in the dotfile.

I assume then that <SERVICE>_PORT_REST is simply an empty string that isn't read by the program

I've done some testing and the environment configuration is indeed mostly redundant due to the already present .env file.
It can be replaced with this configuration:

    environment:
      - ASSETS_PORT_GRPC=${DOCKER_PORT_GRPC}
      - ATC_PORT_GRPC=${DOCKER_PORT_GRPC}
      - CARGO_PORT_GRPC=${DOCKER_PORT_GRPC}
      - COMPLIANCE_PORT_GRPC=${DOCKER_PORT_GRPC}
      - CONTACT_PORT_GRPC=${DOCKER_PORT_GRPC}
      - DISCOVERY_PORT_GRPC=${DOCKER_PORT_GRPC}
      - GIS_PORT_GRPC=${DOCKER_PORT_GRPC}
      - PRICING_PORT_GRPC=${DOCKER_PORT_GRPC}
      - SCHEDULER_PORT_GRPC=${DOCKER_PORT_GRPC}
      - STORAGE_PORT_GRPC=${DOCKER_PORT_GRPC}
      - TELEMETRY_PORT_GRPC=${DOCKER_PORT_GRPC}

@amsmith-pro amsmith-pro requested a review from owlot September 24, 2024 21:42
@amsmith-pro
Copy link
Contributor Author

amsmith-pro commented Sep 24, 2024

In local-dev/docker-compose/aetheric-svc.yml the list of environment variables have a <SERVICE>_PORT_REST for each service with a REST server. However this variable is never used since the docker-compose.yml exposes the respective REST ports per service via ports: using the <SERVICE>_HOST_PORT_REST variable in the dotfile.
I assume then that <SERVICE>_PORT_REST is simply an empty string that isn't read by the program

I've done some testing and the environment configuration is indeed mostly redundant due to the already present .env file. It can be replaced with this configuration:

    environment:
      - ASSETS_PORT_GRPC=${DOCKER_PORT_GRPC}
      - ATC_PORT_GRPC=${DOCKER_PORT_GRPC}
      - CARGO_PORT_GRPC=${DOCKER_PORT_GRPC}
      - COMPLIANCE_PORT_GRPC=${DOCKER_PORT_GRPC}
      - CONTACT_PORT_GRPC=${DOCKER_PORT_GRPC}
      - DISCOVERY_PORT_GRPC=${DOCKER_PORT_GRPC}
      - GIS_PORT_GRPC=${DOCKER_PORT_GRPC}
      - PRICING_PORT_GRPC=${DOCKER_PORT_GRPC}
      - SCHEDULER_PORT_GRPC=${DOCKER_PORT_GRPC}
      - STORAGE_PORT_GRPC=${DOCKER_PORT_GRPC}
      - TELEMETRY_PORT_GRPC=${DOCKER_PORT_GRPC}

706d5b0

@owlot owlot merged commit 23bffed into main Sep 25, 2024
4 checks passed
@owlot owlot deleted the am-smith/r4-final branch September 25, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants