@@ -35,7 +35,7 @@ public class GroundingClientTest {
3535 void testPipelines () {
3636 final PipelinesApi api = new GroundingClient (SERVICE ).pipelines ();
3737
38- GetPipelines allPipelines = api .pipelineV1PipelineEndpointsGetAllPipeline ("reosurceGroup" );
38+ GetPipelines allPipelines = api .getAllPipeline ("reosurceGroup" );
3939 assertThat (allPipelines ).isNotNull ();
4040 assertThat (allPipelines .getResources ()).isEmpty ();
4141 }
@@ -44,8 +44,7 @@ void testPipelines() {
4444 void testVector () {
4545 final VectorApi api = new GroundingClient (SERVICE ).vector ();
4646
47- final CollectionsListResponse collections =
48- api .vectorV1VectorEndpointsGetAllCollections ("reosurceGroup" );
47+ final CollectionsListResponse collections = api .getAllCollections ("reosurceGroup" );
4948 assertThat (collections ).isNotNull ();
5049 assertThat (collections .getResources ())
5150 .isNotNull ()
@@ -62,8 +61,7 @@ void testVector() {
6261 });
6362
6463 final UUID collectionId = collections .getResources ().get (0 ).getId ();
65- final Documents documents =
66- api .vectorV1VectorEndpointsGetAllDocuments ("reosurceGroup" , collectionId );
64+ final Documents documents = api .getAllDocuments ("reosurceGroup" , collectionId );
6765 assertThat (documents ).isNotNull ();
6866 final DocumentKeyValueListPair documentMeta =
6967 DocumentKeyValueListPair .create ()
@@ -82,7 +80,7 @@ void testVector() {
8280
8381 final UUID documentId = documents .getResources ().get (0 ).getId ();
8482 final DocumentResponse document =
85- api .vectorV1VectorEndpointsGetDocumentById ("reosurceGroup" , collectionId , documentId );
83+ api .getDocumentById ("reosurceGroup" , collectionId , documentId );
8684 assertThat (document ).isNotNull ();
8785 assertThat (document .getId ()).isEqualTo (documentId );
8886 assertThat (document .getMetadata ()).isNotNull ().containsExactly (documentMeta );
@@ -111,8 +109,7 @@ void testVector() {
111109 void testRetrieval () {
112110 final RetrievalApi api = new GroundingClient (SERVICE ).retrieval ();
113111
114- DataRepositories repositories =
115- api .retrievalV1RetrievalEndpointsGetDataRepositories ("reosurceGroup" );
112+ DataRepositories repositories = api .getDataRepositories ("reosurceGroup" );
116113 assertThat (repositories ).isNotNull ();
117114 assertThat (repositories .getResources ())
118115 .isNotEmpty ()
0 commit comments