Skip to content

/AWS1/CL_ART=>ASSOCIATEEXTERNALCONNECTION()

About AssociateExternalConnection

Adds an existing external connection to a repository. One external connection is allowed per repository.

A repository can have one or more upstream repositories, or an external connection.

Method Signature

IMPORTING

Required arguments:

IV_DOMAIN TYPE /AWS1/ARTDOMAINNAME /AWS1/ARTDOMAINNAME

The name of the domain that contains the repository.

IV_REPOSITORY TYPE /AWS1/ARTREPOSITORYNAME /AWS1/ARTREPOSITORYNAME

The name of the repository to which the external connection is added.

IV_EXTERNALCONNECTION TYPE /AWS1/ARTEXTERNALCONNNAME /AWS1/ARTEXTERNALCONNNAME

The name of the external connection to add to the repository. The following values are supported:

  • public:npmjs - for the npm public repository.

  • public:nuget-org - for the NuGet Gallery.

  • public:pypi - for the Python Package Index.

  • public:maven-central - for Maven Central.

  • public:maven-googleandroid - for the Google Android repository.

  • public:maven-gradleplugins - for the Gradle plugins repository.

  • public:maven-commonsware - for the CommonsWare Android repository.

  • public:maven-clojars - for the Clojars repository.

Optional arguments:

IV_DOMAINOWNER TYPE /AWS1/ARTACCOUNTID /AWS1/ARTACCOUNTID

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ARTASSCEXTERNALCXNRS /AWS1/CL_ARTASSCEXTERNALCXNRS