diff --git a/README.md b/README.md index 569c713..b05c2a9 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,9 @@ # Airtable.java -Java API for Airtable (http://www.airtable.com). The Airtable API provides a simple way of accessing your data within your Java project. +This is a Java API client for Airtable (http://www.airtable.com). + +The Airtable API provides a simple way of accessing data within Java projects. More information about the Airtable API could be found at [https://airtable.com/api](https://airtable.com/api). The documentation will provide detailed information about your created base. @@ -227,7 +229,7 @@ List listMovies = movieTable.select(sort); ``` If you set the view parameter, the returned records in that view will be sorted by these fields. -Detailed example see [TableParameterTest](https://github.com/Sybit-Education/airtable.java/blob/develop/src/test/java/com/sybit/airtable/TableParameterTest.java) +Detailed example see [TableParameterTest](https://github.com/Sybit-Education/airtable.java/blob/develop/src/itest/java/com/sybit/airtable/TableParameterTest.java) ## CRUD-Operations on Table Records @@ -249,7 +251,11 @@ Base base = new Airtable().base("AIRTABLE_BASE"); List retval = base.table("Movies", Movie.class).select(); ``` -Detailed example see [TableSelectTest.java](https://github.com/Sybit-Education/airtable.java/blob/develop/src/test/java/com/sybit/airtable/TableSelectTest.java) +Detailed example see [TableSelectTest.java](https://github.com/Sybit-Education/airtable.java/blob/develop/src/itest/java/com/sybit/airtable/TableSelectTest.java) + +### API Result Limitation +The REST-API of Airtable is limited to return max. 100 records. If the select has more than 100 records in result an `offest` is added to +returned data. The Airtable.java client will solve this and tries to load the offset data automatically. ## Find Use `find` to get specific records of table: @@ -263,7 +269,7 @@ Table actorTable = base.table("Actors", Actor.class); Actor actor = actorTable.find("rec514228ed76ced1"); ``` -Detailed example see [TableFindTest.java](https://github.com/Sybit-Education/airtable.java/blob/develop/src/test/java/com/sybit/airtable/TableFindTest.java) +Detailed example see [TableFindTest.java](https://github.com/Sybit-Education/airtable.java/blob/develop/src/itest/java/com/sybit/airtable/TableFindTest.java) ## Destroy Use `destroy` to delete a specific records of table: @@ -276,7 +282,7 @@ Base base = airtable.base("AIRTABLE_BASE"); Table actorTable = base.table("Actors", Actor.class); actorTable.destroy("recapJ3Js8AEwt0Bf"); ``` -Detailed example see [TableDestroyTest.java](https://github.com/Sybit-Education/airtable.java/blob/develop/src/test/java/com/sybit/airtable/TableDestroyTest.java) +Detailed example see [TableDestroyTest.java](https://github.com/Sybit-Education/airtable.java/blob/develop/src/itest/java/com/sybit/airtable/TableDestroyTest.java) ## Create First build your record. Then use `create` to generate a specific records of table: @@ -299,7 +305,7 @@ Actor test = actorTable.create(newActor); ``` -Detailed example see [TableDestroyTest.java](https://github.com/Sybit-Education/airtable.java/blob/develop/src/test/java/com/sybit/airtable/TableCreateRecordTest.java) +Detailed example see [TableCreateRecordTest.java](https://github.com/Sybit-Education/airtable.java/blob/develop/src/itest/java/com/sybit/airtable/TableCreateRecordTest.java) ## Update Use `update` to update a record of table: @@ -318,7 +324,7 @@ marlonBrando.setName("Marlon Brando"); Actor updated = actorTable.update(marlonBrando); ``` -Detailed example see [TableUpdateTest](https://github.com/Sybit-Education/airtable.java/blob/develop/src/test/java/com/sybit/airtable/TableUpdateTest.java) +Detailed example see [TableUpdateTest](https://github.com/Sybit-Education/airtable.java/blob/develop/src/itest/java/com/sybit/airtable/TableUpdateTest.java) # Roadmap @@ -333,12 +339,13 @@ Short overview of features, which are supported: + [x] SelectAll + [x] Queries (`maxRecords`, `sort` & `view` ) + [x] Support of `filterByFormula` - + [x] Support of Paging + + [x] Support of `paging` + + [x] Support of appending `offset` data + [x] Find Record - + [x] Create Record + [x] Update Record ++ [ ] Replace Record (could be done by update) + [x] Delete/Destroy Record + General requirements + [x] Automatic ObjectMapping diff --git a/build.gradle b/build.gradle index 19d4c2e..b5ec03e 100644 --- a/build.gradle +++ b/build.gradle @@ -101,7 +101,7 @@ dependencies { testCompile group: 'junit', name: 'junit', version:'4.12' testCompile group: 'commons-io', name: 'commons-io', version:'2.5' - testCompile group: 'com.github.tomakehurst', name: 'wiremock', version:'2.5.1' + testCompile group: 'com.github.tomakehurst', name: 'wiremock', version:'2.8.0' testCompile group: 'org.slf4j', name: 'slf4j-jdk14', version:'1.7.25' codacy group: 'com.codacy', name: 'codacy-coverage-reporter', version: '1.0.13' diff --git a/src/itest/java/com/sybit/airtable/AirtableTest.java b/src/itest/java/com/sybit/airtable/AirtableTest.java index 65a9fb6..526d898 100644 --- a/src/itest/java/com/sybit/airtable/AirtableTest.java +++ b/src/itest/java/com/sybit/airtable/AirtableTest.java @@ -1,7 +1,8 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable; diff --git a/src/itest/java/com/sybit/airtable/TableConverterTest.java b/src/itest/java/com/sybit/airtable/TableConverterTest.java index 5905e20..1396a2f 100644 --- a/src/itest/java/com/sybit/airtable/TableConverterTest.java +++ b/src/itest/java/com/sybit/airtable/TableConverterTest.java @@ -1,20 +1,17 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable; -import com.sybit.airtable.Base; -import com.sybit.airtable.Table; import com.sybit.airtable.exception.AirtableException; -import com.sybit.airtable.movies.Actor; import com.sybit.airtable.movies.Movie; import com.sybit.airtable.mock.WireMockBaseTest; import com.sybit.airtable.vo.Attachment; import com.sybit.airtable.vo.Thumbnail; -import java.util.List; import java.util.Map; import org.apache.http.client.HttpResponseException; import static org.junit.Assert.assertEquals; @@ -32,15 +29,13 @@ public class TableConverterTest extends WireMockBaseTest { @Test public void testConvertMovie() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); Table movieTable = base.table("Movies", Movie.class); - Movie movie = movieTable.find("rec6733da527dd0f1"); + Movie movie = movieTable.find("recFj9J78MLtiFFMz"); assertNotNull(movie); - assertEquals(movie.getId(),"rec6733da527dd0f1"); + assertEquals(movie.getId(),"recFj9J78MLtiFFMz"); assertEquals(movie.getName(),"The Godfather"); - assertEquals(movie.getDescription(),"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selli..."); assertEquals(movie.getPhotos().size(),2); assertEquals(movie.getDirector().size(),1); assertEquals(movie.getActors().size(),2); @@ -53,10 +48,8 @@ public void testConvertMovie() throws AirtableException, HttpResponseException { public void testConvertAttachement() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); - Table movieTable = base.table("Movies", Movie.class); - Movie movie = movieTable.find("rec6733da527dd0f1"); + Movie movie = movieTable.find("recFj9J78MLtiFFMz"); assertNotNull(movie); assertEquals(movie.getPhotos().size(),2); @@ -66,10 +59,10 @@ public void testConvertAttachement() throws AirtableException, HttpResponseExcep Attachment photo2 = movie.getPhotos().get(0); assertNotNull(photo2); - assertEquals(photo1.getId(),"att6dba4af5786df1"); - assertEquals(photo1.getUrl(),"https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k"); - assertEquals(photo1.getFilename(),"220px-TheGodfatherAlPacinoMarlonBrando.jpg"); - assertEquals(photo1.getSize(),16420.0,0); + assertEquals(photo1.getId(),"attk3WY5B28GVcFGU"); + assertEquals(photo1.getUrl(),"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg"); + assertEquals(photo1.getFilename(),"AlPacinoandMarlonBrando.jpg"); + assertEquals(photo1.getSize(),35698,0); assertEquals(photo1.getType(),"image/jpeg"); assertEquals(photo1.getThumbnails().size(),2); @@ -77,20 +70,18 @@ public void testConvertAttachement() throws AirtableException, HttpResponseExcep @Test public void testConvertThumbnails() throws AirtableException, HttpResponseException { - - Base base = airtable.base("appe9941ff07fffcc"); - + Table movieTable = base.table("Movies", Movie.class); - Movie movie = movieTable.find("rec6733da527dd0f1"); + Movie movie = movieTable.find("recFj9J78MLtiFFMz"); assertNotNull(movie); assertEquals(movie.getPhotos().get(0).getThumbnails().size(),2); assertEquals(movie.getPhotos().get(1).getThumbnails().size(),2); Map thumbnails = movie.getPhotos().get(1).getThumbnails(); Thumbnail thumb = thumbnails.get("small"); - assertEquals(thumb.getUrl(),"https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg"); + assertEquals(thumb.getUrl(),"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg"); assertEquals(thumb.getHeight(),36.0, 0); - assertEquals(thumb.getWidth(),48.0, 0); + assertEquals(thumb.getWidth(),24.0, 0); } diff --git a/src/itest/java/com/sybit/airtable/TableCreateRecordTest.java b/src/itest/java/com/sybit/airtable/TableCreateRecordTest.java index 89dc086..c022222 100644 --- a/src/itest/java/com/sybit/airtable/TableCreateRecordTest.java +++ b/src/itest/java/com/sybit/airtable/TableCreateRecordTest.java @@ -1,12 +1,11 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable; -import com.sybit.airtable.Base; -import com.sybit.airtable.Table; import com.sybit.airtable.exception.AirtableException; import com.sybit.airtable.movies.Actor; import com.sybit.airtable.movies.Movie; @@ -29,7 +28,6 @@ public class TableCreateRecordTest extends WireMockBaseTest { @Test(expected = AirtableException.class) public void createMovieWithPhotoIdTest() throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException { - Base base = airtable.base("appe9941ff07fffcc"); Table movieTable = base.table("Movies", Movie.class); Movie newMovie = new Movie(); @@ -51,9 +49,7 @@ public void createMovieWithPhotoIdTest() throws AirtableException, IllegalAccess @Test(expected = AirtableException.class) public void createMovieWithIdTest() throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, InstantiationException, NoSuchFieldException{ - - Base base = airtable.base("appe9941ff07fffcc"); - + Table movieTable = base.table("Movies", Movie.class); Movie newMovie = new Movie(); newMovie.setName("Neuer Film"); @@ -64,9 +60,7 @@ public void createMovieWithIdTest() throws AirtableException, IllegalAccessExcep @Test(expected = AirtableException.class) public void createMovieWithCreatedTimeTest() throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, InstantiationException, NoSuchFieldException{ - - Base base = airtable.base("appe9941ff07fffcc"); - + Table movieTable = base.table("Movies", Movie.class); Movie newMovie = new Movie(); newMovie.setName("Neuer Film"); @@ -77,23 +71,19 @@ public void createMovieWithCreatedTimeTest() throws AirtableException, IllegalAc @Test public void createActorTest() throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, InstantiationException, NoSuchFieldException{ - - Base base = airtable.base("appe9941ff07fffcc"); - + Table actorTable = base.table("Actors", Actor.class); Actor newActor = new Actor(); newActor.setName("Neuer Actor"); Actor test = actorTable.create(newActor); assertEquals(test.getName(),newActor.getName()); - assertEquals(test.getId(),"rec123456789"); - + assertNotNull(test.getId()); + } @Test public void createMovieWithAttachementTest() throws AirtableException, IllegalAccessException, NoSuchMethodException, NoSuchMethodException, InstantiationException, InvocationTargetException, NoSuchFieldException { - - Base base = airtable.base("appe9941ff07fffcc"); - + Table movieTable = base.table("Movies", Movie.class); Movie newMovie = new Movie(); @@ -121,20 +111,18 @@ public void createMovieWithAttachementTest() throws AirtableException, IllegalAc @Test public void createMovieTest() throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, InstantiationException, NoSuchFieldException{ - - Base base = airtable.base("appe9941ff07fffcc"); - + Table movieTable = base.table("Movies", Movie.class); Movie newMovie = new Movie(); newMovie.setName("Neuer Film"); newMovie.setDescription("Irgendwas"); List director = new ArrayList<>(); - director.add("recfaf64fe0db19a9"); + director.add("recPxOZblV8yJU4mY"); newMovie.setDirector(director); List actors = new ArrayList<>(); - actors.add("recc8841a14245b0b"); - actors.add("rec514228ed76ced1"); + actors.add("recEtUIW6FWtbEDKz"); + actors.add("recInYFZ1DQpeCuSz"); newMovie.setActors(actors); List genre = new ArrayList<>(); genre.add("Drama"); @@ -146,7 +134,7 @@ public void createMovieTest() throws AirtableException, IllegalAccessException, assertEquals(newMovie.getActors(),test.getActors()); assertEquals(newMovie.getGenre(),test.getGenre()); assertEquals(newMovie.getDescription(),test.getDescription()); - assertEquals("rec987654321",test.getId()); + assertNotNull(test.getId()); assertNotNull(test.getCreatedTime()); diff --git a/src/itest/java/com/sybit/airtable/TableDestroyTest.java b/src/itest/java/com/sybit/airtable/TableDestroyTest.java index 682d8c8..0bc1ad3 100644 --- a/src/itest/java/com/sybit/airtable/TableDestroyTest.java +++ b/src/itest/java/com/sybit/airtable/TableDestroyTest.java @@ -1,18 +1,18 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable; -import com.sybit.airtable.Base; -import com.sybit.airtable.Table; import com.sybit.airtable.exception.AirtableException; import com.sybit.airtable.movies.Actor; import com.sybit.airtable.mock.WireMockBaseTest; -import java.util.List; import org.apache.http.client.HttpResponseException; -import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; +import org.junit.Ignore; import org.junit.Test; /** @@ -20,26 +20,39 @@ * @author fzr */ public class TableDestroyTest extends WireMockBaseTest { - - - + @Test - public void testDestroyMovie() throws AirtableException, HttpResponseException{ - - Base base = airtable.base("appe9941ff07fffcc"); + public void testDestroyMovie() throws AirtableException, HttpResponseException { + Table actorTable = base.table("Actors", Actor.class); - - actorTable.destroy("recapJ3Js8AEwt0Bf"); - + + boolean destroyed = actorTable.destroy("recAt6z10EYD6NtEH"); + assertTrue(destroyed); + } + + /** + * No Condition found under which Airtable returns false for deleting an Object. Either it doesent find it, which results in a 404 HTTP Exception + * Or something else is wrong with the Syntax, which results in another Exception. + * Therefore this test is Ignored as long as we dont have an Example of a failed delete from Airtable. + * @throws AirtableException + */ - @Test (expected = AirtableException.class) - public void testDestroyMovieException() throws AirtableException{ - - Base base = airtable.base("appe9941ff07fffcc"); + @Ignore + @Test + public void testDestroyMovieFailure() throws AirtableException { + Table actorTable = base.table("Actors", Actor.class); - - actorTable.destroy("not succesfull"); + + boolean destroyed = actorTable.destroy("failed"); + assertFalse(destroyed); } - + + @Test(expected = AirtableException.class) + public void testDestroyMovieException() throws AirtableException { + + Table actorTable = base.table("Actors", Actor.class); + boolean destroyed = actorTable.destroy("not succesfull"); + } + } diff --git a/src/itest/java/com/sybit/airtable/TableFindTest.java b/src/itest/java/com/sybit/airtable/TableFindTest.java index 5ba85de..b0ea582 100644 --- a/src/itest/java/com/sybit/airtable/TableFindTest.java +++ b/src/itest/java/com/sybit/airtable/TableFindTest.java @@ -6,8 +6,6 @@ */ package com.sybit.airtable; -import com.sybit.airtable.Base; -import com.sybit.airtable.Table; import com.sybit.airtable.exception.AirtableException; import com.sybit.airtable.movies.Actor; import com.sybit.airtable.mock.WireMockBaseTest; @@ -25,20 +23,16 @@ public class TableFindTest extends WireMockBaseTest { @Test public void testFind() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); - Table actorTable = base.table("Actors", Actor.class); - Actor actor = actorTable.find("rec514228ed76ced1"); + Actor actor = actorTable.find("recEtUIW6FWtbEDKz"); assertNotNull(actor); - assertEquals("rec514228ed76ced1", actor.getId()); + assertEquals("recEtUIW6FWtbEDKz", actor.getId()); assertEquals("Marlon Brando", actor.getName()); } @Test(expected = AirtableException.class) public void testFindNotFound() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); - Table actorTable = base.table("Actors", Actor.class); Actor actor = actorTable.find("notexistend"); assertNotNull(actor); diff --git a/src/itest/java/com/sybit/airtable/TableParameterTest.java b/src/itest/java/com/sybit/airtable/TableParameterTest.java index 3b8b1a2..4f44d5f 100644 --- a/src/itest/java/com/sybit/airtable/TableParameterTest.java +++ b/src/itest/java/com/sybit/airtable/TableParameterTest.java @@ -1,14 +1,11 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable; -import com.sybit.airtable.Base; -import com.sybit.airtable.Query; -import com.sybit.airtable.Sort; -import com.sybit.airtable.Table; import com.sybit.airtable.exception.AirtableException; import com.sybit.airtable.movies.Movie; import com.sybit.airtable.mock.WireMockBaseTest; @@ -24,30 +21,77 @@ * @author fzr */ public class TableParameterTest extends WireMockBaseTest { - + @Test - public void fieldsParamTest() throws AirtableException, HttpResponseException { - - Base base = airtable.base("appe9941ff07fffcc"); + public void offsetParamTest() throws AirtableException, HttpResponseException { + Table movieTable = base.table("Movies", Movie.class); + + Query query = new Query() { + @Override + public String[] getFields() { + return null; + } + + @Override + public Integer getPageSize() { + return 3; + } + + @Override + public Integer getMaxRecords() { + return null; + } + + @Override + public String getView() { + return null; + } + + @Override + public List getSort() { + return null; + } + + @Override + public String filterByFormula() { + return null; + } + + @Override + public String getOffset() { + return null; + } + }; + + List listMovies = movieTable.select(query); + assertEquals(listMovies.size(),9); + + } + + @Test + public void fieldsParamTest() throws AirtableException, HttpResponseException { + + Table movieTable = base.table("Movies", Movie.class); + String[] fields = new String[1]; fields[0] = "Name"; - + List listMovies = movieTable.select(fields); assertNotNull(listMovies); + assertNotNull(listMovies.get(0).getName()); assertNull(listMovies.get(0).getDirector()); assertNull(listMovies.get(0).getActors()); assertNull(listMovies.get(0).getDescription()); - + } - + @Test public void formulaParamTest() throws AirtableException, HttpResponseException { - - Base base = airtable.base("appe9941ff07fffcc"); + Table movieTable = base.table("Movies", Movie.class); - + Query query = new Query() { @Override public String[] getFields() { @@ -78,35 +122,36 @@ public List getSort() { public String filterByFormula() { return "NOT({Name} = '')"; } + + @Override + public String getOffset() { + return null; + } }; - + List listMovies = movieTable.select(query); assertNotNull(listMovies); - assertEquals(listMovies.size(),2); - - + assertEquals(listMovies.size(), 9); } - + @Test public void maxRecordsParamTest() throws AirtableException, HttpResponseException { - - Base base = airtable.base("appe9941ff07fffcc"); + Table movieTable = base.table("Movies", Movie.class); - + int maxRecords = 2; - + List listMovies = movieTable.select(maxRecords); assertNotNull(listMovies); - assertEquals(listMovies.size(),2); - + assertEquals(listMovies.size(), 2); + } - + @Test public void pageSizeParamTest() throws AirtableException, HttpResponseException { - - Base base = airtable.base("appe9941ff07fffcc"); + Table movieTable = base.table("Movies", Movie.class); - + Query query = new Query() { @Override public String[] getFields() { @@ -137,42 +182,42 @@ public List getSort() { public String filterByFormula() { return null; } + + @Override + public String getOffset() { + return null; + } }; - + List listMovies = movieTable.select(query); assertNotNull(listMovies); - + assertEquals(listMovies.size(), 9); + } - + @Test public void sortParamTest() throws AirtableException, HttpResponseException { - - Base base = airtable.base("appe9941ff07fffcc"); + Table movieTable = base.table("Movies", Movie.class); Sort sort = new Sort("Name", Sort.Direction.desc); - + List listMovies = movieTable.select(sort); assertNotNull(listMovies); - assertEquals(listMovies.get(9).getName(),"Billy Madison"); - - + assertEquals(listMovies.get(8).getName(), "Billy Madison"); + } - + @Test public void viewParamTest() throws AirtableException, HttpResponseException { - - Base base = airtable.base("appe9941ff07fffcc"); + Table movieTable = base.table("Movies", Movie.class); - + String view = "Dramas"; - - + List listMovies = movieTable.select(view); assertNotNull(listMovies); - assertEquals(listMovies.size(),5); - + assertEquals(listMovies.size(), 5); + } - - - + } diff --git a/src/itest/java/com/sybit/airtable/TableSelectJacksonOMTest.java b/src/itest/java/com/sybit/airtable/TableSelectJacksonOMTest.java index 709e6ef..f044788 100644 --- a/src/itest/java/com/sybit/airtable/TableSelectJacksonOMTest.java +++ b/src/itest/java/com/sybit/airtable/TableSelectJacksonOMTest.java @@ -1,9 +1,14 @@ +/* + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + */ package com.sybit.airtable; import com.fasterxml.jackson.core.JsonProcessingException; import com.mashape.unirest.http.ObjectMapper; import com.sybit.airtable.exception.AirtableException; -import com.sybit.airtable.movies.ActorSerializedNames; import com.sybit.airtable.movies.Movie; import com.sybit.airtable.mock.WireMockBaseTest; import org.apache.http.client.HttpResponseException; @@ -13,10 +18,6 @@ import java.io.IOException; import java.util.List; -import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; -import static com.github.tomakehurst.wiremock.client.WireMock.any; -import static com.github.tomakehurst.wiremock.client.WireMock.anyUrl; -import static com.github.tomakehurst.wiremock.client.WireMock.stubFor; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -49,69 +50,63 @@ public String writeValue(final Object value) { } } }); - airtable.setEndpointUrl("http://localhost:8080/v0"); + airtable.setEndpointUrl("http://localhost:8080"); + this.base = airtable.base("appTtHA5PfJnVfjdu"); //set 404 as default - stubFor(any(anyUrl()) - .atPriority(10) - .willReturn(aResponse() - .withStatus(404) - .withBody("{\"error\":{\"type\":\"NOT_FOUND\",\"message\":\"Not found\"}}"))); +// stubFor(any(anyUrl()) +// .atPriority(10) +// .willReturn(aResponse() +// .withStatus(404) +// .withBody("{\"error\":{\"type\":\"NOT_FOUND\",\"message\":\"Not found\"}}"))); } @Test public void testSelectTable() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); List retval = base.table("Movies", Movie.class).select(); assertNotNull(retval); - assertEquals(10, retval.size()); - Movie mov = retval.get(0); - assertEquals("Sister Act", mov.getName()); + assertEquals(9, retval.size()); + } @Test public void testSelectTableMaxRecords() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); List retval = base.table("Movies", Movie.class).select(2); assertNotNull(retval); assertEquals(2, retval.size()); - Movie mov = retval.get(0); - assertEquals("Sister Act", mov.getName()); + } @Test public void testSelectTableSorted() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); Table table = base.table("Movies", Movie.class); List retval = table.select(new Sort("Name", Sort.Direction.asc)); assertNotNull(retval); - assertEquals(10, retval.size()); + assertEquals(9, retval.size()); Movie mov = retval.get(0); assertEquals("Billy Madison", mov.getName()); retval = table.select(new Sort("Name", Sort.Direction.desc)); assertNotNull(retval); - assertEquals(10, retval.size()); + assertEquals(9, retval.size()); mov = retval.get(0); - assertEquals("You've got Mail", mov.getName()); + assertEquals("You've Got Mail", mov.getName()); } @Test public void testSelectTableView() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); - List retval = base.table("Movies", Movie.class).select("Main View"); assertNotNull(retval); - assertEquals(10, retval.size()); + assertEquals(9, retval.size()); Movie mov = retval.get(0); assertEquals("The Godfather", mov.getName()); } @@ -119,20 +114,10 @@ public void testSelectTableView() throws AirtableException, HttpResponseExceptio @Test(expected = AirtableException.class) public void testSelectNonExistingTable() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); List retval = base.table("NotExists", Movie.class).select(); assertNotNull(retval); } - @Test - public void testSelectWithSerializedNames() throws AirtableException, HttpResponseException { - - Base base = airtable.base("appe9941ff07fffcc"); - - List retval = base.table("SerializedNames", ActorSerializedNames.class).select(); - assertNotNull(retval); - assertEquals("Marlon Brando", retval.get(0).getName()); - } } diff --git a/src/itest/java/com/sybit/airtable/TableSelectTest.java b/src/itest/java/com/sybit/airtable/TableSelectTest.java index de899c6..e2c32c6 100644 --- a/src/itest/java/com/sybit/airtable/TableSelectTest.java +++ b/src/itest/java/com/sybit/airtable/TableSelectTest.java @@ -6,11 +6,7 @@ */ package com.sybit.airtable; -import com.sybit.airtable.Base; -import com.sybit.airtable.Sort; -import com.sybit.airtable.Table; import com.sybit.airtable.exception.AirtableException; -import com.sybit.airtable.movies.ActorSerializedNames; import com.sybit.airtable.movies.Movie; import com.sybit.airtable.mock.WireMockBaseTest; import org.apache.http.client.HttpResponseException; @@ -30,55 +26,48 @@ public class TableSelectTest extends WireMockBaseTest { @Test public void testSelectTable() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); List retval = base.table("Movies", Movie.class).select(); assertNotNull(retval); - assertEquals(10, retval.size()); - Movie mov = retval.get(0); - assertEquals("Sister Act", mov.getName()); + assertEquals(9, retval.size()); + } @Test public void testSelectTableMaxRecords() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); - List retval = base.table("Movies", Movie.class).select(2); assertNotNull(retval); assertEquals(2, retval.size()); - Movie mov = retval.get(0); - assertEquals("Sister Act", mov.getName()); + } @Test public void testSelectTableSorted() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); Table table = base.table("Movies", Movie.class); List retval = table.select(new Sort("Name", Sort.Direction.asc)); assertNotNull(retval); - assertEquals(10, retval.size()); + assertEquals(9, retval.size()); Movie mov = retval.get(0); assertEquals("Billy Madison", mov.getName()); retval = table.select(new Sort("Name", Sort.Direction.desc)); assertNotNull(retval); - assertEquals(10, retval.size()); + assertEquals(9, retval.size()); mov = retval.get(0); - assertEquals("You've got Mail", mov.getName()); + assertEquals("You've Got Mail", mov.getName()); } @Test public void testSelectTableView() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); List retval = base.table("Movies", Movie.class).select("Main View"); assertNotNull(retval); - assertEquals(10, retval.size()); + assertEquals(9, retval.size()); Movie mov = retval.get(0); assertEquals("The Godfather", mov.getName()); } @@ -86,19 +75,16 @@ public void testSelectTableView() throws AirtableException, HttpResponseExceptio @Test(expected = AirtableException.class) public void testSelectNonExistingTable() throws AirtableException, HttpResponseException { - Base base = airtable.base("appe9941ff07fffcc"); - List retval = base.table("NotExists", Movie.class).select(); assertNotNull(retval); } - @Test - public void testSelectWithSerializedNames() throws AirtableException, HttpResponseException { - - Base base = airtable.base("appe9941ff07fffcc"); - - List retval = base.table("SerializedNames", ActorSerializedNames.class).select(); - assertNotNull(retval); - assertEquals("Marlon Brando", retval.get(0).getName()); - } +// @Test +// public void testSelectWithSerializedNames() throws AirtableException, HttpResponseException { +// +// +// List retval = base.table("SerializedNames", ActorSerializedNames.class).select(); +// assertNotNull(retval); +// assertEquals("Marlon Brando", retval.get(0).getName()); +// } } diff --git a/src/itest/java/com/sybit/airtable/TableUpdateTest.java b/src/itest/java/com/sybit/airtable/TableUpdateTest.java index 065b94c..e0f853d 100644 --- a/src/itest/java/com/sybit/airtable/TableUpdateTest.java +++ b/src/itest/java/com/sybit/airtable/TableUpdateTest.java @@ -1,12 +1,11 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable; -import com.sybit.airtable.Base; -import com.sybit.airtable.Table; import com.sybit.airtable.exception.AirtableException; import com.sybit.airtable.movies.Actor; import com.sybit.airtable.mock.WireMockBaseTest; @@ -24,11 +23,10 @@ public class TableUpdateTest extends WireMockBaseTest { @Test public void testUpdateActor() throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException{ - Base base = airtable.base("appe9941ff07fffcc"); Table actorTable = base.table("Actors", Actor.class); Actor marlonBrando = new Actor(); - marlonBrando.setId("rec514228ed76ced1"); + marlonBrando.setId("recEtUIW6FWtbEDKz"); marlonBrando.setName("Neuer Name"); Actor updated = actorTable.update(marlonBrando); diff --git a/src/itest/java/com/sybit/airtable/mock/WireMockBaseTest.java b/src/itest/java/com/sybit/airtable/mock/WireMockBaseTest.java index 9f9a24c..37a983c 100644 --- a/src/itest/java/com/sybit/airtable/mock/WireMockBaseTest.java +++ b/src/itest/java/com/sybit/airtable/mock/WireMockBaseTest.java @@ -6,14 +6,20 @@ */ package com.sybit.airtable.mock; -import com.github.tomakehurst.wiremock.junit.WireMockRule; +import com.github.tomakehurst.wiremock.WireMockServer; import com.sybit.airtable.Airtable; import com.sybit.airtable.exception.AirtableException; import org.junit.Before; -import org.junit.Rule; import static com.github.tomakehurst.wiremock.client.WireMock.*; -import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig; +import com.github.tomakehurst.wiremock.core.WireMockConfiguration; +import com.github.tomakehurst.wiremock.extension.Parameters; +import com.github.tomakehurst.wiremock.recording.SnapshotRecordResult; +import com.sybit.airtable.Base; +import java.io.File; +import java.io.IOException; +import org.apache.commons.io.FileUtils; +import org.junit.After; /** * Base Class to test using WireMock. @@ -23,28 +29,198 @@ */ public class WireMockBaseTest { - @Rule - public WireMockRule wireMockRule = new WireMockRule(wireMockConfig().port(8080)); + private class WiremockProp { - protected Airtable airtable = new Airtable(); + private boolean recording; + + private boolean cleanDirectorys; + + private String targetUrl; + + private String proxyBase; + + private int proxyPort; + + private int serverPort; + + /** + * @return the recording + */ + public boolean isRecording() { + return recording; + } + + /** + * @param aRecording the recording to set + */ + public void setRecording(boolean aRecording) { + recording = aRecording; + } + + /** + * @return the cleanDirectorys + */ + public boolean isCleanDirectorys() { + return cleanDirectorys; + } + + /** + * @param aCleanDirectorys the cleanDirectorys to set + */ + public void setCleanDirectorys(boolean aCleanDirectorys) { + cleanDirectorys = aCleanDirectorys; + } + + /** + * @return the targetUrl + */ + public String getTargetUrl() { + return targetUrl; + } + + /** + * @param aTargetUrl the targetUrl to set + */ + public void setTargetUrl(String aTargetUrl) { + targetUrl = aTargetUrl; + } + + /** + * @return the proxyBase + */ + public String getProxyBase() { + return proxyBase; + } + + /** + * @param aProxyBase the proxyBase to set + */ + public void setProxyBase(String aProxyBase) { + proxyBase = aProxyBase; + } + + /** + * @return the proxyPort + */ + public int getProxyPort() { + return proxyPort; + } + + /** + * @param aProxyPort the proxyPort to set + */ + public void setProxyPort(int aProxyPort) { + proxyPort = aProxyPort; + } + + /** + * @return the serverPort + */ + public int getServerPort() { + return serverPort; + } + + /** + * @param aServerPort the serverPort to set + */ + public void setServerPort(int aServerPort) { + serverPort = aServerPort; + } + }; + + private static WireMockServer wireMockServer; + private static WiremockProp prop; + + protected static Airtable airtable = new Airtable(); + protected static Base base; @Before - public void setup() throws AirtableException { + public void setUp() throws AirtableException { + airtable.configure(); - airtable.setEndpointUrl("http://localhost:8080/v0"); + airtable.setProxy("127.0.0.1"); + airtable.setEndpointUrl("http://localhost:8080"); + base = airtable.base("appTtHA5PfJnVfjdu"); + + prop.setRecording(false); + prop.setCleanDirectorys(false); + prop.setProxyBase("192.168.1.254"); + prop.setProxyPort(8080); + prop.setServerPort(8080); + prop.setTargetUrl("https://api.airtable.com/v0"); + + if (prop.getProxyBase() != null && prop.getProxyPort() != 0) { + wireMockServer = new WireMockServer(WireMockConfiguration.wireMockConfig().port(prop.getServerPort()).proxyVia(prop.getProxyBase(), prop.getProxyPort())); + } else { + wireMockServer = new WireMockServer(WireMockConfiguration.wireMockConfig().port(prop.getServerPort())); + } - //set 404 as default - stubFor(any(anyUrl()) - .atPriority(10) - .willReturn(aResponse() - .withStatus(404) - .withBody("{\"error\":{\"type\":\"NOT_FOUND\",\"message\":\"Not found\"}}"))); + //start the Wiremock-Server + startServer(); + //check if record + if (prop.isRecording()) { + //check if cleanDirectorys + if (prop.isCleanDirectorys()) { + cleanExistingRecords(); + startRecording(); + } else { + startRecording(); + } + } } + @After + public void tearDown() { + if (prop.isRecording()) { + stopRecording(); + } - public String endpointUrl() { - return airtable.endpointUrl(); + stopServer(); } + + public static void startRecording() { + + wireMockServer.startRecording(recordSpec() + .forTarget(prop.getTargetUrl()) + .captureHeader("Accept") + .captureHeader("Content-Type", true) + .extractBinaryBodiesOver(0) + .extractTextBodiesOver(0) + .makeStubsPersistent(true) + .transformers("modify-response-header") + .transformerParameters(Parameters.one("headerValue", "123")) + .matchRequestBodyWithEqualToJson(false, true)); + } + + public static void stopRecording() { + + SnapshotRecordResult recordedMappings = wireMockServer.stopRecording(); + } + + public static void startServer() { + + wireMockServer.start(); + } + + public static void stopServer() { + + wireMockServer.stop(); + } + + public static void cleanExistingRecords() { + + File mappings = new File("src/test/resources/mappings"); + File bodyFiles = new File("src/test/resources/__files"); + + try { + FileUtils.cleanDirectory(mappings); + FileUtils.cleanDirectory(bodyFiles); + } catch (IOException ex) { + System.out.println("Exception deleting Files: " + ex); + } + } + } + diff --git a/src/itest/resources/WireMock-Recording.cmd b/src/itest/resources/WireMock-Recording.cmd deleted file mode 100644 index 00c1dc9..0000000 --- a/src/itest/resources/WireMock-Recording.cmd +++ /dev/null @@ -1,7 +0,0 @@ -java -Dhttp.proxyHost=192.168.1.254 -Dhttp.proxyPort=8080 ^ - -Dhttps.proxyHost=192.168.1.254 -Dhttps.proxyPort=8080 ^ - -Dhttp.nonProxyHosts="localhost|127.0.0.1" ^ - -jar ../../../bin/wiremock-standalone-2.5.1.jar ^ - --proxy-all="https://api.airtable.com" --port=8080 ^ - --record-mappings --verbose --preserve-host-header ^ - --enable-browser-proxying \ No newline at end of file diff --git a/src/itest/resources/__files/body-ActorCreate.json b/src/itest/resources/__files/body-ActorCreate.json deleted file mode 100644 index 2d99298..0000000 --- a/src/itest/resources/__files/body-ActorCreate.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "id": "rec123456789", - "fields": { - "Name": "Neuer Actor" - }, - "createdTime": "2014-07-18T04:48:25.000Z" -} \ No newline at end of file diff --git a/src/itest/resources/__files/body-ActorDelete.json b/src/itest/resources/__files/body-ActorDelete.json deleted file mode 100644 index 87c5f5a..0000000 --- a/src/itest/resources/__files/body-ActorDelete.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "deleted": true, - "id": "recapJ3Js8AEwt0Bf" -} \ No newline at end of file diff --git a/src/itest/resources/__files/body-ActorFind.json b/src/itest/resources/__files/body-ActorFind.json deleted file mode 100644 index 6c359ff..0000000 --- a/src/itest/resources/__files/body-ActorFind.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "id": "rec514228ed76ced1", - "fields": { - "Name": "Marlon Brando", - "Filmography": [ - "rec6733da527dd0f1" - ], - "Photo": [ - { - "id": "att1b7c05d697c0c1", - "url": "https://www.filepicker.io/api/file/xlhctgHEQiSGNc0ieMec", - "filename": "220px-Marlon_Brando_-_The_Wild_One.jpg", - "size": 13845, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/Rh3L1DL7QAe8nleanQVV" - }, - "large": { - "url": "https://www.filepicker.io/api/file/hcrLCStVRX6LNVEHqtXA" - } - } - } - ], - "Biography": "Marlon Brando, Jr. (April 3, 1924 – July 1, 2004) was an American actor. He is hailed for bringing a gripping realism to film acting, and is widely co..." - }, - "createdTime": "2014-07-18T04:48:25.000Z" -} \ No newline at end of file diff --git a/src/itest/resources/__files/body-ActorUpdate.json b/src/itest/resources/__files/body-ActorUpdate.json deleted file mode 100644 index f06a759..0000000 --- a/src/itest/resources/__files/body-ActorUpdate.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "id": "rec514228ed76ced1", - "fields": { - "Name": "Neuer Name", - "Filmography": [ - "rec6733da527dd0f1" - ], - "Photo": [ - { - "id": "att1b7c05d697c0c1", - "url": "https://www.filepicker.io/api/file/xlhctgHEQiSGNc0ieMec", - "filename": "220px-Marlon_Brando_-_The_Wild_One.jpg", - "size": 13845, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/Rh3L1DL7QAe8nleanQVV" - }, - "large": { - "url": "https://www.filepicker.io/api/file/hcrLCStVRX6LNVEHqtXA" - } - } - } - ], - "Biography": "Marlon Brando, Jr. (April 3, 1924 – July 1, 2004) was an American actor. He is hailed for bringing a gripping realism to film acting, and is widely co..." - }, - "createdTime": "2014-07-18T04:48:25.000Z" -} \ No newline at end of file diff --git a/src/itest/resources/__files/body-Actors.json b/src/itest/resources/__files/body-Actors.json deleted file mode 100644 index 180e780..0000000 --- a/src/itest/resources/__files/body-Actors.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "records": [ - { - "id": "rec514228ed76ced1", - "fields": { - "Name": "Marlon Brando", - "Filmography": [ - "rec6733da527dd0f1" - ], - "Photo": [ - { - "id": "att1b7c05d697c0c1", - "url": "https://www.filepicker.io/api/file/xlhctgHEQiSGNc0ieMec", - "filename": "220px-Marlon_Brando_-_The_Wild_One.jpg", - "size": 13845, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/Rh3L1DL7QAe8nleanQVV" - }, - "large": { - "url": "https://www.filepicker.io/api/file/hcrLCStVRX6LNVEHqtXA" - } - } - } - ], - "Biography": "Marlon Brando, Jr. (April 3, 1924 – July 1, 2004) was an American actor. He is hailed for bringing a gripping realism to film acting, and is widely co..." - }, - "createdTime": "2014-07-18T04:48:25.000Z" - }, - { - "id":"recapJ3Js8AEwt0Bf", - "fields": { - "Name":"Test Actor", - "Photo": [ - { - "id":"attfbHPN3hRjTYk3U", - "url":"https://dl.airtable.com/eJd6UGPPTmGPvoTjpP57_Penguins.jpg", - "filename":"Penguins.jpg","size":777835,"type":"image/jpeg", - "thumbnails": { - "small": { - "url":"https://dl.airtable.com/mzOeWfo7RkiX8ueW14gi_small_Penguins.jpg", - "width":48, - "height":36 - }, - "large": { - "url":"https://dl.airtable.com/dMgnXtMrSDKSAQTQqYHa_large_Penguins.jpg", - "width":512, - "height":512 - } - } - } - ], - "Biography":"Test Bio", - "Filmography": [ - "rec6733da527dd0f1" - ] - }, - "createdTime":"2017-03-30T06:47:38.520Z" - } - ] -} \ No newline at end of file diff --git a/src/itest/resources/__files/body-MovieCreate.json b/src/itest/resources/__files/body-MovieCreate.json deleted file mode 100644 index 4e6512f..0000000 --- a/src/itest/resources/__files/body-MovieCreate.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "id": "rec987654321", - "fields": { - "Name": "Neuer Film", - "Description": "Irgendwas", - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - } \ No newline at end of file diff --git a/src/itest/resources/__files/body-MovieCreate2.json b/src/itest/resources/__files/body-MovieCreate2.json deleted file mode 100644 index 94d7542..0000000 --- a/src/itest/resources/__files/body-MovieCreate2.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.example.imgae.file1.de", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - }, - { - "id": "attzWvarnmYBBd2Wm", - "url": "https://www.example.imgae.file2.de", - "filename": "Lighthouse.jpg", - "size": 561276, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg", - "width": 48, - "height": 36 - }, - "large": { - "url": "https://dl.airtable.com/8QX7f3nSAe6lrOxeuvTP_large_Lighthouse.jpg", - "width": 512, - "height": 512 - } - } - } - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" -} \ No newline at end of file diff --git a/src/itest/resources/__files/body-Movies.json b/src/itest/resources/__files/body-Movies.json deleted file mode 100644 index 6ac108a..0000000 --- a/src/itest/resources/__files/body-Movies.json +++ /dev/null @@ -1,350 +0,0 @@ -{ - "records": [ - { - "id": "rec110972df115479", - "fields": { - "Name": "Sister Act", - "Description": "Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos": [ - { - "id": "att9141430d2b6dc1", - "url": "https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename": "Sister_Act_film_poster.jpg", - "size": 19805, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - } - } - } - ], - "Actors": [ - "rec73fcac60a91bc1" - ], - "Director": [ - "rec114faab248e582" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec2ed6bdd802c584", - "fields": { - "Name": "Forrest Gump", - "Description": "Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.", - "Photos": [ - { - "id": "att82e0b9087885c0", - "url": "https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT", - "filename": "220px-Forrest_Gump_poster.jpg", - "size": 16749, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d" - ], - "Director": [ - "rec09887e80a2692e" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:56:05.000Z" - }, - { - "id": "rec3ce936056bbf7b", - "fields": { - "Name": "You've got Mail", - "Description": "You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.", - "Photos": [ - { - "id": "atte28f9aa6e2118a", - "url": "https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS", - "filename": "220px-You've_Got_Mail.jpg", - "size": 24847, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz" - }, - "large": { - "url": "https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d", - "rece0feb637db7618" - ], - "Director": [ - "rec738f48b44cc24c" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:52:02.000Z" - }, - { - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Description": "The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - } - ], - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec6c1b6022782cd8", - "fields": { - "Name": "Billy Madison", - "Description": "Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.", - "Photos": [ - { - "id": "att2a05739d6534e4", - "url": "https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1", - "filename": "220px-Billy_madison_poster.jpg", - "size": 24774, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka" - }, - "large": { - "url": "https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo" - } - } - } - ], - "Actors": [ - "rece266d5762b5240" - ], - "Director": [ - "rec4270d52105811e" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:54:18.000Z" - }, - { - "id": "rec6f45f58180d5c7", - "fields": { - "Name": "Seven Samurai", - "Description": "Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.", - "Photos": [ - { - "id": "attfb51ccc438566b", - "url": "https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ", - "filename": "Seven_Samurai_movie_poster.jpg", - "size": 37313, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW" - } - } - } - ], - "Actors": [ - "rec256a53744da609" - ], - "Director": [ - "rec051acc552ecc58" - ], - "Genre": [ - "Adventure", - "Drama" - ] - }, - "createdTime": "2014-07-18T04:57:03.000Z" - }, - { - "id": "recbe0b3c80a7f198", - "fields": { - "Name": "Pulp Fiction", - "Description": "Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.", - "Photos": [ - { - "id": "att2ffd5c8228a3b4", - "url": "https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo", - "filename": "215px-Pulp_Fiction_cover.jpg", - "size": 25639, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd" - } - } - } - ], - "Actors": [ - "recb59fc29ee5d646", - "rec6e2912ac04090c", - "recaad7f7c2fc0250" - ], - "Director": [ - "rec6caf9605f137c9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "recedd526ce84cbd2", - "fields": { - "Name": "Caddyshack", - "Description": "Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.", - "Photos": [ - { - "id": "att995467ff4b5f04", - "url": "https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w", - "filename": "220px-Caddyshack_poster.jpg", - "size": 30647, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY" - }, - "large": { - "url": "https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD" - } - } - } - ], - "Actors": [ - "rec9b8f53c739a551" - ], - "Director": [ - "rec05389cff1679e5" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:45:28.000Z" - }, - { - "id": "recee114d18a0a3c8", - "fields": { - "Name": "Get Smart", - "Description": "Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"—James Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]", - "Photos": [ - { - "id": "attaef7e86f0bd75e", - "url": "https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI", - "filename": "250px-Get_Smart.gif", - "size": 30619, - "type": "image/gif", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z" - }, - "large": { - "url": "https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89" - } - } - } - ], - "Actors": [ - "rec77b0b4ba0b730e", - "rec43ef994a3465e5" - ], - "Director": [ - "rec2bb32ef25348fa" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:50:49.000Z" - }, - { - "id": "recfb77014d57c75b", - "fields": { - "Name": "Fight Club", - "Description": "Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.", - "Photos": [ - { - "id": "att69a5df8e344259", - "url": "https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY", - "filename": "220px-Fight_Club_poster.jpg", - "size": 17360, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a" - }, - "large": { - "url": "https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x" - } - } - } - ], - "Actors": [ - "rec3e27ca40e9cb7e" - ], - "Director": [ - "rec16a8af30615da0" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T05:00:11.000Z" - } - ] -} diff --git a/src/itest/resources/__files/body-MoviesFind.json b/src/itest/resources/__files/body-MoviesFind.json deleted file mode 100644 index 4c01308..0000000 --- a/src/itest/resources/__files/body-MoviesFind.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Description": "The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selli...", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - }, - { - "id": "attzWvarnmYBBd2Wm", - "url": "https://dl.airtable.com/jJqBm304SBWBrF3dXn12_Lighthouse.jpg", - "filename": "Lighthouse.jpg", - "size": 561276, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg", - "width": 48, - "height": 36 - }, - "large": { - "url": "https://dl.airtable.com/8QX7f3nSAe6lrOxeuvTP_large_Lighthouse.jpg", - "width": 512, - "height": 512 - } - } - } - ], - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - } \ No newline at end of file diff --git a/src/itest/resources/__files/body-MoviesMainView.json b/src/itest/resources/__files/body-MoviesMainView.json deleted file mode 100644 index 6097403..0000000 --- a/src/itest/resources/__files/body-MoviesMainView.json +++ /dev/null @@ -1,350 +0,0 @@ -{ - "records": [ - { - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Description": "The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - } - ], - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec110972df115479", - "fields": { - "Name": "Sister Act", - "Description": "Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos": [ - { - "id": "att9141430d2b6dc1", - "url": "https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename": "Sister_Act_film_poster.jpg", - "size": 19805, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - } - } - } - ], - "Actors": [ - "rec73fcac60a91bc1" - ], - "Director": [ - "rec114faab248e582" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "recbe0b3c80a7f198", - "fields": { - "Name": "Pulp Fiction", - "Description": "Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.", - "Photos": [ - { - "id": "att2ffd5c8228a3b4", - "url": "https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo", - "filename": "215px-Pulp_Fiction_cover.jpg", - "size": 25639, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd" - } - } - } - ], - "Actors": [ - "recb59fc29ee5d646", - "rec6e2912ac04090c", - "recaad7f7c2fc0250" - ], - "Director": [ - "rec6caf9605f137c9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "recedd526ce84cbd2", - "fields": { - "Name": "Caddyshack", - "Description": "Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.", - "Photos": [ - { - "id": "att995467ff4b5f04", - "url": "https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w", - "filename": "220px-Caddyshack_poster.jpg", - "size": 30647, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY" - }, - "large": { - "url": "https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD" - } - } - } - ], - "Actors": [ - "rec9b8f53c739a551" - ], - "Director": [ - "rec05389cff1679e5" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:45:28.000Z" - }, - { - "id": "recee114d18a0a3c8", - "fields": { - "Name": "Get Smart", - "Description": "Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"—James Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]", - "Photos": [ - { - "id": "attaef7e86f0bd75e", - "url": "https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI", - "filename": "250px-Get_Smart.gif", - "size": 30619, - "type": "image/gif", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z" - }, - "large": { - "url": "https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89" - } - } - } - ], - "Actors": [ - "rec77b0b4ba0b730e", - "rec43ef994a3465e5" - ], - "Director": [ - "rec2bb32ef25348fa" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:50:49.000Z" - }, - { - "id": "rec2ed6bdd802c584", - "fields": { - "Name": "Forrest Gump", - "Description": "Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.", - "Photos": [ - { - "id": "att82e0b9087885c0", - "url": "https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT", - "filename": "220px-Forrest_Gump_poster.jpg", - "size": 16749, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d" - ], - "Director": [ - "rec09887e80a2692e" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:56:05.000Z" - }, - { - "id": "rec3ce936056bbf7b", - "fields": { - "Name": "You've got Mail", - "Description": "You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.", - "Photos": [ - { - "id": "atte28f9aa6e2118a", - "url": "https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS", - "filename": "220px-You've_Got_Mail.jpg", - "size": 24847, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz" - }, - "large": { - "url": "https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d", - "rece0feb637db7618" - ], - "Director": [ - "rec738f48b44cc24c" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:52:02.000Z" - }, - { - "id": "rec6f45f58180d5c7", - "fields": { - "Name": "Seven Samurai", - "Description": "Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.", - "Photos": [ - { - "id": "attfb51ccc438566b", - "url": "https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ", - "filename": "Seven_Samurai_movie_poster.jpg", - "size": 37313, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW" - } - } - } - ], - "Actors": [ - "rec256a53744da609" - ], - "Director": [ - "rec051acc552ecc58" - ], - "Genre": [ - "Adventure", - "Drama" - ] - }, - "createdTime": "2014-07-18T04:57:03.000Z" - }, - { - "id": "rec6c1b6022782cd8", - "fields": { - "Name": "Billy Madison", - "Description": "Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.", - "Photos": [ - { - "id": "att2a05739d6534e4", - "url": "https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1", - "filename": "220px-Billy_madison_poster.jpg", - "size": 24774, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka" - }, - "large": { - "url": "https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo" - } - } - } - ], - "Actors": [ - "rece266d5762b5240" - ], - "Director": [ - "rec4270d52105811e" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:54:18.000Z" - }, - { - "id": "recfb77014d57c75b", - "fields": { - "Name": "Fight Club", - "Description": "Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.", - "Photos": [ - { - "id": "att69a5df8e344259", - "url": "https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY", - "filename": "220px-Fight_Club_poster.jpg", - "size": 17360, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a" - }, - "large": { - "url": "https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x" - } - } - } - ], - "Actors": [ - "rec3e27ca40e9cb7e" - ], - "Director": [ - "rec16a8af30615da0" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T05:00:11.000Z" - } - ] -} diff --git a/src/itest/resources/__files/body-MoviesMaxRecords.json b/src/itest/resources/__files/body-MoviesMaxRecords.json deleted file mode 100644 index dc15715..0000000 --- a/src/itest/resources/__files/body-MoviesMaxRecords.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "records": [ - { - "id": "rec110972df115479", - "fields": { - "Name": "Sister Act", - "Description": "Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos": [ - { - "id": "att9141430d2b6dc1", - "url": "https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename": "Sister_Act_film_poster.jpg", - "size": 19805, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - } - } - } - ], - "Actors": [ - "rec73fcac60a91bc1" - ], - "Director": [ - "rec114faab248e582" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec2ed6bdd802c584", - "fields": { - "Name": "Forrest Gump", - "Description": "Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.", - "Photos": [ - { - "id": "att82e0b9087885c0", - "url": "https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT", - "filename": "220px-Forrest_Gump_poster.jpg", - "size": 16749, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d" - ], - "Director": [ - "rec09887e80a2692e" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:56:05.000Z" - } - ] -} diff --git a/src/itest/resources/__files/body-MoviesSortedNameAsc.json b/src/itest/resources/__files/body-MoviesSortedNameAsc.json deleted file mode 100644 index af8071d..0000000 --- a/src/itest/resources/__files/body-MoviesSortedNameAsc.json +++ /dev/null @@ -1,350 +0,0 @@ -{ - "records": [ - { - "id": "rec6c1b6022782cd8", - "fields": { - "Name": "Billy Madison", - "Description": "Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.", - "Photos": [ - { - "id": "att2a05739d6534e4", - "url": "https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1", - "filename": "220px-Billy_madison_poster.jpg", - "size": 24774, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka" - }, - "large": { - "url": "https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo" - } - } - } - ], - "Actors": [ - "rece266d5762b5240" - ], - "Director": [ - "rec4270d52105811e" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:54:18.000Z" - }, - { - "id": "recedd526ce84cbd2", - "fields": { - "Name": "Caddyshack", - "Description": "Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.", - "Photos": [ - { - "id": "att995467ff4b5f04", - "url": "https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w", - "filename": "220px-Caddyshack_poster.jpg", - "size": 30647, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY" - }, - "large": { - "url": "https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD" - } - } - } - ], - "Actors": [ - "rec9b8f53c739a551" - ], - "Director": [ - "rec05389cff1679e5" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:45:28.000Z" - }, - { - "id": "recfb77014d57c75b", - "fields": { - "Name": "Fight Club", - "Description": "Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.", - "Photos": [ - { - "id": "att69a5df8e344259", - "url": "https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY", - "filename": "220px-Fight_Club_poster.jpg", - "size": 17360, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a" - }, - "large": { - "url": "https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x" - } - } - } - ], - "Actors": [ - "rec3e27ca40e9cb7e" - ], - "Director": [ - "rec16a8af30615da0" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T05:00:11.000Z" - }, - { - "id": "rec2ed6bdd802c584", - "fields": { - "Name": "Forrest Gump", - "Description": "Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.", - "Photos": [ - { - "id": "att82e0b9087885c0", - "url": "https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT", - "filename": "220px-Forrest_Gump_poster.jpg", - "size": 16749, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d" - ], - "Director": [ - "rec09887e80a2692e" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:56:05.000Z" - }, - { - "id": "recee114d18a0a3c8", - "fields": { - "Name": "Get Smart", - "Description": "Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"—James Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]", - "Photos": [ - { - "id": "attaef7e86f0bd75e", - "url": "https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI", - "filename": "250px-Get_Smart.gif", - "size": 30619, - "type": "image/gif", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z" - }, - "large": { - "url": "https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89" - } - } - } - ], - "Actors": [ - "rec77b0b4ba0b730e", - "rec43ef994a3465e5" - ], - "Director": [ - "rec2bb32ef25348fa" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:50:49.000Z" - }, - { - "id": "recbe0b3c80a7f198", - "fields": { - "Name": "Pulp Fiction", - "Description": "Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.", - "Photos": [ - { - "id": "att2ffd5c8228a3b4", - "url": "https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo", - "filename": "215px-Pulp_Fiction_cover.jpg", - "size": 25639, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd" - } - } - } - ], - "Actors": [ - "recb59fc29ee5d646", - "rec6e2912ac04090c", - "recaad7f7c2fc0250" - ], - "Director": [ - "rec6caf9605f137c9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec6f45f58180d5c7", - "fields": { - "Name": "Seven Samurai", - "Description": "Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.", - "Photos": [ - { - "id": "attfb51ccc438566b", - "url": "https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ", - "filename": "Seven_Samurai_movie_poster.jpg", - "size": 37313, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW" - } - } - } - ], - "Actors": [ - "rec256a53744da609" - ], - "Director": [ - "rec051acc552ecc58" - ], - "Genre": [ - "Adventure", - "Drama" - ] - }, - "createdTime": "2014-07-18T04:57:03.000Z" - }, - { - "id": "rec110972df115479", - "fields": { - "Name": "Sister Act", - "Description": "Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos": [ - { - "id": "att9141430d2b6dc1", - "url": "https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename": "Sister_Act_film_poster.jpg", - "size": 19805, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - } - } - } - ], - "Actors": [ - "rec73fcac60a91bc1" - ], - "Director": [ - "rec114faab248e582" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Description": "The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - } - ], - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec3ce936056bbf7b", - "fields": { - "Name": "You've got Mail", - "Description": "You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.", - "Photos": [ - { - "id": "atte28f9aa6e2118a", - "url": "https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS", - "filename": "220px-You've_Got_Mail.jpg", - "size": 24847, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz" - }, - "large": { - "url": "https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d", - "rece0feb637db7618" - ], - "Director": [ - "rec738f48b44cc24c" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:52:02.000Z" - } - ] -} diff --git a/src/itest/resources/__files/body-MoviesSortedNameDesc.json b/src/itest/resources/__files/body-MoviesSortedNameDesc.json deleted file mode 100644 index c188e4d..0000000 --- a/src/itest/resources/__files/body-MoviesSortedNameDesc.json +++ /dev/null @@ -1,350 +0,0 @@ -{ - "records": [ - { - "id": "rec3ce936056bbf7b", - "fields": { - "Name": "You've got Mail", - "Description": "You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.", - "Photos": [ - { - "id": "atte28f9aa6e2118a", - "url": "https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS", - "filename": "220px-You've_Got_Mail.jpg", - "size": 24847, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz" - }, - "large": { - "url": "https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d", - "rece0feb637db7618" - ], - "Director": [ - "rec738f48b44cc24c" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:52:02.000Z" - }, - { - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Description": "The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - } - ], - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec110972df115479", - "fields": { - "Name": "Sister Act", - "Description": "Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos": [ - { - "id": "att9141430d2b6dc1", - "url": "https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename": "Sister_Act_film_poster.jpg", - "size": 19805, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - } - } - } - ], - "Actors": [ - "rec73fcac60a91bc1" - ], - "Director": [ - "rec114faab248e582" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec6f45f58180d5c7", - "fields": { - "Name": "Seven Samurai", - "Description": "Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.", - "Photos": [ - { - "id": "attfb51ccc438566b", - "url": "https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ", - "filename": "Seven_Samurai_movie_poster.jpg", - "size": 37313, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW" - } - } - } - ], - "Actors": [ - "rec256a53744da609" - ], - "Director": [ - "rec051acc552ecc58" - ], - "Genre": [ - "Adventure", - "Drama" - ] - }, - "createdTime": "2014-07-18T04:57:03.000Z" - }, - { - "id": "recbe0b3c80a7f198", - "fields": { - "Name": "Pulp Fiction", - "Description": "Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.", - "Photos": [ - { - "id": "att2ffd5c8228a3b4", - "url": "https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo", - "filename": "215px-Pulp_Fiction_cover.jpg", - "size": 25639, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd" - } - } - } - ], - "Actors": [ - "recb59fc29ee5d646", - "rec6e2912ac04090c", - "recaad7f7c2fc0250" - ], - "Director": [ - "rec6caf9605f137c9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "recee114d18a0a3c8", - "fields": { - "Name": "Get Smart", - "Description": "Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"—James Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]", - "Photos": [ - { - "id": "attaef7e86f0bd75e", - "url": "https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI", - "filename": "250px-Get_Smart.gif", - "size": 30619, - "type": "image/gif", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z" - }, - "large": { - "url": "https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89" - } - } - } - ], - "Actors": [ - "rec77b0b4ba0b730e", - "rec43ef994a3465e5" - ], - "Director": [ - "rec2bb32ef25348fa" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:50:49.000Z" - }, - { - "id": "rec2ed6bdd802c584", - "fields": { - "Name": "Forrest Gump", - "Description": "Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.", - "Photos": [ - { - "id": "att82e0b9087885c0", - "url": "https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT", - "filename": "220px-Forrest_Gump_poster.jpg", - "size": 16749, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d" - ], - "Director": [ - "rec09887e80a2692e" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:56:05.000Z" - }, - { - "id": "recfb77014d57c75b", - "fields": { - "Name": "Fight Club", - "Description": "Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.", - "Photos": [ - { - "id": "att69a5df8e344259", - "url": "https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY", - "filename": "220px-Fight_Club_poster.jpg", - "size": 17360, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a" - }, - "large": { - "url": "https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x" - } - } - } - ], - "Actors": [ - "rec3e27ca40e9cb7e" - ], - "Director": [ - "rec16a8af30615da0" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T05:00:11.000Z" - }, - { - "id": "recedd526ce84cbd2", - "fields": { - "Name": "Caddyshack", - "Description": "Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.", - "Photos": [ - { - "id": "att995467ff4b5f04", - "url": "https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w", - "filename": "220px-Caddyshack_poster.jpg", - "size": 30647, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY" - }, - "large": { - "url": "https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD" - } - } - } - ], - "Actors": [ - "rec9b8f53c739a551" - ], - "Director": [ - "rec05389cff1679e5" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:45:28.000Z" - }, - { - "id": "rec6c1b6022782cd8", - "fields": { - "Name": "Billy Madison", - "Description": "Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.", - "Photos": [ - { - "id": "att2a05739d6534e4", - "url": "https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1", - "filename": "220px-Billy_madison_poster.jpg", - "size": 24774, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka" - }, - "large": { - "url": "https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo" - } - } - } - ], - "Actors": [ - "rece266d5762b5240" - ], - "Director": [ - "rec4270d52105811e" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:54:18.000Z" - } - ] -} diff --git a/src/itest/resources/__files/body-ParameterSelectFields.json b/src/itest/resources/__files/body-ParameterSelectFields.json deleted file mode 100644 index a3f88e6..0000000 --- a/src/itest/resources/__files/body-ParameterSelectFields.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "records":[ - { - "id":"rec110972df115479", - "fields":{ - "Name":"Sister Act" - }, - "createdTime":"2014-07-18T04:42:06.000Z" - }, - { - "id":"rec2ed6bdd802c584", - "fields":{ - "Name":"Forrest Gump" - }, - "createdTime":"2014-07-18T04:56:05.000Z" - }, - { - "id":"rec3ce936056bbf7b", - "fields":{ - "Name":"You've got Mail" - }, - "createdTime":"2014-07-18T04:52:02.000Z" - }, - { - "id":"rec6733da527dd0f1", - "fields":{ - "Name":"The Godfather" - }, - "createdTime":"2014-07-18T04:42:06.000Z" - }, - { - "id":"rec6c1b6022782cd8", - "fields":{ - "Name":"Billy Madison" - }, - "createdTime":"2014-07-18T04:54:18.000Z" - } - ] -} \ No newline at end of file diff --git a/src/itest/resources/__files/body-ParameterSelectFormula.json b/src/itest/resources/__files/body-ParameterSelectFormula.json deleted file mode 100644 index d352570..0000000 --- a/src/itest/resources/__files/body-ParameterSelectFormula.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "records":[ - { - "id":"rec110972df115479", - "fields":{ - "Name":"Sister Act" - }, - "createdTime":"2014-07-18T04:42:06.000Z" - }, - { - "id":"rec2ed6bdd802c584", - "fields":{ - "Name":"Forrest Gump" - }, - "createdTime":"2014-07-18T04:56:05.000Z" - } - ] -} \ No newline at end of file diff --git a/src/itest/resources/__files/body-ParameterSelectMaxRecords.json b/src/itest/resources/__files/body-ParameterSelectMaxRecords.json deleted file mode 100644 index 18675f9..0000000 --- a/src/itest/resources/__files/body-ParameterSelectMaxRecords.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "records":[{ - "id":"rec110972df115479", - "fields":{ - "Name":"Sister Act", - "Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos":[{ - "id":"att9141430d2b6dc1", - "url":"https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename":"Sister_Act_film_poster.jpg", - "size":19805, - "type":"image/jpeg", - "thumbnails":{ - "small":{ - "url":"https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large":{ - "url":"https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - }} - }], - "Actors":["rec73fcac60a91bc1"], - "Director":["rec114faab248e582"], - "Genre":["Comedy"] - }, - "createdTime":"2014-07-18T04:42:06.000Z" - }] -} \ No newline at end of file diff --git a/src/itest/resources/__files/body-ParameterSelectPageSize.json b/src/itest/resources/__files/body-ParameterSelectPageSize.json deleted file mode 100644 index 2ef12a3..0000000 --- a/src/itest/resources/__files/body-ParameterSelectPageSize.json +++ /dev/null @@ -1 +0,0 @@ -{"records":[{"id":"rec110972df115479","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9141430d2b6dc1","url":"https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r","filename":"Sister_Act_film_poster.jpg","size":19805,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy"},"large":{"url":"https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg"}}}],"Actors":["rec73fcac60a91bc1"],"Director":["rec114faab248e582"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"rec2ed6bdd802c584","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a na├»ve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"att82e0b9087885c0","url":"https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT","filename":"220px-Forrest_Gump_poster.jpg","size":16749,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ"},"large":{"url":"https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0"}}}],"Actors":["recf38022b2f0db0d"],"Director":["rec09887e80a2692e"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"rec3ce936056bbf7b","fields":{"Name":"You've got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Mikl├│s L├íszl├│. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly ÔÇö a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"atte28f9aa6e2118a","url":"https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS","filename":"220px-You've_Got_Mail.jpg","size":24847,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz"},"large":{"url":"https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB"}}}],"Actors":["recf38022b2f0db0d","rece0feb637db7618"],"Director":["rec738f48b44cc24c"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"rec6733da527dd0f1","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"att6dba4af5786df1","url":"https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k","filename":"220px-TheGodfatherAlPacinoMarlonBrando.jpg","size":16420,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN"},"large":{"url":"https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4"}}},{"id":"attzWvarnmYBBd2Wm","url":"https://dl.airtable.com/jJqBm304SBWBrF3dXn12_Lighthouse.jpg","filename":"Lighthouse.jpg","size":561276,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg","width":48,"height":36},"large":{"url":"https://dl.airtable.com/8QX7f3nSAe6lrOxeuvTP_large_Lighthouse.jpg","width":512,"height":512}}}],"Actors":["recc8841a14245b0b","rec514228ed76ced1"],"Director":["recfaf64fe0db19a9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"rec6c1b6022782cd8","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"att2a05739d6534e4","url":"https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1","filename":"220px-Billy_madison_poster.jpg","size":24774,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka"},"large":{"url":"https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo"}}}],"Actors":["rece266d5762b5240"],"Director":["rec4270d52105811e"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"},{"id":"rec6f45f58180d5c7","fields":{"Name":"Seven Samurai","Description":"Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attfb51ccc438566b","url":"https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ","filename":"Seven_Samurai_movie_poster.jpg","size":37313,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI"},"large":{"url":"https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW"}}}],"Actors":["rec256a53744da609"],"Director":["rec051acc552ecc58"],"Genre":["Adventure","Drama"]},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recbe0b3c80a7f198","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att2ffd5c8228a3b4","url":"https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo","filename":"215px-Pulp_Fiction_cover.jpg","size":25639,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ"},"large":{"url":"https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd"}}}],"Actors":["recb59fc29ee5d646","rec6e2912ac04090c","recaad7f7c2fc0250"],"Director":["rec6caf9605f137c9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recedd526ce84cbd2","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"att995467ff4b5f04","url":"https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w","filename":"220px-Caddyshack_poster.jpg","size":30647,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY"},"large":{"url":"https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD"}}}],"Actors":["rec9b8f53c739a551"],"Director":["rec05389cff1679e5"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recee114d18a0a3c8","fields":{"Name":"Get Smart","Description":"Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"ÔÇöJames Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]","Photos":[{"id":"attaef7e86f0bd75e","url":"https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI","filename":"250px-Get_Smart.gif","size":30619,"type":"image/gif","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z"},"large":{"url":"https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89"}}}],"Actors":["rec77b0b4ba0b730e","rec43ef994a3465e5"],"Director":["rec2bb32ef25348fa"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:50:49.000Z"},{"id":"recfb77014d57c75b","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"att69a5df8e344259","url":"https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY","filename":"220px-Fight_Club_poster.jpg","size":17360,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a"},"large":{"url":"https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x"}}}],"Actors":["rec3e27ca40e9cb7e"],"Director":["rec16a8af30615da0"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"}]} \ No newline at end of file diff --git a/src/itest/resources/__files/body-ParameterSelectSort.json b/src/itest/resources/__files/body-ParameterSelectSort.json deleted file mode 100644 index d538c5c..0000000 --- a/src/itest/resources/__files/body-ParameterSelectSort.json +++ /dev/null @@ -1 +0,0 @@ -{"records":[{"id":"rec3ce936056bbf7b","fields":{"Name":"You've got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Mikl├│s L├íszl├│. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly ÔÇö a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"atte28f9aa6e2118a","url":"https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS","filename":"220px-You've_Got_Mail.jpg","size":24847,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz"},"large":{"url":"https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB"}}}],"Actors":["recf38022b2f0db0d","rece0feb637db7618"],"Director":["rec738f48b44cc24c"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"rec6733da527dd0f1","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"att6dba4af5786df1","url":"https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k","filename":"220px-TheGodfatherAlPacinoMarlonBrando.jpg","size":16420,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN"},"large":{"url":"https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4"}}},{"id":"attzWvarnmYBBd2Wm","url":"https://dl.airtable.com/jJqBm304SBWBrF3dXn12_Lighthouse.jpg","filename":"Lighthouse.jpg","size":561276,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg","width":48,"height":36},"large":{"url":"https://dl.airtable.com/8QX7f3nSAe6lrOxeuvTP_large_Lighthouse.jpg","width":512,"height":512}}}],"Actors":["recc8841a14245b0b","rec514228ed76ced1"],"Director":["recfaf64fe0db19a9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"rec110972df115479","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9141430d2b6dc1","url":"https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r","filename":"Sister_Act_film_poster.jpg","size":19805,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy"},"large":{"url":"https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg"}}}],"Actors":["rec73fcac60a91bc1"],"Director":["rec114faab248e582"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"rec6f45f58180d5c7","fields":{"Name":"Seven Samurai","Description":"Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attfb51ccc438566b","url":"https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ","filename":"Seven_Samurai_movie_poster.jpg","size":37313,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI"},"large":{"url":"https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW"}}}],"Actors":["rec256a53744da609"],"Director":["rec051acc552ecc58"],"Genre":["Adventure","Drama"]},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recbe0b3c80a7f198","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att2ffd5c8228a3b4","url":"https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo","filename":"215px-Pulp_Fiction_cover.jpg","size":25639,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ"},"large":{"url":"https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd"}}}],"Actors":["recb59fc29ee5d646","rec6e2912ac04090c","recaad7f7c2fc0250"],"Director":["rec6caf9605f137c9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recee114d18a0a3c8","fields":{"Name":"Get Smart","Description":"Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"ÔÇöJames Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]","Photos":[{"id":"attaef7e86f0bd75e","url":"https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI","filename":"250px-Get_Smart.gif","size":30619,"type":"image/gif","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z"},"large":{"url":"https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89"}}}],"Actors":["rec77b0b4ba0b730e","rec43ef994a3465e5"],"Director":["rec2bb32ef25348fa"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:50:49.000Z"},{"id":"rec2ed6bdd802c584","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a na├»ve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"att82e0b9087885c0","url":"https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT","filename":"220px-Forrest_Gump_poster.jpg","size":16749,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ"},"large":{"url":"https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0"}}}],"Actors":["recf38022b2f0db0d"],"Director":["rec09887e80a2692e"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recfb77014d57c75b","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"att69a5df8e344259","url":"https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY","filename":"220px-Fight_Club_poster.jpg","size":17360,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a"},"large":{"url":"https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x"}}}],"Actors":["rec3e27ca40e9cb7e"],"Director":["rec16a8af30615da0"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"},{"id":"recedd526ce84cbd2","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"att995467ff4b5f04","url":"https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w","filename":"220px-Caddyshack_poster.jpg","size":30647,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY"},"large":{"url":"https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD"}}}],"Actors":["rec9b8f53c739a551"],"Director":["rec05389cff1679e5"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"rec6c1b6022782cd8","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"att2a05739d6534e4","url":"https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1","filename":"220px-Billy_madison_poster.jpg","size":24774,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka"},"large":{"url":"https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo"}}}],"Actors":["rece266d5762b5240"],"Director":["rec4270d52105811e"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"}]} \ No newline at end of file diff --git a/src/itest/resources/__files/body-ParameterSelectView.json b/src/itest/resources/__files/body-ParameterSelectView.json deleted file mode 100644 index 092bf36..0000000 --- a/src/itest/resources/__files/body-ParameterSelectView.json +++ /dev/null @@ -1 +0,0 @@ -{"records":[{"id":"recfb77014d57c75b","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"att69a5df8e344259","url":"https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY","filename":"220px-Fight_Club_poster.jpg","size":17360,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a"},"large":{"url":"https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x"}}}],"Actors":["rec3e27ca40e9cb7e"],"Director":["rec16a8af30615da0"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"},{"id":"rec2ed6bdd802c584","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a na├»ve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"att82e0b9087885c0","url":"https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT","filename":"220px-Forrest_Gump_poster.jpg","size":16749,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ"},"large":{"url":"https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0"}}}],"Actors":["recf38022b2f0db0d"],"Director":["rec09887e80a2692e"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recbe0b3c80a7f198","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att2ffd5c8228a3b4","url":"https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo","filename":"215px-Pulp_Fiction_cover.jpg","size":25639,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ"},"large":{"url":"https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd"}}}],"Actors":["recb59fc29ee5d646","rec6e2912ac04090c","recaad7f7c2fc0250"],"Director":["rec6caf9605f137c9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"rec6f45f58180d5c7","fields":{"Name":"Seven Samurai","Description":"Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attfb51ccc438566b","url":"https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ","filename":"Seven_Samurai_movie_poster.jpg","size":37313,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI"},"large":{"url":"https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW"}}}],"Actors":["rec256a53744da609"],"Director":["rec051acc552ecc58"],"Genre":["Adventure","Drama"]},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"rec6733da527dd0f1","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"att6dba4af5786df1","url":"https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k","filename":"220px-TheGodfatherAlPacinoMarlonBrando.jpg","size":16420,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN"},"large":{"url":"https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4"}}},{"id":"attzWvarnmYBBd2Wm","url":"https://dl.airtable.com/jJqBm304SBWBrF3dXn12_Lighthouse.jpg","filename":"Lighthouse.jpg","size":561276,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg","width":48,"height":36},"large":{"url":"https://dl.airtable.com/8QX7f3nSAe6lrOxeuvTP_large_Lighthouse.jpg","width":512,"height":512}}}],"Actors":["recc8841a14245b0b","rec514228ed76ced1"],"Director":["recfaf64fe0db19a9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"}]} \ No newline at end of file diff --git a/src/itest/resources/__files/body-SerializedName.json b/src/itest/resources/__files/body-SerializedName.json deleted file mode 100644 index be48906..0000000 --- a/src/itest/resources/__files/body-SerializedName.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "records": [ - { - "id": "rec514228ed76ced1", - "fields": { - "First- & Lastname": "Marlon Brando", - "Filmography": [ - "rec6733da527dd0f1" - ], - "Biography of Actor": "Marlon Brando, Jr. (April 3, 1924 – July 1, 2004) was an American actor. He is hailed for bringing a gripping realism to film acting, and is widely co..." - }, - "createdTime": "2014-07-18T04:48:25.000Z" - } - ] -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ActorCreate.json b/src/itest/resources/mappings/mapping-ActorCreate.json deleted file mode 100644 index 0c3924c..0000000 --- a/src/itest/resources/mappings/mapping-ActorCreate.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Actors", - "method" : "POST", - "bodyPatterns" : [{"equalToJson" : "{\"fields\":{\"Name\": \"Neuer Actor\"}}"}] - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ActorCreate.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ActorDelete.json b/src/itest/resources/mappings/mapping-ActorDelete.json deleted file mode 100644 index 0ce8f0e..0000000 --- a/src/itest/resources/mappings/mapping-ActorDelete.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Actors/recapJ3Js8AEwt0Bf", - "method" : "DELETE" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ActorDelete.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ActorUpdate.json b/src/itest/resources/mappings/mapping-ActorUpdate.json deleted file mode 100644 index 29fb493..0000000 --- a/src/itest/resources/mappings/mapping-ActorUpdate.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Actors/rec514228ed76ced1", - "method" : "PATCH", - "bodyPatterns" : [{"equalToJson" : "{\"fields\":{\"Name\": \"Neuer Name\"}}"}] - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ActorUpdate.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ActorsFind.json b/src/itest/resources/mappings/mapping-ActorsFind.json deleted file mode 100644 index dc1fafa..0000000 --- a/src/itest/resources/mappings/mapping-ActorsFind.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Actors/rec514228ed76ced1", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ActorFind.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ActorsList.json b/src/itest/resources/mappings/mapping-ActorsList.json deleted file mode 100644 index 9b8460e..0000000 --- a/src/itest/resources/mappings/mapping-ActorsList.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Actors", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-Actors.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ActorsListSerializedNames.json b/src/itest/resources/mappings/mapping-ActorsListSerializedNames.json deleted file mode 100644 index 4355bc9..0000000 --- a/src/itest/resources/mappings/mapping-ActorsListSerializedNames.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/SerializedNames", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-SerializedName.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-MovieCreate.json b/src/itest/resources/mappings/mapping-MovieCreate.json deleted file mode 100644 index cb3d7c9..0000000 --- a/src/itest/resources/mappings/mapping-MovieCreate.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies", - "method" : "POST", - "bodyPatterns" : [{"equalToJson" : "{\"fields\":{\"Name\":\"Neuer Film\",\"Description\":\"Irgendwas\",\"Director\":[\"recfaf64fe0db19a9\"],\"Actors\":[\"recc8841a14245b0b\",\"rec514228ed76ced1\"],\"Genre\":[\"Drama\"]}}", - "ignoreArrayOrder" : true, - "ignoreExtraElements" : true - }] -}, - "response" : { - "status" : 200, - "bodyFileName" : "/body-MovieCreate.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-MovieCreate2.json b/src/itest/resources/mappings/mapping-MovieCreate2.json deleted file mode 100644 index 0e0edd0..0000000 --- a/src/itest/resources/mappings/mapping-MovieCreate2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies", - "method" : "POST", - "bodyPatterns" : [{"equalToJson" : "{\"fields\":{\"Name\":\"Neuer Film\",\"Photos\": [{\"url\":\"https://www.example.imgae.file1.de\"},{\"url\":\"https://www.example.imgae.file2.de\"}]}}", - "ignoreArrayOrder" : true, - "ignoreExtraElements" : true - }] -}, - "response" : { - "status" : 200, - "bodyFileName" : "/body-MovieCreate2.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-MovieFind.json b/src/itest/resources/mappings/mapping-MovieFind.json deleted file mode 100644 index 326b51b..0000000 --- a/src/itest/resources/mappings/mapping-MovieFind.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies/rec6733da527dd0f1", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-MoviesFind.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-MoviesList.json b/src/itest/resources/mappings/mapping-MoviesList.json deleted file mode 100644 index 50d53e5..0000000 --- a/src/itest/resources/mappings/mapping-MoviesList.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-Movies.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-MoviesListMainView.json b/src/itest/resources/mappings/mapping-MoviesListMainView.json deleted file mode 100644 index 55e50eb..0000000 --- a/src/itest/resources/mappings/mapping-MoviesListMainView.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?view=Main+View", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-MoviesMainView.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-MoviesListMaxRecords.json b/src/itest/resources/mappings/mapping-MoviesListMaxRecords.json deleted file mode 100644 index 7218edd..0000000 --- a/src/itest/resources/mappings/mapping-MoviesListMaxRecords.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?maxRecords=2", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-MoviesMaxRecords.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-MoviesListSortedAsc.json b/src/itest/resources/mappings/mapping-MoviesListSortedAsc.json deleted file mode 100644 index 892a8f1..0000000 --- a/src/itest/resources/mappings/mapping-MoviesListSortedAsc.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request": { - "url": "/v0/appe9941ff07fffcc/Movies?sort%5B0%5D%5Bfield%5D=Name&sort%5B0%5D%5Bdirection%5D=asc", - "method": "GET" - }, - "response": { - "status": 200, - "bodyFileName": "/body-MoviesSortedNameAsc.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-MoviesListSortedDesc.json b/src/itest/resources/mappings/mapping-MoviesListSortedDesc.json deleted file mode 100644 index fa8bbcb..0000000 --- a/src/itest/resources/mappings/mapping-MoviesListSortedDesc.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request": { - "url": "/v0/appe9941ff07fffcc/Movies?sort%5B0%5D%5Bfield%5D=Name&sort%5B0%5D%5Bdirection%5D=desc", - "method": "GET" - }, - "response": { - "status": 200, - "bodyFileName": "/body-MoviesSortedNameDesc.json" - } -} diff --git a/src/itest/resources/mappings/mapping-ParameterSelectFields.json b/src/itest/resources/mappings/mapping-ParameterSelectFields.json deleted file mode 100644 index df8c99e..0000000 --- a/src/itest/resources/mappings/mapping-ParameterSelectFields.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?fields%5B%5D=Name", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectFields.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ParameterSelectFormula.json b/src/itest/resources/mappings/mapping-ParameterSelectFormula.json deleted file mode 100644 index 0bfa97d..0000000 --- a/src/itest/resources/mappings/mapping-ParameterSelectFormula.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?filterByFormula=NOT%28%7BName%7D+%3D+%27%27%29", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectFormula.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ParameterSelectMaxRecords.json b/src/itest/resources/mappings/mapping-ParameterSelectMaxRecords.json deleted file mode 100644 index 9b72d97..0000000 --- a/src/itest/resources/mappings/mapping-ParameterSelectMaxRecords.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?pageSize=10", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectPageSize.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ParameterSelectPageSize.json b/src/itest/resources/mappings/mapping-ParameterSelectPageSize.json deleted file mode 100644 index 7378b93..0000000 --- a/src/itest/resources/mappings/mapping-ParameterSelectPageSize.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?paheSize=10", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectPageSize.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ParameterSelectSort.json b/src/itest/resources/mappings/mapping-ParameterSelectSort.json deleted file mode 100644 index b54a2db..0000000 --- a/src/itest/resources/mappings/mapping-ParameterSelectSort.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?sort%5B0%5D%5Bfield%5D=Name&sort%5B0%5D%5Bdirection%5D=desc", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectSort.json" - } -} \ No newline at end of file diff --git a/src/itest/resources/mappings/mapping-ParameterSelectView.json b/src/itest/resources/mappings/mapping-ParameterSelectView.json deleted file mode 100644 index 969144e..0000000 --- a/src/itest/resources/mappings/mapping-ParameterSelectView.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?view=Dramas", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectView.json" - } -} \ No newline at end of file diff --git a/src/main/java/com/sybit/airtable/Airtable.java b/src/main/java/com/sybit/airtable/Airtable.java index bf6d5b4..c0726e3 100644 --- a/src/main/java/com/sybit/airtable/Airtable.java +++ b/src/main/java/com/sybit/airtable/Airtable.java @@ -114,11 +114,11 @@ public Airtable configure(String apiKey, ObjectMapper objectMapper) throws Airta } /** - * - * @param config + * Configure the Airtable client by given config. + * + * @param config Configuration of client. * @return - * @throws com.sybit.airtable.exception.AirtableException Missing API-Key or - * Endpoint + * @throws AirtableException Missing API-Key or Endpoint */ @SuppressWarnings("WeakerAccess") public Airtable configure(Configuration config) throws AirtableException { @@ -126,12 +126,12 @@ public Airtable configure(Configuration config) throws AirtableException { } /** - * - * @param config + * Configure the Airtable client by given config. + * + * @param config Configuration of client. * @param objectMapper A custom ObjectMapper implementation * @return - * @throws com.sybit.airtable.exception.AirtableException Missing API-Key or - * Endpoint + * @throws AirtableException Missing API-Key or Endpoint */ @SuppressWarnings("WeakerAccess") public Airtable configure(Configuration config, ObjectMapper objectMapper) throws AirtableException { @@ -174,17 +174,16 @@ public Airtable configure(Configuration config, ObjectMapper objectMapper) throw } /** - * Set Proxy Manually. + * Set Proxy manually. * - * @param proxy + * @param proxy the proxy. */ public void setProxy(String proxy) { + this.config.setProxy(proxy); if (proxy == null) { - this.config.setProxy(proxy); Unirest.setProxy(null); } else { - this.config.setProxy(proxy); Unirest.setProxy(HttpHost.create(this.config.getProxy())); } @@ -194,7 +193,7 @@ public void setProxy(String proxy) { * Set Proxy environment in Configuration. * * Proxy will be ignored for endpointUrls containing localhost - * or 127.0.0.1,/code> + * or 127.0.0.1. * * @param endpointUrl */ diff --git a/src/main/java/com/sybit/airtable/GsonObjectMapper.java b/src/main/java/com/sybit/airtable/GsonObjectMapper.java index df5e76a..293bf36 100644 --- a/src/main/java/com/sybit/airtable/GsonObjectMapper.java +++ b/src/main/java/com/sybit/airtable/GsonObjectMapper.java @@ -1,7 +1,8 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable; @@ -26,13 +27,15 @@ public GsonObjectMapper() { } + @Override public T readValue(String value, Class valueType) { - LOG.log(Level.FINE, "readValue: \n" + value); + LOG.log(Level.FINE, "readValue: \n{0}", value); return gson.fromJson(value, valueType); } + @Override public String writeValue(Object value) { - LOG.log(Level.FINE, "writeValue: \n" + value); + LOG.log(Level.FINE, "writeValue: \n{0}", value); return gson.toJson(value); } diff --git a/src/main/java/com/sybit/airtable/Query.java b/src/main/java/com/sybit/airtable/Query.java index 9d5eab4..95cd25c 100644 --- a/src/main/java/com/sybit/airtable/Query.java +++ b/src/main/java/com/sybit/airtable/Query.java @@ -1,9 +1,10 @@ -package com.sybit.airtable;/* +/* * The MIT License (MIT) * Copyright (c) 2017 Sybit GmbH * * Permission is hereby granted, free of charge, to any person obtaining a copy */ +package com.sybit.airtable; import java.util.List; @@ -47,4 +48,12 @@ public interface Query { * @return get the filter formula. */ String filterByFormula(); + + /** + * Offset to get more than 100 records. + * + * The offset is provided by previous result. + * @return + */ + String getOffset(); } diff --git a/src/main/java/com/sybit/airtable/Table.java b/src/main/java/com/sybit/airtable/Table.java index c5409a5..7c1e1bb 100644 --- a/src/main/java/com/sybit/airtable/Table.java +++ b/src/main/java/com/sybit/airtable/Table.java @@ -30,14 +30,20 @@ /** * Representation Class of Airtable Tables. * + * @param * @since 0.1 */ public class Table { - private static final Logger LOG = LoggerFactory.getLogger( Table.class ); + private static final Logger LOG = LoggerFactory.getLogger(Table.class); + + private static final String MIME_TYPE_JSON = "application/json"; + + private static final String FIELD_ID = "id"; + private static final String FIELD_CREATED_TIME = "createdTime"; private final String name; - private final Class type; + private final Class type; private Base parent; @@ -55,20 +61,22 @@ public Table(String name, Class type) { } /** - * - * @param name - * @param type - * @param base + * Constructor of Table. + * + * @param name Name of Table + * @param type Class to map the rows. + * @param base Base containing table. */ @SuppressWarnings("WeakerAccess") - public Table(String name, Class type, Base base){ + public Table(String name, Class type, Base base) { this(name, type); setParent(base); } /** - * - * @param parent + * Set the parent base. + * + * @param parent parent base of table. */ public void setParent(Base parent) { this.parent = parent; @@ -79,6 +87,7 @@ public void setParent(Base parent) { * * @return List of all items. * @throws AirtableException + * @throws org.apache.http.client.HttpResponseException */ public List select() throws AirtableException, HttpResponseException { return select(new Query() { @@ -111,6 +120,11 @@ public String[] getFields() { public Integer getPageSize() { return null; } + + @Override + public String getOffset() { + return null; + } }); } @@ -123,68 +137,128 @@ public Integer getPageSize() { * @throws AirtableException */ @SuppressWarnings("WeakerAccess") - public List select(Query query) throws AirtableException { + public List select(final Query query) throws AirtableException { HttpResponse response; try { - GetRequest request = Unirest.get(getTableEndpointUrl()) - .header("accept", "application/json") - .header("Authorization", getBearerToken()); - if(query.getFields() != null && query.getFields().length > 0){ + final GetRequest request = Unirest.get(getTableEndpointUrl()) + .header("accept", MIME_TYPE_JSON) + .header("Authorization", getBearerToken()) + .header("Content-type" , MIME_TYPE_JSON); + + if (query.getFields() != null && query.getFields().length > 0) { String[] fields = query.getFields(); - for (int i = 0; i < fields.length; i++) { - request.queryString("fields[]",fields[i]); - } + for (String field : fields) { + request.queryString("fields[]", field); + + } } - if(query.getMaxRecords() != null) { + if (query.getMaxRecords() != null) { request.queryString("maxRecords", query.getMaxRecords()); } - if(query.getView() != null) { + if (query.getView() != null) { request.queryString("view", query.getView()); } - if(query.filterByFormula() != null) { + if (query.filterByFormula() != null) { request.queryString("filterByFormula", query.filterByFormula()); } - if(query.getPageSize() != null){ + if (query.getPageSize() != null) { if (query.getPageSize() > 100) { - request.queryString("pageSize",100); + LOG.warn("pageSize is limited to max 100 but was " + query.getPageSize()); + request.queryString("pageSize", 100); } else { - request.queryString("pageSize",query.getPageSize()); - } + request.queryString("pageSize", query.getPageSize()); + } } - if(query.getSort() != null) { + if (query.getSort() != null) { int i = 0; for (Sort sort : query.getSort()) { request.queryString("sort[" + i + "][field]", sort.getField()); request.queryString("sort[" + i + "][direction]", sort.getDirection()); } } + if (query.getOffset()!= null) { + request.queryString("offset", query.getOffset()); + } LOG.debug("URL=" + request.getUrl()); response = request.asObject(Records.class); - } - catch (UnirestException e) { + } catch (UnirestException e) { throw new AirtableException(e); } int code = response.getStatus(); - List list = null; - if(200 == code) { + List list; + if (200 == code) { list = getList(response); + + final String offset = response.getBody().getOffset(); + + if (offset != null) { + list.addAll(this.select(query, offset)); + } } else { HttpResponseExceptionHandler.onResponse(response); + list = null; } return list; } /** - * select with Parameter maxRecords - * - * @param maxRecords + * Get List by given offset. + * + * @param query + * @param offset + * @return + * @throws AirtableException + */ + private List select(Query query, String offset) throws AirtableException { + return select(new Query() { + @Override + public Integer getMaxRecords() { + return query.getMaxRecords(); + } + + @Override + public String getView() { + return query.getView(); + } + + @Override + public List getSort() { + return query.getSort(); + } + + @Override + public String filterByFormula() { + return query.filterByFormula(); + } + + @Override + public String[] getFields() { + return query.getFields(); + } + + @Override + public Integer getPageSize() { + return query.getPageSize(); + } + + @Override + public String getOffset() { + return offset; + } + }); + } + + /** + * Select with parameter maxRecords + * + * @param maxRecords maximum of records per request. * @return * @throws AirtableException - * @throws HttpResponseException + * @throws HttpResponseException */ public List select(Integer maxRecords) throws AirtableException, HttpResponseException { return select(new Query() { @@ -217,17 +291,23 @@ public String[] getFields() { public Integer getPageSize() { return null; } + + @Override + public String getOffset() { + return null; + } }); } /** * Select data of table by definied view. + * * @param view * @return * @throws AirtableException * @throws HttpResponseException */ - public List select(String view) throws AirtableException, HttpResponseException { + public List select(String view) throws AirtableException, HttpResponseException { return select(new Query() { @Override public Integer getMaxRecords() { @@ -258,12 +338,17 @@ public String[] getFields() { public Integer getPageSize() { return null; } + + @Override + public String getOffset() { + return null; + } }); } /** - *select Table data with defined sortation - * + * select Table data with defined sortation + * * @param sortation * @return * @throws AirtableException @@ -303,16 +388,21 @@ public String[] getFields() { public Integer getPageSize() { return null; } + + @Override + public String getOffset() { + return null; + } }); } - + /** * Select only Table data with defined fields. * * @param fields array of requested fields. * @return list of item using only requested fields. * @throws AirtableException - * @throws HttpResponseException + * @throws HttpResponseException */ public List select(String[] fields) throws AirtableException, HttpResponseException { @@ -346,6 +436,11 @@ public String[] getFields() { public Integer getPageSize() { return null; } + + @Override + public String getOffset() { + return null; + } }); } @@ -360,7 +455,7 @@ private List getList(HttpResponse response) { final Records records = response.getBody(); final List list = new ArrayList<>(); - for(Map record : records.getRecords()) { + for (Map record : records.getRecords()) { T item = null; try { item = transform(record, this.type.newInstance()); @@ -379,22 +474,22 @@ private List getList(HttpResponse response) { * @return searched record. * @throws AirtableException */ - public T find(String id) throws AirtableException { + public T find(final String id) throws AirtableException { RecordItem body; HttpResponse response; try { - response = Unirest.get( getTableEndpointUrl() + "/" + id) - .header("accept", "application/json") - .header("Authorization", getBearerToken()) - .asObject(RecordItem.class); + response = Unirest.get(getTableEndpointUrl() + "/" + id) + .header("accept", MIME_TYPE_JSON) + .header("Authorization", getBearerToken()) + .asObject(RecordItem.class); } catch (UnirestException e) { throw new AirtableException(e); } int code = response.getStatus(); - if(200 == code) { + if (200 == code) { body = response.getBody(); } else { HttpResponseExceptionHandler.onResponse(response); @@ -402,135 +497,157 @@ public T find(String id) throws AirtableException { } try { - return transform(body, this.type.newInstance() ); + return transform(body, this.type.newInstance()); } catch (InvocationTargetException | IllegalAccessException | InstantiationException e) { throw new AirtableException(e); } } - + /** - * Create Record of given Item - * + * Create Record of given Item. + * * @param item the item to be created * @return the created item * @throws AirtableException * @throws IllegalAccessException * @throws InvocationTargetException - * @throws NoSuchMethodException + * @throws NoSuchMethodException */ - public T create(T item) throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException { - + public T create(final T item) throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException { + RecordItem responseBody = null; - + checkProperties(item); - - PostRecord body = new PostRecord(); + + PostRecord body = new PostRecord<>(); body.setFields(item); - + HttpResponse response; try { - response = Unirest.post( getTableEndpointUrl()) - .header("accept", "application/json") - .header("Authorization", getBearerToken()) - .header("Content-type","application/json") - .body(body) - .asObject(RecordItem.class); + response = Unirest.post(getTableEndpointUrl()) + .header("accept", MIME_TYPE_JSON) + .header("Authorization", getBearerToken()) + .header("Content-type", MIME_TYPE_JSON) + .body(body) + .asObject(RecordItem.class); } catch (UnirestException e) { throw new AirtableException(e); } - + int code = response.getStatus(); - if(200 == code) { + if (200 == code) { responseBody = response.getBody(); } else { HttpResponseExceptionHandler.onResponse(response); } try { - return transform(responseBody, this.type.newInstance() ); + return transform(responseBody, this.type.newInstance()); } catch (InvocationTargetException | IllegalAccessException | InstantiationException e) { LOG.error(e.getMessage(), e); } - + return null; } - public T update(T item) throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException { - + /** + * Update given item in storage. + * + * @param item Item to update. + * @return updated item returned by airtable. + * @throws AirtableException + * @throws IllegalAccessException + * @throws InvocationTargetException + * @throws NoSuchMethodException + */ + public T update(final T item) throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException { + RecordItem responseBody = null; - + String id = getIdOfItem(item); - - PostRecord body = new PostRecord(); + + PostRecord body = new PostRecord<>(); body.setFields(filterFields(item)); - + HttpResponse response; try { - response = Unirest.patch( getTableEndpointUrl()+"/"+id) - .header("accept", "application/json") - .header("Authorization", getBearerToken()) - .header("Content-type","application/json") - .body(body) - .asObject(RecordItem.class); + response = Unirest.patch(getTableEndpointUrl() + "/" + id) + .header("accept", MIME_TYPE_JSON) + .header("Authorization", getBearerToken()) + .header("Content-type", MIME_TYPE_JSON) + .body(body) + .asObject(RecordItem.class); } catch (UnirestException e) { throw new AirtableException(e); } - + int code = response.getStatus(); - if(200 == code) { + if (200 == code) { responseBody = response.getBody(); } else { HttpResponseExceptionHandler.onResponse(response); } + T result; try { - return transform(responseBody, this.type.newInstance() ); + result = transform(responseBody, this.type.newInstance()); } catch (InvocationTargetException | IllegalAccessException | InstantiationException e) { LOG.error(e.getMessage(), e); + result = null; } - - return null; + return result; } + /** + * + * @param item + * @return + */ public T replace(T item) { throw new UnsupportedOperationException("not yet implemented"); } - + /** * Delete Record by given id - * - * @param id - * @throws AirtableException + * + * @param id Id of the row to delete. + * @return true if success. + * @throws AirtableException */ - public void destroy(String id) throws AirtableException { - - Delete body = null; + public boolean destroy(String id) throws AirtableException { + + + boolean isDeleted; HttpResponse response; try { response = Unirest.delete(getTableEndpointUrl() + "/" + id) - .header("accept", "application/json") - .header("Authorization", getBearerToken()) - .asObject(Delete.class); + .header("accept", MIME_TYPE_JSON) + .header("Authorization", getBearerToken()) + .asObject(Delete.class); } catch (UnirestException e) { throw new AirtableException(e); } int code = response.getStatus(); - if(200 == code) { - body = response.getBody(); + if (200 == code) { + Delete body = response.getBody(); + isDeleted = body.isDeleted(); } else { + isDeleted = false; HttpResponseExceptionHandler.onResponse(response); } - if(!body.isDeleted()){ - throw new AirtableException("Record id: "+body.getId()+" could not be deleted."); - } +// if (!body.isDeleted()) { +// throw new AirtableException("Record id: " + body.getId() + " could not be deleted."); +// } + + return isDeleted; } /** @@ -569,10 +686,10 @@ private String getBearerToken() { * @throws InstantiationException */ private T transform(Map record, T retval) throws InvocationTargetException, IllegalAccessException { - for(String key: record.keySet()) { - if("fields".equals(key)) { + for (String key : record.keySet()) { + if ("fields".equals(key)) { //noinspection unchecked - retval = transform((Map)record.get("fields"), retval); + retval = transform((Map) record.get("fields"), retval); } else { setProperty(retval, key, record.get(key)); } @@ -590,8 +707,8 @@ private T transform(Map record, T retval) throws InvocationTarge * @throws IllegalAccessException */ private T transform(RecordItem record, T retval) throws InvocationTargetException, IllegalAccessException { - setProperty(retval, "id", record.getId()); - setProperty(retval, "createdTime", record.getCreatedTime()); + setProperty(retval, FIELD_ID, record.getId()); + setProperty(retval, FIELD_CREATED_TIME, record.getCreatedTime()); retval = transform(record.getFields(), retval); @@ -609,18 +726,18 @@ private T transform(RecordItem record, T retval) throws InvocationTargetExceptio private void setProperty(T retval, String key, Object value) throws IllegalAccessException, InvocationTargetException { String property = key2property(key); - for (Field f: this.type.getDeclaredFields()) { + for (final Field f : this.type.getDeclaredFields()) { final SerializedName annotation = f.getAnnotation(SerializedName.class); - if(annotation != null && property.equalsIgnoreCase(annotation.value())){ - property = f.getName(); - break; + if (annotation != null && property.equalsIgnoreCase(annotation.value())) { + property = f.getName(); + break; } } if (propertyExists(retval, property)) { BeanUtils.setProperty(retval, property, value); - }else { + } else { LOG.warn(retval.getClass() + " does not support public setter for existing property [" + property + "]"); } } @@ -631,14 +748,18 @@ private void setProperty(T retval, String key, Object value) throws IllegalAcces * @param key * @return */ - private String key2property(String key) { + String key2property(final String key) { - if(key.contains(" ") || key.contains("-") ) { - LOG.warn( "Annotate columns having special characters by using @SerializedName for property: [" + key + "]"); + if(key == null || key.isEmpty()) { + throw new IllegalArgumentException("Key was null or empty."); + } + + if (key.contains(" ") || key.contains("-")) { + LOG.warn("Annotate columns having special characters by using @SerializedName for property: [" + key + "]"); } String property = key.trim(); - property = property.substring(0,1).toLowerCase() + property.substring(1, property.length()); - + property = property.substring(0, 1).toLowerCase() + property.substring(1, property.length()); + return property; } @@ -649,104 +770,115 @@ private String key2property(String key) { * @param property name of property * @return true if writable property exists. */ - private static boolean propertyExists (Object bean, String property) { - return PropertyUtils.isReadable(bean, property) && - PropertyUtils.isWriteable(bean, property); + private static boolean propertyExists(Object bean, String property) { + return PropertyUtils.isReadable(bean, property) + && PropertyUtils.isWriteable(bean, property); } /** * Checks if the Property Values of the item are valid for the Request. - * + * * @param item * @throws AirtableException * @throws IllegalAccessException * @throws InvocationTargetException - * @throws NoSuchMethodException + * @throws NoSuchMethodException */ private void checkProperties(T item) throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException { - - if(propertyExists(item,"id") || propertyExists(item,"createdTime")){ + + if (propertyExists(item, FIELD_ID) || propertyExists(item, FIELD_CREATED_TIME)) { Field[] attributes = item.getClass().getDeclaredFields(); for (Field attribute : attributes) { - String name = attribute.getName(); - if (name.equals("id") || name.equals("createdTime")) { - if(BeanUtils.getProperty(item,attribute.getName()) != null){ - throw new AirtableException("Property "+name+" should be null!"); - } - } else if (name.equals("photos")){ + String attrName = attribute.getName(); + if (FIELD_ID.equals(attrName) || FIELD_CREATED_TIME.equals(attrName)) { + if (BeanUtils.getProperty(item, attribute.getName()) != null) { + throw new AirtableException("Property " + attrName + " should be null!"); + } + } else if ("photos".equals(attrName)) { List obj = (List) BeanUtilsBean.getInstance().getPropertyUtils().getProperty(item, "photos"); checkPropertiesOfAttachement(obj); - } + } } } - + } - - private void checkPropertiesOfAttachement(List attachements) throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException{ - - if(attachements != null){ + + /** + * Check properties of Attachement objects. + * + * @param attachements + * @throws AirtableException + * @throws IllegalAccessException + * @throws InvocationTargetException + * @throws NoSuchMethodException + */ + private void checkPropertiesOfAttachement(List attachements) throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException { + + if (attachements != null) { for (int i = 0; i < attachements.size(); i++) { - if(propertyExists(attachements.get(i),"id") || propertyExists(attachements.get(i),"size") || propertyExists(attachements.get(i), "type") || propertyExists(attachements.get(i), "filename")){ - Field[] attributesPhotos = attachements.getClass().getDeclaredFields(); + if (propertyExists(attachements.get(i), FIELD_ID) || propertyExists(attachements.get(i), "size") + || propertyExists(attachements.get(i), "type") || propertyExists(attachements.get(i), "filename")) { + + final Field[] attributesPhotos = attachements.getClass().getDeclaredFields(); for (Field attributePhoto : attributesPhotos) { - String namePhotoAttribute = attributePhoto.getName(); - if (namePhotoAttribute.equals("id") || namePhotoAttribute.equals("size") || namePhotoAttribute.equals("Tpye") || namePhotoAttribute.equals("filename")) { - if(BeanUtils.getProperty(attachements.get(i),namePhotoAttribute) != null){ - throw new AirtableException("Property "+namePhotoAttribute+" should be null!"); - } + final String namePhotoAttribute = attributePhoto.getName(); + if (FIELD_ID.equals(namePhotoAttribute) || "size".equals(namePhotoAttribute) + || "type".equals(namePhotoAttribute) || "filename".equals(namePhotoAttribute)) { + if (BeanUtils.getProperty(attachements.get(i), namePhotoAttribute) != null) { + throw new AirtableException("Property " + namePhotoAttribute + " should be null!"); + } } } } - } - } + } + } } - + /** - * * Get the String Id from the item. - * + * * @param item * @return * @throws AirtableException * @throws IllegalAccessException * @throws InvocationTargetException - * @throws NoSuchMethodException + * @throws NoSuchMethodException */ - private String getIdOfItem(T item) throws AirtableException, IllegalAccessException, InvocationTargetException, NoSuchMethodException { - - if(propertyExists(item,"id")){ - String id = BeanUtils.getProperty(item, "id"); - if(id != null){ + + if (propertyExists(item, FIELD_ID)) { + final String id = BeanUtils.getProperty(item, FIELD_ID); + if (id != null) { return id; - } + } } - throw new AirtableException("Id of "+item+" not Found!"); + throw new AirtableException("Id of " + item + " not Found!"); } /** - * - * Filter the Fields of the PostRecord Object. Id and created Time are set to null so Object Mapper doesent convert them to JSON. - * + * + * Filter the Fields of the PostRecord Object. Id and created Time are set + * to null so Object Mapper doesent convert them to JSON. + * * @param item * @return * @throws IllegalAccessException * @throws InvocationTargetException - * @throws NoSuchMethodException + * @throws NoSuchMethodException */ private T filterFields(T item) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException { - - System.out.println(item); - - Field[] attributes = item.getClass().getDeclaredFields(); - + + final Field[] attributes = item.getClass().getDeclaredFields(); + for (Field attribute : attributes) { - String name = attribute.getName(); - if ((name.equals("id") || name.equals("createdTime")) && (BeanUtils.getProperty(item,name) != null)) { - BeanUtilsBean.getInstance().getPropertyUtils().setProperty(item, name, null); + String attrName = attribute.getName(); + if ((FIELD_ID.equals(attrName) || FIELD_CREATED_TIME.equals(attrName)) + && (BeanUtils.getProperty(item, attrName) != null)) { + BeanUtilsBean.getInstance().getPropertyUtils().setProperty(item, attrName, null); } } - + return item; } + } diff --git a/src/main/java/com/sybit/airtable/converter/ListConverter.java b/src/main/java/com/sybit/airtable/converter/ListConverter.java index e601f6b..0143c5b 100644 --- a/src/main/java/com/sybit/airtable/converter/ListConverter.java +++ b/src/main/java/com/sybit/airtable/converter/ListConverter.java @@ -1,7 +1,8 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable.converter; @@ -14,23 +15,25 @@ import java.util.List; /** - * - * org.apache.commons.beanutils.Converter implementaion - * that handles conversion to and from List<T> objects. * - *

