Class CredentialPair.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • doCheckOrgID

        @POST
        public FormValidation doCheckOrgID​(@QueryParameter
                                           String orgID,
                                           @AncestorInPath
                                           Item item)
        Validates OrgID is non-empty and contains numeric characters only.
        Parameters:
        orgID - GCP organizationId.
        item - Basic configuration unit in Hudson.
        Returns:
        FormValidation
      • doTestConnection

        @POST
        public FormValidation doTestConnection​(@QueryParameter("orgID")
                                               String orgID,
                                               @QueryParameter("credential")
                                               Secret credential,
                                               @AncestorInPath
                                               Item item)
        Validate the credential pair by contacting the validation service.
        Parameters:
        orgID - GCP organizationId.
        credential - SCC credential corresponding to the orgID.
        Returns:
        FormValidation