Move credential-specific classes to the appropriate package.

This commit is contained in:
Scott Frederick
2018-10-24 14:36:05 -05:00
parent 9af009a5d2
commit 2d302b88b3
7 changed files with 9 additions and 8 deletions

View File

@@ -16,7 +16,7 @@
package org.springframework.credhub.core.certificate;
import org.springframework.credhub.support.CertificateSummary;
import org.springframework.credhub.support.certificate.CertificateSummary;
import org.springframework.credhub.support.CredentialName;
import org.springframework.credhub.support.certificate.CertificateCredentialDetails;

View File

@@ -20,8 +20,8 @@ import org.springframework.core.ParameterizedTypeReference;
import org.springframework.credhub.core.CredHubOperations;
import org.springframework.credhub.core.ExceptionUtils;
import org.springframework.credhub.core.RestOperationsCallback;
import org.springframework.credhub.support.CertificateSummary;
import org.springframework.credhub.support.CertificateSummaryData;
import org.springframework.credhub.support.certificate.CertificateSummary;
import org.springframework.credhub.support.certificate.CertificateSummaryData;
import org.springframework.credhub.support.CredentialName;
import org.springframework.credhub.support.certificate.CertificateCredentialDetails;
import org.springframework.http.HttpEntity;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.credhub.support;
package org.springframework.credhub.support.certificate;
import java.util.Objects;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.credhub.support;
package org.springframework.credhub.support.certificate;
import java.util.Arrays;
import java.util.List;

View File

@@ -23,8 +23,8 @@ import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.credhub.core.CredHubTemplate;
import org.springframework.credhub.support.CertificateSummary;
import org.springframework.credhub.support.CertificateSummaryData;
import org.springframework.credhub.support.certificate.CertificateSummary;
import org.springframework.credhub.support.certificate.CertificateSummaryData;
import org.springframework.credhub.support.CredentialType;
import org.springframework.credhub.support.SimpleCredentialName;
import org.springframework.credhub.support.certificate.CertificateCredential;

View File

@@ -17,6 +17,7 @@
package org.springframework.credhub.support;
import org.junit.Test;
import org.springframework.credhub.support.certificate.CertificateSummaryData;
import static org.assertj.core.api.Assertions.assertThat;

View File

@@ -22,7 +22,7 @@ import org.junit.Test;
import org.springframework.credhub.core.CredHubException;
import org.springframework.credhub.core.certificate.CredHubCertificateOperations;
import org.springframework.credhub.core.credential.CredHubCredentialOperations;
import org.springframework.credhub.support.CertificateSummary;
import org.springframework.credhub.support.certificate.CertificateSummary;
import org.springframework.credhub.support.CredentialDetails;
import org.springframework.credhub.support.CredentialSummary;
import org.springframework.credhub.support.CredentialType;