This implementation converts List<T> to List<innerClass>. - * The innerClass can be set to the Class that is needed.

+ * org.apache.commons.beanutils.Converter implementaion that handles conversion + * to and from List<T> objects. + * + *

+ * This implementation converts List<T> to List<innerClass>. The + * innerClass can be set to the Class that is needed.

* * @author fzr */ public class ListConverter extends AbstractConverter { - + private Class listClass; - + /** - * - * Method overwritten so it doesent return only the first Element of the Array. - * + * + * Method overwritten so it doesent return only the first Element of the + * Array. + * * @param value The Input Value * @return value The value to be returned */ @@ -40,95 +43,104 @@ protected Object convertArray(final Object value) { } /** - * + * * Convert the Input Object into a List of Attachements - * - * This Method handles the conversion from a List of LinkedHashMaps to a List of Attachement Objects. - * - *

If the Input Object is no List or the List Item is no LinkedHashMap everything will be converted into a (List?) String.

- * + * + * This Method handles the conversion from a List of LinkedHashMaps to a + * List of Attachement Objects. + * + *

+ * If the Input Object is no List or the List Item is no LinkedHashMap + * everything will be converted into a (List?) String.

+ * * @param type The type of the Input Object * @param value The value of the Input Object * @return A List - * @throws java.lang.InstantiationException If no Instance of the listClass can be instantiated + * @throws java.lang.InstantiationException If no Instance of the listClass + * can be instantiated * @throws java.lang.IllegalAccessException If the Object can't be accest - * @throws java.lang.reflect.InvocationTargetException If th Target can't be accessed + * @throws java.lang.reflect.InvocationTargetException If th Target can't be + * accessed */ @Override - protected T convertToType(final Class type, Object value) throws InstantiationException, IllegalAccessException, InvocationTargetException { - + protected T convertToType(final Class type, Object value) throws InstantiationException, IllegalAccessException, InvocationTargetException { + + if (listClass == null) { + throw new IllegalAccessException("listClass is not initialized by setListClass()."); + } + List returnList = new ArrayList<>(); - - if(value instanceof List){ - for (T item: ((List) value)){ - if(item instanceof LinkedTreeMap){ - Object instanz = this.listClass.newInstance(); + + if (value instanceof List) { + for (T item : ((List) value)) { + if (item instanceof LinkedTreeMap) { + Object instanz = listClass.newInstance(); for (String key : ((LinkedTreeMap) item).keySet()) { - Object val = ((LinkedTreeMap) item).get(key); - BeanUtils.setProperty(instanz,key,val); - } - returnList = toClassList(item.getClass(),instanz,returnList); + Object val = ((LinkedTreeMap) item).get(key); + BeanUtils.setProperty(instanz, key, val); + } + returnList = toClassList(item.getClass(), instanz, returnList); } - if(item instanceof String){ - returnList = toStringList(item.getClass(),item.toString(),returnList); + if (item instanceof String) { + returnList = toStringList(item.getClass(), item.toString(), returnList); } - - } - return (T) returnList; + + } + return (T) returnList; } - - + //TODO überarbeiten - if(value instanceof String){ - return (T) toStringList(value.getClass(),value.toString(),returnList); + if (value instanceof String) { + return (T) toStringList(value.getClass(), value.toString(), returnList); } - + final String stringValue = value.toString().trim(); if (stringValue.length() == 0) { return handleMissing(type); } - - return (T) toStringList(value.getClass(),stringValue,returnList); + + return (T) toStringList(value.getClass(), stringValue, returnList); } - + /** * Default toString conversion - * + * * @param type The type of the Class * @param value The String value * @param returnList A List of all currently converted Objects * @return A List */ - private List toStringList(final Class type, final String value,List returnList) { + private List toStringList(final Class type, final String value, List returnList) { //FIXME why this if? - if (type.equals(String.class)) { + if (type.equals(String.class)) { returnList.add(String.valueOf(value)); return returnList; } - - returnList.add(String.valueOf(value)); + + returnList.add(String.valueOf(value)); return returnList; } - + /** * Default conversion to specified Class. - * - *

If conversion is not possible default toString.

- * + * + *

+ * If conversion is not possible default toString.

+ * * @param type The type of the Class * @param value The value of the Input Object * @param returnList A List of all currently converted Objects * @return A List */ private List toClassList(final Class type, final Object value, List returnList) { - + if (type.equals(LinkedTreeMap.class)) { returnList.add(value); return returnList; } - - return toStringList(type,value.toString(),returnList); + + return toStringList(type, value.toString(), returnList); } /** @@ -137,29 +149,19 @@ private List toClassList(final Class type, final Object value, List returnList) public void setListClass(Class listClass) { this.listClass = listClass; } - + /** - * + * * @return this.listClass */ - public Class getListClass(){ + public Class getListClass() { return this.listClass; } - + //TODO Default überlegen @Override protected Class getDefaultType() { - throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + throw new UnsupportedOperationException("Not supported yet."); } - - - - - - - - - - } diff --git a/src/main/java/com/sybit/airtable/converter/MapConverter.java b/src/main/java/com/sybit/airtable/converter/MapConverter.java index e47df32..4d9b7af 100644 --- a/src/main/java/com/sybit/airtable/converter/MapConverter.java +++ b/src/main/java/com/sybit/airtable/converter/MapConverter.java @@ -1,7 +1,8 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable.converter; @@ -14,7 +15,7 @@ /** * - * org.apache.commons.beanutils.Converter implementaion + * Implementaion of org.apache.commons.beanutils.Converter * that handles conversion to and from Map<String,T> objects. * *

This implementation converts Map<String,T> to Map<String,mapClass>. @@ -27,18 +28,22 @@ public class MapConverter extends AbstractConverter{ private Class mapClass; /** - * Converts the Input Object into a Map. - * + * Converts the input object into a Map object. * - * @param type The type of the Input Object - * @param value The value of the Input Object - * @return A Map - * @throws Throwable + * @param Target type of the conversion. + * @param type Data type to which this value should be converted. + * @param value TThe input value to be converted. + * @return The converted Map + * @throws Throwable if an error occurs converting to the specified type */ @Override protected T convertToType(Class type, Object value) throws Throwable { - - Class sourceType = (Class) value.getClass(); + + if(mapClass == null) { + throw new IllegalAccessException("mapClass is not initialized by setListClass()."); + } + + final Class sourceType = (Class) value.getClass(); Map returnMap = new HashMap<>(); if(value instanceof LinkedTreeMap){ @@ -67,9 +72,8 @@ protected T convertToType(Class type, Object value) throws Throwable { return (T) toStringMap(sourceType,stringValue,returnMap); } - /** - * - * Default Conversion to specified Class. + /** + * Default Conversion to specified Class. * * @param type The Class of the type * @param value The value of the Object @@ -89,7 +93,6 @@ private Map toClassMap(final Class type, final Object value,Map */ public class PostRecord { diff --git a/src/main/java/com/sybit/airtable/vo/Records.java b/src/main/java/com/sybit/airtable/vo/Records.java index 9be0c4d..75a090a 100644 --- a/src/main/java/com/sybit/airtable/vo/Records.java +++ b/src/main/java/com/sybit/airtable/vo/Records.java @@ -15,6 +15,8 @@ public class Records { private List> records; + + private String offset; public List> getRecords() { return records; @@ -24,4 +26,11 @@ public void setRecords(List> records) { this.records = records; } + public String getOffset() { + return offset; + } + + public void setOffset(String offset) { + this.offset = offset; + } } diff --git a/src/main/java/com/sybit/airtable/vo/Thumbnail.java b/src/main/java/com/sybit/airtable/vo/Thumbnail.java index ba782cd..79bb3a3 100644 --- a/src/main/java/com/sybit/airtable/vo/Thumbnail.java +++ b/src/main/java/com/sybit/airtable/vo/Thumbnail.java @@ -1,7 +1,8 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable.vo; diff --git a/src/test/java/com/sybit/airtable/BaseTest.java b/src/test/java/com/sybit/airtable/BaseTest.java index d2d7e5f..509bd61 100644 --- a/src/test/java/com/sybit/airtable/BaseTest.java +++ b/src/test/java/com/sybit/airtable/BaseTest.java @@ -1,7 +1,8 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable; diff --git a/src/test/java/com/sybit/airtable/CustomObjectMapperTest.java b/src/test/java/com/sybit/airtable/CustomObjectMapperTest.java index 0923c9e..f8b299d 100644 --- a/src/test/java/com/sybit/airtable/CustomObjectMapperTest.java +++ b/src/test/java/com/sybit/airtable/CustomObjectMapperTest.java @@ -1,7 +1,8 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable; diff --git a/src/test/java/com/sybit/airtable/TableTest.java b/src/test/java/com/sybit/airtable/TableTest.java index 9fc2f65..1cf79ab 100644 --- a/src/test/java/com/sybit/airtable/TableTest.java +++ b/src/test/java/com/sybit/airtable/TableTest.java @@ -1,12 +1,14 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * The MIT License (MIT) + * Copyright (c) 2017 Sybit GmbH + * + * Permission is hereby granted, free of charge, to any person obtaining a copy */ package com.sybit.airtable; import com.sybit.airtable.exception.AirtableException; import com.sybit.airtable.movies.Actor; +import org.junit.Assert; import org.junit.Before; import org.junit.Test; @@ -17,37 +19,62 @@ * @author fzr */ public class TableTest { - + private Base base; - + @Before - public void before() throws AirtableException{ - - Airtable airtable = new Airtable().configure(new Configuration("123","https://url",null)); + public void before() throws AirtableException { + + Airtable airtable = new Airtable().configure(new Configuration("123", "https://url", null)); this.base = new Base("base", airtable); - + } - @Test(expected = java.lang.AssertionError.class ) - public void testTableAssertions(){ + @Test(expected = java.lang.AssertionError.class) + public void testTableAssertions() { Table table = new Table(null, null); } @Test - public void testTable(){ - + public void testTable() { + Table table = new Table("table", Actor.class, this.base); assertNotNull(table); - + } - + @Test - public void setParentTest(){ - + public void setParentTest() { + Table table = new Table("table", Actor.class); table.setParent(this.base); assertNotNull(table); } - + + @Test + public void key2properties() { + Table table = new Table("table", Actor.class); + + String actual = table.key2property("FirstName"); + Assert.assertEquals("firstName", actual); + + actual = table.key2property("First-Name"); + Assert.assertEquals("first-Name", actual); + } + + @Test(expected = IllegalArgumentException.class) + public void key2properties_EmptyArgument() { + Table table = new Table("table", Actor.class); + String actual = table.key2property(""); + Assert.fail(); + } + + @Test(expected = IllegalArgumentException.class) + public void key2properties_NullArgument() { + Table table = new Table("table", Actor.class); + String actual = table.key2property(null); + Assert.fail(); + } + } diff --git a/src/test/java/com/sybit/airtable/movies/ActorSerializedNames.java b/src/test/java/com/sybit/airtable/movies/ActorSerializedNames.java index 131098d..f0eb1a1 100644 --- a/src/test/java/com/sybit/airtable/movies/ActorSerializedNames.java +++ b/src/test/java/com/sybit/airtable/movies/ActorSerializedNames.java @@ -6,7 +6,6 @@ */ package com.sybit.airtable.movies; -import com.sybit.airtable.movies.*; import com.google.gson.annotations.SerializedName; public class ActorSerializedNames { diff --git a/src/test/java/com/sybit/airtable/movies/Director.java b/src/test/java/com/sybit/airtable/movies/Director.java index a463ad1..3ba1cec 100644 --- a/src/test/java/com/sybit/airtable/movies/Director.java +++ b/src/test/java/com/sybit/airtable/movies/Director.java @@ -6,8 +6,6 @@ */ package com.sybit.airtable.movies; -import com.sybit.airtable.movies.*; - public class Director { private String id; diff --git a/src/test/resources/WireMock-Recording.cmd b/src/test/resources/WireMock-Recording.cmd deleted file mode 100644 index 00c1dc9..0000000 --- a/src/test/resources/WireMock-Recording.cmd +++ /dev/null @@ -1,7 +0,0 @@ -java -Dhttp.proxyHost=192.168.1.254 -Dhttp.proxyPort=8080 ^ - -Dhttps.proxyHost=192.168.1.254 -Dhttps.proxyPort=8080 ^ - -Dhttp.nonProxyHosts="localhost|127.0.0.1" ^ - -jar ../../../bin/wiremock-standalone-2.5.1.jar ^ - --proxy-all="https://api.airtable.com" --port=8080 ^ - --record-mappings --verbose --preserve-host-header ^ - --enable-browser-proxying \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_actors-7339b89b-4783-4b03-9c07-8f538ce01fa4.json b/src/test/resources/__files/appttha5pfjnvfjdu_actors-7339b89b-4783-4b03-9c07-8f538ce01fa4.json new file mode 100644 index 0000000..54883ce --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_actors-7339b89b-4783-4b03-9c07-8f538ce01fa4.json @@ -0,0 +1 @@ +{"id":"reclXfebI3U6tDVdT","fields":{"Name":"Neuer Actor"},"createdTime":"2017-09-14T10:09:24.545Z"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_actors_not-succesfull-261f56cc-00e8-4017-bf9e-21e9748e533a.json b/src/test/resources/__files/appttha5pfjnvfjdu_actors_not-succesfull-261f56cc-00e8-4017-bf9e-21e9748e533a.json new file mode 100644 index 0000000..555739d --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_actors_not-succesfull-261f56cc-00e8-4017-bf9e-21e9748e533a.json @@ -0,0 +1 @@ +{"error":"NOT_FOUND"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_actors_not-succesfull-4bace684-7816-4a02-810d-cc1593ed8aad.json b/src/test/resources/__files/appttha5pfjnvfjdu_actors_not-succesfull-4bace684-7816-4a02-810d-cc1593ed8aad.json new file mode 100644 index 0000000..555739d --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_actors_not-succesfull-4bace684-7816-4a02-810d-cc1593ed8aad.json @@ -0,0 +1 @@ +{"error":"NOT_FOUND"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_actors_notexistend-38fd29a8-bb4f-41b2-9481-a173df9d4c4f.json b/src/test/resources/__files/appttha5pfjnvfjdu_actors_notexistend-38fd29a8-bb4f-41b2-9481-a173df9d4c4f.json new file mode 100644 index 0000000..555739d --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_actors_notexistend-38fd29a8-bb4f-41b2-9481-a173df9d4c4f.json @@ -0,0 +1 @@ +{"error":"NOT_FOUND"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_actors_recat6z10eyd6nteh-abe94bb9-9dd8-4dfa-b00a-dd9a56595983.json b/src/test/resources/__files/appttha5pfjnvfjdu_actors_recat6z10eyd6nteh-abe94bb9-9dd8-4dfa-b00a-dd9a56595983.json new file mode 100644 index 0000000..d993cbf --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_actors_recat6z10eyd6nteh-abe94bb9-9dd8-4dfa-b00a-dd9a56595983.json @@ -0,0 +1 @@ +{"deleted":true,"id":"recAt6z10EYD6NtEH"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-cc8a35db-9c22-4784-ac50-3608eb7f0479.json b/src/test/resources/__files/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-cc8a35db-9c22-4784-ac50-3608eb7f0479.json new file mode 100644 index 0000000..a1db5b3 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-cc8a35db-9c22-4784-ac50-3608eb7f0479.json @@ -0,0 +1 @@ +{"id":"recEtUIW6FWtbEDKz","fields":{"Name":"Neuer Name","Filmography":["recFj9J78MLtiFFMz","recyDVST4w4h2zrKq"],"Photo":[{"id":"att1b7c05d697c0c1","url":"https://dl.airtable.com/MaY98g4SQ1WkEbN2nKXL_220px-Marlon_Brando_-_The_Wild_One.jpg","filename":"220px-Marlon_Brando_-_The_Wild_One.jpg","size":13845,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/DgpoQfQ22XxQWv5zXAZN_small_220px-Marlon_Brando_-_The_Wild_One.jpg","width":29,"height":36},"large":{"url":"https://dl.airtable.com/6niNAzLrROmeBducZ03c_large_220px-Marlon_Brando_-_The_Wild_One.jpg","width":256,"height":321}}}],"Biography":"Marlon Brando, Jr. (April 3, 1924 – July 1, 2004) was an American actor. He is hailed for bringing a gripping realism to film acting, and is widely considered to be one of the greatest and most influential actors of all time. A cultural icon, Brando is most famous for his Oscar-winning performances as Terry Malloy in On the Waterfront (1954) and Vito Corleone in The Godfather (1972), as well as influential performances in A Streetcar Named Desire (1951), Viva Zapata! (1952), Julius Caesar (1953), The Wild One (1953), Reflections in a Golden Eye (1967), Last Tango in Paris (1972) and Apocalypse Now (1979). Brando was also an activist, supporting many causes, notably the African-American Civil Rights Movement and various American Indian Movements."},"createdTime":"2014-07-18T04:48:25.000Z"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-e36f3789-bee2-47d2-bc54-1d12addcac25.json b/src/test/resources/__files/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-e36f3789-bee2-47d2-bc54-1d12addcac25.json new file mode 100644 index 0000000..fef7c83 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-e36f3789-bee2-47d2-bc54-1d12addcac25.json @@ -0,0 +1 @@ +{"id":"recEtUIW6FWtbEDKz","fields":{"Name":"Marlon Brando","Filmography":["recFj9J78MLtiFFMz"],"Photo":[{"id":"att1b7c05d697c0c1","url":"https://dl.airtable.com/MaY98g4SQ1WkEbN2nKXL_220px-Marlon_Brando_-_The_Wild_One.jpg","filename":"220px-Marlon_Brando_-_The_Wild_One.jpg","size":13845,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/DgpoQfQ22XxQWv5zXAZN_small_220px-Marlon_Brando_-_The_Wild_One.jpg","width":29,"height":36},"large":{"url":"https://dl.airtable.com/6niNAzLrROmeBducZ03c_large_220px-Marlon_Brando_-_The_Wild_One.jpg","width":256,"height":321}}}],"Biography":"Marlon Brando, Jr. (April 3, 1924 – July 1, 2004) was an American actor. He is hailed for bringing a gripping realism to film acting, and is widely considered to be one of the greatest and most influential actors of all time. A cultural icon, Brando is most famous for his Oscar-winning performances as Terry Malloy in On the Waterfront (1954) and Vito Corleone in The Godfather (1972), as well as influential performances in A Streetcar Named Desire (1951), Viva Zapata! (1952), Julius Caesar (1953), The Wild One (1953), Reflections in a Golden Eye (1967), Last Tango in Paris (1972) and Apocalypse Now (1979). Brando was also an activist, supporting many causes, notably the African-American Civil Rights Movement and various American Indian Movements."},"createdTime":"2014-07-18T04:48:25.000Z"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-0b6ca0e6-a47c-4958-9748-58312c742392.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-0b6ca0e6-a47c-4958-9748-58312c742392.json new file mode 100644 index 0000000..1e79db1 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-0b6ca0e6-a47c-4958-9748-58312c742392.json @@ -0,0 +1 @@ +{"records":[{"id":"recCo4zX4HOsgDEEJ","fields":{"Name":"You've Got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937 play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"attJB6oqbGP1R29Mh","url":"https://dl.airtable.com/i7JySJuDSpq7V7po3iH7_You've_Got_Mail.jpg","filename":"You've_Got_Mail.jpg","size":30719,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/qV5Hxms7Qti9caXU0XXo_small_You've_Got_Mail.jpg","width":25,"height":36},"large":{"url":"https://dl.airtable.com/5VRuAWpeRpWqIy10nb26_large_You've_Got_Mail.jpg","width":270,"height":396}}}],"Actors":["recyvYGW0CLB5FANL","recNs5E54KQzgPvOG"],"Director":["recBCuNMX4gs7USwu"],"Genre":["Romantic Comedy"],"Personal Notes":"I can't imagine this movie has aged well..."},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9cLoTiK3ewJMMF","url":"https://dl.airtable.com/60nNr67FTTSv1Gg8w7Zh_Sister_Act_film_poster.jpg","filename":"Sister_Act_film_poster.jpg","size":32876,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/NlKdzNtoSe2lkEMkeGlX_small_Sister_Act_film_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/CntpjeDdSNKrpImiYXoa_large_Sister_Act_film_poster.jpg","width":300,"height":447}}}],"Actors":["recGv5C4axZweJAJz"],"Director":["rech9CpZXBAwGwh0D"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recFrUv93z0u5FuJF","fields":{"Name":"Seven Samurai","Description":"Seven Samurai is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attcgV9vNiMm5NtTa","url":"https://dl.airtable.com/4NkoXvgOQyuSfG7MlHOw_Seven_Samurai_movie_poster.jpg","filename":"Seven_Samurai_movie_poster.jpg","size":140035,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/ZpxHvaqQIWH9vxtJnrKg_small_Seven_Samurai_movie_poster.jpg","width":26,"height":36},"large":{"url":"https://dl.airtable.com/P8zuMn05RXGK8d93I5lp_large_Seven_Samurai_movie_poster.jpg","width":267,"height":372}}}],"Seen?":true,"Actors":["recBxWAZ1yNqiCvNH"],"Director":["rec4GpJrQjinzo0GJ"],"Genre":["Adventure","Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recKq6BXazZwcHqGG","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary. The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att8u77Lz6LKQK9dM","url":"https://dl.airtable.com/ayZsJk2R6S5EUbZgMVg6_Pulp_Fiction_(1994)_poster.jpg","filename":"Pulp_Fiction_(1994)_poster.jpg","size":155345,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/zRSKQY2RVpax5RiNyAQF_small_Pulp_Fiction_(1994)_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/MBnx1RHXRxCykxRCfXPP_large_Pulp_Fiction_(1994)_poster.jpg","width":250,"height":371}}}],"Seen?":true,"Actors":["recKxZF60AXAaFvRE","recFq8zV0BVC9IyNK","recJm3x95DLBhIrSy"],"Director":["rec8yqCNaDv5e6gm5"],"Genre":["Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recynXxaZLWrcEwSJ","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"attJx1VYPx0ZLbcUY","url":"https://dl.airtable.com/pMfhDQvmRJSMobhZB6gZ_Fight_Club_poster.jpg","filename":"Fight_Club_poster.jpg","size":19224,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/mnbOBf1HT2KkjJ86RcIc_small_Fight_Club_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/zSeUmRtVRrGBkZBqSnTh_large_Fight_Club_poster.jpg","width":275,"height":362}}}],"Actors":["recCq8x68LZAeEAEM"],"Director":["recbRd28mwMPYWRNG"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"},{"id":"recNp3vW4DXu9EAKA","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"attqYWzirTDpcRyuE","url":"https://dl.airtable.com/fxC9r84XRheCuJ61HcKA_Caddyshack_poster.jpg","filename":"Caddyshack_poster.jpg","size":44602,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/4nNdlVBOSdO2ajzwPGT0_small_Caddyshack_poster.jpg","width":23,"height":36},"large":{"url":"https://dl.airtable.com/4FIwpDQ2QhWjTbacxDiY_large_Caddyshack_poster.jpg","width":300,"height":473}}}],"Actors":["recInYFZ1DQpeCuSz"],"Director":["recJZi67ZiVMJsSqC"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recFo7B0YJLtdKBKG","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1. The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"atttnUjsb9XGPadm4","url":"https://dl.airtable.com/K4lv47aaSRKEIfIqFuqg_Billy_madison_poster.jpg","filename":"Billy_madison_poster.jpg","size":35384,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/xEePdPjyTu2855UYBjvh_small_Billy_madison_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/BJAf9s32TWSE9hHPd9TR_large_Billy_madison_poster.jpg","width":295,"height":438}}}],"Actors":["recNuWw73yPogNrRy"],"Director":["recWf1u3lUd8CgH8a"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-11b60da8-5303-4dc6-a004-a4b5e6a52095.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-11b60da8-5303-4dc6-a004-a4b5e6a52095.json new file mode 100644 index 0000000..f52d45d --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-11b60da8-5303-4dc6-a004-a4b5e6a52095.json @@ -0,0 +1 @@ +{"records":[{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9cLoTiK3ewJMMF","url":"https://dl.airtable.com/60nNr67FTTSv1Gg8w7Zh_Sister_Act_film_poster.jpg","filename":"Sister_Act_film_poster.jpg","size":32876,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/NlKdzNtoSe2lkEMkeGlX_small_Sister_Act_film_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/CntpjeDdSNKrpImiYXoa_large_Sister_Act_film_poster.jpg","width":300,"height":447}}}],"Actors":["recGv5C4axZweJAJz"],"Director":["rech9CpZXBAwGwh0D"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recCo4zX4HOsgDEEJ","fields":{"Name":"You've Got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937 play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"attJB6oqbGP1R29Mh","url":"https://dl.airtable.com/i7JySJuDSpq7V7po3iH7_You've_Got_Mail.jpg","filename":"You've_Got_Mail.jpg","size":30719,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/qV5Hxms7Qti9caXU0XXo_small_You've_Got_Mail.jpg","width":25,"height":36},"large":{"url":"https://dl.airtable.com/5VRuAWpeRpWqIy10nb26_large_You've_Got_Mail.jpg","width":270,"height":396}}}],"Actors":["recyvYGW0CLB5FANL","recNs5E54KQzgPvOG"],"Director":["recBCuNMX4gs7USwu"],"Genre":["Romantic Comedy"],"Personal Notes":"I can't imagine this movie has aged well..."},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recFo7B0YJLtdKBKG","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1. The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"atttnUjsb9XGPadm4","url":"https://dl.airtable.com/K4lv47aaSRKEIfIqFuqg_Billy_madison_poster.jpg","filename":"Billy_madison_poster.jpg","size":35384,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/xEePdPjyTu2855UYBjvh_small_Billy_madison_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/BJAf9s32TWSE9hHPd9TR_large_Billy_madison_poster.jpg","width":295,"height":438}}}],"Actors":["recNuWw73yPogNrRy"],"Director":["recWf1u3lUd8CgH8a"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"},{"id":"recFrUv93z0u5FuJF","fields":{"Name":"Seven Samurai","Description":"Seven Samurai is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attcgV9vNiMm5NtTa","url":"https://dl.airtable.com/4NkoXvgOQyuSfG7MlHOw_Seven_Samurai_movie_poster.jpg","filename":"Seven_Samurai_movie_poster.jpg","size":140035,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/ZpxHvaqQIWH9vxtJnrKg_small_Seven_Samurai_movie_poster.jpg","width":26,"height":36},"large":{"url":"https://dl.airtable.com/P8zuMn05RXGK8d93I5lp_large_Seven_Samurai_movie_poster.jpg","width":267,"height":372}}}],"Seen?":true,"Actors":["recBxWAZ1yNqiCvNH"],"Director":["rec4GpJrQjinzo0GJ"],"Genre":["Adventure","Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recKq6BXazZwcHqGG","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary. The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att8u77Lz6LKQK9dM","url":"https://dl.airtable.com/ayZsJk2R6S5EUbZgMVg6_Pulp_Fiction_(1994)_poster.jpg","filename":"Pulp_Fiction_(1994)_poster.jpg","size":155345,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/zRSKQY2RVpax5RiNyAQF_small_Pulp_Fiction_(1994)_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/MBnx1RHXRxCykxRCfXPP_large_Pulp_Fiction_(1994)_poster.jpg","width":250,"height":371}}}],"Seen?":true,"Actors":["recKxZF60AXAaFvRE","recFq8zV0BVC9IyNK","recJm3x95DLBhIrSy"],"Director":["rec8yqCNaDv5e6gm5"],"Genre":["Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recNp3vW4DXu9EAKA","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"attqYWzirTDpcRyuE","url":"https://dl.airtable.com/fxC9r84XRheCuJ61HcKA_Caddyshack_poster.jpg","filename":"Caddyshack_poster.jpg","size":44602,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/4nNdlVBOSdO2ajzwPGT0_small_Caddyshack_poster.jpg","width":23,"height":36},"large":{"url":"https://dl.airtable.com/4FIwpDQ2QhWjTbacxDiY_large_Caddyshack_poster.jpg","width":300,"height":473}}}],"Actors":["recInYFZ1DQpeCuSz"],"Director":["recJZi67ZiVMJsSqC"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recynXxaZLWrcEwSJ","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"attJx1VYPx0ZLbcUY","url":"https://dl.airtable.com/pMfhDQvmRJSMobhZB6gZ_Fight_Club_poster.jpg","filename":"Fight_Club_poster.jpg","size":19224,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/mnbOBf1HT2KkjJ86RcIc_small_Fight_Club_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/zSeUmRtVRrGBkZBqSnTh_large_Fight_Club_poster.jpg","width":275,"height":362}}}],"Actors":["recCq8x68LZAeEAEM"],"Director":["recbRd28mwMPYWRNG"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-24724d8d-2f58-4fea-b000-ea5e403c9bdb.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-24724d8d-2f58-4fea-b000-ea5e403c9bdb.json new file mode 100644 index 0000000..95f99c9 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-24724d8d-2f58-4fea-b000-ea5e403c9bdb.json @@ -0,0 +1 @@ +{"records":[{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9cLoTiK3ewJMMF","url":"https://dl.airtable.com/60nNr67FTTSv1Gg8w7Zh_Sister_Act_film_poster.jpg","filename":"Sister_Act_film_poster.jpg","size":32876,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/NlKdzNtoSe2lkEMkeGlX_small_Sister_Act_film_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/CntpjeDdSNKrpImiYXoa_large_Sister_Act_film_poster.jpg","width":300,"height":447}}}],"Actors":["recGv5C4axZweJAJz"],"Director":["rech9CpZXBAwGwh0D"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-2d322fc9-6a85-4fdb-8016-6041fa8edf2e.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-2d322fc9-6a85-4fdb-8016-6041fa8edf2e.json new file mode 100644 index 0000000..5d92714 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-2d322fc9-6a85-4fdb-8016-6041fa8edf2e.json @@ -0,0 +1 @@ +{"records":[{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9cLoTiK3ewJMMF","url":"https://dl.airtable.com/60nNr67FTTSv1Gg8w7Zh_Sister_Act_film_poster.jpg","filename":"Sister_Act_film_poster.jpg","size":32876,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/NlKdzNtoSe2lkEMkeGlX_small_Sister_Act_film_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/CntpjeDdSNKrpImiYXoa_large_Sister_Act_film_poster.jpg","width":300,"height":447}}}],"Actors":["recGv5C4axZweJAJz"],"Director":["rech9CpZXBAwGwh0D"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recCo4zX4HOsgDEEJ","fields":{"Name":"You've Got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937 play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"attJB6oqbGP1R29Mh","url":"https://dl.airtable.com/i7JySJuDSpq7V7po3iH7_You've_Got_Mail.jpg","filename":"You've_Got_Mail.jpg","size":30719,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/qV5Hxms7Qti9caXU0XXo_small_You've_Got_Mail.jpg","width":25,"height":36},"large":{"url":"https://dl.airtable.com/5VRuAWpeRpWqIy10nb26_large_You've_Got_Mail.jpg","width":270,"height":396}}}],"Actors":["recyvYGW0CLB5FANL","recNs5E54KQzgPvOG"],"Director":["recBCuNMX4gs7USwu"],"Genre":["Romantic Comedy"],"Personal Notes":"I can't imagine this movie has aged well..."},"createdTime":"2014-07-18T04:52:02.000Z"}],"offset":"itrXLN3EPT3UMhyqp/recCo4zX4HOsgDEEJ"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-2d7d4b48-ff3d-4019-affc-c1836d6d8e6c.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-2d7d4b48-ff3d-4019-affc-c1836d6d8e6c.json new file mode 100644 index 0000000..f6dc714 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-2d7d4b48-ff3d-4019-affc-c1836d6d8e6c.json @@ -0,0 +1 @@ +{"records":[{"id":"recFo7B0YJLtdKBKG","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1. The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"atttnUjsb9XGPadm4","url":"https://dl.airtable.com/K4lv47aaSRKEIfIqFuqg_Billy_madison_poster.jpg","filename":"Billy_madison_poster.jpg","size":35384,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/xEePdPjyTu2855UYBjvh_small_Billy_madison_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/BJAf9s32TWSE9hHPd9TR_large_Billy_madison_poster.jpg","width":295,"height":438}}}],"Actors":["recNuWw73yPogNrRy"],"Director":["recWf1u3lUd8CgH8a"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"},{"id":"recNp3vW4DXu9EAKA","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"attqYWzirTDpcRyuE","url":"https://dl.airtable.com/fxC9r84XRheCuJ61HcKA_Caddyshack_poster.jpg","filename":"Caddyshack_poster.jpg","size":44602,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/4nNdlVBOSdO2ajzwPGT0_small_Caddyshack_poster.jpg","width":23,"height":36},"large":{"url":"https://dl.airtable.com/4FIwpDQ2QhWjTbacxDiY_large_Caddyshack_poster.jpg","width":300,"height":473}}}],"Actors":["recInYFZ1DQpeCuSz"],"Director":["recJZi67ZiVMJsSqC"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recynXxaZLWrcEwSJ","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"attJx1VYPx0ZLbcUY","url":"https://dl.airtable.com/pMfhDQvmRJSMobhZB6gZ_Fight_Club_poster.jpg","filename":"Fight_Club_poster.jpg","size":19224,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/mnbOBf1HT2KkjJ86RcIc_small_Fight_Club_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/zSeUmRtVRrGBkZBqSnTh_large_Fight_Club_poster.jpg","width":275,"height":362}}}],"Actors":["recCq8x68LZAeEAEM"],"Director":["recbRd28mwMPYWRNG"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recKq6BXazZwcHqGG","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary. The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att8u77Lz6LKQK9dM","url":"https://dl.airtable.com/ayZsJk2R6S5EUbZgMVg6_Pulp_Fiction_(1994)_poster.jpg","filename":"Pulp_Fiction_(1994)_poster.jpg","size":155345,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/zRSKQY2RVpax5RiNyAQF_small_Pulp_Fiction_(1994)_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/MBnx1RHXRxCykxRCfXPP_large_Pulp_Fiction_(1994)_poster.jpg","width":250,"height":371}}}],"Seen?":true,"Actors":["recKxZF60AXAaFvRE","recFq8zV0BVC9IyNK","recJm3x95DLBhIrSy"],"Director":["rec8yqCNaDv5e6gm5"],"Genre":["Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recFrUv93z0u5FuJF","fields":{"Name":"Seven Samurai","Description":"Seven Samurai is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attcgV9vNiMm5NtTa","url":"https://dl.airtable.com/4NkoXvgOQyuSfG7MlHOw_Seven_Samurai_movie_poster.jpg","filename":"Seven_Samurai_movie_poster.jpg","size":140035,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/ZpxHvaqQIWH9vxtJnrKg_small_Seven_Samurai_movie_poster.jpg","width":26,"height":36},"large":{"url":"https://dl.airtable.com/P8zuMn05RXGK8d93I5lp_large_Seven_Samurai_movie_poster.jpg","width":267,"height":372}}}],"Seen?":true,"Actors":["recBxWAZ1yNqiCvNH"],"Director":["rec4GpJrQjinzo0GJ"],"Genre":["Adventure","Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9cLoTiK3ewJMMF","url":"https://dl.airtable.com/60nNr67FTTSv1Gg8w7Zh_Sister_Act_film_poster.jpg","filename":"Sister_Act_film_poster.jpg","size":32876,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/NlKdzNtoSe2lkEMkeGlX_small_Sister_Act_film_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/CntpjeDdSNKrpImiYXoa_large_Sister_Act_film_poster.jpg","width":300,"height":447}}}],"Actors":["recGv5C4axZweJAJz"],"Director":["rech9CpZXBAwGwh0D"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recCo4zX4HOsgDEEJ","fields":{"Name":"You've Got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937 play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"attJB6oqbGP1R29Mh","url":"https://dl.airtable.com/i7JySJuDSpq7V7po3iH7_You've_Got_Mail.jpg","filename":"You've_Got_Mail.jpg","size":30719,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/qV5Hxms7Qti9caXU0XXo_small_You've_Got_Mail.jpg","width":25,"height":36},"large":{"url":"https://dl.airtable.com/5VRuAWpeRpWqIy10nb26_large_You've_Got_Mail.jpg","width":270,"height":396}}}],"Actors":["recyvYGW0CLB5FANL","recNs5E54KQzgPvOG"],"Director":["recBCuNMX4gs7USwu"],"Genre":["Romantic Comedy"],"Personal Notes":"I can't imagine this movie has aged well..."},"createdTime":"2014-07-18T04:52:02.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-48c8b998-a8d0-48e9-a98d-d74d24491e49.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-48c8b998-a8d0-48e9-a98d-d74d24491e49.json new file mode 100644 index 0000000..5b44dd5 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-48c8b998-a8d0-48e9-a98d-d74d24491e49.json @@ -0,0 +1 @@ +{"error":{"type":"INVALID_ATTACHMENT_OBJECT","message":"Invalid attachment object for field Photos: {\n \"id\": \"1\",\n \"url\": \"https://www.example.imgae.file1.de\"\n}"}} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-4a5d270d-f108-4f93-81f5-329b2a074026.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-4a5d270d-f108-4f93-81f5-329b2a074026.json new file mode 100644 index 0000000..ff5d1a9 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-4a5d270d-f108-4f93-81f5-329b2a074026.json @@ -0,0 +1 @@ +{"records":[{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recFo7B0YJLtdKBKG","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1. The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"atttnUjsb9XGPadm4","url":"https://dl.airtable.com/K4lv47aaSRKEIfIqFuqg_Billy_madison_poster.jpg","filename":"Billy_madison_poster.jpg","size":35384,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/xEePdPjyTu2855UYBjvh_small_Billy_madison_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/BJAf9s32TWSE9hHPd9TR_large_Billy_madison_poster.jpg","width":295,"height":438}}}],"Actors":["recNuWw73yPogNrRy"],"Director":["recWf1u3lUd8CgH8a"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"},{"id":"recFrUv93z0u5FuJF","fields":{"Name":"Seven Samurai","Description":"Seven Samurai is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attcgV9vNiMm5NtTa","url":"https://dl.airtable.com/4NkoXvgOQyuSfG7MlHOw_Seven_Samurai_movie_poster.jpg","filename":"Seven_Samurai_movie_poster.jpg","size":140035,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/ZpxHvaqQIWH9vxtJnrKg_small_Seven_Samurai_movie_poster.jpg","width":26,"height":36},"large":{"url":"https://dl.airtable.com/P8zuMn05RXGK8d93I5lp_large_Seven_Samurai_movie_poster.jpg","width":267,"height":372}}}],"Seen?":true,"Actors":["recBxWAZ1yNqiCvNH"],"Director":["rec4GpJrQjinzo0GJ"],"Genre":["Adventure","Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:57:03.000Z"}],"offset":"itrXLN3EPT3UMhyqp/recFrUv93z0u5FuJF"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-51338c9f-b2ed-4c09-8a13-a02fa88fcb99.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-51338c9f-b2ed-4c09-8a13-a02fa88fcb99.json new file mode 100644 index 0000000..a7ce3e0 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-51338c9f-b2ed-4c09-8a13-a02fa88fcb99.json @@ -0,0 +1 @@ +{"id":"recyDVST4w4h2zrKq","fields":{"Name":"Neuer Film","Description":"Irgendwas","Director":["recPxOZblV8yJU4mY"],"Actors":["recEtUIW6FWtbEDKz","recInYFZ1DQpeCuSz"],"Genre":["Drama"]},"createdTime":"2017-09-14T10:09:25.371Z"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-68129618-f52a-46c7-890b-efdab40ee08f.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-68129618-f52a-46c7-890b-efdab40ee08f.json new file mode 100644 index 0000000..2311f50 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-68129618-f52a-46c7-890b-efdab40ee08f.json @@ -0,0 +1 @@ +{"records":[{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recKq6BXazZwcHqGG","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary. The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att8u77Lz6LKQK9dM","url":"https://dl.airtable.com/ayZsJk2R6S5EUbZgMVg6_Pulp_Fiction_(1994)_poster.jpg","filename":"Pulp_Fiction_(1994)_poster.jpg","size":155345,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/zRSKQY2RVpax5RiNyAQF_small_Pulp_Fiction_(1994)_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/MBnx1RHXRxCykxRCfXPP_large_Pulp_Fiction_(1994)_poster.jpg","width":250,"height":371}}}],"Seen?":true,"Actors":["recKxZF60AXAaFvRE","recFq8zV0BVC9IyNK","recJm3x95DLBhIrSy"],"Director":["rec8yqCNaDv5e6gm5"],"Genre":["Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recFrUv93z0u5FuJF","fields":{"Name":"Seven Samurai","Description":"Seven Samurai is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attcgV9vNiMm5NtTa","url":"https://dl.airtable.com/4NkoXvgOQyuSfG7MlHOw_Seven_Samurai_movie_poster.jpg","filename":"Seven_Samurai_movie_poster.jpg","size":140035,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/ZpxHvaqQIWH9vxtJnrKg_small_Seven_Samurai_movie_poster.jpg","width":26,"height":36},"large":{"url":"https://dl.airtable.com/P8zuMn05RXGK8d93I5lp_large_Seven_Samurai_movie_poster.jpg","width":267,"height":372}}}],"Seen?":true,"Actors":["recBxWAZ1yNqiCvNH"],"Director":["rec4GpJrQjinzo0GJ"],"Genre":["Adventure","Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recynXxaZLWrcEwSJ","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"attJx1VYPx0ZLbcUY","url":"https://dl.airtable.com/pMfhDQvmRJSMobhZB6gZ_Fight_Club_poster.jpg","filename":"Fight_Club_poster.jpg","size":19224,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/mnbOBf1HT2KkjJ86RcIc_small_Fight_Club_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/zSeUmRtVRrGBkZBqSnTh_large_Fight_Club_poster.jpg","width":275,"height":362}}}],"Actors":["recCq8x68LZAeEAEM"],"Director":["recbRd28mwMPYWRNG"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-68160dad-c762-481f-86d4-1372db3bdf01.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-68160dad-c762-481f-86d4-1372db3bdf01.json new file mode 100644 index 0000000..c865efd --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-68160dad-c762-481f-86d4-1372db3bdf01.json @@ -0,0 +1 @@ +{"records":[{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9cLoTiK3ewJMMF","url":"https://dl.airtable.com/60nNr67FTTSv1Gg8w7Zh_Sister_Act_film_poster.jpg","filename":"Sister_Act_film_poster.jpg","size":32876,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/NlKdzNtoSe2lkEMkeGlX_small_Sister_Act_film_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/CntpjeDdSNKrpImiYXoa_large_Sister_Act_film_poster.jpg","width":300,"height":447}}}],"Actors":["recGv5C4axZweJAJz"],"Director":["rech9CpZXBAwGwh0D"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recKq6BXazZwcHqGG","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary. The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att8u77Lz6LKQK9dM","url":"https://dl.airtable.com/ayZsJk2R6S5EUbZgMVg6_Pulp_Fiction_(1994)_poster.jpg","filename":"Pulp_Fiction_(1994)_poster.jpg","size":155345,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/zRSKQY2RVpax5RiNyAQF_small_Pulp_Fiction_(1994)_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/MBnx1RHXRxCykxRCfXPP_large_Pulp_Fiction_(1994)_poster.jpg","width":250,"height":371}}}],"Seen?":true,"Actors":["recKxZF60AXAaFvRE","recFq8zV0BVC9IyNK","recJm3x95DLBhIrSy"],"Director":["rec8yqCNaDv5e6gm5"],"Genre":["Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recNp3vW4DXu9EAKA","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"attqYWzirTDpcRyuE","url":"https://dl.airtable.com/fxC9r84XRheCuJ61HcKA_Caddyshack_poster.jpg","filename":"Caddyshack_poster.jpg","size":44602,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/4nNdlVBOSdO2ajzwPGT0_small_Caddyshack_poster.jpg","width":23,"height":36},"large":{"url":"https://dl.airtable.com/4FIwpDQ2QhWjTbacxDiY_large_Caddyshack_poster.jpg","width":300,"height":473}}}],"Actors":["recInYFZ1DQpeCuSz"],"Director":["recJZi67ZiVMJsSqC"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recCo4zX4HOsgDEEJ","fields":{"Name":"You've Got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937 play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"attJB6oqbGP1R29Mh","url":"https://dl.airtable.com/i7JySJuDSpq7V7po3iH7_You've_Got_Mail.jpg","filename":"You've_Got_Mail.jpg","size":30719,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/qV5Hxms7Qti9caXU0XXo_small_You've_Got_Mail.jpg","width":25,"height":36},"large":{"url":"https://dl.airtable.com/5VRuAWpeRpWqIy10nb26_large_You've_Got_Mail.jpg","width":270,"height":396}}}],"Actors":["recyvYGW0CLB5FANL","recNs5E54KQzgPvOG"],"Director":["recBCuNMX4gs7USwu"],"Genre":["Romantic Comedy"],"Personal Notes":"I can't imagine this movie has aged well..."},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"recFrUv93z0u5FuJF","fields":{"Name":"Seven Samurai","Description":"Seven Samurai is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attcgV9vNiMm5NtTa","url":"https://dl.airtable.com/4NkoXvgOQyuSfG7MlHOw_Seven_Samurai_movie_poster.jpg","filename":"Seven_Samurai_movie_poster.jpg","size":140035,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/ZpxHvaqQIWH9vxtJnrKg_small_Seven_Samurai_movie_poster.jpg","width":26,"height":36},"large":{"url":"https://dl.airtable.com/P8zuMn05RXGK8d93I5lp_large_Seven_Samurai_movie_poster.jpg","width":267,"height":372}}}],"Seen?":true,"Actors":["recBxWAZ1yNqiCvNH"],"Director":["rec4GpJrQjinzo0GJ"],"Genre":["Adventure","Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recFo7B0YJLtdKBKG","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1. The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"atttnUjsb9XGPadm4","url":"https://dl.airtable.com/K4lv47aaSRKEIfIqFuqg_Billy_madison_poster.jpg","filename":"Billy_madison_poster.jpg","size":35384,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/xEePdPjyTu2855UYBjvh_small_Billy_madison_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/BJAf9s32TWSE9hHPd9TR_large_Billy_madison_poster.jpg","width":295,"height":438}}}],"Actors":["recNuWw73yPogNrRy"],"Director":["recWf1u3lUd8CgH8a"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"},{"id":"recynXxaZLWrcEwSJ","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"attJx1VYPx0ZLbcUY","url":"https://dl.airtable.com/pMfhDQvmRJSMobhZB6gZ_Fight_Club_poster.jpg","filename":"Fight_Club_poster.jpg","size":19224,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/mnbOBf1HT2KkjJ86RcIc_small_Fight_Club_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/zSeUmRtVRrGBkZBqSnTh_large_Fight_Club_poster.jpg","width":275,"height":362}}}],"Actors":["recCq8x68LZAeEAEM"],"Director":["recbRd28mwMPYWRNG"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-6d9c7205-4268-4f63-a500-3150a039404c.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-6d9c7205-4268-4f63-a500-3150a039404c.json new file mode 100644 index 0000000..625f29b --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-6d9c7205-4268-4f63-a500-3150a039404c.json @@ -0,0 +1 @@ +{"records":[{"id":"recKq6BXazZwcHqGG","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary. The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att8u77Lz6LKQK9dM","url":"https://dl.airtable.com/ayZsJk2R6S5EUbZgMVg6_Pulp_Fiction_(1994)_poster.jpg","filename":"Pulp_Fiction_(1994)_poster.jpg","size":155345,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/zRSKQY2RVpax5RiNyAQF_small_Pulp_Fiction_(1994)_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/MBnx1RHXRxCykxRCfXPP_large_Pulp_Fiction_(1994)_poster.jpg","width":250,"height":371}}}],"Seen?":true,"Actors":["recKxZF60AXAaFvRE","recFq8zV0BVC9IyNK","recJm3x95DLBhIrSy"],"Director":["rec8yqCNaDv5e6gm5"],"Genre":["Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recNp3vW4DXu9EAKA","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"attqYWzirTDpcRyuE","url":"https://dl.airtable.com/fxC9r84XRheCuJ61HcKA_Caddyshack_poster.jpg","filename":"Caddyshack_poster.jpg","size":44602,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/4nNdlVBOSdO2ajzwPGT0_small_Caddyshack_poster.jpg","width":23,"height":36},"large":{"url":"https://dl.airtable.com/4FIwpDQ2QhWjTbacxDiY_large_Caddyshack_poster.jpg","width":300,"height":473}}}],"Actors":["recInYFZ1DQpeCuSz"],"Director":["recJZi67ZiVMJsSqC"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recynXxaZLWrcEwSJ","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"attJx1VYPx0ZLbcUY","url":"https://dl.airtable.com/pMfhDQvmRJSMobhZB6gZ_Fight_Club_poster.jpg","filename":"Fight_Club_poster.jpg","size":19224,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/mnbOBf1HT2KkjJ86RcIc_small_Fight_Club_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/zSeUmRtVRrGBkZBqSnTh_large_Fight_Club_poster.jpg","width":275,"height":362}}}],"Actors":["recCq8x68LZAeEAEM"],"Director":["recbRd28mwMPYWRNG"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-bb5553df-2eee-4dae-8916-1a292290f92b.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-bb5553df-2eee-4dae-8916-1a292290f92b.json new file mode 100644 index 0000000..3f76931 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-bb5553df-2eee-4dae-8916-1a292290f92b.json @@ -0,0 +1 @@ +{"id":"recEvnyMQjo0FqcMJ","fields":{"Name":"Neuer Film","Photos":[{"id":"attyxd5gQDeseWZal","url":"https://www.example.imgae.file1.de","filename":"Unnamed attachment"},{"id":"attiNdSZp0smpgIl6","url":"https://www.example.imgae.file2.de","filename":"Unnamed attachment"}]},"createdTime":"2017-09-14T10:09:26.368Z"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-c7639337-faaa-4f0c-b63d-29e3f779ff3f.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-c7639337-faaa-4f0c-b63d-29e3f779ff3f.json new file mode 100644 index 0000000..28d616c --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-c7639337-faaa-4f0c-b63d-29e3f779ff3f.json @@ -0,0 +1 @@ +{"records":[{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump"},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recCo4zX4HOsgDEEJ","fields":{"Name":"You've Got Mail"},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recFo7B0YJLtdKBKG","fields":{"Name":"Billy Madison"},"createdTime":"2014-07-18T04:54:18.000Z"},{"id":"recFrUv93z0u5FuJF","fields":{"Name":"Seven Samurai"},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recKq6BXazZwcHqGG","fields":{"Name":"Pulp Fiction"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recNp3vW4DXu9EAKA","fields":{"Name":"Caddyshack"},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recynXxaZLWrcEwSJ","fields":{"Name":"Fight Club"},"createdTime":"2014-07-18T05:00:11.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-d65ad9fb-4b1d-4d68-a709-f7daf62e7cd8.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-d65ad9fb-4b1d-4d68-a709-f7daf62e7cd8.json new file mode 100644 index 0000000..f52d45d --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-d65ad9fb-4b1d-4d68-a709-f7daf62e7cd8.json @@ -0,0 +1 @@ +{"records":[{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9cLoTiK3ewJMMF","url":"https://dl.airtable.com/60nNr67FTTSv1Gg8w7Zh_Sister_Act_film_poster.jpg","filename":"Sister_Act_film_poster.jpg","size":32876,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/NlKdzNtoSe2lkEMkeGlX_small_Sister_Act_film_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/CntpjeDdSNKrpImiYXoa_large_Sister_Act_film_poster.jpg","width":300,"height":447}}}],"Actors":["recGv5C4axZweJAJz"],"Director":["rech9CpZXBAwGwh0D"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recCo4zX4HOsgDEEJ","fields":{"Name":"You've Got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937 play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"attJB6oqbGP1R29Mh","url":"https://dl.airtable.com/i7JySJuDSpq7V7po3iH7_You've_Got_Mail.jpg","filename":"You've_Got_Mail.jpg","size":30719,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/qV5Hxms7Qti9caXU0XXo_small_You've_Got_Mail.jpg","width":25,"height":36},"large":{"url":"https://dl.airtable.com/5VRuAWpeRpWqIy10nb26_large_You've_Got_Mail.jpg","width":270,"height":396}}}],"Actors":["recyvYGW0CLB5FANL","recNs5E54KQzgPvOG"],"Director":["recBCuNMX4gs7USwu"],"Genre":["Romantic Comedy"],"Personal Notes":"I can't imagine this movie has aged well..."},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recFo7B0YJLtdKBKG","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1. The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"atttnUjsb9XGPadm4","url":"https://dl.airtable.com/K4lv47aaSRKEIfIqFuqg_Billy_madison_poster.jpg","filename":"Billy_madison_poster.jpg","size":35384,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/xEePdPjyTu2855UYBjvh_small_Billy_madison_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/BJAf9s32TWSE9hHPd9TR_large_Billy_madison_poster.jpg","width":295,"height":438}}}],"Actors":["recNuWw73yPogNrRy"],"Director":["recWf1u3lUd8CgH8a"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"},{"id":"recFrUv93z0u5FuJF","fields":{"Name":"Seven Samurai","Description":"Seven Samurai is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attcgV9vNiMm5NtTa","url":"https://dl.airtable.com/4NkoXvgOQyuSfG7MlHOw_Seven_Samurai_movie_poster.jpg","filename":"Seven_Samurai_movie_poster.jpg","size":140035,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/ZpxHvaqQIWH9vxtJnrKg_small_Seven_Samurai_movie_poster.jpg","width":26,"height":36},"large":{"url":"https://dl.airtable.com/P8zuMn05RXGK8d93I5lp_large_Seven_Samurai_movie_poster.jpg","width":267,"height":372}}}],"Seen?":true,"Actors":["recBxWAZ1yNqiCvNH"],"Director":["rec4GpJrQjinzo0GJ"],"Genre":["Adventure","Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recKq6BXazZwcHqGG","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary. The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att8u77Lz6LKQK9dM","url":"https://dl.airtable.com/ayZsJk2R6S5EUbZgMVg6_Pulp_Fiction_(1994)_poster.jpg","filename":"Pulp_Fiction_(1994)_poster.jpg","size":155345,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/zRSKQY2RVpax5RiNyAQF_small_Pulp_Fiction_(1994)_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/MBnx1RHXRxCykxRCfXPP_large_Pulp_Fiction_(1994)_poster.jpg","width":250,"height":371}}}],"Seen?":true,"Actors":["recKxZF60AXAaFvRE","recFq8zV0BVC9IyNK","recJm3x95DLBhIrSy"],"Director":["rec8yqCNaDv5e6gm5"],"Genre":["Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recNp3vW4DXu9EAKA","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"attqYWzirTDpcRyuE","url":"https://dl.airtable.com/fxC9r84XRheCuJ61HcKA_Caddyshack_poster.jpg","filename":"Caddyshack_poster.jpg","size":44602,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/4nNdlVBOSdO2ajzwPGT0_small_Caddyshack_poster.jpg","width":23,"height":36},"large":{"url":"https://dl.airtable.com/4FIwpDQ2QhWjTbacxDiY_large_Caddyshack_poster.jpg","width":300,"height":473}}}],"Actors":["recInYFZ1DQpeCuSz"],"Director":["recJZi67ZiVMJsSqC"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recynXxaZLWrcEwSJ","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"attJx1VYPx0ZLbcUY","url":"https://dl.airtable.com/pMfhDQvmRJSMobhZB6gZ_Fight_Club_poster.jpg","filename":"Fight_Club_poster.jpg","size":19224,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/mnbOBf1HT2KkjJ86RcIc_small_Fight_Club_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/zSeUmRtVRrGBkZBqSnTh_large_Fight_Club_poster.jpg","width":275,"height":362}}}],"Actors":["recCq8x68LZAeEAEM"],"Director":["recbRd28mwMPYWRNG"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-e06cff34-4056-4a90-8fd9-fee9fd660586.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-e06cff34-4056-4a90-8fd9-fee9fd660586.json new file mode 100644 index 0000000..f52d45d --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-e06cff34-4056-4a90-8fd9-fee9fd660586.json @@ -0,0 +1 @@ +{"records":[{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9cLoTiK3ewJMMF","url":"https://dl.airtable.com/60nNr67FTTSv1Gg8w7Zh_Sister_Act_film_poster.jpg","filename":"Sister_Act_film_poster.jpg","size":32876,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/NlKdzNtoSe2lkEMkeGlX_small_Sister_Act_film_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/CntpjeDdSNKrpImiYXoa_large_Sister_Act_film_poster.jpg","width":300,"height":447}}}],"Actors":["recGv5C4axZweJAJz"],"Director":["rech9CpZXBAwGwh0D"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recCo4zX4HOsgDEEJ","fields":{"Name":"You've Got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937 play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"attJB6oqbGP1R29Mh","url":"https://dl.airtable.com/i7JySJuDSpq7V7po3iH7_You've_Got_Mail.jpg","filename":"You've_Got_Mail.jpg","size":30719,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/qV5Hxms7Qti9caXU0XXo_small_You've_Got_Mail.jpg","width":25,"height":36},"large":{"url":"https://dl.airtable.com/5VRuAWpeRpWqIy10nb26_large_You've_Got_Mail.jpg","width":270,"height":396}}}],"Actors":["recyvYGW0CLB5FANL","recNs5E54KQzgPvOG"],"Director":["recBCuNMX4gs7USwu"],"Genre":["Romantic Comedy"],"Personal Notes":"I can't imagine this movie has aged well..."},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recFo7B0YJLtdKBKG","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1. The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"atttnUjsb9XGPadm4","url":"https://dl.airtable.com/K4lv47aaSRKEIfIqFuqg_Billy_madison_poster.jpg","filename":"Billy_madison_poster.jpg","size":35384,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/xEePdPjyTu2855UYBjvh_small_Billy_madison_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/BJAf9s32TWSE9hHPd9TR_large_Billy_madison_poster.jpg","width":295,"height":438}}}],"Actors":["recNuWw73yPogNrRy"],"Director":["recWf1u3lUd8CgH8a"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"},{"id":"recFrUv93z0u5FuJF","fields":{"Name":"Seven Samurai","Description":"Seven Samurai is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attcgV9vNiMm5NtTa","url":"https://dl.airtable.com/4NkoXvgOQyuSfG7MlHOw_Seven_Samurai_movie_poster.jpg","filename":"Seven_Samurai_movie_poster.jpg","size":140035,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/ZpxHvaqQIWH9vxtJnrKg_small_Seven_Samurai_movie_poster.jpg","width":26,"height":36},"large":{"url":"https://dl.airtable.com/P8zuMn05RXGK8d93I5lp_large_Seven_Samurai_movie_poster.jpg","width":267,"height":372}}}],"Seen?":true,"Actors":["recBxWAZ1yNqiCvNH"],"Director":["rec4GpJrQjinzo0GJ"],"Genre":["Adventure","Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recKq6BXazZwcHqGG","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary. The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att8u77Lz6LKQK9dM","url":"https://dl.airtable.com/ayZsJk2R6S5EUbZgMVg6_Pulp_Fiction_(1994)_poster.jpg","filename":"Pulp_Fiction_(1994)_poster.jpg","size":155345,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/zRSKQY2RVpax5RiNyAQF_small_Pulp_Fiction_(1994)_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/MBnx1RHXRxCykxRCfXPP_large_Pulp_Fiction_(1994)_poster.jpg","width":250,"height":371}}}],"Seen?":true,"Actors":["recKxZF60AXAaFvRE","recFq8zV0BVC9IyNK","recJm3x95DLBhIrSy"],"Director":["rec8yqCNaDv5e6gm5"],"Genre":["Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recNp3vW4DXu9EAKA","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"attqYWzirTDpcRyuE","url":"https://dl.airtable.com/fxC9r84XRheCuJ61HcKA_Caddyshack_poster.jpg","filename":"Caddyshack_poster.jpg","size":44602,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/4nNdlVBOSdO2ajzwPGT0_small_Caddyshack_poster.jpg","width":23,"height":36},"large":{"url":"https://dl.airtable.com/4FIwpDQ2QhWjTbacxDiY_large_Caddyshack_poster.jpg","width":300,"height":473}}}],"Actors":["recInYFZ1DQpeCuSz"],"Director":["recJZi67ZiVMJsSqC"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recynXxaZLWrcEwSJ","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"attJx1VYPx0ZLbcUY","url":"https://dl.airtable.com/pMfhDQvmRJSMobhZB6gZ_Fight_Club_poster.jpg","filename":"Fight_Club_poster.jpg","size":19224,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/mnbOBf1HT2KkjJ86RcIc_small_Fight_Club_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/zSeUmRtVRrGBkZBqSnTh_large_Fight_Club_poster.jpg","width":275,"height":362}}}],"Actors":["recCq8x68LZAeEAEM"],"Director":["recbRd28mwMPYWRNG"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-f761fc98-71d2-41db-85ca-be96f15d408c.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-f761fc98-71d2-41db-85ca-be96f15d408c.json new file mode 100644 index 0000000..95f99c9 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-f761fc98-71d2-41db-85ca-be96f15d408c.json @@ -0,0 +1 @@ +{"records":[{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9cLoTiK3ewJMMF","url":"https://dl.airtable.com/60nNr67FTTSv1Gg8w7Zh_Sister_Act_film_poster.jpg","filename":"Sister_Act_film_poster.jpg","size":32876,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/NlKdzNtoSe2lkEMkeGlX_small_Sister_Act_film_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/CntpjeDdSNKrpImiYXoa_large_Sister_Act_film_poster.jpg","width":300,"height":447}}}],"Actors":["recGv5C4axZweJAJz"],"Director":["rech9CpZXBAwGwh0D"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies-f7acecbb-ed53-4dc4-8aea-f8561dae1f53.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies-f7acecbb-ed53-4dc4-8aea-f8561dae1f53.json new file mode 100644 index 0000000..1e79db1 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies-f7acecbb-ed53-4dc4-8aea-f8561dae1f53.json @@ -0,0 +1 @@ +{"records":[{"id":"recCo4zX4HOsgDEEJ","fields":{"Name":"You've Got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937 play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"attJB6oqbGP1R29Mh","url":"https://dl.airtable.com/i7JySJuDSpq7V7po3iH7_You've_Got_Mail.jpg","filename":"You've_Got_Mail.jpg","size":30719,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/qV5Hxms7Qti9caXU0XXo_small_You've_Got_Mail.jpg","width":25,"height":36},"large":{"url":"https://dl.airtable.com/5VRuAWpeRpWqIy10nb26_large_You've_Got_Mail.jpg","width":270,"height":396}}}],"Actors":["recyvYGW0CLB5FANL","recNs5E54KQzgPvOG"],"Director":["recBCuNMX4gs7USwu"],"Genre":["Romantic Comedy"],"Personal Notes":"I can't imagine this movie has aged well..."},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recAt6z10EYD6NtEH","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9cLoTiK3ewJMMF","url":"https://dl.airtable.com/60nNr67FTTSv1Gg8w7Zh_Sister_Act_film_poster.jpg","filename":"Sister_Act_film_poster.jpg","size":32876,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/NlKdzNtoSe2lkEMkeGlX_small_Sister_Act_film_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/CntpjeDdSNKrpImiYXoa_large_Sister_Act_film_poster.jpg","width":300,"height":447}}}],"Actors":["recGv5C4axZweJAJz"],"Director":["rech9CpZXBAwGwh0D"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recFrUv93z0u5FuJF","fields":{"Name":"Seven Samurai","Description":"Seven Samurai is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attcgV9vNiMm5NtTa","url":"https://dl.airtable.com/4NkoXvgOQyuSfG7MlHOw_Seven_Samurai_movie_poster.jpg","filename":"Seven_Samurai_movie_poster.jpg","size":140035,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/ZpxHvaqQIWH9vxtJnrKg_small_Seven_Samurai_movie_poster.jpg","width":26,"height":36},"large":{"url":"https://dl.airtable.com/P8zuMn05RXGK8d93I5lp_large_Seven_Samurai_movie_poster.jpg","width":267,"height":372}}}],"Seen?":true,"Actors":["recBxWAZ1yNqiCvNH"],"Director":["rec4GpJrQjinzo0GJ"],"Genre":["Adventure","Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recKq6BXazZwcHqGG","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary. The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att8u77Lz6LKQK9dM","url":"https://dl.airtable.com/ayZsJk2R6S5EUbZgMVg6_Pulp_Fiction_(1994)_poster.jpg","filename":"Pulp_Fiction_(1994)_poster.jpg","size":155345,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/zRSKQY2RVpax5RiNyAQF_small_Pulp_Fiction_(1994)_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/MBnx1RHXRxCykxRCfXPP_large_Pulp_Fiction_(1994)_poster.jpg","width":250,"height":371}}}],"Seen?":true,"Actors":["recKxZF60AXAaFvRE","recFq8zV0BVC9IyNK","recJm3x95DLBhIrSy"],"Director":["rec8yqCNaDv5e6gm5"],"Genre":["Drama"],"Personal Rating":"3: Average 😌"},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recBq3w5bERC7EuFC","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"attQUA1J4KCTcvd6P","url":"https://dl.airtable.com/5LzT8A6TxS0zkIK9dOTQ_Forrest_Gump_poster.jpg","filename":"Forrest_Gump_poster.jpg","size":90063,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/6RYIGCuVSuuYi0y9vy7X_small_Forrest_Gump_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/uxiryv05TbWiofYaHJaX_large_Forrest_Gump_poster.jpg","width":300,"height":400}}}],"Seen?":true,"Actors":["recyvYGW0CLB5FANL"],"Director":["recjlTrYyuQCULUOH"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recynXxaZLWrcEwSJ","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"attJx1VYPx0ZLbcUY","url":"https://dl.airtable.com/pMfhDQvmRJSMobhZB6gZ_Fight_Club_poster.jpg","filename":"Fight_Club_poster.jpg","size":19224,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/mnbOBf1HT2KkjJ86RcIc_small_Fight_Club_poster.jpg","width":27,"height":36},"large":{"url":"https://dl.airtable.com/zSeUmRtVRrGBkZBqSnTh_large_Fight_Club_poster.jpg","width":275,"height":362}}}],"Actors":["recCq8x68LZAeEAEM"],"Director":["recbRd28mwMPYWRNG"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"},{"id":"recNp3vW4DXu9EAKA","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"attqYWzirTDpcRyuE","url":"https://dl.airtable.com/fxC9r84XRheCuJ61HcKA_Caddyshack_poster.jpg","filename":"Caddyshack_poster.jpg","size":44602,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/4nNdlVBOSdO2ajzwPGT0_small_Caddyshack_poster.jpg","width":23,"height":36},"large":{"url":"https://dl.airtable.com/4FIwpDQ2QhWjTbacxDiY_large_Caddyshack_poster.jpg","width":300,"height":473}}}],"Actors":["recInYFZ1DQpeCuSz"],"Director":["recJZi67ZiVMJsSqC"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recFo7B0YJLtdKBKG","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1. The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"atttnUjsb9XGPadm4","url":"https://dl.airtable.com/K4lv47aaSRKEIfIqFuqg_Billy_madison_poster.jpg","filename":"Billy_madison_poster.jpg","size":35384,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/xEePdPjyTu2855UYBjvh_small_Billy_madison_poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/BJAf9s32TWSE9hHPd9TR_large_Billy_madison_poster.jpg","width":295,"height":438}}}],"Actors":["recNuWw73yPogNrRy"],"Director":["recWf1u3lUd8CgH8a"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-177939f3-ddc4-4a1c-92bc-5a3dc93183d4.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-177939f3-ddc4-4a1c-92bc-5a3dc93183d4.json new file mode 100644 index 0000000..f2e1e50 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-177939f3-ddc4-4a1c-92bc-5a3dc93183d4.json @@ -0,0 +1 @@ +{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-aab5592a-0981-4b94-b9ce-da632df2bb73.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-aab5592a-0981-4b94-b9ce-da632df2bb73.json new file mode 100644 index 0000000..f2e1e50 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-aab5592a-0981-4b94-b9ce-da632df2bb73.json @@ -0,0 +1 @@ +{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-bbbe2e3f-4ee4-4930-807b-db29303e1800.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-bbbe2e3f-4ee4-4930-807b-db29303e1800.json new file mode 100644 index 0000000..f2e1e50 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-bbbe2e3f-4ee4-4930-807b-db29303e1800.json @@ -0,0 +1 @@ +{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-e28faa25-a908-4e68-8826-be8edecccd4e.json b/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-e28faa25-a908-4e68-8826-be8edecccd4e.json new file mode 100644 index 0000000..f2e1e50 --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-e28faa25-a908-4e68-8826-be8edecccd4e.json @@ -0,0 +1 @@ +{"id":"recFj9J78MLtiFFMz","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"attk3WY5B28GVcFGU","url":"https://dl.airtable.com/9UhUUeAtSym1PzBdA0q0_AlPacinoandMarlonBrando.jpg","filename":"AlPacinoandMarlonBrando.jpg","size":35698,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/8QPDr5OXTl239uV517gi_small_AlPacinoandMarlonBrando.jpg","width":30,"height":36},"large":{"url":"https://dl.airtable.com/EqoRRvQiTUSiEhLuHllY_large_AlPacinoandMarlonBrando.jpg","width":381,"height":450}}},{"id":"attq5oMn4IUMfzdxR","url":"https://dl.airtable.com/FuvrLhDxRCKxRRXdknwQ_The%20Godfather%20poster.jpg","filename":"The Godfather poster.jpg","size":265578,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/rlQ8MyQ4RuqN7rT03ALq_small_The%20Godfather%20poster.jpg","width":24,"height":36},"large":{"url":"https://dl.airtable.com/hMpOQGV1RmqF8oyP1K72_large_The%20Godfather%20poster.jpg","width":512,"height":512}}}],"Seen?":true,"Actors":["recLkYuV8INo9NANJ","recEtUIW6FWtbEDKz"],"Director":["recPxOZblV8yJU4mY"],"Genre":["Drama"],"Personal Rating":"4: Entertaining 😃"},"createdTime":"2014-07-18T04:42:06.000Z"} \ No newline at end of file diff --git a/src/test/resources/__files/appttha5pfjnvfjdu_notexists-cdeabff0-2dc1-46d0-9ea7-6849df0303b5.json b/src/test/resources/__files/appttha5pfjnvfjdu_notexists-cdeabff0-2dc1-46d0-9ea7-6849df0303b5.json new file mode 100644 index 0000000..2af244b --- /dev/null +++ b/src/test/resources/__files/appttha5pfjnvfjdu_notexists-cdeabff0-2dc1-46d0-9ea7-6849df0303b5.json @@ -0,0 +1 @@ +{"error":{"type":"TABLE_NOT_FOUND","message":"Could not find table NotExists in application appTtHA5PfJnVfjdu"}} \ No newline at end of file diff --git a/src/test/resources/__files/body-ActorCreate.json b/src/test/resources/__files/body-ActorCreate.json deleted file mode 100644 index 2d99298..0000000 --- a/src/test/resources/__files/body-ActorCreate.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "id": "rec123456789", - "fields": { - "Name": "Neuer Actor" - }, - "createdTime": "2014-07-18T04:48:25.000Z" -} \ No newline at end of file diff --git a/src/test/resources/__files/body-ActorDelete.json b/src/test/resources/__files/body-ActorDelete.json deleted file mode 100644 index 87c5f5a..0000000 --- a/src/test/resources/__files/body-ActorDelete.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "deleted": true, - "id": "recapJ3Js8AEwt0Bf" -} \ No newline at end of file diff --git a/src/test/resources/__files/body-ActorFind.json b/src/test/resources/__files/body-ActorFind.json deleted file mode 100644 index 6c359ff..0000000 --- a/src/test/resources/__files/body-ActorFind.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "id": "rec514228ed76ced1", - "fields": { - "Name": "Marlon Brando", - "Filmography": [ - "rec6733da527dd0f1" - ], - "Photo": [ - { - "id": "att1b7c05d697c0c1", - "url": "https://www.filepicker.io/api/file/xlhctgHEQiSGNc0ieMec", - "filename": "220px-Marlon_Brando_-_The_Wild_One.jpg", - "size": 13845, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/Rh3L1DL7QAe8nleanQVV" - }, - "large": { - "url": "https://www.filepicker.io/api/file/hcrLCStVRX6LNVEHqtXA" - } - } - } - ], - "Biography": "Marlon Brando, Jr. (April 3, 1924 – July 1, 2004) was an American actor. He is hailed for bringing a gripping realism to film acting, and is widely co..." - }, - "createdTime": "2014-07-18T04:48:25.000Z" -} \ No newline at end of file diff --git a/src/test/resources/__files/body-ActorUpdate.json b/src/test/resources/__files/body-ActorUpdate.json deleted file mode 100644 index f06a759..0000000 --- a/src/test/resources/__files/body-ActorUpdate.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "id": "rec514228ed76ced1", - "fields": { - "Name": "Neuer Name", - "Filmography": [ - "rec6733da527dd0f1" - ], - "Photo": [ - { - "id": "att1b7c05d697c0c1", - "url": "https://www.filepicker.io/api/file/xlhctgHEQiSGNc0ieMec", - "filename": "220px-Marlon_Brando_-_The_Wild_One.jpg", - "size": 13845, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/Rh3L1DL7QAe8nleanQVV" - }, - "large": { - "url": "https://www.filepicker.io/api/file/hcrLCStVRX6LNVEHqtXA" - } - } - } - ], - "Biography": "Marlon Brando, Jr. (April 3, 1924 – July 1, 2004) was an American actor. He is hailed for bringing a gripping realism to film acting, and is widely co..." - }, - "createdTime": "2014-07-18T04:48:25.000Z" -} \ No newline at end of file diff --git a/src/test/resources/__files/body-Actors.json b/src/test/resources/__files/body-Actors.json deleted file mode 100644 index 180e780..0000000 --- a/src/test/resources/__files/body-Actors.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "records": [ - { - "id": "rec514228ed76ced1", - "fields": { - "Name": "Marlon Brando", - "Filmography": [ - "rec6733da527dd0f1" - ], - "Photo": [ - { - "id": "att1b7c05d697c0c1", - "url": "https://www.filepicker.io/api/file/xlhctgHEQiSGNc0ieMec", - "filename": "220px-Marlon_Brando_-_The_Wild_One.jpg", - "size": 13845, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/Rh3L1DL7QAe8nleanQVV" - }, - "large": { - "url": "https://www.filepicker.io/api/file/hcrLCStVRX6LNVEHqtXA" - } - } - } - ], - "Biography": "Marlon Brando, Jr. (April 3, 1924 – July 1, 2004) was an American actor. He is hailed for bringing a gripping realism to film acting, and is widely co..." - }, - "createdTime": "2014-07-18T04:48:25.000Z" - }, - { - "id":"recapJ3Js8AEwt0Bf", - "fields": { - "Name":"Test Actor", - "Photo": [ - { - "id":"attfbHPN3hRjTYk3U", - "url":"https://dl.airtable.com/eJd6UGPPTmGPvoTjpP57_Penguins.jpg", - "filename":"Penguins.jpg","size":777835,"type":"image/jpeg", - "thumbnails": { - "small": { - "url":"https://dl.airtable.com/mzOeWfo7RkiX8ueW14gi_small_Penguins.jpg", - "width":48, - "height":36 - }, - "large": { - "url":"https://dl.airtable.com/dMgnXtMrSDKSAQTQqYHa_large_Penguins.jpg", - "width":512, - "height":512 - } - } - } - ], - "Biography":"Test Bio", - "Filmography": [ - "rec6733da527dd0f1" - ] - }, - "createdTime":"2017-03-30T06:47:38.520Z" - } - ] -} \ No newline at end of file diff --git a/src/test/resources/__files/body-MovieCreate.json b/src/test/resources/__files/body-MovieCreate.json deleted file mode 100644 index 4e6512f..0000000 --- a/src/test/resources/__files/body-MovieCreate.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "id": "rec987654321", - "fields": { - "Name": "Neuer Film", - "Description": "Irgendwas", - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - } \ No newline at end of file diff --git a/src/test/resources/__files/body-MovieCreate2.json b/src/test/resources/__files/body-MovieCreate2.json deleted file mode 100644 index 94d7542..0000000 --- a/src/test/resources/__files/body-MovieCreate2.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.example.imgae.file1.de", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - }, - { - "id": "attzWvarnmYBBd2Wm", - "url": "https://www.example.imgae.file2.de", - "filename": "Lighthouse.jpg", - "size": 561276, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg", - "width": 48, - "height": 36 - }, - "large": { - "url": "https://dl.airtable.com/8QX7f3nSAe6lrOxeuvTP_large_Lighthouse.jpg", - "width": 512, - "height": 512 - } - } - } - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" -} \ No newline at end of file diff --git a/src/test/resources/__files/body-Movies.json b/src/test/resources/__files/body-Movies.json deleted file mode 100644 index 6ac108a..0000000 --- a/src/test/resources/__files/body-Movies.json +++ /dev/null @@ -1,350 +0,0 @@ -{ - "records": [ - { - "id": "rec110972df115479", - "fields": { - "Name": "Sister Act", - "Description": "Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos": [ - { - "id": "att9141430d2b6dc1", - "url": "https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename": "Sister_Act_film_poster.jpg", - "size": 19805, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - } - } - } - ], - "Actors": [ - "rec73fcac60a91bc1" - ], - "Director": [ - "rec114faab248e582" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec2ed6bdd802c584", - "fields": { - "Name": "Forrest Gump", - "Description": "Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.", - "Photos": [ - { - "id": "att82e0b9087885c0", - "url": "https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT", - "filename": "220px-Forrest_Gump_poster.jpg", - "size": 16749, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d" - ], - "Director": [ - "rec09887e80a2692e" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:56:05.000Z" - }, - { - "id": "rec3ce936056bbf7b", - "fields": { - "Name": "You've got Mail", - "Description": "You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.", - "Photos": [ - { - "id": "atte28f9aa6e2118a", - "url": "https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS", - "filename": "220px-You've_Got_Mail.jpg", - "size": 24847, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz" - }, - "large": { - "url": "https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d", - "rece0feb637db7618" - ], - "Director": [ - "rec738f48b44cc24c" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:52:02.000Z" - }, - { - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Description": "The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - } - ], - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec6c1b6022782cd8", - "fields": { - "Name": "Billy Madison", - "Description": "Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.", - "Photos": [ - { - "id": "att2a05739d6534e4", - "url": "https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1", - "filename": "220px-Billy_madison_poster.jpg", - "size": 24774, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka" - }, - "large": { - "url": "https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo" - } - } - } - ], - "Actors": [ - "rece266d5762b5240" - ], - "Director": [ - "rec4270d52105811e" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:54:18.000Z" - }, - { - "id": "rec6f45f58180d5c7", - "fields": { - "Name": "Seven Samurai", - "Description": "Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.", - "Photos": [ - { - "id": "attfb51ccc438566b", - "url": "https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ", - "filename": "Seven_Samurai_movie_poster.jpg", - "size": 37313, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW" - } - } - } - ], - "Actors": [ - "rec256a53744da609" - ], - "Director": [ - "rec051acc552ecc58" - ], - "Genre": [ - "Adventure", - "Drama" - ] - }, - "createdTime": "2014-07-18T04:57:03.000Z" - }, - { - "id": "recbe0b3c80a7f198", - "fields": { - "Name": "Pulp Fiction", - "Description": "Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.", - "Photos": [ - { - "id": "att2ffd5c8228a3b4", - "url": "https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo", - "filename": "215px-Pulp_Fiction_cover.jpg", - "size": 25639, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd" - } - } - } - ], - "Actors": [ - "recb59fc29ee5d646", - "rec6e2912ac04090c", - "recaad7f7c2fc0250" - ], - "Director": [ - "rec6caf9605f137c9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "recedd526ce84cbd2", - "fields": { - "Name": "Caddyshack", - "Description": "Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.", - "Photos": [ - { - "id": "att995467ff4b5f04", - "url": "https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w", - "filename": "220px-Caddyshack_poster.jpg", - "size": 30647, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY" - }, - "large": { - "url": "https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD" - } - } - } - ], - "Actors": [ - "rec9b8f53c739a551" - ], - "Director": [ - "rec05389cff1679e5" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:45:28.000Z" - }, - { - "id": "recee114d18a0a3c8", - "fields": { - "Name": "Get Smart", - "Description": "Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"—James Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]", - "Photos": [ - { - "id": "attaef7e86f0bd75e", - "url": "https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI", - "filename": "250px-Get_Smart.gif", - "size": 30619, - "type": "image/gif", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z" - }, - "large": { - "url": "https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89" - } - } - } - ], - "Actors": [ - "rec77b0b4ba0b730e", - "rec43ef994a3465e5" - ], - "Director": [ - "rec2bb32ef25348fa" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:50:49.000Z" - }, - { - "id": "recfb77014d57c75b", - "fields": { - "Name": "Fight Club", - "Description": "Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.", - "Photos": [ - { - "id": "att69a5df8e344259", - "url": "https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY", - "filename": "220px-Fight_Club_poster.jpg", - "size": 17360, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a" - }, - "large": { - "url": "https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x" - } - } - } - ], - "Actors": [ - "rec3e27ca40e9cb7e" - ], - "Director": [ - "rec16a8af30615da0" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T05:00:11.000Z" - } - ] -} diff --git a/src/test/resources/__files/body-MoviesFind.json b/src/test/resources/__files/body-MoviesFind.json deleted file mode 100644 index 4c01308..0000000 --- a/src/test/resources/__files/body-MoviesFind.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Description": "The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selli...", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - }, - { - "id": "attzWvarnmYBBd2Wm", - "url": "https://dl.airtable.com/jJqBm304SBWBrF3dXn12_Lighthouse.jpg", - "filename": "Lighthouse.jpg", - "size": 561276, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg", - "width": 48, - "height": 36 - }, - "large": { - "url": "https://dl.airtable.com/8QX7f3nSAe6lrOxeuvTP_large_Lighthouse.jpg", - "width": 512, - "height": 512 - } - } - } - ], - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - } \ No newline at end of file diff --git a/src/test/resources/__files/body-MoviesMainView.json b/src/test/resources/__files/body-MoviesMainView.json deleted file mode 100644 index 6097403..0000000 --- a/src/test/resources/__files/body-MoviesMainView.json +++ /dev/null @@ -1,350 +0,0 @@ -{ - "records": [ - { - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Description": "The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - } - ], - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec110972df115479", - "fields": { - "Name": "Sister Act", - "Description": "Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos": [ - { - "id": "att9141430d2b6dc1", - "url": "https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename": "Sister_Act_film_poster.jpg", - "size": 19805, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - } - } - } - ], - "Actors": [ - "rec73fcac60a91bc1" - ], - "Director": [ - "rec114faab248e582" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "recbe0b3c80a7f198", - "fields": { - "Name": "Pulp Fiction", - "Description": "Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.", - "Photos": [ - { - "id": "att2ffd5c8228a3b4", - "url": "https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo", - "filename": "215px-Pulp_Fiction_cover.jpg", - "size": 25639, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd" - } - } - } - ], - "Actors": [ - "recb59fc29ee5d646", - "rec6e2912ac04090c", - "recaad7f7c2fc0250" - ], - "Director": [ - "rec6caf9605f137c9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "recedd526ce84cbd2", - "fields": { - "Name": "Caddyshack", - "Description": "Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.", - "Photos": [ - { - "id": "att995467ff4b5f04", - "url": "https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w", - "filename": "220px-Caddyshack_poster.jpg", - "size": 30647, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY" - }, - "large": { - "url": "https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD" - } - } - } - ], - "Actors": [ - "rec9b8f53c739a551" - ], - "Director": [ - "rec05389cff1679e5" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:45:28.000Z" - }, - { - "id": "recee114d18a0a3c8", - "fields": { - "Name": "Get Smart", - "Description": "Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"—James Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]", - "Photos": [ - { - "id": "attaef7e86f0bd75e", - "url": "https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI", - "filename": "250px-Get_Smart.gif", - "size": 30619, - "type": "image/gif", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z" - }, - "large": { - "url": "https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89" - } - } - } - ], - "Actors": [ - "rec77b0b4ba0b730e", - "rec43ef994a3465e5" - ], - "Director": [ - "rec2bb32ef25348fa" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:50:49.000Z" - }, - { - "id": "rec2ed6bdd802c584", - "fields": { - "Name": "Forrest Gump", - "Description": "Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.", - "Photos": [ - { - "id": "att82e0b9087885c0", - "url": "https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT", - "filename": "220px-Forrest_Gump_poster.jpg", - "size": 16749, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d" - ], - "Director": [ - "rec09887e80a2692e" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:56:05.000Z" - }, - { - "id": "rec3ce936056bbf7b", - "fields": { - "Name": "You've got Mail", - "Description": "You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.", - "Photos": [ - { - "id": "atte28f9aa6e2118a", - "url": "https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS", - "filename": "220px-You've_Got_Mail.jpg", - "size": 24847, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz" - }, - "large": { - "url": "https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d", - "rece0feb637db7618" - ], - "Director": [ - "rec738f48b44cc24c" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:52:02.000Z" - }, - { - "id": "rec6f45f58180d5c7", - "fields": { - "Name": "Seven Samurai", - "Description": "Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.", - "Photos": [ - { - "id": "attfb51ccc438566b", - "url": "https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ", - "filename": "Seven_Samurai_movie_poster.jpg", - "size": 37313, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW" - } - } - } - ], - "Actors": [ - "rec256a53744da609" - ], - "Director": [ - "rec051acc552ecc58" - ], - "Genre": [ - "Adventure", - "Drama" - ] - }, - "createdTime": "2014-07-18T04:57:03.000Z" - }, - { - "id": "rec6c1b6022782cd8", - "fields": { - "Name": "Billy Madison", - "Description": "Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.", - "Photos": [ - { - "id": "att2a05739d6534e4", - "url": "https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1", - "filename": "220px-Billy_madison_poster.jpg", - "size": 24774, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka" - }, - "large": { - "url": "https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo" - } - } - } - ], - "Actors": [ - "rece266d5762b5240" - ], - "Director": [ - "rec4270d52105811e" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:54:18.000Z" - }, - { - "id": "recfb77014d57c75b", - "fields": { - "Name": "Fight Club", - "Description": "Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.", - "Photos": [ - { - "id": "att69a5df8e344259", - "url": "https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY", - "filename": "220px-Fight_Club_poster.jpg", - "size": 17360, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a" - }, - "large": { - "url": "https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x" - } - } - } - ], - "Actors": [ - "rec3e27ca40e9cb7e" - ], - "Director": [ - "rec16a8af30615da0" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T05:00:11.000Z" - } - ] -} diff --git a/src/test/resources/__files/body-MoviesMaxRecords.json b/src/test/resources/__files/body-MoviesMaxRecords.json deleted file mode 100644 index dc15715..0000000 --- a/src/test/resources/__files/body-MoviesMaxRecords.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "records": [ - { - "id": "rec110972df115479", - "fields": { - "Name": "Sister Act", - "Description": "Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos": [ - { - "id": "att9141430d2b6dc1", - "url": "https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename": "Sister_Act_film_poster.jpg", - "size": 19805, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - } - } - } - ], - "Actors": [ - "rec73fcac60a91bc1" - ], - "Director": [ - "rec114faab248e582" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec2ed6bdd802c584", - "fields": { - "Name": "Forrest Gump", - "Description": "Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.", - "Photos": [ - { - "id": "att82e0b9087885c0", - "url": "https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT", - "filename": "220px-Forrest_Gump_poster.jpg", - "size": 16749, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d" - ], - "Director": [ - "rec09887e80a2692e" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:56:05.000Z" - } - ] -} diff --git a/src/test/resources/__files/body-MoviesSortedNameAsc.json b/src/test/resources/__files/body-MoviesSortedNameAsc.json deleted file mode 100644 index af8071d..0000000 --- a/src/test/resources/__files/body-MoviesSortedNameAsc.json +++ /dev/null @@ -1,350 +0,0 @@ -{ - "records": [ - { - "id": "rec6c1b6022782cd8", - "fields": { - "Name": "Billy Madison", - "Description": "Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.", - "Photos": [ - { - "id": "att2a05739d6534e4", - "url": "https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1", - "filename": "220px-Billy_madison_poster.jpg", - "size": 24774, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka" - }, - "large": { - "url": "https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo" - } - } - } - ], - "Actors": [ - "rece266d5762b5240" - ], - "Director": [ - "rec4270d52105811e" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:54:18.000Z" - }, - { - "id": "recedd526ce84cbd2", - "fields": { - "Name": "Caddyshack", - "Description": "Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.", - "Photos": [ - { - "id": "att995467ff4b5f04", - "url": "https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w", - "filename": "220px-Caddyshack_poster.jpg", - "size": 30647, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY" - }, - "large": { - "url": "https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD" - } - } - } - ], - "Actors": [ - "rec9b8f53c739a551" - ], - "Director": [ - "rec05389cff1679e5" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:45:28.000Z" - }, - { - "id": "recfb77014d57c75b", - "fields": { - "Name": "Fight Club", - "Description": "Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.", - "Photos": [ - { - "id": "att69a5df8e344259", - "url": "https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY", - "filename": "220px-Fight_Club_poster.jpg", - "size": 17360, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a" - }, - "large": { - "url": "https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x" - } - } - } - ], - "Actors": [ - "rec3e27ca40e9cb7e" - ], - "Director": [ - "rec16a8af30615da0" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T05:00:11.000Z" - }, - { - "id": "rec2ed6bdd802c584", - "fields": { - "Name": "Forrest Gump", - "Description": "Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.", - "Photos": [ - { - "id": "att82e0b9087885c0", - "url": "https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT", - "filename": "220px-Forrest_Gump_poster.jpg", - "size": 16749, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d" - ], - "Director": [ - "rec09887e80a2692e" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:56:05.000Z" - }, - { - "id": "recee114d18a0a3c8", - "fields": { - "Name": "Get Smart", - "Description": "Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"—James Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]", - "Photos": [ - { - "id": "attaef7e86f0bd75e", - "url": "https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI", - "filename": "250px-Get_Smart.gif", - "size": 30619, - "type": "image/gif", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z" - }, - "large": { - "url": "https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89" - } - } - } - ], - "Actors": [ - "rec77b0b4ba0b730e", - "rec43ef994a3465e5" - ], - "Director": [ - "rec2bb32ef25348fa" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:50:49.000Z" - }, - { - "id": "recbe0b3c80a7f198", - "fields": { - "Name": "Pulp Fiction", - "Description": "Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.", - "Photos": [ - { - "id": "att2ffd5c8228a3b4", - "url": "https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo", - "filename": "215px-Pulp_Fiction_cover.jpg", - "size": 25639, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd" - } - } - } - ], - "Actors": [ - "recb59fc29ee5d646", - "rec6e2912ac04090c", - "recaad7f7c2fc0250" - ], - "Director": [ - "rec6caf9605f137c9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec6f45f58180d5c7", - "fields": { - "Name": "Seven Samurai", - "Description": "Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.", - "Photos": [ - { - "id": "attfb51ccc438566b", - "url": "https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ", - "filename": "Seven_Samurai_movie_poster.jpg", - "size": 37313, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW" - } - } - } - ], - "Actors": [ - "rec256a53744da609" - ], - "Director": [ - "rec051acc552ecc58" - ], - "Genre": [ - "Adventure", - "Drama" - ] - }, - "createdTime": "2014-07-18T04:57:03.000Z" - }, - { - "id": "rec110972df115479", - "fields": { - "Name": "Sister Act", - "Description": "Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos": [ - { - "id": "att9141430d2b6dc1", - "url": "https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename": "Sister_Act_film_poster.jpg", - "size": 19805, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - } - } - } - ], - "Actors": [ - "rec73fcac60a91bc1" - ], - "Director": [ - "rec114faab248e582" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Description": "The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - } - ], - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec3ce936056bbf7b", - "fields": { - "Name": "You've got Mail", - "Description": "You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.", - "Photos": [ - { - "id": "atte28f9aa6e2118a", - "url": "https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS", - "filename": "220px-You've_Got_Mail.jpg", - "size": 24847, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz" - }, - "large": { - "url": "https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d", - "rece0feb637db7618" - ], - "Director": [ - "rec738f48b44cc24c" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:52:02.000Z" - } - ] -} diff --git a/src/test/resources/__files/body-MoviesSortedNameDesc.json b/src/test/resources/__files/body-MoviesSortedNameDesc.json deleted file mode 100644 index c188e4d..0000000 --- a/src/test/resources/__files/body-MoviesSortedNameDesc.json +++ /dev/null @@ -1,350 +0,0 @@ -{ - "records": [ - { - "id": "rec3ce936056bbf7b", - "fields": { - "Name": "You've got Mail", - "Description": "You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Miklós László. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly — a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.", - "Photos": [ - { - "id": "atte28f9aa6e2118a", - "url": "https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS", - "filename": "220px-You've_Got_Mail.jpg", - "size": 24847, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz" - }, - "large": { - "url": "https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d", - "rece0feb637db7618" - ], - "Director": [ - "rec738f48b44cc24c" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:52:02.000Z" - }, - { - "id": "rec6733da527dd0f1", - "fields": { - "Name": "The Godfather", - "Description": "The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.", - "Photos": [ - { - "id": "att6dba4af5786df1", - "url": "https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k", - "filename": "220px-TheGodfatherAlPacinoMarlonBrando.jpg", - "size": 16420, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4" - } - } - } - ], - "Actors": [ - "recc8841a14245b0b", - "rec514228ed76ced1" - ], - "Director": [ - "recfaf64fe0db19a9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec110972df115479", - "fields": { - "Name": "Sister Act", - "Description": "Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos": [ - { - "id": "att9141430d2b6dc1", - "url": "https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename": "Sister_Act_film_poster.jpg", - "size": 19805, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - } - } - } - ], - "Actors": [ - "rec73fcac60a91bc1" - ], - "Director": [ - "rec114faab248e582" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "rec6f45f58180d5c7", - "fields": { - "Name": "Seven Samurai", - "Description": "Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.", - "Photos": [ - { - "id": "attfb51ccc438566b", - "url": "https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ", - "filename": "Seven_Samurai_movie_poster.jpg", - "size": 37313, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI" - }, - "large": { - "url": "https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW" - } - } - } - ], - "Actors": [ - "rec256a53744da609" - ], - "Director": [ - "rec051acc552ecc58" - ], - "Genre": [ - "Adventure", - "Drama" - ] - }, - "createdTime": "2014-07-18T04:57:03.000Z" - }, - { - "id": "recbe0b3c80a7f198", - "fields": { - "Name": "Pulp Fiction", - "Description": "Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.", - "Photos": [ - { - "id": "att2ffd5c8228a3b4", - "url": "https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo", - "filename": "215px-Pulp_Fiction_cover.jpg", - "size": 25639, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd" - } - } - } - ], - "Actors": [ - "recb59fc29ee5d646", - "rec6e2912ac04090c", - "recaad7f7c2fc0250" - ], - "Director": [ - "rec6caf9605f137c9" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:42:06.000Z" - }, - { - "id": "recee114d18a0a3c8", - "fields": { - "Name": "Get Smart", - "Description": "Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"—James Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]", - "Photos": [ - { - "id": "attaef7e86f0bd75e", - "url": "https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI", - "filename": "250px-Get_Smart.gif", - "size": 30619, - "type": "image/gif", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z" - }, - "large": { - "url": "https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89" - } - } - } - ], - "Actors": [ - "rec77b0b4ba0b730e", - "rec43ef994a3465e5" - ], - "Director": [ - "rec2bb32ef25348fa" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:50:49.000Z" - }, - { - "id": "rec2ed6bdd802c584", - "fields": { - "Name": "Forrest Gump", - "Description": "Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a naïve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.", - "Photos": [ - { - "id": "att82e0b9087885c0", - "url": "https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT", - "filename": "220px-Forrest_Gump_poster.jpg", - "size": 16749, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ" - }, - "large": { - "url": "https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0" - } - } - } - ], - "Actors": [ - "recf38022b2f0db0d" - ], - "Director": [ - "rec09887e80a2692e" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T04:56:05.000Z" - }, - { - "id": "recfb77014d57c75b", - "fields": { - "Name": "Fight Club", - "Description": "Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.", - "Photos": [ - { - "id": "att69a5df8e344259", - "url": "https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY", - "filename": "220px-Fight_Club_poster.jpg", - "size": 17360, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a" - }, - "large": { - "url": "https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x" - } - } - } - ], - "Actors": [ - "rec3e27ca40e9cb7e" - ], - "Director": [ - "rec16a8af30615da0" - ], - "Genre": [ - "Drama" - ] - }, - "createdTime": "2014-07-18T05:00:11.000Z" - }, - { - "id": "recedd526ce84cbd2", - "fields": { - "Name": "Caddyshack", - "Description": "Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.", - "Photos": [ - { - "id": "att995467ff4b5f04", - "url": "https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w", - "filename": "220px-Caddyshack_poster.jpg", - "size": 30647, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY" - }, - "large": { - "url": "https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD" - } - } - } - ], - "Actors": [ - "rec9b8f53c739a551" - ], - "Director": [ - "rec05389cff1679e5" - ], - "Genre": [ - "Comedy" - ] - }, - "createdTime": "2014-07-18T04:45:28.000Z" - }, - { - "id": "rec6c1b6022782cd8", - "fields": { - "Name": "Billy Madison", - "Description": "Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.", - "Photos": [ - { - "id": "att2a05739d6534e4", - "url": "https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1", - "filename": "220px-Billy_madison_poster.jpg", - "size": 24774, - "type": "image/jpeg", - "thumbnails": { - "small": { - "url": "https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka" - }, - "large": { - "url": "https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo" - } - } - } - ], - "Actors": [ - "rece266d5762b5240" - ], - "Director": [ - "rec4270d52105811e" - ], - "Genre": [ - "Romantic Comedy" - ] - }, - "createdTime": "2014-07-18T04:54:18.000Z" - } - ] -} diff --git a/src/test/resources/__files/body-ParameterSelectFields.json b/src/test/resources/__files/body-ParameterSelectFields.json deleted file mode 100644 index a3f88e6..0000000 --- a/src/test/resources/__files/body-ParameterSelectFields.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "records":[ - { - "id":"rec110972df115479", - "fields":{ - "Name":"Sister Act" - }, - "createdTime":"2014-07-18T04:42:06.000Z" - }, - { - "id":"rec2ed6bdd802c584", - "fields":{ - "Name":"Forrest Gump" - }, - "createdTime":"2014-07-18T04:56:05.000Z" - }, - { - "id":"rec3ce936056bbf7b", - "fields":{ - "Name":"You've got Mail" - }, - "createdTime":"2014-07-18T04:52:02.000Z" - }, - { - "id":"rec6733da527dd0f1", - "fields":{ - "Name":"The Godfather" - }, - "createdTime":"2014-07-18T04:42:06.000Z" - }, - { - "id":"rec6c1b6022782cd8", - "fields":{ - "Name":"Billy Madison" - }, - "createdTime":"2014-07-18T04:54:18.000Z" - } - ] -} \ No newline at end of file diff --git a/src/test/resources/__files/body-ParameterSelectFormula.json b/src/test/resources/__files/body-ParameterSelectFormula.json deleted file mode 100644 index d352570..0000000 --- a/src/test/resources/__files/body-ParameterSelectFormula.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "records":[ - { - "id":"rec110972df115479", - "fields":{ - "Name":"Sister Act" - }, - "createdTime":"2014-07-18T04:42:06.000Z" - }, - { - "id":"rec2ed6bdd802c584", - "fields":{ - "Name":"Forrest Gump" - }, - "createdTime":"2014-07-18T04:56:05.000Z" - } - ] -} \ No newline at end of file diff --git a/src/test/resources/__files/body-ParameterSelectMaxRecords.json b/src/test/resources/__files/body-ParameterSelectMaxRecords.json deleted file mode 100644 index 18675f9..0000000 --- a/src/test/resources/__files/body-ParameterSelectMaxRecords.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "records":[{ - "id":"rec110972df115479", - "fields":{ - "Name":"Sister Act", - "Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.", - "Photos":[{ - "id":"att9141430d2b6dc1", - "url":"https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r", - "filename":"Sister_Act_film_poster.jpg", - "size":19805, - "type":"image/jpeg", - "thumbnails":{ - "small":{ - "url":"https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy" - }, - "large":{ - "url":"https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg" - }} - }], - "Actors":["rec73fcac60a91bc1"], - "Director":["rec114faab248e582"], - "Genre":["Comedy"] - }, - "createdTime":"2014-07-18T04:42:06.000Z" - }] -} \ No newline at end of file diff --git a/src/test/resources/__files/body-ParameterSelectPageSize.json b/src/test/resources/__files/body-ParameterSelectPageSize.json deleted file mode 100644 index 2ef12a3..0000000 --- a/src/test/resources/__files/body-ParameterSelectPageSize.json +++ /dev/null @@ -1 +0,0 @@ -{"records":[{"id":"rec110972df115479","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9141430d2b6dc1","url":"https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r","filename":"Sister_Act_film_poster.jpg","size":19805,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy"},"large":{"url":"https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg"}}}],"Actors":["rec73fcac60a91bc1"],"Director":["rec114faab248e582"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"rec2ed6bdd802c584","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a na├»ve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"att82e0b9087885c0","url":"https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT","filename":"220px-Forrest_Gump_poster.jpg","size":16749,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ"},"large":{"url":"https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0"}}}],"Actors":["recf38022b2f0db0d"],"Director":["rec09887e80a2692e"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"rec3ce936056bbf7b","fields":{"Name":"You've got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Mikl├│s L├íszl├│. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly ÔÇö a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"atte28f9aa6e2118a","url":"https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS","filename":"220px-You've_Got_Mail.jpg","size":24847,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz"},"large":{"url":"https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB"}}}],"Actors":["recf38022b2f0db0d","rece0feb637db7618"],"Director":["rec738f48b44cc24c"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"rec6733da527dd0f1","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"att6dba4af5786df1","url":"https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k","filename":"220px-TheGodfatherAlPacinoMarlonBrando.jpg","size":16420,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN"},"large":{"url":"https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4"}}},{"id":"attzWvarnmYBBd2Wm","url":"https://dl.airtable.com/jJqBm304SBWBrF3dXn12_Lighthouse.jpg","filename":"Lighthouse.jpg","size":561276,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg","width":48,"height":36},"large":{"url":"https://dl.airtable.com/8QX7f3nSAe6lrOxeuvTP_large_Lighthouse.jpg","width":512,"height":512}}}],"Actors":["recc8841a14245b0b","rec514228ed76ced1"],"Director":["recfaf64fe0db19a9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"rec6c1b6022782cd8","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"att2a05739d6534e4","url":"https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1","filename":"220px-Billy_madison_poster.jpg","size":24774,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka"},"large":{"url":"https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo"}}}],"Actors":["rece266d5762b5240"],"Director":["rec4270d52105811e"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"},{"id":"rec6f45f58180d5c7","fields":{"Name":"Seven Samurai","Description":"Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attfb51ccc438566b","url":"https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ","filename":"Seven_Samurai_movie_poster.jpg","size":37313,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI"},"large":{"url":"https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW"}}}],"Actors":["rec256a53744da609"],"Director":["rec051acc552ecc58"],"Genre":["Adventure","Drama"]},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recbe0b3c80a7f198","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att2ffd5c8228a3b4","url":"https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo","filename":"215px-Pulp_Fiction_cover.jpg","size":25639,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ"},"large":{"url":"https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd"}}}],"Actors":["recb59fc29ee5d646","rec6e2912ac04090c","recaad7f7c2fc0250"],"Director":["rec6caf9605f137c9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recedd526ce84cbd2","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"att995467ff4b5f04","url":"https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w","filename":"220px-Caddyshack_poster.jpg","size":30647,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY"},"large":{"url":"https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD"}}}],"Actors":["rec9b8f53c739a551"],"Director":["rec05389cff1679e5"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"recee114d18a0a3c8","fields":{"Name":"Get Smart","Description":"Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"ÔÇöJames Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]","Photos":[{"id":"attaef7e86f0bd75e","url":"https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI","filename":"250px-Get_Smart.gif","size":30619,"type":"image/gif","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z"},"large":{"url":"https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89"}}}],"Actors":["rec77b0b4ba0b730e","rec43ef994a3465e5"],"Director":["rec2bb32ef25348fa"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:50:49.000Z"},{"id":"recfb77014d57c75b","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"att69a5df8e344259","url":"https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY","filename":"220px-Fight_Club_poster.jpg","size":17360,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a"},"large":{"url":"https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x"}}}],"Actors":["rec3e27ca40e9cb7e"],"Director":["rec16a8af30615da0"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/body-ParameterSelectSort.json b/src/test/resources/__files/body-ParameterSelectSort.json deleted file mode 100644 index d538c5c..0000000 --- a/src/test/resources/__files/body-ParameterSelectSort.json +++ /dev/null @@ -1 +0,0 @@ -{"records":[{"id":"rec3ce936056bbf7b","fields":{"Name":"You've got Mail","Description":"You've Got Mail is a 1998 American romantic comedy film directed by Nora Ephron, starring Tom Hanks and Meg Ryan. It was written by Nora and Delia Ephron based on the 1937[2] play Parfumerie by Mikl├│s L├íszl├│. The film is about two e-mailing lovers who are completely unaware that their sweetheart is, in fact, a person with whom they share a degree of animosity. An adaptation of Parfumerie was previously made as The Shop Around the Corner, a 1940 film by Ernst Lubitsch and also a 1949 musical remake, In the Good Old Summertime by Robert Z. Leonard starring Judy Garland. You've Got Mail updates that concept with the use of e-mail. Influences from Jane Austen's Pride and Prejudice can also be seen in the relationship between Joe Fox and Kathleen Kelly ÔÇö a reference pointed out by these characters actually discussing Mr. Darcy and Miss Bennet in the film. Ephron stated that You've Got Mail was as much about the Upper West Side itself as the characters, highlighting the \"small town community\" feel that pervades the Upper West Side.","Photos":[{"id":"atte28f9aa6e2118a","url":"https://www.filepicker.io/api/file/YxAJhvLQxieJ65jaFNVS","filename":"220px-You've_Got_Mail.jpg","size":24847,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/VFxf2YHAToyWmp164zbz"},"large":{"url":"https://www.filepicker.io/api/file/xG4toiPRfOeDcQa6e3cB"}}}],"Actors":["recf38022b2f0db0d","rece0feb637db7618"],"Director":["rec738f48b44cc24c"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:52:02.000Z"},{"id":"rec6733da527dd0f1","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"att6dba4af5786df1","url":"https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k","filename":"220px-TheGodfatherAlPacinoMarlonBrando.jpg","size":16420,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN"},"large":{"url":"https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4"}}},{"id":"attzWvarnmYBBd2Wm","url":"https://dl.airtable.com/jJqBm304SBWBrF3dXn12_Lighthouse.jpg","filename":"Lighthouse.jpg","size":561276,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg","width":48,"height":36},"large":{"url":"https://dl.airtable.com/8QX7f3nSAe6lrOxeuvTP_large_Lighthouse.jpg","width":512,"height":512}}}],"Actors":["recc8841a14245b0b","rec514228ed76ced1"],"Director":["recfaf64fe0db19a9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"rec110972df115479","fields":{"Name":"Sister Act","Description":"Sister Act is a 1992 American comedy film released by Touchstone Pictures. Directed by Emile Ardolino, it features musical arrangements by Marc Shaiman and stars Whoopi Goldberg as a Reno lounge singer who has been put under protective custody in a San Francisco convent of Poor Clares and has to pretend to be a nun when a mob boss puts her on his hit list. Also in the cast are Maggie Smith, Kathy Najimy, Wendy Makkena, Mary Wickes, and Harvey Keitel.","Photos":[{"id":"att9141430d2b6dc1","url":"https://www.filepicker.io/api/file/tav0vGKoTjiyMcbjsx3r","filename":"Sister_Act_film_poster.jpg","size":19805,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/IiTD31iiQ32mRI6KYEzy"},"large":{"url":"https://www.filepicker.io/api/file/Oczxr4sYQ2lrA3ppGMhg"}}}],"Actors":["rec73fcac60a91bc1"],"Director":["rec114faab248e582"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"rec6f45f58180d5c7","fields":{"Name":"Seven Samurai","Description":"Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attfb51ccc438566b","url":"https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ","filename":"Seven_Samurai_movie_poster.jpg","size":37313,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI"},"large":{"url":"https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW"}}}],"Actors":["rec256a53744da609"],"Director":["rec051acc552ecc58"],"Genre":["Adventure","Drama"]},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"recbe0b3c80a7f198","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att2ffd5c8228a3b4","url":"https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo","filename":"215px-Pulp_Fiction_cover.jpg","size":25639,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ"},"large":{"url":"https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd"}}}],"Actors":["recb59fc29ee5d646","rec6e2912ac04090c","recaad7f7c2fc0250"],"Director":["rec6caf9605f137c9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"recee114d18a0a3c8","fields":{"Name":"Get Smart","Description":"Get Smart is an American comedy television series that satirizes the secret agent genre. Created by Mel Brooks with Buck Henry,[1] the show stars Don Adams (as Maxwell Smart, Agent 86), Barbara Feldon (as Agent 99), and Edward Platt (as Chief). Henry said they created the show by request of Daniel Melnick, who was a partner, along with Leonard Stern and David Susskind, of the show's production company, Talent Associates, to capitalize on \"the two biggest things in the entertainment world today\"ÔÇöJames Bond and Inspector Clouseau.[2] Brooks said: \"It's an insane combination of James Bond and Mel Brooks comedy.\"[3]","Photos":[{"id":"attaef7e86f0bd75e","url":"https://www.filepicker.io/api/file/Rta8Uy2xQ8mtl1oWl0YI","filename":"250px-Get_Smart.gif","size":30619,"type":"image/gif","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/vxz10zbjRlSRe0RmV00z"},"large":{"url":"https://www.filepicker.io/api/file/ZmFQD36wRTuVzzgZei89"}}}],"Actors":["rec77b0b4ba0b730e","rec43ef994a3465e5"],"Director":["rec2bb32ef25348fa"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:50:49.000Z"},{"id":"rec2ed6bdd802c584","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a na├»ve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"att82e0b9087885c0","url":"https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT","filename":"220px-Forrest_Gump_poster.jpg","size":16749,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ"},"large":{"url":"https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0"}}}],"Actors":["recf38022b2f0db0d"],"Director":["rec09887e80a2692e"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recfb77014d57c75b","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"att69a5df8e344259","url":"https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY","filename":"220px-Fight_Club_poster.jpg","size":17360,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a"},"large":{"url":"https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x"}}}],"Actors":["rec3e27ca40e9cb7e"],"Director":["rec16a8af30615da0"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"},{"id":"recedd526ce84cbd2","fields":{"Name":"Caddyshack","Description":"Caddyshack is a 1980 American sports comedy film directed by Harold Ramis and written by Brian Doyle-Murray, Ramis and Douglas Kenney. It stars Chevy Chase, Rodney Dangerfield, Ted Knight, and Bill Murray. Doyle-Murray also has a supporting role.","Photos":[{"id":"att995467ff4b5f04","url":"https://www.filepicker.io/api/file/SslWgZqRA2Slb1ehJJ2w","filename":"220px-Caddyshack_poster.jpg","size":30647,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/nLMlyHwdR3OhodMZDIJY"},"large":{"url":"https://www.filepicker.io/api/file/n3NMoBTETeWOFJWaMljD"}}}],"Actors":["rec9b8f53c739a551"],"Director":["rec05389cff1679e5"],"Genre":["Comedy"]},"createdTime":"2014-07-18T04:45:28.000Z"},{"id":"rec6c1b6022782cd8","fields":{"Name":"Billy Madison","Description":"Billy Madison is a 1995 American comedy film directed by Tamra Davis. It stars Adam Sandler in the title role, along with Bradley Whitford, Bridgette Wilson, Norm Macdonald and Darren McGavin. The film was written by Sandler and Tim Herlihy, and produced by Robert Simonds. It made over $26.4 million worldwide and debuted at #1.[1] The film is about a slacker (Billy Madison) who must go back to school in order to take over his father's company. The comedy also features Chris Farley and Steve Buscemi with uncredited appearances. Sandler would later form a production company, Happy Madison Productions, named after a combination of this film's title character and Happy Gilmore's.","Photos":[{"id":"att2a05739d6534e4","url":"https://www.filepicker.io/api/file/fVo6zj3jSJ6Ws2cnT2I1","filename":"220px-Billy_madison_poster.jpg","size":24774,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/d9InPcLIRfaKlWZyr1ka"},"large":{"url":"https://www.filepicker.io/api/file/oC6mPKYuSHO3rIOaEzpo"}}}],"Actors":["rece266d5762b5240"],"Director":["rec4270d52105811e"],"Genre":["Romantic Comedy"]},"createdTime":"2014-07-18T04:54:18.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/body-ParameterSelectView.json b/src/test/resources/__files/body-ParameterSelectView.json deleted file mode 100644 index 092bf36..0000000 --- a/src/test/resources/__files/body-ParameterSelectView.json +++ /dev/null @@ -1 +0,0 @@ -{"records":[{"id":"recfb77014d57c75b","fields":{"Name":"Fight Club","Description":"Fight Club is a 1999 film based on the 1996 novel of the same name by Chuck Palahniuk. The film was directed by David Fincher and stars Edward Norton, Brad Pitt, and Helena Bonham Carter. Norton plays the unnamed protagonist, an \"everyman\" who is discontented with his white-collar job. He forms a \"fight club\" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally. The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.","Photos":[{"id":"att69a5df8e344259","url":"https://www.filepicker.io/api/file/xyCDil2QVapaBg6IOmpY","filename":"220px-Fight_Club_poster.jpg","size":17360,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/qsJN64oeTiOErlaJuY0a"},"large":{"url":"https://www.filepicker.io/api/file/qP62vcLrSJivZlZ0Hm9x"}}}],"Actors":["rec3e27ca40e9cb7e"],"Director":["rec16a8af30615da0"],"Genre":["Drama"]},"createdTime":"2014-07-18T05:00:11.000Z"},{"id":"rec2ed6bdd802c584","fields":{"Name":"Forrest Gump","Description":"Forrest Gump is a 1994 American epic romantic comedy-drama film based on the 1986 novel of the same name by Winston Groom. The film was directed by Robert Zemeckis and starred Tom Hanks, Robin Wright, Gary Sinise and Sally Field. The story depicts several decades in the life of Forrest Gump, a na├»ve and slow-witted yet athletically prodigious native of Alabama who witnesses, and in some cases influences, some of the defining events of the latter half of the 20th century in the United States; more specifically, the period between Forrest's birth in 1944 and 1982.","Photos":[{"id":"att82e0b9087885c0","url":"https://www.filepicker.io/api/file/zJDqSxaWS5SaHvOh1bZT","filename":"220px-Forrest_Gump_poster.jpg","size":16749,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/CrFAmlQGuPXUvYo4bEXQ"},"large":{"url":"https://www.filepicker.io/api/file/QfqP0RxhT16M1Ihnl8s0"}}}],"Actors":["recf38022b2f0db0d"],"Director":["rec09887e80a2692e"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:56:05.000Z"},{"id":"recbe0b3c80a7f198","fields":{"Name":"Pulp Fiction","Description":"Pulp Fiction is a 1994 American black comedy crime film directed by Quentin Tarantino, who also co-wrote the screenplay with Roger Avary.[4] The film is known for its eclectic dialogue, ironic mix of humor and violence, nonlinear storyline, and a host of cinematic allusions and pop culture references. The film was nominated for seven Oscars, including Best Picture; Tarantino and Avary won for Best Original Screenplay. It was also awarded the Palme d'Or at the 1994 Cannes Film Festival. A major critical and commercial success, it revitalized the career of its leading man, John Travolta, who received an Academy Award nomination, as did costars Samuel L. Jackson and Uma Thurman.","Photos":[{"id":"att2ffd5c8228a3b4","url":"https://www.filepicker.io/api/file/zmp3hzNfSBeVQ0VVgeGo","filename":"215px-Pulp_Fiction_cover.jpg","size":25639,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/SQUt2mMNRECklIZGo1YQ"},"large":{"url":"https://www.filepicker.io/api/file/bLnd5eRDR0CCqHvwYrzd"}}}],"Actors":["recb59fc29ee5d646","rec6e2912ac04090c","recaad7f7c2fc0250"],"Director":["rec6caf9605f137c9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"},{"id":"rec6f45f58180d5c7","fields":{"Name":"Seven Samurai","Description":"Seven Samurai[1] (???? Shichinin no Samurai?) is a 1954 Japanese period adventure drama film co-written, edited, and directed by Akira Kurosawa. The film takes place in 1587 during the Warring States Period of Japan. It follows the story of a village of farmers that hire seven masterless samurai (ronin) to combat bandits who will return after the harvest to steal their crops.","Photos":[{"id":"attfb51ccc438566b","url":"https://www.filepicker.io/api/file/dwIdgUEQweSkN4KzLLWQ","filename":"Seven_Samurai_movie_poster.jpg","size":37313,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/hAByh5GPS5CshvPRvSGI"},"large":{"url":"https://www.filepicker.io/api/file/Pfw2GtXBQanfuaxLgEKW"}}}],"Actors":["rec256a53744da609"],"Director":["rec051acc552ecc58"],"Genre":["Adventure","Drama"]},"createdTime":"2014-07-18T04:57:03.000Z"},{"id":"rec6733da527dd0f1","fields":{"Name":"The Godfather","Description":"The Godfather is a 1972 American crime film film directed by Francis Ford Coppola and produced by Albert S. Ruddy and based on Mario Puzo's best-selling novel novel of the same name. The film stars Marlon Brando and Al Pacino as the leaders of a fictional New York crime family. The story, spanning the years 1945 to 1955, centers on the transformation of Michael Corleone from reluctant family outsider to ruthless Mafia boss while also chronicling the family under the patriarch Vito Corleone.","Photos":[{"id":"att6dba4af5786df1","url":"https://www.filepicker.io/api/file/akW7wUX7QM66a2hjxb9k","filename":"220px-TheGodfatherAlPacinoMarlonBrando.jpg","size":16420,"type":"image/jpeg","thumbnails":{"small":{"url":"https://www.filepicker.io/api/file/XvbySDtbSxymbbUJzCoN"},"large":{"url":"https://www.filepicker.io/api/file/Fpc86btaS1Stl79SvHX4"}}},{"id":"attzWvarnmYBBd2Wm","url":"https://dl.airtable.com/jJqBm304SBWBrF3dXn12_Lighthouse.jpg","filename":"Lighthouse.jpg","size":561276,"type":"image/jpeg","thumbnails":{"small":{"url":"https://dl.airtable.com/MbdRAn4ZQLuNyUqrHONp_small_Lighthouse.jpg","width":48,"height":36},"large":{"url":"https://dl.airtable.com/8QX7f3nSAe6lrOxeuvTP_large_Lighthouse.jpg","width":512,"height":512}}}],"Actors":["recc8841a14245b0b","rec514228ed76ced1"],"Director":["recfaf64fe0db19a9"],"Genre":["Drama"]},"createdTime":"2014-07-18T04:42:06.000Z"}]} \ No newline at end of file diff --git a/src/test/resources/__files/body-SerializedName.json b/src/test/resources/__files/body-SerializedName.json deleted file mode 100644 index be48906..0000000 --- a/src/test/resources/__files/body-SerializedName.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "records": [ - { - "id": "rec514228ed76ced1", - "fields": { - "First- & Lastname": "Marlon Brando", - "Filmography": [ - "rec6733da527dd0f1" - ], - "Biography of Actor": "Marlon Brando, Jr. (April 3, 1924 – July 1, 2004) was an American actor. He is hailed for bringing a gripping realism to film acting, and is widely co..." - }, - "createdTime": "2014-07-18T04:48:25.000Z" - } - ] -} \ No newline at end of file diff --git a/src/test/resources/__files/faviconico-cf88d9f4-0663-4a23-a485-1700111e0476.json b/src/test/resources/__files/faviconico-cf88d9f4-0663-4a23-a485-1700111e0476.json new file mode 100644 index 0000000..555739d --- /dev/null +++ b/src/test/resources/__files/faviconico-cf88d9f4-0663-4a23-a485-1700111e0476.json @@ -0,0 +1 @@ +{"error":"NOT_FOUND"} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_actors-7339b89b-4783-4b03-9c07-8f538ce01fa4.json b/src/test/resources/mappings/appttha5pfjnvfjdu_actors-7339b89b-4783-4b03-9c07-8f538ce01fa4.json new file mode 100644 index 0000000..c25dcf4 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_actors-7339b89b-4783-4b03-9c07-8f538ce01fa4.json @@ -0,0 +1,39 @@ +{ + "id" : "7339b89b-4783-4b03-9c07-8f538ce01fa4", + "name" : "appttha5pfjnvfjdu_actors", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Actors", + "method" : "POST", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + }, + "bodyPatterns" : [ { + "equalToJson" : "{\"fields\":{\"Name\":\"Neuer Actor\"}}", + "ignoreArrayOrder" : false, + "ignoreExtraElements" : true + } ] + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_actors-7339b89b-4783-4b03-9c07-8f538ce01fa4.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:09:24 GMT", + "ETag" : "W/\"63-2lUdJY5Bax/eu11jWcyAVPek29Q\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "7339b89b-4783-4b03-9c07-8f538ce01fa4", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_actors_not-succesfull-261f56cc-00e8-4017-bf9e-21e9748e533a.json b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_not-succesfull-261f56cc-00e8-4017-bf9e-21e9748e533a.json new file mode 100644 index 0000000..3ed3c4d --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_not-succesfull-261f56cc-00e8-4017-bf9e-21e9748e533a.json @@ -0,0 +1,30 @@ +{ + "id" : "261f56cc-00e8-4017-bf9e-21e9748e533a", + "name" : "appttha5pfjnvfjdu_actors_not-succesfull", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Actors/not%20succesfull", + "method" : "DELETE", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + } + } + }, + "response" : { + "status" : 404, + "bodyFileName" : "appttha5pfjnvfjdu_actors_not-succesfull-261f56cc-00e8-4017-bf9e-21e9748e533a.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 11:55:40 GMT", + "ETag" : "W/\"15-tcRCab2ZDkTZ4I9Oh2TI8Kt8AAg\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "261f56cc-00e8-4017-bf9e-21e9748e533a", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_actors_not-succesfull-4bace684-7816-4a02-810d-cc1593ed8aad.json b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_not-succesfull-4bace684-7816-4a02-810d-cc1593ed8aad.json new file mode 100644 index 0000000..640a3c8 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_not-succesfull-4bace684-7816-4a02-810d-cc1593ed8aad.json @@ -0,0 +1,30 @@ +{ + "id" : "4bace684-7816-4a02-810d-cc1593ed8aad", + "name" : "appttha5pfjnvfjdu_actors_not-succesfull", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Actors/not%20succesfull", + "method" : "DELETE", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + } + } + }, + "response" : { + "status" : 404, + "bodyFileName" : "appttha5pfjnvfjdu_actors_not-succesfull-4bace684-7816-4a02-810d-cc1593ed8aad.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:09:38 GMT", + "ETag" : "W/\"15-tcRCab2ZDkTZ4I9Oh2TI8Kt8AAg\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "4bace684-7816-4a02-810d-cc1593ed8aad", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_actors_notexistend-38fd29a8-bb4f-41b2-9481-a173df9d4c4f.json b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_notexistend-38fd29a8-bb4f-41b2-9481-a173df9d4c4f.json new file mode 100644 index 0000000..739afec --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_notexistend-38fd29a8-bb4f-41b2-9481-a173df9d4c4f.json @@ -0,0 +1,30 @@ +{ + "id" : "38fd29a8-bb4f-41b2-9481-a173df9d4c4f", + "name" : "appttha5pfjnvfjdu_actors_notexistend", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Actors/notexistend", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + } + } + }, + "response" : { + "status" : 404, + "bodyFileName" : "appttha5pfjnvfjdu_actors_notexistend-38fd29a8-bb4f-41b2-9481-a173df9d4c4f.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:07:56 GMT", + "ETag" : "W/\"15-tcRCab2ZDkTZ4I9Oh2TI8Kt8AAg\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "38fd29a8-bb4f-41b2-9481-a173df9d4c4f", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_actors_recat6z10eyd6nteh-abe94bb9-9dd8-4dfa-b00a-dd9a56595983.json b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_recat6z10eyd6nteh-abe94bb9-9dd8-4dfa-b00a-dd9a56595983.json new file mode 100644 index 0000000..b58b6fd --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_recat6z10eyd6nteh-abe94bb9-9dd8-4dfa-b00a-dd9a56595983.json @@ -0,0 +1,30 @@ +{ + "id" : "abe94bb9-9dd8-4dfa-b00a-dd9a56595983", + "name" : "appttha5pfjnvfjdu_actors_recat6z10eyd6nteh", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Actors/recAt6z10EYD6NtEH", + "method" : "DELETE", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_actors_recat6z10eyd6nteh-abe94bb9-9dd8-4dfa-b00a-dd9a56595983.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 11:55:40 GMT", + "ETag" : "W/\"29-obXUj5+G9FmX/jkXs9vs52CY13M\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "abe94bb9-9dd8-4dfa-b00a-dd9a56595983", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-cc8a35db-9c22-4784-ac50-3608eb7f0479.json b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-cc8a35db-9c22-4784-ac50-3608eb7f0479.json new file mode 100644 index 0000000..c2aebb4 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-cc8a35db-9c22-4784-ac50-3608eb7f0479.json @@ -0,0 +1,39 @@ +{ + "id" : "cc8a35db-9c22-4784-ac50-3608eb7f0479", + "name" : "appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Actors/recEtUIW6FWtbEDKz", + "method" : "PATCH", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + }, + "bodyPatterns" : [ { + "equalToJson" : "{\"fields\":{\"Name\":\"Neuer Name\"}}", + "ignoreArrayOrder" : false, + "ignoreExtraElements" : true + } ] + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-cc8a35db-9c22-4784-ac50-3608eb7f0479.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:09:49 GMT", + "ETag" : "W/\"58b-EX4YxFerjhFAbJKAQmHQt7IMjAY\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "cc8a35db-9c22-4784-ac50-3608eb7f0479", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-e36f3789-bee2-47d2-bc54-1d12addcac25.json b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-e36f3789-bee2-47d2-bc54-1d12addcac25.json new file mode 100644 index 0000000..506da5a --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-e36f3789-bee2-47d2-bc54-1d12addcac25.json @@ -0,0 +1,30 @@ +{ + "id" : "e36f3789-bee2-47d2-bc54-1d12addcac25", + "name" : "appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Actors/recEtUIW6FWtbEDKz", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_actors_recetuiw6fwtbedkz-e36f3789-bee2-47d2-bc54-1d12addcac25.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:07:57 GMT", + "ETag" : "W/\"57a-7kicp2MJGCyJKafkS+SdX29FZLI\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "e36f3789-bee2-47d2-bc54-1d12addcac25", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-0b6ca0e6-a47c-4958-9748-58312c742392.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-0b6ca0e6-a47c-4958-9748-58312c742392.json new file mode 100644 index 0000000..ced2266 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-0b6ca0e6-a47c-4958-9748-58312c742392.json @@ -0,0 +1,34 @@ +{ + "id" : "0b6ca0e6-a47c-4958-9748-58312c742392", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?sort%5B0%5D%5Bfield%5D=Name&sort%5B0%5D%5Bdirection%5D=desc", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-0b6ca0e6-a47c-4958-9748-58312c742392.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:14 GMT", + "ETag" : "W/\"2d92-XxA0CQ3gnAWLvaT+1cJ9ZBUbSwo\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "0b6ca0e6-a47c-4958-9748-58312c742392", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-11b60da8-5303-4dc6-a004-a4b5e6a52095.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-11b60da8-5303-4dc6-a004-a4b5e6a52095.json new file mode 100644 index 0000000..831a522 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-11b60da8-5303-4dc6-a004-a4b5e6a52095.json @@ -0,0 +1,34 @@ +{ + "id" : "11b60da8-5303-4dc6-a004-a4b5e6a52095", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?pageSize=10", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-11b60da8-5303-4dc6-a004-a4b5e6a52095.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:11 GMT", + "ETag" : "W/\"2d92-MN9ISncYSwdiyAqf4/jZC75Tm8A\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "11b60da8-5303-4dc6-a004-a4b5e6a52095", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-24724d8d-2f58-4fea-b000-ea5e403c9bdb.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-24724d8d-2f58-4fea-b000-ea5e403c9bdb.json new file mode 100644 index 0000000..cbc57e9 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-24724d8d-2f58-4fea-b000-ea5e403c9bdb.json @@ -0,0 +1,34 @@ +{ + "id" : "24724d8d-2f58-4fea-b000-ea5e403c9bdb", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?maxRecords=2", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-24724d8d-2f58-4fea-b000-ea5e403c9bdb.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:09 GMT", + "ETag" : "W/\"941-uC+lOvjYmHsP1w/ihII9wL7iDy0\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "24724d8d-2f58-4fea-b000-ea5e403c9bdb", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-2d322fc9-6a85-4fdb-8016-6041fa8edf2e.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-2d322fc9-6a85-4fdb-8016-6041fa8edf2e.json new file mode 100644 index 0000000..920459e --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-2d322fc9-6a85-4fdb-8016-6041fa8edf2e.json @@ -0,0 +1,34 @@ +{ + "id" : "2d322fc9-6a85-4fdb-8016-6041fa8edf2e", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?pageSize=3", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-2d322fc9-6a85-4fdb-8016-6041fa8edf2e.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:12 GMT", + "ETag" : "W/\"104f-9mhlgJLbtrJ4/mbT0C5blYKsqKg\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "2d322fc9-6a85-4fdb-8016-6041fa8edf2e", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-2d7d4b48-ff3d-4019-affc-c1836d6d8e6c.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-2d7d4b48-ff3d-4019-affc-c1836d6d8e6c.json new file mode 100644 index 0000000..118ad9f --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-2d7d4b48-ff3d-4019-affc-c1836d6d8e6c.json @@ -0,0 +1,34 @@ +{ + "id" : "2d7d4b48-ff3d-4019-affc-c1836d6d8e6c", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?sort%5B0%5D%5Bfield%5D=Name&sort%5B0%5D%5Bdirection%5D=asc", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-2d7d4b48-ff3d-4019-affc-c1836d6d8e6c.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:54 GMT", + "ETag" : "W/\"2d92-VnYR2pum4whGo4SAgTn962gr2ck\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "2d7d4b48-ff3d-4019-affc-c1836d6d8e6c", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-48c8b998-a8d0-48e9-a98d-d74d24491e49.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-48c8b998-a8d0-48e9-a98d-d74d24491e49.json new file mode 100644 index 0000000..6a15376 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-48c8b998-a8d0-48e9-a98d-d74d24491e49.json @@ -0,0 +1,39 @@ +{ + "id" : "48c8b998-a8d0-48e9-a98d-d74d24491e49", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies", + "method" : "POST", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + }, + "bodyPatterns" : [ { + "equalToJson" : "{\"fields\":{\"Name\":\"Neuer Film\",\"Photos\":[{\"id\":\"1\",\"url\":\"https://www.example.imgae.file1.de\"}]}}", + "ignoreArrayOrder" : false, + "ignoreExtraElements" : true + } ] + }, + "response" : { + "status" : 422, + "bodyFileName" : "appttha5pfjnvfjdu_movies-48c8b998-a8d0-48e9-a98d-d74d24491e49.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:09:23 GMT", + "ETag" : "W/\"b0-FHo5KKFWPz6U3Tj5V/o2ECWDrSU\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "48c8b998-a8d0-48e9-a98d-d74d24491e49", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-4a5d270d-f108-4f93-81f5-329b2a074026.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-4a5d270d-f108-4f93-81f5-329b2a074026.json new file mode 100644 index 0000000..dd6d2d8 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-4a5d270d-f108-4f93-81f5-329b2a074026.json @@ -0,0 +1,34 @@ +{ + "id" : "4a5d270d-f108-4f93-81f5-329b2a074026", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?pageSize=3&offset=itrXLN3EPT3UMhyqp%2FrecCo4zX4HOsgDEEJ", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-4a5d270d-f108-4f93-81f5-329b2a074026.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:12 GMT", + "ETag" : "W/\"1019-aXjPJj6TbrDTn3ABm1QOYniinQE\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "4a5d270d-f108-4f93-81f5-329b2a074026", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-51338c9f-b2ed-4c09-8a13-a02fa88fcb99.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-51338c9f-b2ed-4c09-8a13-a02fa88fcb99.json new file mode 100644 index 0000000..683c869 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-51338c9f-b2ed-4c09-8a13-a02fa88fcb99.json @@ -0,0 +1,39 @@ +{ + "id" : "51338c9f-b2ed-4c09-8a13-a02fa88fcb99", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies", + "method" : "POST", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + }, + "bodyPatterns" : [ { + "equalToJson" : "{\"fields\":{\"Name\":\"Neuer Film\",\"Description\":\"Irgendwas\",\"Director\":[\"recPxOZblV8yJU4mY\"],\"Actors\":[\"recEtUIW6FWtbEDKz\",\"recInYFZ1DQpeCuSz\"],\"Genre\":[\"Drama\"]}}", + "ignoreArrayOrder" : false, + "ignoreExtraElements" : true + } ] + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-51338c9f-b2ed-4c09-8a13-a02fa88fcb99.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:09:25 GMT", + "ETag" : "W/\"e2-YrCOgb6ulCTkmGQewtAPiG3BrqQ\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "51338c9f-b2ed-4c09-8a13-a02fa88fcb99", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-68129618-f52a-46c7-890b-efdab40ee08f.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-68129618-f52a-46c7-890b-efdab40ee08f.json new file mode 100644 index 0000000..504ea9b --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-68129618-f52a-46c7-890b-efdab40ee08f.json @@ -0,0 +1,34 @@ +{ + "id" : "68129618-f52a-46c7-890b-efdab40ee08f", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?view=Dramas", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-68129618-f52a-46c7-890b-efdab40ee08f.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:13 GMT", + "ETag" : "W/\"19cf-ahl+d0fM0M6JTJg98qhpomKZ1jI\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "68129618-f52a-46c7-890b-efdab40ee08f", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-68160dad-c762-481f-86d4-1372db3bdf01.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-68160dad-c762-481f-86d4-1372db3bdf01.json new file mode 100644 index 0000000..5cd9191 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-68160dad-c762-481f-86d4-1372db3bdf01.json @@ -0,0 +1,34 @@ +{ + "id" : "68160dad-c762-481f-86d4-1372db3bdf01", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?view=Main+View", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-68160dad-c762-481f-86d4-1372db3bdf01.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:56 GMT", + "ETag" : "W/\"2d92-QF96QJzKNAHUnc4q8m5oFQCNsXc\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "68160dad-c762-481f-86d4-1372db3bdf01", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-6d9c7205-4268-4f63-a500-3150a039404c.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-6d9c7205-4268-4f63-a500-3150a039404c.json new file mode 100644 index 0000000..a6a487a --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-6d9c7205-4268-4f63-a500-3150a039404c.json @@ -0,0 +1,34 @@ +{ + "id" : "6d9c7205-4268-4f63-a500-3150a039404c", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?pageSize=3&offset=itrXLN3EPT3UMhyqp%2FrecFrUv93z0u5FuJF", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-6d9c7205-4268-4f63-a500-3150a039404c.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:13 GMT", + "ETag" : "W/\"da2-P/QlIyvbi5jXacu/nHt3FeQUe7w\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "6d9c7205-4268-4f63-a500-3150a039404c", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-bb5553df-2eee-4dae-8916-1a292290f92b.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-bb5553df-2eee-4dae-8916-1a292290f92b.json new file mode 100644 index 0000000..676c8af --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-bb5553df-2eee-4dae-8916-1a292290f92b.json @@ -0,0 +1,39 @@ +{ + "id" : "bb5553df-2eee-4dae-8916-1a292290f92b", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies", + "method" : "POST", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + }, + "bodyPatterns" : [ { + "equalToJson" : "{\"fields\":{\"Name\":\"Neuer Film\",\"Photos\":[{\"url\":\"https://www.example.imgae.file1.de\"},{\"url\":\"https://www.example.imgae.file2.de\"}]}}", + "ignoreArrayOrder" : false, + "ignoreExtraElements" : true + } ] + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-bb5553df-2eee-4dae-8916-1a292290f92b.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:09:26 GMT", + "ETag" : "W/\"139-NxJexOkTTnujok9tSJlCo7bvj3M\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "bb5553df-2eee-4dae-8916-1a292290f92b", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-c7639337-faaa-4f0c-b63d-29e3f779ff3f.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-c7639337-faaa-4f0c-b63d-29e3f779ff3f.json new file mode 100644 index 0000000..dc641ca --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-c7639337-faaa-4f0c-b63d-29e3f779ff3f.json @@ -0,0 +1,34 @@ +{ + "id" : "c7639337-faaa-4f0c-b63d-29e3f779ff3f", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?fields%5B%5D=Name", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-c7639337-faaa-4f0c-b63d-29e3f779ff3f.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:10 GMT", + "ETag" : "W/\"39a-pylScIMiJ//OZsIGEtysymn/kLg\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "c7639337-faaa-4f0c-b63d-29e3f779ff3f", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-d65ad9fb-4b1d-4d68-a709-f7daf62e7cd8.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-d65ad9fb-4b1d-4d68-a709-f7daf62e7cd8.json new file mode 100644 index 0000000..10ceda4 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-d65ad9fb-4b1d-4d68-a709-f7daf62e7cd8.json @@ -0,0 +1,34 @@ +{ + "id" : "d65ad9fb-4b1d-4d68-a709-f7daf62e7cd8", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?filterByFormula=NOT%28%7BName%7D+%3D+%27%27%29", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-d65ad9fb-4b1d-4d68-a709-f7daf62e7cd8.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:11 GMT", + "ETag" : "W/\"2d92-MN9ISncYSwdiyAqf4/jZC75Tm8A\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "d65ad9fb-4b1d-4d68-a709-f7daf62e7cd8", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-e06cff34-4056-4a90-8fd9-fee9fd660586.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-e06cff34-4056-4a90-8fd9-fee9fd660586.json new file mode 100644 index 0000000..f47c72f --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-e06cff34-4056-4a90-8fd9-fee9fd660586.json @@ -0,0 +1,34 @@ +{ + "id" : "e06cff34-4056-4a90-8fd9-fee9fd660586", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-e06cff34-4056-4a90-8fd9-fee9fd660586.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:55 GMT", + "ETag" : "W/\"2d92-MN9ISncYSwdiyAqf4/jZC75Tm8A\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "e06cff34-4056-4a90-8fd9-fee9fd660586", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-f761fc98-71d2-41db-85ca-be96f15d408c.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-f761fc98-71d2-41db-85ca-be96f15d408c.json new file mode 100644 index 0000000..ed70d82 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-f761fc98-71d2-41db-85ca-be96f15d408c.json @@ -0,0 +1,34 @@ +{ + "id" : "f761fc98-71d2-41db-85ca-be96f15d408c", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?maxRecords=2", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-f761fc98-71d2-41db-85ca-be96f15d408c.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:56 GMT", + "ETag" : "W/\"941-uC+lOvjYmHsP1w/ihII9wL7iDy0\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "f761fc98-71d2-41db-85ca-be96f15d408c", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies-f7acecbb-ed53-4dc4-8aea-f8561dae1f53.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-f7acecbb-ed53-4dc4-8aea-f8561dae1f53.json new file mode 100644 index 0000000..d04cbdd --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies-f7acecbb-ed53-4dc4-8aea-f8561dae1f53.json @@ -0,0 +1,34 @@ +{ + "id" : "f7acecbb-ed53-4dc4-8aea-f8561dae1f53", + "name" : "appttha5pfjnvfjdu_movies", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies?sort%5B0%5D%5Bfield%5D=Name&sort%5B0%5D%5Bdirection%5D=desc", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies-f7acecbb-ed53-4dc4-8aea-f8561dae1f53.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:54 GMT", + "ETag" : "W/\"2d92-XxA0CQ3gnAWLvaT+1cJ9ZBUbSwo\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "f7acecbb-ed53-4dc4-8aea-f8561dae1f53", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-177939f3-ddc4-4a1c-92bc-5a3dc93183d4.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-177939f3-ddc4-4a1c-92bc-5a3dc93183d4.json new file mode 100644 index 0000000..9d1a27b --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-177939f3-ddc4-4a1c-92bc-5a3dc93183d4.json @@ -0,0 +1,30 @@ +{ + "id" : "177939f3-ddc4-4a1c-92bc-5a3dc93183d4", + "name" : "appttha5pfjnvfjdu_movies_recfj9j78mltiffmz", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies/recFj9J78MLtiFFMz", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-177939f3-ddc4-4a1c-92bc-5a3dc93183d4.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:07:13 GMT", + "ETag" : "W/\"67b-1DcxsW1zMTbzZlI64cGdbpdBvs4\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "177939f3-ddc4-4a1c-92bc-5a3dc93183d4", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-aab5592a-0981-4b94-b9ce-da632df2bb73.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-aab5592a-0981-4b94-b9ce-da632df2bb73.json new file mode 100644 index 0000000..a19bf85 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-aab5592a-0981-4b94-b9ce-da632df2bb73.json @@ -0,0 +1,30 @@ +{ + "id" : "aab5592a-0981-4b94-b9ce-da632df2bb73", + "name" : "appttha5pfjnvfjdu_movies_recfj9j78mltiffmz", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies/recFj9J78MLtiFFMz", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-aab5592a-0981-4b94-b9ce-da632df2bb73.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:06:14 GMT", + "ETag" : "W/\"67b-1DcxsW1zMTbzZlI64cGdbpdBvs4\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "aab5592a-0981-4b94-b9ce-da632df2bb73", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-bbbe2e3f-4ee4-4930-807b-db29303e1800.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-bbbe2e3f-4ee4-4930-807b-db29303e1800.json new file mode 100644 index 0000000..276416d --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-bbbe2e3f-4ee4-4930-807b-db29303e1800.json @@ -0,0 +1,30 @@ +{ + "id" : "bbbe2e3f-4ee4-4930-807b-db29303e1800", + "name" : "appttha5pfjnvfjdu_movies_recfj9j78mltiffmz", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies/recFj9J78MLtiFFMz", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-bbbe2e3f-4ee4-4930-807b-db29303e1800.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:07:15 GMT", + "ETag" : "W/\"67b-1DcxsW1zMTbzZlI64cGdbpdBvs4\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "bbbe2e3f-4ee4-4930-807b-db29303e1800", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-e28faa25-a908-4e68-8826-be8edecccd4e.json b/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-e28faa25-a908-4e68-8826-be8edecccd4e.json new file mode 100644 index 0000000..cb7bf76 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-e28faa25-a908-4e68-8826-be8edecccd4e.json @@ -0,0 +1,30 @@ +{ + "id" : "e28faa25-a908-4e68-8826-be8edecccd4e", + "name" : "appttha5pfjnvfjdu_movies_recfj9j78mltiffmz", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/Movies/recFj9J78MLtiFFMz", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "appttha5pfjnvfjdu_movies_recfj9j78mltiffmz-e28faa25-a908-4e68-8826-be8edecccd4e.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:07:14 GMT", + "ETag" : "W/\"67b-1DcxsW1zMTbzZlI64cGdbpdBvs4\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "e28faa25-a908-4e68-8826-be8edecccd4e", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/appttha5pfjnvfjdu_notexists-cdeabff0-2dc1-46d0-9ea7-6849df0303b5.json b/src/test/resources/mappings/appttha5pfjnvfjdu_notexists-cdeabff0-2dc1-46d0-9ea7-6849df0303b5.json new file mode 100644 index 0000000..dba8f76 --- /dev/null +++ b/src/test/resources/mappings/appttha5pfjnvfjdu_notexists-cdeabff0-2dc1-46d0-9ea7-6849df0303b5.json @@ -0,0 +1,34 @@ +{ + "id" : "cdeabff0-2dc1-46d0-9ea7-6849df0303b5", + "name" : "appttha5pfjnvfjdu_notexists", + "request" : { + "url" : "/appTtHA5PfJnVfjdu/NotExists", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "application/json" + }, + "Content-Type" : { + "equalTo" : "application/json", + "caseInsensitive" : true + } + } + }, + "response" : { + "status" : 404, + "bodyFileName" : "appttha5pfjnvfjdu_notexists-cdeabff0-2dc1-46d0-9ea7-6849df0303b5.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:08:57 GMT", + "ETag" : "W/\"70-+tcoMcc8IP8D9SEJsCke+gfZhwU\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "cdeabff0-2dc1-46d0-9ea7-6849df0303b5", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/faviconico-cf88d9f4-0663-4a23-a485-1700111e0476.json b/src/test/resources/mappings/faviconico-cf88d9f4-0663-4a23-a485-1700111e0476.json new file mode 100644 index 0000000..67dee50 --- /dev/null +++ b/src/test/resources/mappings/faviconico-cf88d9f4-0663-4a23-a485-1700111e0476.json @@ -0,0 +1,30 @@ +{ + "id" : "cf88d9f4-0663-4a23-a485-1700111e0476", + "name" : "faviconico", + "request" : { + "url" : "/favicon.ico", + "method" : "GET", + "headers" : { + "Accept" : { + "equalTo" : "image/webp,image/apng,image/*,*/*;q=0.8" + } + } + }, + "response" : { + "status" : 404, + "bodyFileName" : "faviconico-cf88d9f4-0663-4a23-a485-1700111e0476.json", + "headers" : { + "access-control-allow-headers" : "content-type, authorization, content-length, x-requested-with, x-api-version, x-airtable-application-id", + "access-control-allow-methods" : "GET,PUT,POST,PATCH,DELETE,OPTIONS", + "access-control-allow-origin" : "*", + "Content-Type" : "application/json; charset=utf-8", + "Date" : "Thu, 14 Sep 2017 10:00:19 GMT", + "ETag" : "W/\"15-tcRCab2ZDkTZ4I9Oh2TI8Kt8AAg\"", + "Server" : "Tengine", + "Vary" : "Accept-Encoding", + "Connection" : "keep-alive" + } + }, + "uuid" : "cf88d9f4-0663-4a23-a485-1700111e0476", + "persistent" : true +} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ActorCreate.json b/src/test/resources/mappings/mapping-ActorCreate.json deleted file mode 100644 index 0c3924c..0000000 --- a/src/test/resources/mappings/mapping-ActorCreate.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Actors", - "method" : "POST", - "bodyPatterns" : [{"equalToJson" : "{\"fields\":{\"Name\": \"Neuer Actor\"}}"}] - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ActorCreate.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ActorDelete.json b/src/test/resources/mappings/mapping-ActorDelete.json deleted file mode 100644 index 0ce8f0e..0000000 --- a/src/test/resources/mappings/mapping-ActorDelete.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Actors/recapJ3Js8AEwt0Bf", - "method" : "DELETE" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ActorDelete.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ActorUpdate.json b/src/test/resources/mappings/mapping-ActorUpdate.json deleted file mode 100644 index 29fb493..0000000 --- a/src/test/resources/mappings/mapping-ActorUpdate.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Actors/rec514228ed76ced1", - "method" : "PATCH", - "bodyPatterns" : [{"equalToJson" : "{\"fields\":{\"Name\": \"Neuer Name\"}}"}] - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ActorUpdate.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ActorsFind.json b/src/test/resources/mappings/mapping-ActorsFind.json deleted file mode 100644 index dc1fafa..0000000 --- a/src/test/resources/mappings/mapping-ActorsFind.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Actors/rec514228ed76ced1", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ActorFind.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ActorsList.json b/src/test/resources/mappings/mapping-ActorsList.json deleted file mode 100644 index 9b8460e..0000000 --- a/src/test/resources/mappings/mapping-ActorsList.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Actors", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-Actors.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ActorsListSerializedNames.json b/src/test/resources/mappings/mapping-ActorsListSerializedNames.json deleted file mode 100644 index 4355bc9..0000000 --- a/src/test/resources/mappings/mapping-ActorsListSerializedNames.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/SerializedNames", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-SerializedName.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-MovieCreate.json b/src/test/resources/mappings/mapping-MovieCreate.json deleted file mode 100644 index cb3d7c9..0000000 --- a/src/test/resources/mappings/mapping-MovieCreate.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies", - "method" : "POST", - "bodyPatterns" : [{"equalToJson" : "{\"fields\":{\"Name\":\"Neuer Film\",\"Description\":\"Irgendwas\",\"Director\":[\"recfaf64fe0db19a9\"],\"Actors\":[\"recc8841a14245b0b\",\"rec514228ed76ced1\"],\"Genre\":[\"Drama\"]}}", - "ignoreArrayOrder" : true, - "ignoreExtraElements" : true - }] -}, - "response" : { - "status" : 200, - "bodyFileName" : "/body-MovieCreate.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-MovieCreate2.json b/src/test/resources/mappings/mapping-MovieCreate2.json deleted file mode 100644 index 0e0edd0..0000000 --- a/src/test/resources/mappings/mapping-MovieCreate2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies", - "method" : "POST", - "bodyPatterns" : [{"equalToJson" : "{\"fields\":{\"Name\":\"Neuer Film\",\"Photos\": [{\"url\":\"https://www.example.imgae.file1.de\"},{\"url\":\"https://www.example.imgae.file2.de\"}]}}", - "ignoreArrayOrder" : true, - "ignoreExtraElements" : true - }] -}, - "response" : { - "status" : 200, - "bodyFileName" : "/body-MovieCreate2.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-MovieFind.json b/src/test/resources/mappings/mapping-MovieFind.json deleted file mode 100644 index 326b51b..0000000 --- a/src/test/resources/mappings/mapping-MovieFind.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies/rec6733da527dd0f1", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-MoviesFind.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-MoviesList.json b/src/test/resources/mappings/mapping-MoviesList.json deleted file mode 100644 index 50d53e5..0000000 --- a/src/test/resources/mappings/mapping-MoviesList.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-Movies.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-MoviesListMainView.json b/src/test/resources/mappings/mapping-MoviesListMainView.json deleted file mode 100644 index 55e50eb..0000000 --- a/src/test/resources/mappings/mapping-MoviesListMainView.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?view=Main+View", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-MoviesMainView.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-MoviesListMaxRecords.json b/src/test/resources/mappings/mapping-MoviesListMaxRecords.json deleted file mode 100644 index 7218edd..0000000 --- a/src/test/resources/mappings/mapping-MoviesListMaxRecords.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?maxRecords=2", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-MoviesMaxRecords.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-MoviesListSortedAsc.json b/src/test/resources/mappings/mapping-MoviesListSortedAsc.json deleted file mode 100644 index 892a8f1..0000000 --- a/src/test/resources/mappings/mapping-MoviesListSortedAsc.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request": { - "url": "/v0/appe9941ff07fffcc/Movies?sort%5B0%5D%5Bfield%5D=Name&sort%5B0%5D%5Bdirection%5D=asc", - "method": "GET" - }, - "response": { - "status": 200, - "bodyFileName": "/body-MoviesSortedNameAsc.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-MoviesListSortedDesc.json b/src/test/resources/mappings/mapping-MoviesListSortedDesc.json deleted file mode 100644 index fa8bbcb..0000000 --- a/src/test/resources/mappings/mapping-MoviesListSortedDesc.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request": { - "url": "/v0/appe9941ff07fffcc/Movies?sort%5B0%5D%5Bfield%5D=Name&sort%5B0%5D%5Bdirection%5D=desc", - "method": "GET" - }, - "response": { - "status": 200, - "bodyFileName": "/body-MoviesSortedNameDesc.json" - } -} diff --git a/src/test/resources/mappings/mapping-ParameterSelectFields.json b/src/test/resources/mappings/mapping-ParameterSelectFields.json deleted file mode 100644 index df8c99e..0000000 --- a/src/test/resources/mappings/mapping-ParameterSelectFields.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?fields%5B%5D=Name", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectFields.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ParameterSelectFormula.json b/src/test/resources/mappings/mapping-ParameterSelectFormula.json deleted file mode 100644 index 0bfa97d..0000000 --- a/src/test/resources/mappings/mapping-ParameterSelectFormula.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?filterByFormula=NOT%28%7BName%7D+%3D+%27%27%29", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectFormula.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ParameterSelectMaxRecords.json b/src/test/resources/mappings/mapping-ParameterSelectMaxRecords.json deleted file mode 100644 index 9b72d97..0000000 --- a/src/test/resources/mappings/mapping-ParameterSelectMaxRecords.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?pageSize=10", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectPageSize.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ParameterSelectPageSize.json b/src/test/resources/mappings/mapping-ParameterSelectPageSize.json deleted file mode 100644 index 7378b93..0000000 --- a/src/test/resources/mappings/mapping-ParameterSelectPageSize.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?paheSize=10", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectPageSize.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ParameterSelectSort.json b/src/test/resources/mappings/mapping-ParameterSelectSort.json deleted file mode 100644 index b54a2db..0000000 --- a/src/test/resources/mappings/mapping-ParameterSelectSort.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?sort%5B0%5D%5Bfield%5D=Name&sort%5B0%5D%5Bdirection%5D=desc", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectSort.json" - } -} \ No newline at end of file diff --git a/src/test/resources/mappings/mapping-ParameterSelectView.json b/src/test/resources/mappings/mapping-ParameterSelectView.json deleted file mode 100644 index 969144e..0000000 --- a/src/test/resources/mappings/mapping-ParameterSelectView.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "request" : { - "url" : "/v0/appe9941ff07fffcc/Movies?view=Dramas", - "method" : "GET" - }, - "response" : { - "status" : 200, - "bodyFileName" : "/body-ParameterSelectView.json" - } -} \ No newline at end of file