Raghav Maheshwari created ATLAS-5405:
----------------------------------------

             Summary: Add unit tests for Atlas application configuration and 
argument parsing
                 Key: ATLAS-5405
                 URL: https://issues.apache.org/jira/browse/ATLAS-5405
             Project: Atlas
          Issue Type: Task
            Reporter: Raghav Maheshwari


Proposed Changes

Add a dedicated `AtlasTest` unit test class covering:

* Command-line argument parsing with no arguments.
* Parsing of the application path argument.
* Parsing of the application port argument.
* Command-line port taking precedence when explicitly provided.
* HTTPS port selection when TLS is enabled.
* HTTP port selection when TLS is disabled.
* HTTPS port selection when the TLS configuration is empty.
* Project version resolution from configuration.

No production code changes are required.

Testing

The new unit tests were executed using Maven and all 8 tests passed 
successfully.

The tests are located at:

`webapp/src/test/java/org/apache/atlas/AtlasTest.java`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to