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

Feature/corporate maven repository #836

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Oct 13, 2024

  1. feat(http): restore axios default proxy handling

    The current implementation does not handle NO_PROXY env var.
    
    I removed explicit proxy handling, since axios already
    handle proxy related environment variables.
    
    See https://github.com/axios/axios#request-config:
    
    `proxy` defines the hostname, port, and protocol of the proxy server.
    You can also define your proxy using the conventional `http_proxy` and
    `https_proxy` environment variables. If you are using environment
    variables
    for your proxy configuration, you can also define a `no_proxy`
    environment
    variable as a comma-separated list of domains that should not be
    proxied.
    GONZALEZ Adrian committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    67d713f View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. feat: activate logging

    GONZALEZ Adrian committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    9dc53a6 View commit details
    Browse the repository at this point in the history
  2. feat(http): add rejectUnauthorized configuration

    This helps to avoid the error `unable to get local issuer certificate`
    when using a corporate maven repository.
    
    Another solution would be to declare the env var
    NODE_TLS_REJECT_UNAUTHORIZED=0.
    GONZALEZ Adrian committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    58df572 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. test: fix tests on windows

    GONZALEZ Adrian committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    a7e54a7 View commit details
    Browse the repository at this point in the history
  2. feat(config): add support for environment variable placeholders

    - Implemented replaceEnvPlaceholders function to replace ${VAR}
      placeholders in config values with corresponding environment variable
      values.
    - If the environment variable does not exist, the placeholder remains
      unchanged.
    GONZALEZ Adrian committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    5cf18ed View commit details
    Browse the repository at this point in the history
  3. feat: add support for querying Maven repository using npmrc settings

    - Implemented functionality to query Maven repository using authToken
      and strict-ssl settings from npmrc.
    - Updated httpModuleConfigFactory to configure HTTPS agent based on
      npmrc settings.
    - Enhanced NpmrcService to retrieve authToken and strict-ssl
      settings.
    GONZALEZ Adrian committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    9a09e94 View commit details
    Browse the repository at this point in the history