Skip to content

Conversation

@macdiesel
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings October 21, 2025 20:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts the enterprise catalog service container name and URL references back to enterprise.catalog.app from edx.devstack.enterprise-catalog to maintain consistency with other configuration files across the codebase.

Key Changes:

  • Updated container name in docker-compose.yml from edx.devstack.enterprise-catalog to enterprise.catalog.app
  • Updated ENTERPRISE_CATALOG_URL references in three Python configuration files to use the enterprise.catalog.app hostname

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
docker-compose.yml Reverts enterprise-catalog container name to enterprise.catalog.app
py_configuration_files/license_manager.py Updates ENTERPRISE_CATALOG_URL to use enterprise.catalog.app hostname
py_configuration_files/enterprise_subsidy.py Updates ENTERPRISE_CATALOG_URL to use enterprise.catalog.app hostname
py_configuration_files/enterprise_access.py Updates ENTERPRISE_CATALOG_URL to use enterprise.catalog.app hostname

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


ENTERPRISE_LEARNER_PORTAL_BASE_URL = 'http://localhost:8734'
ENTERPRISE_CATALOG_URL = 'http://edx.devstack.enterprise-catalog:18160'
ENTERPRISE_CATALOG_URL = 'http://enterprise.catalog.app:18160'
Copy link

Copilot AI Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hostname enterprise.catalog.app in the URL does not match the container name enterprise.catalog.app from docker-compose.yml, which uses hostname enterprise-catalog.devstack.edx (line 746). This mismatch will cause connection failures. The URL should use http://enterprise-catalog.devstack.edx:18160 to match the actual hostname, or the hostname in docker-compose.yml should be changed to enterprise.catalog.app.

Suggested change
ENTERPRISE_CATALOG_URL = 'http://enterprise.catalog.app:18160'
ENTERPRISE_CATALOG_URL = 'http://enterprise-catalog.devstack.edx:18160'

Copilot uses AI. Check for mistakes.

LMS_URL = 'http://edx.devstack.lms:18000'
ENTERPRISE_CATALOG_URL = 'http://edx.devstack.enterprise-catalog:18160'
ENTERPRISE_CATALOG_URL = 'http://enterprise.catalog.app:18160'
Copy link

Copilot AI Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hostname enterprise.catalog.app in the URL does not match the container name enterprise.catalog.app from docker-compose.yml, which uses hostname enterprise-catalog.devstack.edx (line 746). This mismatch will cause connection failures. The URL should use http://enterprise-catalog.devstack.edx:18160 to match the actual hostname, or the hostname in docker-compose.yml should be changed to enterprise.catalog.app.

Suggested change
ENTERPRISE_CATALOG_URL = 'http://enterprise.catalog.app:18160'
ENTERPRISE_CATALOG_URL = 'http://enterprise-catalog.devstack.edx:18160'

Copilot uses AI. Check for mistakes.
ENTERPRISE_LEARNER_PORTAL_URL = 'http://localhost:8734'
ENTERPRISE_ADMIN_PORTAL_URL = 'http://localhost:1991'
ENTERPRISE_CATALOG_URL = 'http://edx.devstack.enterprise-catalog:18160'
ENTERPRISE_CATALOG_URL = 'http://enterprise.catalog.app:18160'
Copy link

Copilot AI Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hostname enterprise.catalog.app in the URL does not match the container name enterprise.catalog.app from docker-compose.yml, which uses hostname enterprise-catalog.devstack.edx (line 746). This mismatch will cause connection failures. The URL should use http://enterprise-catalog.devstack.edx:18160 to match the actual hostname, or the hostname in docker-compose.yml should be changed to enterprise.catalog.app.

Suggested change
ENTERPRISE_CATALOG_URL = 'http://enterprise.catalog.app:18160'
ENTERPRISE_CATALOG_URL = 'http://enterprise-catalog.devstack.edx:18160'

Copilot uses AI. Check for mistakes.
@macdiesel macdiesel force-pushed the bbeggs/change_catalog_name branch from d5768b7 to 8b831bb Compare October 21, 2025 20:49
@macdiesel macdiesel force-pushed the bbeggs/change_catalog_name branch from 8b831bb to 045be45 Compare October 21, 2025 20:51
@macdiesel macdiesel merged commit bff052b into master Oct 22, 2025
19 checks passed
@macdiesel macdiesel deleted the bbeggs/change_catalog_name branch October 22, 2025 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants