2022-11-11 15:52:01,947 main DEBUG Apache Log4j Core 2.17.2 initializing configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2ef8a8c3 2022-11-11 15:52:01,950 main DEBUG PluginManager 'Core' found 127 plugins 2022-11-11 15:52:01,951 main DEBUG PluginManager 'Level' found 0 plugins 2022-11-11 15:52:01,955 main DEBUG PluginManager 'Lookup' found 17 plugins 2022-11-11 15:52:01,957 main DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef]. 2022-11-11 15:52:01,970 main DEBUG PluginManager 'TypeConverter' found 26 plugins 2022-11-11 15:52:01,982 main DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null) 2022-11-11 15:52:01,983 main DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig]. 2022-11-11 15:52:02,001 main DEBUG LoggerConfig$Builder(additivity="null", level="INFO", levelAndRefs="null", name="io.netty", includeLocation="null", ={STDOUT}, ={}, Configuration(PropertiesConfig), Filter=null) 2022-11-11 15:52:02,004 main DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef]. 2022-11-11 15:52:02,005 main DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null) 2022-11-11 15:52:02,005 main DEBUG Building Plugin[name=root, class=org.apache.logging.log4j.core.config.LoggerConfig$RootLogger]. 2022-11-11 15:52:02,008 main DEBUG LoggerConfig$RootLogger$Builder(additivity="null", level="DEBUG", levelAndRefs="null", includeLocation="null", ={STDOUT}, ={}, Configuration(PropertiesConfig), Filter=null) 2022-11-11 15:52:02,009 main DEBUG Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin]. 2022-11-11 15:52:02,010 main DEBUG createLoggers(={io.netty, root}) 2022-11-11 15:52:02,011 main DEBUG Building Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout]. 2022-11-11 15:52:02,013 main DEBUG PatternLayout$Builder(pattern="%d{HH:mm:ss} [${FolioLoggingContext:requestid}] [${FolioLoggingContext:tenantid}] [${FolioLoggingContext:userid}] [${FolioLoggingContext:moduleid}] %-5p %-20.40C{1} %m%n", PatternSelector=null, Configuration(PropertiesConfig), Replace=null, charset="null", alwaysWriteExceptions="null", disableAnsi="null", noConsoleNoAnsi="null", header="null", footer="null") 2022-11-11 15:52:02,013 main DEBUG PluginManager 'Converter' found 45 plugins 2022-11-11 15:52:02,050 main DEBUG Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.ConsoleAppender]. 2022-11-11 15:52:02,057 main DEBUG ConsoleAppender$Builder(target="null", follow="null", direct="null", bufferedIo="null", bufferSize="null", immediateFlush="null", ignoreExceptions="null", PatternLayout(%d{HH:mm:ss} [${FolioLoggingContext:requestid}] [${FolioLoggingContext:tenantid}] [${FolioLoggingContext:userid}] [${FolioLoggingContext:moduleid}] %-5p %-20.40C{1} %m%n), name="STDOUT", Configuration(PropertiesConfig), Filter=null, ={}) 2022-11-11 15:52:02,063 main DEBUG Starting OutputStreamManager SYSTEM_OUT.false.false 2022-11-11 15:52:02,064 main DEBUG Building Plugin[name=appenders, class=org.apache.logging.log4j.core.config.AppendersPlugin]. 2022-11-11 15:52:02,065 main DEBUG createAppenders(={STDOUT}) 2022-11-11 15:52:02,066 main DEBUG Configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2ef8a8c3 initialized 2022-11-11 15:52:02,067 main DEBUG Starting configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2ef8a8c3 2022-11-11 15:52:02,067 main DEBUG Started configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2ef8a8c3 OK. 2022-11-11 15:52:02,069 main DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false.false-1 2022-11-11 15:52:02,069 main DEBUG OutputStream closed 2022-11-11 15:52:02,069 main DEBUG Shut down OutputStreamManager SYSTEM_OUT.false.false-1, all resources released: true 2022-11-11 15:52:02,070 main DEBUG Appender DefaultConsole-1 stopped with status true 2022-11-11 15:52:02,070 main DEBUG Stopped org.apache.logging.log4j.core.config.DefaultConfiguration@759fad4 OK 2022-11-11 15:52:02,203 main DEBUG Registering MBean org.apache.logging.log4j2:type=4b9af9a9 2022-11-11 15:52:02,208 main DEBUG Registering MBean org.apache.logging.log4j2:type=4b9af9a9,component=StatusLogger 2022-11-11 15:52:02,211 main DEBUG Registering MBean org.apache.logging.log4j2:type=4b9af9a9,component=ContextSelector 2022-11-11 15:52:02,213 main DEBUG Registering MBean org.apache.logging.log4j2:type=4b9af9a9,component=Loggers,name= 2022-11-11 15:52:02,214 main DEBUG Registering MBean org.apache.logging.log4j2:type=4b9af9a9,component=Loggers,name=io.netty 2022-11-11 15:52:02,241 main DEBUG Registering MBean org.apache.logging.log4j2:type=4b9af9a9,component=Appenders,name=STDOUT 2022-11-11 15:52:02,245 main DEBUG org.apache.logging.log4j.core.util.SystemClock supports precise timestamps. 2022-11-11 15:52:02,247 main DEBUG Reconfiguration complete for context[name=4b9af9a9] at URI C:\Users\Khamidulla_Abdulkhak\IdeaProjects\mod-organizations\target\test-classes\log4j2.properties (org.apache.logging.log4j.core.LoggerContext@4fe01805) with optional ClassLoader: null 2022-11-11 15:52:02,247 main DEBUG Shutdown hook enabled. Registering a new one. 2022-11-11 15:52:02,250 main DEBUG LoggerContext[name=4b9af9a9, org.apache.logging.log4j.core.LoggerContext@4fe01805] started OK. 15:52:02 [] [] [] [] DEBUG ? Using io.vertx.core.logging.Log4j2LogDelegateFactory 15:52:06 [] [] [] [] INFO RestVerticle git: https://github.com/folio-org/raml-module-builder.git f04cbc672312039e3dc0d7ca27e9eebfba6c1713 15:52:06 [] [] [] [] INFO RestVerticle metrics enabled: false 15:52:07 [] [] [] [] INFO Messages Loading messages from /infra-messages/APIMessages_en.properties ................................ 15:52:07 [] [] [] [] INFO Messages Loading messages from /infra-messages/APIMessages_de.properties ................................ 15:52:07 [] [] [] [] DEBUG LoggerProviders Logging Provider: org.jboss.logging.Log4j2LoggerProvider 15:52:07 [] [] [] [] INFO Version HV000001: Hibernate Validator 6.2.5.Final 15:52:07 [] [] [] [] DEBUG ValidationXmlParser Trying to load META-INF/validation.xml for XML based Validator configuration. 15:52:07 [] [] [] [] DEBUG ResourceLoaderHelper Trying to load META-INF/validation.xml via TCCL 15:52:07 [] [] [] [] DEBUG ResourceLoaderHelper Trying to load META-INF/validation.xml via Hibernate Validator's class loader 15:52:07 [] [] [] [] DEBUG ValidationXmlParser No META-INF/validation.xml found. Using annotation based configuration only. 15:52:07 [] [] [] [] DEBUG TraversableResolvers Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable. 15:52:07 [] [] [] [] DEBUG ResourceBundleMessageInterpolator Loaded expression factory via original TCCL 15:52:07 [] [] [] [] DEBUG ValidatorFactoryConfigurationHelper HV000252: Using org.hibernate.validator.internal.engine.DefaultPropertyNodeNameProvider as property node name provider. 15:52:07 [] [] [] [] DEBUG ValidatorFactoryConfigurationHelper HV000234: Using org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator as ValidatorFactory-scoped message interpolator. 15:52:07 [] [] [] [] DEBUG ValidatorFactoryConfigurationHelper HV000234: Using org.hibernate.validator.internal.engine.resolver.TraverseAllTraversableResolver as ValidatorFactory-scoped traversable resolver. 15:52:07 [] [] [] [] DEBUG ValidatorFactoryConfigurationHelper HV000234: Using org.hibernate.validator.internal.util.ExecutableParameterNameProvider as ValidatorFactory-scoped parameter name provider. 15:52:07 [] [] [] [] DEBUG ValidatorFactoryConfigurationHelper HV000234: Using org.hibernate.validator.internal.engine.DefaultClockProvider as ValidatorFactory-scoped clock provider. 15:52:07 [] [] [] [] DEBUG ValidatorFactoryConfigurationHelper HV000234: Using org.hibernate.validator.internal.engine.scripting.DefaultScriptEvaluatorFactory as ValidatorFactory-scoped script evaluator factory. 15:52:08 [] [] [] [] INFO RestRouting Adding route DELETE /_/tenant/{operation_id} -> deleteTenantByOperationId 15:52:08 [] [] [] [] INFO RestRouting Adding route GET /_/tenant/{operation_id} -> getTenantByOperationId 15:52:08 [] [] [] [] INFO RestRouting Adding route POST /_/tenant -> postTenant 15:52:09 [] [] [] [] INFO RestRouting Looks like org.folio.rest.jaxrs.resource.Rmbtests is not implemented 15:52:09 [] [] [] [] INFO RestRouting Adding route GET /_/ramls -> getRamls 15:52:09 [] [] [] [] INFO RestRouting Adding route DELETE /organizations/organizations/{id} -> deleteOrganizationsOrganizationsById 15:52:09 [] [] [] [] INFO RestRouting Adding route GET /organizations/organizations/{id} -> getOrganizationsOrganizationsById 15:52:09 [] [] [] [] INFO RestRouting Adding route PUT /organizations/organizations/{id} -> putOrganizationsOrganizationsById 15:52:09 [] [] [] [] INFO RestRouting Adding route GET /organizations/organizations -> getOrganizationsOrganizations 15:52:09 [] [] [] [] INFO RestRouting Adding route POST /organizations/organizations -> postOrganizationsOrganizations 15:52:09 [] [] [] [] WARN ? Thread Thread[vert.x-eventloop-thread-1,5,main] has been blocked for 2775 ms, time limit is 2000 ms 15:52:09 [] [] [] [] INFO RestRouting Adding route GET /_/jsonSchemas -> getJsonSchemas 15:52:10 [] [] [] [] INFO RestRouting Adding route DELETE /admin/kill_query -> deleteAdminKillQuery 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/cache_hit_rates -> getAdminCacheHitRates 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/db_cache_summary -> getAdminDbCacheSummary 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/health -> getAdminHealth 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/jstack -> getAdminJstack 15:52:10 [] [] [] [] INFO RestRouting Adding route PUT /admin/jstack -> putAdminJstack 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/list_locking_queries -> getAdminListLockingQueries 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/loglevel -> getAdminLoglevel 15:52:10 [] [] [] [] INFO RestRouting Adding route PUT /admin/loglevel -> putAdminLoglevel 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/memory -> getAdminMemory 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/postgres_active_sessions -> getAdminPostgresActiveSessions 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/postgres_load -> getAdminPostgresLoad 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/postgres_table_access_stats -> getAdminPostgresTableAccessStats 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/postgres_table_size -> getAdminPostgresTableSize 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/slow_queries -> getAdminSlowQueries 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/table_index_usage -> getAdminTableIndexUsage 15:52:10 [] [] [] [] INFO RestRouting Adding route GET /admin/total_db_size -> getAdminTotalDbSize 15:52:10 [] [] [] [] INFO RestRouting Adding route POST /admin/get_password -> postAdminGetPassword 15:52:10 [] [] [] [] INFO RestRouting Adding route POST /admin/importSQL -> postAdminImportSQL 15:52:10 [] [] [] [] INFO RestRouting Adding route POST /admin/postgres_maintenance -> postAdminPostgresMaintenance 15:52:10 [] [] [] [] INFO RestRouting Adding route POST /admin/set_AES_key -> postAdminSetAESKey 15:52:10 [] [] [] [] INFO RestRouting Adding route PUT /admin/postgres_create_indexes -> putAdminPostgresCreateIndexes 15:52:10 [] [] [] [] INFO RestRouting Adding route PUT /admin/postgres_drop_indexes -> putAdminPostgresDropIndexes 15:52:10 [] [] [] [] INFO RestVerticle Init hook called with implemented class named org.folio.rest.impl.InitAPIs 15:52:10 [] [] [] [] DEBUG AbstractApplicationContext Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7f3aab18 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerProcessor' 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory' 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'context' 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'vertx' 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'applicationConfig' 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'organizationService' 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'protectionService' 15:52:11 [] [] [] [] DEBUG DefaultSingletonBeanRegistry Creating shared instance of singleton bean 'acquisitionUnitsService' 15:52:11 [] [] [] [] INFO RestVerticle Listening port 56042 15:52:13 [] [] [] [] INFO RestVerticle No periodic implementation found, continuing with deployment 15:52:14 [] [] [] [] INFO RestVerticle No Post Deploy Hook implementation found, continuing with deployment 15:52:14 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_NO_ACQ with acq. units change and manage permissions: Successful ===== 15:52:16 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:16 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:16 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:16 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:16 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:16 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:16 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:16 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:16 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: ["organizations.acquisitions-units-assignments.manage"][\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "Content-Length: 391[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:16 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: ["organizations.acquisitions-units-assignments.manage"] 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 391 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:16 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:16 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-NO-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:16 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:16 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:16 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:16 [] [] [] [] DEBUG RestRouting /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-NO-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:17 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:17 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:17 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:17 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:17 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:18 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:18 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f" } 15:52:18 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1+or+aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:18 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1+or+aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:18 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1+or+aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true }, { "id" : "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : false, "protectDelete" : true } ], "totalRecords" : 2 } 15:52:18 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f' with body: { "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name" : "Organization", "code" : "TST-ORG-NO-ACQ", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1", "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "metadata" : { "createdDate" : 1668163937174, "createdByUserId" : "6b4be232-5ad9-47a6-80b1-8c1acabd6212", "updatedDate" : 1668163937174, "updatedByUserId" : "6b4be232-5ad9-47a6-80b1-8c1acabd6212" } } 15:52:18 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f' request successfully processed 15:52:18 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:18 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:18 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:18 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:18 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51539 PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 204 0 1477 tid=organizations-test No Content null 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@2c678c7b 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:18 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_READ_PROTECTED with acq. units change and manage permissions: Successful ===== 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:18 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:18 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:18 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:18 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:18 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:18 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:18 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:18 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: ["organizations.acquisitions-units-assignments.manage"][\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Content-Length: 393[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: ["organizations.acquisitions-units-assignments.manage"] 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 393 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:18 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-READ-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:18 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:18 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:18 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:18 [] [] [] [] DEBUG RestRouting /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-READ-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:18 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:18 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:18 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9" } 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : false, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "4f1f2c86-67d5-4a09-9d18-8817614a01a0", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9' with body: { "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9", "name" : "Organization", "code" : "TST-ORG-READ-ACQ", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1", "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "metadata" : { "createdDate" : 1668163938430, "createdByUserId" : "6e076ac5-371e-4462-af79-187c54fe70de", "updatedDate" : 1668163938430, "updatedByUserId" : "6e076ac5-371e-4462-af79-187c54fe70de" } } 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9' request successfully processed 15:52:18 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:18 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51543 PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 null HTTP_1_1 204 0 71 tid=organizations-test No Content null 15:52:18 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:18 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:18 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:18 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@47fa3671 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:18 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_UPDATE_PROTECTED with acq. units change and manage permissions: Successful ===== 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:18 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:18 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:18 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:18 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:18 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:18 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:18 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:18 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6bf43c5a-6513-4ce0-a3bd-ac447b222094[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: ["organizations.acquisitions-units-assignments.manage"][\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Content-Length: 395[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6bf43c5a-6513-4ce0-a3bd-ac447b222094 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: ["organizations.acquisitions-units-assignments.manage"] 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 395 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:18 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-UPDATE-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:18 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:18 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:18 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:18 [] [] [] [] DEBUG RestRouting /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-UPDATE-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:18 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:18 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:18 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "id" : "caa81a86-5829-45b7-b320-ca0d27abf9d5" } 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : false, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5' with body: { "id" : "caa81a86-5829-45b7-b320-ca0d27abf9d5", "name" : "Organization", "code" : "TST-ORG-UPDATE-ACQ", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1", "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "metadata" : { "createdDate" : 1668163938543, "createdByUserId" : "6bf43c5a-6513-4ce0-a3bd-ac447b222094", "updatedDate" : 1668163938543, "updatedByUserId" : "6bf43c5a-6513-4ce0-a3bd-ac447b222094" } } 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5' request successfully processed 15:52:18 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:18 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO LogUtil 127.0.0.1:51548 PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 null HTTP_1_1 204 0 76 tid=organizations-test No Content null 15:52:18 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:18 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:18 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:18 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@5d2e6f62 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:18 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_FULL_PROTECTED with acq. units change and manage permissions: Successful ===== 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:18 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:18 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:18 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:18 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:18 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:18 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:18 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:18 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: ["organizations.acquisitions-units-assignments.manage"][\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Content-Length: 397[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: ["organizations.acquisitions-units-assignments.manage"] 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 397 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:18 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-FULL-PROTECT","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:18 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:18 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:18 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:18 [] [] [] [] DEBUG RestRouting /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-FULL-PROTECT","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:18 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:18 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:18 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "id" : "9985ec57-91cb-4588-9fab-089859a017a5" } 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1+or+aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1+or+aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1+or+aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true }, { "id" : "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : false, "protectDelete" : true } ], "totalRecords" : 2 } 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "e68c18fc-833f-494e-9a0e-b236eb4b310b", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "7f4d3783-a111-4bd0-b404-5a7191b729b8", "userId" : "480dba68-ee84-4b9c-a374-7e824fc49227", "acquisitionsUnitId" : "e68c18fc-833f-494e-9a0e-b236eb4b310b" } ], "totalRecords" : 1 } 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5' with body: { "id" : "9985ec57-91cb-4588-9fab-089859a017a5", "name" : "Organization", "code" : "TST-ORG-FULL-PROTECT", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1", "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "metadata" : { "createdDate" : 1668163938659, "createdByUserId" : "480dba68-ee84-4b9c-a374-7e824fc49227", "updatedDate" : 1668163938659, "updatedByUserId" : "480dba68-ee84-4b9c-a374-7e824fc49227" } } 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5' request successfully processed 15:52:18 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO LogUtil 127.0.0.1:51552 PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 null HTTP_1_1 204 0 94 tid=organizations-test No Content null 15:52:18 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:18 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:18 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:18 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@45707f76 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:18 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID full protected organization with full protected user membership: Successful ===== 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:18 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:18 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:18 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:18 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:18 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:18 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:18 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:18 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:18 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:18 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:18 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:18 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:18 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "id" : "9985ec57-91cb-4588-9fab-089859a017a5" } 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "e68c18fc-833f-494e-9a0e-b236eb4b310b", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "7f4d3783-a111-4bd0-b404-5a7191b729b8", "userId" : "480dba68-ee84-4b9c-a374-7e824fc49227", "acquisitionsUnitId" : "e68c18fc-833f-494e-9a0e-b236eb4b310b" } ], "totalRecords" : 1 } 15:52:18 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:18 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:18 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:18 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:18 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO LogUtil 127.0.0.1:51557 GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 null HTTP_1_1 200 515 111 tid=organizations-test OK { "id" : "9985ec57-91cb-4588-9fab-089859a017a5", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } 15:52:18 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:18 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:18 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:18 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:18 [] [] [] [] DEBUG Wire << "111[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]\[0x91]=O[0xc3]0[0x10][0x86][0xf7]J[0xfd][0xf][0x91]g,%$i[0xed]n[0x15][0x3]b[0x1][0x9][0x15][0x16][0xd4][0xe1]|[0xb9][0xa4][0x96][0x92]sp[0x9c][0x8a][0xf][0xf1][0xdf])I[0x6][0xea][0xf5]y?[0xee]t[0xf7][0xbd]^%[0x89][0xb0][0x95]Hv[0x89][0xd0]Z[0x95][0x84][0xe5]V[0xea][0xc][0x8d],J[0xa5][0xa4][0xae][0xc1][0xc8]T][0x4][\r]i[0xb6][0x85]R[0xdc]L[0x9][0x86][0x8e][0xa6][0xcc][0x93]o[0x80][0xed][0x17][0x4][0xeb]x[0xd1][0xd0]U[0x8b][0xf6]|[0xbf] [0xfa][0xe8][0x9d][0xf][0x7][0xb7]Gt#[0x7][0xcb][0xcd][0x9f][0xa1][0x86]v[0xa0][0xd9]0[0x4][0x8][0xe3]0[0xa5][0xf6][0x18][0xec][0x99][0x96][0xa0][0xfb]W[0xf8][0xec]i[0xb2][0xbc]%[0xc7]Y[0x85][0xd6][0xc2][0x10][0xb3][0xaa][0xf2]4[0xc4][0xb4]?9[0xa6][0xc7][0xb1]3[0xe4][0xaf][0x5][0xea][0xc0][0xb6][0xd7]h[0xf4][0x11]@[0xc7][0x1]0Ds[0x1a]O[0xd4][0x11]G[0xf8]L\97zO[0x8c]6[0xda][0xc2]r _[0x3][0xc6]+[0xcf]W[0x89][0xbc][0xc3][0xeb]T[0x15][0x1d][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "O[0xc0][\r][0xb5][0xae][0x89]+[0xde]_[0xd8][0x86][0x87]j[0xc1][0x82]6[\n]" 15:52:18 [] [] [] [] DEBUG Wire << "3U[0xa3]Ty^[0xcb]B[0x17]$/[0x1f]$in[0xf3][\r][0x99][0xc2][0xe4]YjDr\[0xaf]~~[0x1][0x0][0x0][0xff][0xff]" 15:52:18 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "[0x3][0x0]*69^[0x3][0x2][0x0][0x0]" 15:52:18 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:18 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@71139e77 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "id": "9985ec57-91cb-4588-9fab-089859a017a5", "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } { "id" : "9985ec57-91cb-4588-9fab-089859a017a5", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } 15:52:18 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID protected Organization with read-only membership: Empty Collection ===== 15:52:18 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:18 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:18 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:18 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:18 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:18 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:18 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:18 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP/1.1 15:52:18 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP/1.1[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:18 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP/1.1 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:18 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "28592a88-b109-4c13-aec4-bd4e6b41971e", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5%29&lang=en: { "organizations" : [ ], "totalRecords" : 0 } 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51561 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP_1_1 200 52 47 tid=organizations-test OK { "organizations" : [ ], "totalRecords" : 0 } 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "3e[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0xaa][0xe6][0xe5]RPP[0xca]/JO[0xcc][0xcb][0xac]J,[0xc9][0xcc][0xcf]+VR[0xb0]R[0x88]V[0x88][0xd5][0x1][0xcb][0x94][0xe4][0x97]$[0xe6][0x4][0xa5]&[0xe7][0x17][0xa5][0x80]%[0xc]x[0xb9]j[0x1][0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xc4][0x97][0xe0]N4[0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@1cc9bd9b 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ ], "totalRecords": 0 } { "organizations" : [ ], "totalRecords" : 0 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID full protected organization with read-only user membership: Forbidden ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "id" : "9985ec57-91cb-4588-9fab-089859a017a5" } 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "e68c18fc-833f-494e-9a0e-b236eb4b310b", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en: { "acquisitionsUnitMemberships" : [ ], "totalRecords" : 0 } 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: User does not have permissions - operation is restricted at org.folio.service.protection.ProtectionServiceImpl.lambda$6(ProtectionServiceImpl.java:93) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.service.BaseService.lambda$4(BaseService.java:151) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handleSuccess(HTTPJsonResponseHandler.java:82) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:51) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 403 Forbidden[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 403 Forbidden 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51565 GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 null HTTP_1_1 403 191 56 tid=organizations-test Forbidden { "errors" : [ { "message" : "User does not have permissions - operation is restricted", "code" : "userHasNoPermission", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 403 Forbidden 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "94[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0xc]D[0xf7]J[0xfd][0x87]Sf[0x18]X[0xf9][0x2]&[0xc4][0xc2][0x84]*d5[0x16]D"ue[0x9b].U[0xff][0x9d][0xa4]@[0xc7]{[0xbe]{[0xf2][0xdc]6@`UQ[0xb]8[0xe2][0x86][0xb9][0x92][0xc2]2[0x9b][0xd1][0x83]+[0xc]WcE[0x14]6[0xc][0xe2]x[0xd2][0xc4][0x18]Ys2K2[0x18][0xf6][0x90][0x12][0xc9]K@2([0x9b]k[0xea][0x9d]c[0xd8][0xfd]d[0xbd][0xc4][0xaf][0xe9]]L'[0xb2][0xb3]\[0xb6][0xfd]V[0x1a]I)[0xb3][0xf3][0xff][0x93][0xae][0xf2][0x5][0xdd]z[0xf].N[0xaf][0xbb]r/[0x1a][0xd7][0xc2][0xa1]m[0x96][0xf][0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xe7][0x90]7Z[0xbf][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@34cb0e49 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 403 Forbidden Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "User does not have permissions - operation is restricted", "code": "userHasNoPermission", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "id" : "9985ec57-91cb-4588-9fab-089859a017a5" } 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "e68c18fc-833f-494e-9a0e-b236eb4b310b", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en: { "acquisitionsUnitMemberships" : [ ], "totalRecords" : 0 } 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: User does not have permissions - operation is restricted at org.folio.service.protection.ProtectionServiceImpl.lambda$6(ProtectionServiceImpl.java:93) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.service.BaseService.lambda$4(BaseService.java:151) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handleSuccess(HTTPJsonResponseHandler.java:82) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:51) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 403 Forbidden[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 403 Forbidden 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51569 GET /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 null HTTP_1_1 403 191 31 tid=organizations-test Forbidden { "errors" : [ { "message" : "User does not have permissions - operation is restricted", "code" : "userHasNoPermission", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 403 Forbidden 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "94[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0xc]D[0xf7]J[0xfd][0x87]Sf[0x18]X[0xf9][0x2]&[0xc4][0xc2][0x84]*d5[0x16]D"ue[0x9b].U[0xff][0x9d][0xa4]@[0xc7]{[0xbe]{[0xf2][0xdc]6@`UQ[0xb]8[0xe2][0x86][0xb9][0x92][0xc2]2[0x9b][0xd1][0x83]+[0xc]WcE[0x14]6[0xc][0xe2]x[0xd2][0xc4][0x18]Ys2K2[0x18][0xf6][0x90][0x12][0xc9]K@2([0x9b]k[0xea][0x9d]c[0xd8][0xfd]d[0xbd][0xc4][0xaf][0xe9]]L'[0xb2][0xb3]\[0xb6][0xfd]V[0x1a]I)[0xb3][0xf3][0xff][0x93][0xae][0xf2][0x5][0xdd]z[0xf].N[0xaf][0xbb]r/[0x1a][0xd7][0xc2][0xa1]m[0x96][0xf][0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xe7][0x90]7Z[0xbf][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@1a7d0c9f 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 403 Forbidden Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "User does not have permissions - operation is restricted", "code": "userHasNoPermission", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_NO_ACQ: Not Found ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling DELETE /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:231) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] ... 22 more 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51573 DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 20 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@4ae49387 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_READ_PROTECTED: Not Found ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling DELETE /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:231) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] ... 22 more 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51575 DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 12 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@6ec3d8e4 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_UPDATE_PROTECTED: Not Found ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling DELETE /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:231) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] ... 22 more 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51577 DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 12 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@101c15ad 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_FULL_PROTECTED: Not Found ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling DELETE /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:231) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] ... 22 more 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51579 DELETE /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 13 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@a03529c 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_NO_ACQ: Not Found ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51581 GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 12 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@143413cd 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_READ_PROTECTED: Not Found ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51583 GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 13 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@66b6873f 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_UPDATE_PROTECTED: Not Found ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51585 GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 11 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@503556cb 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_FULL_PROTECTED: Not Found ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:19 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51587 GET /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 13 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@311a0b3e 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_NO_ACQ: Successful ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51589 DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 204 0 8 tid=organizations-test No Content null 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@4809c771 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_READ_PROTECTED: Successful ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51591 DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 204 0 7 tid=organizations-test No Content null 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@252c6cdb 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_UPDATE_PROTECTED: Successful ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51593 DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 204 0 7 tid=organizations-test No Content null 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@44976b08 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_FULL_PROTECTED: Successful ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51595 DELETE /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 204 0 8 tid=organizations-test No Content null 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@70a24f9 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify POST : Successful ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: POST /organizations/organizations HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "POST /organizations/organizations HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Length: 303[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> POST /organizations/organizations HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 303 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]}" 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:19 [] [] [] [] DEBUG RestRouting /organizations/organizations -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]} 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking postOrganizationsOrganizations 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending 'POST /organizations-storage/organizations' with body: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "metadata" : { "createdDate" : 1668163939730, "updatedDate" : 1668163939730 } } 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 201 Created[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Location: http://localhost:56845/organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 201 Created 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 201 Created 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Location: http://localhost:56845/organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51597 POST /organizations/organizations null HTTP_1_1 201 607 19 tid=organizations-test Created { "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "metadata" : { "createdDate" : "2022-11-11T10:52:19.730+00:00", "updatedDate" : "2022-11-11T10:52:19.730+00:00" } } 15:52:19 [] [organizations-test] [] [mod_organizations] DEBUG BaseService 'POST /organizations-storage/organizations' request successfully processed. Record with '1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f' id has been created 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "12d[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x94][0x91]KO[0xc3]0[0x10][0x84][0xef][0x95][0xfa][0x1f][0xa2]\![0xc8]y[0x91]6[0xb7][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "$[0xc4][0x5]$T[0xb8] [0xe][0x1b]{[0x93]ZJ[0xd6][0xc1][0xd9]T@[0xd5][0xff]N[0xf3]8[0x10][0xdf][0x90],[0x1f][0xbe][0x9d][0x19][0xaf][0xc6][0xa7][0xf5][0xca][0xf3]|[0xad]|/[0xf7][0xfc][0xf0]6Ld[0x86]i[0x90][0x15]1[0x6][0x89],[0xe2]`S[0x16][0xdb] [0xd9][0x94][0xb8]IeV$Y[0xe9]_[0x8f][0xe][0x82][0x6]G[0xcf][0xb3][0xad][0x80][0xf4][0xf][0xb0]64[0xcf][0xa4]Q[0xf3][0xec][0xe5]aF[0xf8][0xd5][0x1a][0xcb]{[0xb3][0x93][0xd2][0xf4][0xc4][0x9a][0xaa]APB[0xdd][0xe1]$[0xe8][0x18][0xb8][0xef]F[0xd7]N[0xb2]>[0xe2]l4[0xe2][0xf7][0xdf]-[0x8e][0x92]w[0xef]c[0x9a]B[0xad][0xa1]s[0x99]R[0x16];[0x97][0xb6][0x7]C[0xf8][0xd4]7[0x5][0xda][0xe5][0x0][0x1b][0xd0][0xf5][0x12][0xf5][0xd6][0x1][0xd2][0x10][0x83]d[0xe7][0x9d][0xca]"6H[0xe]>")c[0xef]zk[0x91][0xa4]v[0xb6][0xd0][0xc4]hK[0x90][0xee][0xca]S+[0x8e][0xb6]{[0x1b][0xa3][0x9c][0xa2][0xe4][0x1][0xa8][0xc2][0xda]Tn[0xc4][0xe7]+i~TK[0xdc] [0x83][0x2][0x86][0x1][0x9e][0x6]2$X[0x4]Fu[0xb9][0xc6][0xbe]#[0x11]EA[0x18]^[0xce]>[0x14]y[0x1a][0xe5][0xe1][0xf6]&[0x8b][0xc5][0x95][0x10][0xb9][0x10][0xd3]7[0xc][0xa5][0xb4][0xea][0x1f][0xae][0xc1]t^[0xaf][0xce][0xbf][0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xda]F[0xee]A_[0x2][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@52f43225 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 201 Created Location: http://localhost:56845/organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "id": "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ ], "metadata": { "createdDate": "2022-11-11T10:52:19.730+00:00", "updatedDate": "2022-11-11T10:52:19.730+00:00" } } { "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "metadata" : { "createdDate" : "2022-11-11T10:52:19.730+00:00", "updatedDate" : "2022-11-11T10:52:19.730+00:00" } } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID open for update ORGANIZATION_READ_PROTECTED: Forbidden ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Length: 354[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 354 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-READ-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]}" 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:19 [] [] [] [] DEBUG RestRouting /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-READ-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]} 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9" } 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en: { "acquisitionsUnitMemberships" : [ ], "totalRecords" : 0 } 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: User does not have permissions - operation is restricted at org.folio.service.protection.ProtectionServiceImpl.lambda$6(ProtectionServiceImpl.java:93) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.service.BaseService.lambda$4(BaseService.java:151) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handleSuccess(HTTPJsonResponseHandler.java:82) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:51) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 403 Forbidden[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 403 Forbidden 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 403 Forbidden 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51599 PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 null HTTP_1_1 403 191 33 tid=organizations-test Forbidden { "errors" : [ { "message" : "User does not have permissions - operation is restricted", "code" : "userHasNoPermission", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "94[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0xc]D[0xf7]J[0xfd][0x87]Sf[0x18]X[0xf9][0x2]&[0xc4][0xc2][0x84]*d5[0x16]D"ue[0x9b].U[0xff][0x9d][0xa4]@[0xc7]{[0xbe]{[0xf2][0xdc]6@`UQ[0xb]8[0xe2][0x86][0xb9][0x92][0xc2]2[0x9b][0xd1][0x83]+[0xc]WcE[0x14]6[0xc][0xe2]x[0xd2][0xc4][0x18]Ys2K2[0x18][0xf6][0x90][0x12][0xc9]K@2([0x9b]k[0xea][0x9d]c[0xd8][0xfd]d[0xbd][0xc4][0xaf][0xe9]]L'[0xb2][0xb3]\[0xb6][0xfd]V[0x1a]I)[0xb3][0xf3][0xff][0x93][0xae][0xf2][0x5][0xdd]z[0xf].N[0xaf][0xbb]r/[0x1a][0xd7][0xc2][0xa1]m[0x96][0xf][0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xe7][0x90]7Z[0xbf][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@4aac81ca 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 403 Forbidden Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "User does not have permissions - operation is restricted", "code": "userHasNoPermission", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID open for update ORGANIZATION_FULL_PROTECTED: Forbidden ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Length: 358[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 358 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-FULL-PROTECT","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]}" 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:19 [] [] [] [] DEBUG RestRouting /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-FULL-PROTECT","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]} 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "id" : "9985ec57-91cb-4588-9fab-089859a017a5" } 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "e68c18fc-833f-494e-9a0e-b236eb4b310b", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en: { "acquisitionsUnitMemberships" : [ ], "totalRecords" : 0 } 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: User does not have permissions - operation is restricted at org.folio.service.protection.ProtectionServiceImpl.lambda$6(ProtectionServiceImpl.java:93) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.service.BaseService.lambda$4(BaseService.java:151) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handleSuccess(HTTPJsonResponseHandler.java:82) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:51) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 403 Forbidden[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 403 Forbidden 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 403 Forbidden 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51603 PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 null HTTP_1_1 403 191 31 tid=organizations-test Forbidden { "errors" : [ { "message" : "User does not have permissions - operation is restricted", "code" : "userHasNoPermission", "parameters" : [ ] } ], "total_records" : 1 } 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "94[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0xc]D[0xf7]J[0xfd][0x87]Sf[0x18]X[0xf9][0x2]&[0xc4][0xc2][0x84]*d5[0x16]D"ue[0x9b].U[0xff][0x9d][0xa4]@[0xc7]{[0xbe]{[0xf2][0xdc]6@`UQ[0xb]8[0xe2][0x86][0xb9][0x92][0xc2]2[0x9b][0xd1][0x83]+[0xc]WcE[0x14]6[0xc][0xe2]x[0xd2][0xc4][0x18]Ys2K2[0x18][0xf6][0x90][0x12][0xc9]K@2([0x9b]k[0xea][0x9d]c[0xd8][0xfd]d[0xbd][0xc4][0xaf][0xe9]]L'[0xb2][0xb3]\[0xb6][0xfd]V[0x1a]I)[0xb3][0xf3][0xff][0x93][0xae][0xf2][0x5][0xdd]z[0xf].N[0xaf][0xbb]r/[0x1a][0xd7][0xc2][0xa1]m[0x96][0xf][0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xe7][0x90]7Z[0xbf][0x0][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@1008df1e 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 403 Forbidden Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "User does not have permissions - operation is restricted", "code": "userHasNoPermission", "parameters": [ ] } ], "total_records": 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_NO_ACQ: Successful ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f&lang=en HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f&lang=en HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f&lang=en HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "28592a88-b109-4c13-aec4-bd4e6b41971e", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f%29&lang=en: { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] } ], "totalRecords" : 1 } 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "e5[\r][\n]" 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51607 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f&lang=en HTTP_1_1 200 517 30 tid=organizations-test OK { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] } ], "totalRecords" : 1 } 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]d[0x90][0xb1]n[0x2]1[0xc][0x86]w$[0xde]![0xca][0xdc][0xa5]k7[0xc4]Pui%[0x4]][0xaa][0xe][0xae]cB[0xa4][0x9c]}u[0x1c]D[0x8b]x[0xf7][0xf6][0xe0][0xe]![0xb2]~[0xdf][0x1f][0xfb][0x8f][0x8f][0xf3][0x99]s^4[0x2][0xa7]_[0xb0]$\[0xbc]{r[0x1f][0xee]8[0x88][0xc5][0xd0][0xd1]@[0xfc][0xdb]M[0xc6]?[0x8c][0x16]%[0x8c]v[0xf5]|[0x85]t[0xe8]Em-[0xb]D[0xa9]l[0x89][0xe3][0x10][0xd9]B.4E[0x8a][0x81][0xd5][0xf3]&[0xbf]@K{[0xba]>[0xbe][0xad][0xb2][0xfe][0xe9]i[0xac][0xf3]9y[0xc8][0x9]JKCP*-[0xef]w[0xc2][0xf4]Z[0xbb]/[0xd2]{E[0x1d][0xa4]|[0xf][0xab]6[0x8][0x85][\r][0xd0][0x9a][0x8d]Q[0x89]:[0xe2]F[0xec][0x89][0x83][0xe8][0xb2][0xaa][0x12]cj[0x1a]%6[0xd2]-`[0xfb][0x85][0xcb][0xb5][0x9a]|y?[0xf]lN[0x88];[0xe0]HYb;[0xe8]{[0xc3][0xc9]^[0xc2]$[0x6]~[0x1a][0xbd]71[0xc8]+B[0xd1][0x8b][0x9c][0xcf]N[0x0][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3]h^[0xbe][0x5][0x2][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@34e990cc 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ ] } ], "totalRecords": 1 } { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] } ], "totalRecords" : 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_READ_PROTECTED: Successful ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9&lang=en HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9&lang=en HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9&lang=en HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:19 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:19 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:19 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:19 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:19 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:19 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "28592a88-b109-4c13-aec4-bd4e6b41971e", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9%29&lang=en 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9%29&lang=en: { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 1 } 15:52:19 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:19 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:19 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51611 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9&lang=en HTTP_1_1 200 556 37 tid=organizations-test OK { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 1 } 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:19 [] [] [] [] DEBUG Wire << "10b[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]d[0x90]AO[0xc2]@[0x10][0x85][0xef]$[0xfc][0x87][0xcd][0x9e]mB[0x95][0x94][0xd6][0x1b][0xf1]`[0xbc]hB[0xd0][0x8b][0xe1]0[0x9d][0x9d][0x96]M[0xda][0x99][0xba][0xbb]%*[0xe1][0xbf]k[0xa1][0x10][0xc2]^[0xdf][0xf7][0xe6][0xcd][0x9b][0xd9]O'Jiq5[0xb0][0xfd][0x85]`[0x85][0xbd]V[0x8f][0xea]S[0xed][0x7][0xf0][0x8f][0x18]Z[0x1a][0x14][0xfd]v[0xe5][0xd1]w#E1#]=_D[0xfa][0xee][0xc4][0x85][0xb5],[0x11][0xa5][0xe7]`[0xb9][0x1e],[0x15]4[0x9e][0xce][0x16][0x1f] [0xf4][0xc7]Mz[0x89][0xc1][0xee][0xe8]2|]e[0xfd][0xd3][0xd1]Xgs[0xe6][0xd0]X[0xf0][0xb1]j[0x8c]#[0x1f][0xeb][0xdd]V[0x98]^[0xfb][0xb6]$w[0x8b][0xa8][0x5][0xdb][0xdc][0x8a][0xbd][0x8b]$[0x14][0xe][0x80]![0xda]X;[0xa2][0x96]8[0x2];b#[0xee][0xa9]w[0x8e][0x18]m[0xd4][0xc8]r W[0x1][0xc6]'[0x9c][0xbe][0x15][0xf9][0xfd][0xc7]10z!n[0x81]kj[0xa4][0x8e][0x83][0xbe][0xde][0xd9][0x86][0x17]3[0x2][0x9d][0x95]E~_U[0x94][0xe4]T[0x99]d[0x9e][0x15][0xb3]$O[0xb3]<[0x99][0xe1]b[0xf1]P[0xce][0xb]4[0x94]j[0xb5][0x19][0xc6][0xf]c[0x8c][0xe][0x12][0xa0]Y[0x11][0x8a];[0xc5][0xa4][0xd3][0xc9][0xe1][0xf][0x0][0x0][0xff][0xff]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[0x3][0x0]&lF[0x13],[0x2][0x0][0x0]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:19 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@4df0d9f8 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords": 1 } { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 1 } 15:52:19 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_NO_ACQ: Successful ===== 15:52:19 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:19 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:19 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:19 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:19 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:19 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f&lang=en HTTP/1.1 15:52:19 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f&lang=en HTTP/1.1[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:19 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f&lang=en HTTP/1.1 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:19 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212&lang=en: { "acquisitionsUnitMemberships" : [ ], "totalRecords" : 0 } 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 0 acq units: 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f%29&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f%29&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f%29&lang=en: { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51615 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f&lang=en HTTP_1_1 200 517 28 tid=organizations-test OK { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "e5[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]d[0x90][0xb1]n[0x2]1[0xc][0x86]w$[0xde]![0xca][0xdc][0xa5]k7[0xc4]Pui%[0x4]][0xaa][0xe][0xae]cB[0xa4][0x9c]}u[0x1c]D[0x8b]x[0xf7][0xf6][0xe0][0xe]![0xb2]~[0xdf][0x1f][0xfb][0x8f][0x8f][0xf3][0x99]s^4[0x2][0xa7]_[0xb0]$\[0xbc]{r[0x1f][0xee]8[0x88][0xc5][0xd0][0xd1]@[0xfc][0xdb]M[0xc6]?[0x8c][0x16]%[0x8c]v[0xf5]|[0x85]t[0xe8]Em-[0xb]D[0xa9]l[0x89][0xe3][0x10][0xd9]B.4E[0x8a][0x81][0xd5][0xf3]&[0xbf]@K{[0xba]>[0xbe][0xad][0xb2][0xfe][0xe9]i[0xac][0xf3]9y[0xc8][0x9]JKCP*-[0xef]w[0xc2][0xf4]Z[0xbb]/[0xd2]{E[0x1d][0xa4]|[0xf][0xab]6[0x8][0x85][\r][0xd0][0x9a][0x8d]Q[0x89]:[0xe2]F[0xec][0x89][0x83][0xe8][0xb2][0xaa][0x12]cj[0x1a]%6[0xd2]-`[0xfb][0x85][0xcb][0xb5][0x9a]|y?[0xf]lN[0x88];[0xe0]HYb;[0xe8]{[0xc3][0xc9]^[0xc2]$[0x6]~[0x1a][0xbd]71[0xc8]+B[0xd1][0x8b][0x9c][0xcf]N[0x0][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3]h^[0xbe][0x5][0x2][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@26f75d9c 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ ] } ], "totalRecords": 1 } { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_READ_PROTECTED: Successful ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9&lang=en HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9&lang=en HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9&lang=en HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "28592a88-b109-4c13-aec4-bd4e6b41971e", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9%29&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9%29&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9%29&lang=en: { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51619 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D874225ae-e3f5-4666-ae19-b35709ff0ee9&lang=en HTTP_1_1 200 556 25 tid=organizations-test OK { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "10b[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]d[0x90]AO[0xc2]@[0x10][0x85][0xef]$[0xfc][0x87][0xcd][0x9e]mB[0x95][0x94][0xd6][0x1b][0xf1]`[0xbc]hB[0xd0][0x8b][0xe1]0[0x9d][0x9d][0x96]M[0xda][0x99][0xba][0xbb]%*[0xe1][0xbf]k[0xa1][0x10][0xc2]^[0xdf][0xf7][0xe6][0xcd][0x9b][0xd9]O'Jiq5[0xb0][0xfd][0x85]`[0x85][0xbd]V[0x8f][0xea]S[0xed][0x7][0xf0][0x8f][0x18]Z[0x1a][0x14][0xfd]v[0xe5][0xd1]w#E1#]=_D[0xfa][0xee][0xc4][0x85][0xb5],[0x11][0xa5][0xe7]`[0xb9][0x1e],[0x15]4[0x9e][0xce][0x16][0x1f] [0xf4][0xc7]Mz[0x89][0xc1][0xee][0xe8]2|]e[0xfd][0xd3][0xd1]Xgs[0xe6][0xd0]X[0xf0][0xb1]j[0x8c]#[0x1f][0xeb][0xdd]V[0x98]^[0xfb][0xb6]$w[0x8b][0xa8][0x5][0xdb][0xdc][0x8a][0xbd][0x8b]$[0x14][0xe][0x80]![0xda]X;[0xa2][0x96]8[0x2];b#[0xee][0xa9]w[0x8e][0x18]m[0xd4][0xc8]r W[0x1][0xc6]'[0x9c][0xbe][0x15][0xf9][0xfd][0xc7]10z!n[0x81]kj[0xa4][0x8e][0x83][0xbe][0xde][0xd9][0x86][0x17]3[0x2][0x9d][0x95]E~_U[0x94][0xe4]T[0x99]d[0x9e][0x15][0xb3]$O[0xb3]<[0x99][0xe1]b[0xf1]P[0xce][0xb]4[0x94]j[0xb5][0x19][0xc6][0xf]c[0x8c][0xe][0x12][0xa0]Y[0x11][0x8a];[0xc5][0xa4][0xd3][0xc9][0xe1][0xf][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0]&lF[0x13],[0x2][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@28b5662d 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords": 1 } { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_UPDATE_PROTECTED: Successful ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3Dcaa81a86-5829-45b7-b320-ca0d27abf9d5&lang=en HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3Dcaa81a86-5829-45b7-b320-ca0d27abf9d5&lang=en HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6bf43c5a-6513-4ce0-a3bd-ac447b222094[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3Dcaa81a86-5829-45b7-b320-ca0d27abf9d5&lang=en HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6bf43c5a-6513-4ce0-a3bd-ac447b222094 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6bf43c5a-6513-4ce0-a3bd-ac447b222094&lang=en 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6bf43c5a-6513-4ce0-a3bd-ac447b222094&lang=en 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6bf43c5a-6513-4ce0-a3bd-ac447b222094&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "6abd125d-b902-424b-a369-30564ed07ce1", "userId" : "6bf43c5a-6513-4ce0-a3bd-ac447b222094", "acquisitionsUnitId" : "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c+or+6b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dcaa81a86-5829-45b7-b320-ca0d27abf9d5%29&lang=en 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c+or+6b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dcaa81a86-5829-45b7-b320-ca0d27abf9d5%29&lang=en 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c+or+6b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dcaa81a86-5829-45b7-b320-ca0d27abf9d5%29&lang=en: { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO LogUtil 127.0.0.1:51623 GET /organizations/organizations limit=10&offset=0&query=id%3D%3Dcaa81a86-5829-45b7-b320-ca0d27abf9d5&lang=en HTTP_1_1 200 556 25 tid=organizations-test OK { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "10a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]d[0x90]1o[0xc2]@[0xc][0x85]w$[0xfe][0xc3][0xe9][0xe6]F[\n]" 15:52:20 [] [] [] [] DEBUG Wire << "-[0xa4][0xc0][0x86]:T]Z[0x9][0xd1].[0x15][0x83]q[0x9c]pRb[0xa7]w[0xe]j[0x8b][0xf8][0xef]m [0xc4][0xad][0xef]{~~[0xf6]~80[0xc6][0x8a]/[0x81][0xdd]/[0xa8][0x13][0xe][0xd6][0xcc][0xcd][0xa7][0xd9]w[0xe0][0x1f]1[0xd4][0xd4])[0xf6][0xed][0xca]c[0xef]z[0x8a][0x92][0xf7]t[0xf9]|[0x11][0xe9][0xbb][0x11][0xaf]+Y J[0xcb][0xea][0xb8][0xec],[0x5]T[0x81][0xce][0x96][0xa0][0xa0][0xed]q[0x93]][0xa0][0xba][0x1d]][0x86][0xaf][0xab][0xac]~[0x1a][0xea][0xeb][0xac][0xcf][0x1c]*[0x7]!V[0xf3][0xdc]S[0x88][0xf5]f+L[0xaf]m[0xbd]![0x8b][0xa8][0x6]W[0xdd][0x8a][0xad][0x8f]$[0x14]V@[0x8d]6[0x96][0x9e][0xa8]&[0x8e][0xc0][0x8e]8[0x17][0xff][0xd4]zO[0x8c].j[0xe4]X[0xc9][0x17][0x80][0xf1][0x9][0xa7]oE[0xfe][0xf0]q[0xc][0x8c]^[0x88][[0xe0][0x92]*)[0xe3][0xa0][0xaf]wv[0xfa][0x92][0xf7][0xc0][0x2][0xa4][0x84]c[0x1a]%[0x8f][0xd3][0xfb]"[0x19]O[0x8a],[0x81][0xac]xH[0xa6][0x94]m2L[0xd3][0xc9]l[0x86][0xd6][0xac][0xbb][0xf1]C[0x1f]cU[0x14][0xaa]%[0xa1][0xf8]S[0xcc]h88[0xfc][0x1][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0]|[0x1f]o[0x88],[0x2][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@cf10c92 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ] } ], "totalRecords": 1 } { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_FULL_PROTECTED: Successful ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227&lang=en 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227&lang=en 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "af8320b9-65db-4a0e-a333-26b9e5831f30", "userId" : "480dba68-ee84-4b9c-a374-7e824fc49227", "acquisitionsUnitId" : "e68c18fc-833f-494e-9a0e-b236eb4b310b" } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: e68c18fc-833f-494e-9a0e-b236eb4b310b 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b+or+6b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5%29&lang=en 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b+or+6b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5%29&lang=en 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b+or+6b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5%29&lang=en: { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO LogUtil 127.0.0.1:51627 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP_1_1 200 556 28 tid=organizations-test OK { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "10a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]d[0x90]Ak[0xc2]@[0x10][0x85][0xef][0x82][0xff]a[0xd9]s[0x3][0xa6][0x9][0x12]{[0x13][0xf][0xa5][0x97][0x16][0xc4][0xf6]R[0xcd]a[0x0][0xff][0x88][0xa1][0xa1]A[0xb1]o7[0x1e][0xfb]0R[0x94]b[0xa4][0xeb][0xe7][0xab]H[0xdf][0xad]x[0xdd][0xc8][0x12]QzV[0xc7][0xd5]`)[0xa1][0xee][0xe8]b[0xe9][0x14][0xb4]?m[0xb2]KT[0xb7][0xa7][0xeb][0xf0]m[0x95][0xcd]OKc[0x9d][0xed][0x85]C[0xed][0xa0][0xb][0xd5][0xa2][0xf0][0xd4][0x85]z[0xbb][0x13][0xa6][0xd7][0xbe][0xc9][0xc9][0xdf]#j[0xc0][0xd5][0xf7]b[0xef][0x3][0x9][0x85][0x15]P[0x83][0x8d][0x95]'j[0x88][0x3][0xb0]'.[0xc4][0xaf]z[0xef][0x89][0xd1][0x5][0x8d][0x1c]+[0xf9][0x12]0<[0xe1][0xfc][0xad][0xc0][0xdf]}[0x9c][0x2][0x83][0x17][0xe2][0xe][0xb8][0xa2]Z[0xaa]0[0xe8][0xeb][0x9d][0x9d][0xbe][0x14]#[0xb0]4[0xcf]0[0xce]J[0x8c][0xb2]$)[0xa3]t[0x91]R[0xb4][0x80][0x19]E[0xf9]c2[0xa7]<[0xcd][0x93]x[0x96][[0xb3][0x1d][0xc6][0x8f]c[0x8c]UQ[0xa8][0xd7][0x84][0xe2][0xcf]1[0xf1]tr[0xfc][0x3][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xc6]g[0xd4][0x5],[0x2][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@580ffea 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } ], "totalRecords": 1 } { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_NO_ACQ: Successful ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f" } 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51631 GET /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 200 476 10 tid=organizations-test OK { "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] } 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "f3[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]\[0x90]MK[0xc3]@[0x10][0x86][0xef][0x85][0xfe][0x87]%gs(MM[0xf4]V<[0x88][0x17][0x5][0xa9]^[0xc4][0xc3]dvv;[0x90][0xcc][0xc6][0xfd](~[0xe0][0x17]7[0x11][0xec]^[0x9f][0xf7]c[0x86][0xf7]k[0xbd]R[0xaa]b][0xa9]kUm.7[\r][0xb6][0xb4][0xab][0xdb]~Ku[0x83][0xfd][0xb6][0xee]LU7[0x9d][0xa1]n[0x87]m[0xdf][0xb4][0xa6][0xba][0xc8][0x9][0x81][0x91]r[0xe6][0xc1][[0x10][0xfe][0x84][0xc8]N[0x16][\r][0x9d]^[0xb4][0xc7][0xdb][0x5][0xd1][0xfb][0xe4]|<[0xb8]=[0xa2]K[0x12]Y[0xec][0xaf][0xc1][0xc0][0x10]h6[0x84][0x8]1[0x85][0x9c][0xda]c[0xe4][0x13]-A[0xf7][0xaf][0xfe][0xf0]1Q[0xb6][0xbc][0xa8][0xd7]Y[0x85][0x81]![0x94]LkO[0xa1][0xa4][0xd3][0xd1][0x9][0xdd][0xa7][0xb1]'.[0xd0][0x8]<[0x9c][0xa3][0xe4][0xb][0x80]N"`,[0xee]XO4[0x92][0x14][0xf8]D[0xa2][0x9d][0xbf]I[0xde][0x93] [0x17]_[0xb0]D[0xf2][0x6][0xb0]|y^[0xa5][0xf0][0x86][0xe7]\U[0xc][0x85]G[0x10]K[0x83][0xb3]e[0xc5][0xdb][0x93]p[0xbc][0xd3]x[0xbd][0xfa][0xfe][0x1][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xb1][0x9b][0xf0][0x96][0xdc][0x1][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@63bca84d 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "id": "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ ] } { "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] } 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f" } 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51633 GET /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 200 476 11 tid=organizations-test OK { "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] } 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "f3[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]\[0x90]MK[0xc3]@[0x10][0x86][0xef][0x85][0xfe][0x87]%gs(MM[0xf4]V<[0x88][0x17][0x5][0xa9]^[0xc4][0xc3]dvv;[0x90][0xcc][0xc6][0xfd](~[0xe0][0x17]7[0x11][0xec]^[0x9f][0xf7]c[0x86][0xf7]k[0xbd]R[0xaa]b][0xa9]kUm.7[\r][0xb6][0xb4][0xab][0xdb]~Ku[0x83][0xfd][0xb6][0xee]LU7[0x9d][0xa1]n[0x87]m[0xdf][0xb4][0xa6][0xba][0xc8][0x9][0x81][0x91]r[0xe6][0xc1][[0x10][0xfe][0x84][0xc8]N[0x16][\r][0x9d]^[0xb4][0xc7][0xdb][0x5][0xd1][0xfb][0xe4]|<[0xb8]=[0xa2]K[0x12]Y[0xec][0xaf][0xc1][0xc0][0x10]h6[0x84][0x8]1[0x85][0x9c][0xda]c[0xe4][0x13]-A[0xf7][0xaf][0xfe][0xf0]1Q[0xb6][0xbc][0xa8][0xd7]Y[0x85][0x81]![0x94]LkO[0xa1][0xa4][0xd3][0xd1][0x9][0xdd][0xa7][0xb1]'.[0xd0][0x8]<[0x9c][0xa3][0xe4][0xb][0x80]N"`,[0xee]XO4[0x92][0x14][0xf8]D[0xa2][0x9d][0xbf]I[0xde][0x93] [0x17]_[0xb0]D[0xf2][0x6][0xb0]|y^[0xa5][0xf0][0x86][0xe7]\U[0xc][0x85]G[0x10]K[0x83][0xb3]e[0xc5][0xdb][0x93]p[0xbc][0xd3]x[0xbd][0xfa][0xfe][0x1][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xb1][0x9b][0xf0][0x96][0xdc][0x1][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@13dc6649 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "id": "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ ] } { "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID ORGANIZATION_READ_PROTECTED: Successful ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9" } 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51635 GET /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 null HTTP_1_1 200 515 17 tid=organizations-test OK { "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "110[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]\[0x91];O[0xc3]0[0x10][0xc7][0xf7]J[0xfd][0xe][0x91]g,[0xe5][0x9d][0xb8][[0xc5][0x80]X@B[0x85][0x5]u[0xb8][0xd8][0xe7][0xd4]Rr[0xe][0xb6]S[0xf1][0x10][0xdf][0x1d]H3P[0xaf][0xbf][0xff][0xe3]Nw_[0xdb]M[0x92]0[0xa3]X[0xb2]KX[0xdb][0x94]y^[0x1]r,t[0xc5][0xcb][0xba][0xae]9`&xWTM*[0xb4]N[0x11][0x5][0xbb]Y[0x12][0x4]#.[0x99]G[0xd7][0x3][0x99]O[0x8][0xc6][0xd2][0xaa]I[0xab]V[0xed][0xe9]nE[0xf8]>Y[0x17][0xe]v/[0xa5][0x9d])[0x18][0xea][0xff][0xc][0x1a][0x6][0x8f][0x17][0x83][0xf][0x10]f[0xbf][0xa4][0xf6]2[0x98]3[0xae]A[0xfb][0xaf][0xfe][0xf0]1[0xe1]byM[0x8e][0x17][0x15][0x6][0x3]>fJ9[0xf4]1[0x9d]N[0x96][0xf0]a[0x1e];t[0xd7][0x2][0x8e]`[0x86]k4[0xbb][0x8]HK[0x1]d[0x88][0xe6][0xf4][0xe]qD[0x8a][0xf0][0x19]IYw;;[0x87]$M[0xb4][0x85][0xa1][0x80]N[0x83][0x8c]W[0xbe]\%[0xf2][0xfa][0x97][0xa5]*:[0x94]<[0x1][0xf5]8[0xd8]>[0xae]x{&[0x13][0xee][0xd5][0x8a]Y[0xdd][0x89]6[0xd7][0x1a]y[0x8b]Z[0xfd][0xfe]R[0xa4][0xbc][0xcd][0xea][0x96][0xa7][0xb2]i[0x8a][0xae][0x14]Ra[0xc6][0x92][0xe3]v[0xf3][0xfd][0x3][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0]*[0x82][0x96]R[0x3][0x2][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@5fe5c68b 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "id": "874225ae-e3f5-4666-ae19-b35709ff0ee9", "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } { "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9" } 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51638 GET /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 null HTTP_1_1 200 515 16 tid=organizations-test OK { "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "110[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]\[0x91];O[0xc3]0[0x10][0xc7][0xf7]J[0xfd][0xe][0x91]g,[0xe5][0x9d][0xb8][[0xc5][0x80]X@B[0x85][0x5]u[0xb8][0xd8][0xe7][0xd4]Rr[0xe][0xb6]S[0xf1][0x10][0xdf][0x1d]H3P[0xaf][0xbf][0xff][0xe3]Nw_[0xdb]M[0x92]0[0xa3]X[0xb2]KX[0xdb][0x94]y^[0x1]r,t[0xc5][0xcb][0xba][0xae]9`&xWTM*[0xb4]N[0x11][0x5][0xbb]Y[0x12][0x4]#.[0x99]G[0xd7][0x3][0x99]O[0x8][0xc6][0xd2][0xaa]I[0xab]V[0xed][0xe9]nE[0xf8]>Y[0x17][0xe]v/[0xa5][0x9d])[0x18][0xea][0xff][0xc][0x1a][0x6][0x8f][0x17][0x83][0xf][0x10]f[0xbf][0xa4][0xf6]2[0x98]3[0xae]A[0xfb][0xaf][0xfe][0xf0]1[0xe1]byM[0x8e][0x17][0x15][0x6][0x3]>fJ9[0xf4]1[0x9d]N[0x96][0xf0]a[0x1e];t[0xd7][0x2][0x8e]`[0x86]k4[0xbb][0x8]HK[0x1]d[0x88][0xe6][0xf4][0xe]qD[0x8a][0xf0][0x19]IYw;;[0x87]$M[0xb4][0x85][0xa1][0x80]N[0x83][0x8c]W[0xbe]\%[0xf2][0xfa][0x97][0xa5]*:[0x94]<[0x1][0xf5]8[0xd8]>[0xae]x{&[0x13][0xee][0xd5][0x8a]Y[0xdd][0x89]6[0xd7][0x1a]y[0x8b]Z[0xfd][0xfe]R[0xa4][0xbc][0xcd][0xea][0x96][0xa7][0xb2]i[0x8a][0xae][0x14]Ra[0xc6][0x92][0xe3]v[0xf3][0xfd][0x3][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0]*[0x82][0x96]R[0x3][0x2][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@3e9fb485 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "id": "874225ae-e3f5-4666-ae19-b35709ff0ee9", "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } { "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_NO_ACQ: Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling DELETE /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:231) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] ... 22 more 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51641 DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c null HTTP_1_1 500 140 10 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@10f20d38 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_READ_PROTECTED: Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling DELETE /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:231) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] ... 22 more 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51643 DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c null HTTP_1_1 500 140 11 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@402a69f 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_UPDATE_PROTECTED: Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling DELETE /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:231) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] ... 22 more 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51645 DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c null HTTP_1_1 500 140 11 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@59371066 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify DELETE by ID ORGANIZATION_FULL_PROTECTED: Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking deleteOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending DELETE /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling DELETE /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:231) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] ... 22 more 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyResponse(BaseService.java:232) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51647 DELETE /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c null HTTP_1_1 500 140 9 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@22e813fc 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID protected Organization with read-only membership: Empty Collection ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212&lang=en: { "acquisitionsUnitMemberships" : [ ], "totalRecords" : 0 } 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 0 acq units: 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5%29&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5%29&lang=en 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5%29&lang=en: { "organizations" : [ ], "totalRecords" : 0 } 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51649 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D9985ec57-91cb-4588-9fab-089859a017a5&lang=en HTTP_1_1 200 52 20 tid=organizations-test OK { "organizations" : [ ], "totalRecords" : 0 } 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "3e[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0xaa][0xe6][0xe5]RPP[0xca]/JO[0xcc][0xcb][0xac]J,[0xc9][0xcc][0xcf]+VR[0xb0]R[0x88]V[0x88][0xd5][0x1][0xcb][0x94][0xe4][0x97]$[0xe6][0x4][0xa5]&[0xe7][0x17][0xa5][0x80]%[0xc]x[0xb9]j[0x1][0x0][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xc4][0x97][0xe0]N4[0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@213012a0 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ ], "totalRecords": 0 } { "organizations" : [ ], "totalRecords" : 0 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by ID : Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:20 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51653 GET /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c null HTTP_1_1 500 140 9 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@336e3be2 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify POST ORGANIZATION_NO_ACQ: Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: POST /organizations/organizations HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "POST /organizations/organizations HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: ISE[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 303[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> POST /organizations/organizations HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: ISE 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 303 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]} 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [ISE] [] [mod_organizations] INFO RestRouting invoking postOrganizationsOrganizations 15:52:20 [] [ISE] [] [mod_organizations] DEBUG BaseService Sending 'POST /organizations-storage/organizations' with body: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "metadata" : { "createdDate" : 1668163940523, "updatedDate" : 1668163940523 } } 15:52:20 [] [ISE] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.verifyAndExtractRecordId(BaseService.java:237) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [ISE] [] [mod_organizations] INFO LogUtil 127.0.0.1:51655 POST /organizations/organizations null HTTP_1_1 500 140 18 tid=ISE Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [ISE] [] [mod_organizations] ERROR BaseService 'POST /organizations-storage/organizations' request failed. Request body: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "metadata" : { "createdDate" : 1668163940523, "updatedDate" : 1668163940523 } } java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.verifyAndExtractRecordId(BaseService.java:237) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@5529522f 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify POST ORGANIZATION_READ_PROTECTED: Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: POST /organizations/organizations HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "POST /organizations/organizations HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: ISE[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> POST /organizations/organizations HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: ISE 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [ISE] [] [mod_organizations] INFO RestRouting invoking postOrganizationsOrganizations 15:52:20 [] [ISE] [] [mod_organizations] DEBUG BaseService Sending 'POST /organizations-storage/organizations' with body: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "metadata" : { "createdDate" : 1668163940561, "updatedDate" : 1668163940561 } } 15:52:20 [] [ISE] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.verifyAndExtractRecordId(BaseService.java:237) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [ISE] [] [mod_organizations] INFO LogUtil 127.0.0.1:51657 POST /organizations/organizations null HTTP_1_1 500 140 11 tid=ISE Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [ISE] [] [mod_organizations] ERROR BaseService 'POST /organizations-storage/organizations' request failed. Request body: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "metadata" : { "createdDate" : 1668163940561, "updatedDate" : 1668163940561 } } java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.verifyAndExtractRecordId(BaseService.java:237) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@fd4459b 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify POST ORGANIZATION_UPDATE_PROTECTED: Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: POST /organizations/organizations HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "POST /organizations/organizations HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: ISE[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> POST /organizations/organizations HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: ISE 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [ISE] [] [mod_organizations] INFO RestRouting invoking postOrganizationsOrganizations 15:52:20 [] [ISE] [] [mod_organizations] DEBUG BaseService Sending 'POST /organizations-storage/organizations' with body: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "metadata" : { "createdDate" : 1668163940588, "updatedDate" : 1668163940588 } } 15:52:20 [] [ISE] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.verifyAndExtractRecordId(BaseService.java:237) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [ISE] [] [mod_organizations] INFO LogUtil 127.0.0.1:51659 POST /organizations/organizations null HTTP_1_1 500 140 10 tid=ISE Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [ISE] [] [mod_organizations] ERROR BaseService 'POST /organizations-storage/organizations' request failed. Request body: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "metadata" : { "createdDate" : 1668163940588, "updatedDate" : 1668163940588 } } java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.verifyAndExtractRecordId(BaseService.java:237) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@38fb151a 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify POST ORGANIZATION_FULL_PROTECTED: Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: POST /organizations/organizations HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "POST /organizations/organizations HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: ISE[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> POST /organizations/organizations HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: ISE 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [ISE] [] [mod_organizations] INFO RestRouting invoking postOrganizationsOrganizations 15:52:20 [] [ISE] [] [mod_organizations] DEBUG BaseService Sending 'POST /organizations-storage/organizations' with body: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "metadata" : { "createdDate" : 1668163940617, "updatedDate" : 1668163940617 } } 15:52:20 [] [ISE] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.verifyAndExtractRecordId(BaseService.java:237) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [ISE] [] [mod_organizations] INFO LogUtil 127.0.0.1:51661 POST /organizations/organizations null HTTP_1_1 500 140 12 tid=ISE Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [ISE] [] [mod_organizations] ERROR BaseService 'POST /organizations-storage/organizations' request failed. Request body: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "metadata" : { "createdDate" : 1668163940617, "updatedDate" : 1668163940617 } } java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.verifyAndExtractRecordId(BaseService.java:237) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@182e4365 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_NO_ACQ: ID missed ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 303[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 303 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]} 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f" } 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f' with body: { "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "metadata" : { "createdDate" : 1668163940648, "createdByUserId" : "6b4be232-5ad9-47a6-80b1-8c1acabd6212", "updatedDate" : 1668163940648, "updatedByUserId" : "6b4be232-5ad9-47a6-80b1-8c1acabd6212" } } 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f' request successfully processed 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51663 PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 204 0 14 tid=organizations-test No Content null 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@38929da 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_READ_PROTECTED: ID missed ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9" } 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "4f1f2c86-67d5-4a09-9d18-8817614a01a0", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9' with body: { "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "metadata" : { "createdDate" : 1668163940680, "createdByUserId" : "6e076ac5-371e-4462-af79-187c54fe70de", "updatedDate" : 1668163940680, "updatedByUserId" : "6e076ac5-371e-4462-af79-187c54fe70de" } } 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9' request successfully processed 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51665 PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 null HTTP_1_1 204 0 35 tid=organizations-test No Content null 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@42f9873e 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_UPDATE_PROTECTED: ID missed ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6bf43c5a-6513-4ce0-a3bd-ac447b222094[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6bf43c5a-6513-4ce0-a3bd-ac447b222094 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "id" : "caa81a86-5829-45b7-b320-ca0d27abf9d5" } 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : false, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5' with body: { "id" : "caa81a86-5829-45b7-b320-ca0d27abf9d5", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "metadata" : { "createdDate" : 1668163940734, "createdByUserId" : "6bf43c5a-6513-4ce0-a3bd-ac447b222094", "updatedDate" : 1668163940734, "updatedByUserId" : "6bf43c5a-6513-4ce0-a3bd-ac447b222094" } } 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5' request successfully processed 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO LogUtil 127.0.0.1:51669 PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 null HTTP_1_1 204 0 26 tid=organizations-test No Content null 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@965bcbc 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_FULL_PROTECTED: ID missed ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "id" : "9985ec57-91cb-4588-9fab-089859a017a5" } 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "e68c18fc-833f-494e-9a0e-b236eb4b310b", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "7f4d3783-a111-4bd0-b404-5a7191b729b8", "userId" : "480dba68-ee84-4b9c-a374-7e824fc49227", "acquisitionsUnitId" : "e68c18fc-833f-494e-9a0e-b236eb4b310b" } ], "totalRecords" : 1 } 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5' with body: { "id" : "9985ec57-91cb-4588-9fab-089859a017a5", "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "metadata" : { "createdDate" : 1668163940779, "createdByUserId" : "480dba68-ee84-4b9c-a374-7e824fc49227", "updatedDate" : 1668163940779, "updatedByUserId" : "480dba68-ee84-4b9c-a374-7e824fc49227" } } 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5' request successfully processed 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO LogUtil 127.0.0.1:51672 PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 null HTTP_1_1 204 0 32 tid=organizations-test No Content null 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@603d25db 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_NO_ACQ with acq. units change and no manage permissions: Forbidden ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 391[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 391 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-NO-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-NO-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f" } 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: User does not have permissions to manage acquisition units assignments - operation is restricted at org.folio.service.protection.ProtectionServiceImpl.verifyUserHasManagePermission(ProtectionServiceImpl.java:123) ~[classes/:?] at org.folio.service.protection.ProtectionServiceImpl.validateAcqUnitsOnUpdate(ProtectionServiceImpl.java:72) ~[classes/:?] at org.folio.service.organization.OrganizationStorageService.lambda$11(OrganizationStorageService.java:142) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.service.BaseService.lambda$4(BaseService.java:151) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handleSuccess(HTTPJsonResponseHandler.java:82) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:51) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 403 Forbidden[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 403 Forbidden 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 403 Forbidden 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51676 PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 403 239 11 tid=organizations-test Forbidden { "errors" : [ { "message" : "User does not have permissions to manage acquisition units assignments - operation is restricted", "code" : "userHasNoAcqUnitsPermission", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "af[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xbb][0xe][0xc2]0[0xc]Ew$[0xfe][0xe1]*3[0xc][0xac]llL[0x88][0x85][0x9]U[0xc8]J[0xad][0x12][0x89][0xc4][0xad][0xed][0xb2]T[0xfc];iyl[0xd6][0xb9][0xd7]>[0x9e][0xd6]+ [0xb0][0xaa][0xa8][0x5][0xec]q[0xc5]4[0x93][0xca]2[0x9b]Q[0xc7]3[0xc][0x17]cE+l([0xe2][0xb8][0xd3][0x93][0xd1][0xb3][0xe6]d[0x96][0xa4][0x18]\[0x90][0xa9][0xd4]2([0xe]c[0xb2][0xe4][0x15]c,[0xc9][\r]T;][0xc9]\[0xea][0xbc][0x85][0xd4]5Z[0xd2]dP6[0xd7][0x14][0x9d][0xdb][0xb0][0xf9]J[0xa3][0xb4][0x1f][0xe3]X[0x8d]G[0xb2][0x93][0x1c][0xe2]p[0x99][0xf][0x9d][0xff][0xbe][0xb9]'[0xa5][0xcc][0xce][0xbf][0xcf][0x9b][0x99][0xbf][0xd0],ypqz[0xdc][0x94][0xa3]h[0xbb][0x14]v[0xeb][0xd5][0xeb][\r][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xea][0xc8][0xae]S[0xef][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@6e7e0259 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 403 Forbidden Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "User does not have permissions to manage acquisition units assignments - operation is restricted", "code": "userHasNoAcqUnitsPermission", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_READ_PROTECTED with acq. units change and no manage permissions: Forbidden ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 393[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 393 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-READ-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-READ-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9" } 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: User does not have permissions to manage acquisition units assignments - operation is restricted at org.folio.service.protection.ProtectionServiceImpl.verifyUserHasManagePermission(ProtectionServiceImpl.java:123) ~[classes/:?] at org.folio.service.protection.ProtectionServiceImpl.validateAcqUnitsOnUpdate(ProtectionServiceImpl.java:72) ~[classes/:?] at org.folio.service.organization.OrganizationStorageService.lambda$11(OrganizationStorageService.java:142) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.service.BaseService.lambda$4(BaseService.java:151) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handleSuccess(HTTPJsonResponseHandler.java:82) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:51) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 403 Forbidden[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 403 Forbidden 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 403 Forbidden 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51678 PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 null HTTP_1_1 403 239 13 tid=organizations-test Forbidden { "errors" : [ { "message" : "User does not have permissions to manage acquisition units assignments - operation is restricted", "code" : "userHasNoAcqUnitsPermission", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "af[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xbb][0xe][0xc2]0[0xc]Ew$[0xfe][0xe1]*3[0xc][0xac]llL[0x88][0x85][0x9]U[0xc8]J[0xad][0x12][0x89][0xc4][0xad][0xed][0xb2]T[0xfc];iyl[0xd6][0xb9][0xd7]>[0x9e][0xd6]+ [0xb0][0xaa][0xa8][0x5][0xec]q[0xc5]4[0x93][0xca]2[0x9b]Q[0xc7]3[0xc][0x17]cE+l([0xe2][0xb8][0xd3][0x93][0xd1][0xb3][0xe6]d[0x96][0xa4][0x18]\[0x90][0xa9][0xd4]2([0xe]c[0xb2][0xe4][0x15]c,[0xc9][\r]T;][0xc9]\[0xea][0xbc][0x85][0xd4]5Z[0xd2]dP6[0xd7][0x14][0x9d][0xdb][0xb0][0xf9]J[0xa3][0xb4][0x1f][0xe3]X[0x8d]G[0xb2][0x93][0x1c][0xe2]p[0x99][0xf][0x9d][0xff][0xbe][0xb9]'[0xa5][0xcc][0xce][0xbf][0xcf][0x9b][0x99][0xbf][0xd0],ypqz[0xdc][0x94][0xa3]h[0xbb][0x14]v[0xeb][0xd5][0xeb][\r][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xea][0xc8][0xae]S[0xef][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@7b598d05 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 403 Forbidden Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "User does not have permissions to manage acquisition units assignments - operation is restricted", "code": "userHasNoAcqUnitsPermission", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_UPDATE_PROTECTED with acq. units change and no manage permissions: Forbidden ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6bf43c5a-6513-4ce0-a3bd-ac447b222094[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 395[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6bf43c5a-6513-4ce0-a3bd-ac447b222094 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 395 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-UPDATE-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-UPDATE-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "id" : "caa81a86-5829-45b7-b320-ca0d27abf9d5" } 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: User does not have permissions to manage acquisition units assignments - operation is restricted at org.folio.service.protection.ProtectionServiceImpl.verifyUserHasManagePermission(ProtectionServiceImpl.java:123) ~[classes/:?] at org.folio.service.protection.ProtectionServiceImpl.validateAcqUnitsOnUpdate(ProtectionServiceImpl.java:72) ~[classes/:?] at org.folio.service.organization.OrganizationStorageService.lambda$11(OrganizationStorageService.java:142) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.service.BaseService.lambda$4(BaseService.java:151) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handleSuccess(HTTPJsonResponseHandler.java:82) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:51) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 403 Forbidden[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 403 Forbidden 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 403 Forbidden 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO LogUtil 127.0.0.1:51680 PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 null HTTP_1_1 403 239 12 tid=organizations-test Forbidden { "errors" : [ { "message" : "User does not have permissions to manage acquisition units assignments - operation is restricted", "code" : "userHasNoAcqUnitsPermission", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "af[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xbb][0xe][0xc2]0[0xc]Ew$[0xfe][0xe1]*3[0xc][0xac]llL[0x88][0x85][0x9]U[0xc8]J[0xad][0x12][0x89][0xc4][0xad][0xed][0xb2]T[0xfc];iyl[0xd6][0xb9][0xd7]>[0x9e][0xd6]+ [0xb0][0xaa][0xa8][0x5][0xec]q[0xc5]4[0x93][0xca]2[0x9b]Q[0xc7]3[0xc][0x17]cE+l([0xe2][0xb8][0xd3][0x93][0xd1][0xb3][0xe6]d[0x96][0xa4][0x18]\[0x90][0xa9][0xd4]2([0xe]c[0xb2][0xe4][0x15]c,[0xc9][\r]T;][0xc9]\[0xea][0xbc][0x85][0xd4]5Z[0xd2]dP6[0xd7][0x14][0x9d][0xdb][0xb0][0xf9]J[0xa3][0xb4][0x1f][0xe3]X[0x8d]G[0xb2][0x93][0x1c][0xe2]p[0x99][0xf][0x9d][0xff][0xbe][0xb9]'[0xa5][0xcc][0xce][0xbf][0xcf][0x9b][0x99][0xbf][0xd0],ypqz[0xdc][0x94][0xa3]h[0xbb][0x14]v[0xeb][0xd5][0xeb][\r][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xea][0xc8][0xae]S[0xef][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@b32e983 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 403 Forbidden Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "User does not have permissions to manage acquisition units assignments - operation is restricted", "code": "userHasNoAcqUnitsPermission", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_FULL_PROTECTED with acq. units change and no manage permissions: Forbidden ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 397[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 397 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-FULL-PROTECT","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-FULL-PROTECT","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1","aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "id" : "9985ec57-91cb-4588-9fab-089859a017a5" } 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: User does not have permissions to manage acquisition units assignments - operation is restricted at org.folio.service.protection.ProtectionServiceImpl.verifyUserHasManagePermission(ProtectionServiceImpl.java:123) ~[classes/:?] at org.folio.service.protection.ProtectionServiceImpl.validateAcqUnitsOnUpdate(ProtectionServiceImpl.java:72) ~[classes/:?] at org.folio.service.organization.OrganizationStorageService.lambda$11(OrganizationStorageService.java:142) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.service.BaseService.lambda$4(BaseService.java:151) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handleSuccess(HTTPJsonResponseHandler.java:82) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:51) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 403 Forbidden[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 403 Forbidden 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 403 Forbidden 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO LogUtil 127.0.0.1:51682 PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 null HTTP_1_1 403 239 11 tid=organizations-test Forbidden { "errors" : [ { "message" : "User does not have permissions to manage acquisition units assignments - operation is restricted", "code" : "userHasNoAcqUnitsPermission", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "af[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xbb][0xe][0xc2]0[0xc]Ew$[0xfe][0xe1]*3[0xc][0xac]llL[0x88][0x85][0x9]U[0xc8]J[0xad][0x12][0x89][0xc4][0xad][0xed][0xb2]T[0xfc];iyl[0xd6][0xb9][0xd7]>[0x9e][0xd6]+ [0xb0][0xaa][0xa8][0x5][0xec]q[0xc5]4[0x93][0xca]2[0x9b]Q[0xc7]3[0xc][0x17]cE+l([0xe2][0xb8][0xd3][0x93][0xd1][0xb3][0xe6]d[0x96][0xa4][0x18]\[0x90][0xa9][0xd4]2([0xe]c[0xb2][0xe4][0x15]c,[0xc9][\r]T;][0xc9]\[0xea][0xbc][0x85][0xd4]5Z[0xd2]dP6[0xd7][0x14][0x9d][0xdb][0xb0][0xf9]J[0xa3][0xb4][0x1f][0xe3]X[0x8d]G[0xb2][0x93][0x1c][0xe2]p[0x99][0xf][0x9d][0xff][0xbe][0xb9]'[0xa5][0xcc][0xce][0xbf][0xcf][0x9b][0x99][0xbf][0xd0],ypqz[0xdc][0x94][0xa3]h[0xbb][0x14]v[0xeb][0xd5][0xeb][\r][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xea][0xc8][0xae]S[0xef][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@478530cb 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 403 Forbidden Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "User does not have permissions to manage acquisition units assignments - operation is restricted", "code": "userHasNoAcqUnitsPermission", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_NO_ACQ: Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 303[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 303 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]} 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:20 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51684 PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c null HTTP_1_1 500 140 11 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@2ec5cc14 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:20 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_READ_PROTECTED: Internal Server Error ===== 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:20 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:20 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:20 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:20 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:20 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]}" 15:52:20 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:20 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:20 [] [] [] [] DEBUG RestRouting /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]} 15:52:20 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:20 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:20 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:20 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:20 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:20 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:20 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:20 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:20 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:20 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51686 PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c null HTTP_1_1 500 140 10 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:20 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:20 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:20 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:20 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@5560b64d 15:52:20 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_UPDATE_PROTECTED: Internal Server Error ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51688 PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c null HTTP_1_1 500 140 11 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@61ad30f6 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_FULL_PROTECTED: Internal Server Error ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51690 PUT /organizations/organizations/96e79e5a-c379-4a5a-8244-d6df0342e21c null HTTP_1_1 500 140 10 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@52856ff9 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify GET collection with read-only membership: Successful (open for read entities collection) ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "28592a88-b109-4c13-aec4-bd4e6b41971e", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29&lang=en: { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 2 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51692 GET /organizations/organizations null HTTP_1_1 200 1022 19 tid=organizations-test OK { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 2 } 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "116[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0xec][0x91]Ak[0xc2]@[0x10][0x85][0xef][0x82][0xff]![0xec][0xd9][0x80]Z[0x89]Io[0xd2]C[0xe9][0xa5][0x5][0xb1][0xbd][0x94][0x1e]&[0xb3][0x93][0xb8][0x90][0xcc][0xa6][0xbb][0x13]i+[0xfe][0xf7]6[0x9a][0x88][0xb8][0xff]@z}[0xdf][0xdb]7[0xb3][0xf3][0xf6][0xe3]Q[0x14])[0xeb]J`[0xf3][0x3]b,{[0x15][0xdd]G[0xef][0xd1][0xbe][0x3][0x88][0xa1][0xa6]NQ/[0x17][0x1e]5[0xe9])Z[0xdd][0xd3][0xf5][0xe3]Y[0xa4][0xaf][0xc6]:[0xd9][0xd8][0x15][0xa2]mY[0xc][0x97][0x9d][0xa5][0x80][0xca][0xd3]`[0xf1][0x2][0xd2][0x1e]'[0xa9][0x15][0x8a][0xd9][0xd1][0xf9][0xf1][0xe5]*[0x9b][0xef][0x86][0xfa]u>[0x6][0xe][0x95][0x1][0x1f][0xaa]Z;[0xf2][0xa1][0xde]l-[0xd3]s[[0xe7][0xe4][0xae][0x11][0xd5]`[0xaa]k[0xb1]u[0x81][0x84][0x96][0x5]P[0x82][0x89][0xa5]#[0xaa][0x89][0x3][0xb0]#[0xd6][0xd6]=[0xb4][0xce][0x11][0xa3][0x9]62,[0xe4][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0xc0][0xf0][0xb][0xa7]k[0x5]~[0xff]v[0xc][0xc]N[0x88][[0xe0][0x92]*[[0x86]A[0x9f][0xaf]l[0xe4]I[0xf][0xa0][0xd3][0xf][0x93][0xff]Fo[0xa6]Q[0x95][0xe4]Y:/[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x8a]S*t[0xbc]H[0xb2]i[0x9c][0xce][0x92]4[0x9e][0xe2]ry[0x97]/2[0xd4]4S}[0xf1]}[0x8c][0x12]+P[0xad][0x9][0xad];[0xc5][0xcc][0xc7][0xa3][0xc3]/[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xb8][0x8][0xa2][0x86][0xfe][0x3][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@2ecdf528 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ ] }, { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords": 2 } { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 2 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_NO_ACQ without acq. units change: Successful ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 314[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 314 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-NO-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-NO-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f" } 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f' with body: { "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name" : "Organization", "code" : "TST-ORG-NO-ACQ", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "metadata" : { "createdDate" : 1668163941108, "createdByUserId" : "6b4be232-5ad9-47a6-80b1-8c1acabd6212", "updatedDate" : 1668163941108, "updatedByUserId" : "6b4be232-5ad9-47a6-80b1-8c1acabd6212" } } 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f' request successfully processed 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51696 PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 204 0 13 tid=organizations-test No Content null 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@377e573a 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_READ_PROTECTED without acq. units change: Successful ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 354[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 354 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-READ-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-READ-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9" } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de+AND+acquisitionsUnitId%3D%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "4f1f2c86-67d5-4a09-9d18-8817614a01a0", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9' with body: { "id" : "874225ae-e3f5-4666-ae19-b35709ff0ee9", "name" : "Organization", "code" : "TST-ORG-READ-ACQ", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ], "metadata" : { "createdDate" : 1668163941138, "createdByUserId" : "6e076ac5-371e-4462-af79-187c54fe70de", "updatedDate" : 1668163941138, "updatedByUserId" : "6e076ac5-371e-4462-af79-187c54fe70de" } } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9' request successfully processed 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51698 PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 null HTTP_1_1 204 0 25 tid=organizations-test No Content null 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@38cf3ae1 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_UPDATE_PROTECTED without acq. units change: Successful ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6bf43c5a-6513-4ce0-a3bd-ac447b222094[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 356[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6bf43c5a-6513-4ce0-a3bd-ac447b222094 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 356 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-UPDATE-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-UPDATE-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 15:52:21 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 15:52:21 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "id" : "caa81a86-5829-45b7-b320-ca0d27abf9d5" } 15:52:21 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:21 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:21 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : false, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5' with body: { "id" : "caa81a86-5829-45b7-b320-ca0d27abf9d5", "name" : "Organization", "code" : "TST-ORG-UPDATE-ACQ", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "metadata" : { "createdDate" : 1668163941178, "createdByUserId" : "6bf43c5a-6513-4ce0-a3bd-ac447b222094", "updatedDate" : 1668163941178, "updatedByUserId" : "6bf43c5a-6513-4ce0-a3bd-ac447b222094" } } 15:52:21 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5' request successfully processed 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [organizations-test] [6bf43c5a-6513-4ce0-a3bd-ac447b222094] [mod_organizations] INFO LogUtil 127.0.0.1:51702 PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 null HTTP_1_1 204 0 17 tid=organizations-test No Content null 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@7d626f2 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_FULL_PROTECTED without acq. units change: Successful ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 358[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 358 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-FULL-PROTECT","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-FULL-PROTECT","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "id" : "9985ec57-91cb-4588-9fab-089859a017a5" } 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "e68c18fc-833f-494e-9a0e-b236eb4b310b", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227+AND+acquisitionsUnitId%3D%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b%29&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "7f4d3783-a111-4bd0-b404-5a7191b729b8", "userId" : "480dba68-ee84-4b9c-a374-7e824fc49227", "acquisitionsUnitId" : "e68c18fc-833f-494e-9a0e-b236eb4b310b" } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5' with body: { "id" : "9985ec57-91cb-4588-9fab-089859a017a5", "name" : "Organization", "code" : "TST-ORG-FULL-PROTECT", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ], "metadata" : { "createdDate" : 1668163941211, "createdByUserId" : "480dba68-ee84-4b9c-a374-7e824fc49227", "updatedDate" : 1668163941211, "updatedByUserId" : "480dba68-ee84-4b9c-a374-7e824fc49227" } } 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/9985ec57-91cb-4588-9fab-089859a017a5' request successfully processed 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO LogUtil 127.0.0.1:51705 PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 null HTTP_1_1 204 0 23 tid=organizations-test No Content null 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@349f3ff7 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify GET collection with full-protected membership: Successful (all entities collection) ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 480dba68-ee84-4b9c-a374-7e824fc49227 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227&lang=en 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227&lang=en 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D480dba68-ee84-4b9c-a374-7e824fc49227&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "af8320b9-65db-4a0e-a333-26b9e5831f30", "userId" : "480dba68-ee84-4b9c-a374-7e824fc49227", "acquisitionsUnitId" : "e68c18fc-833f-494e-9a0e-b236eb4b310b" } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: e68c18fc-833f-494e-9a0e-b236eb4b310b 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=acqUnitIds%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b+or+6b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29&lang=en 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=acqUnitIds%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b+or+6b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29&lang=en 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=acqUnitIds%3D%28e68c18fc-833f-494e-9a0e-b236eb4b310b+or+6b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29&lang=en: { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } ], "totalRecords" : 3 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [organizations-test] [480dba68-ee84-4b9c-a374-7e824fc49227] [mod_organizations] INFO LogUtil 127.0.0.1:51709 GET /organizations/organizations null HTTP_1_1 200 1527 19 tid=organizations-test OK { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } ], "totalRecords" : 3 } 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "134[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0xec][0x91][0xc1]n[0xc2]0[0x10]D[0xef]H[0xfc]C[0xe4]3[0x96][0x12][0x1c][0x5][0xa7]7[0xd4]C[0xd5]K+![0xda]K[0xd5][0x83][0xbd]^[0x7]K[0x89]M[0x1d][0x7][0xb5]E[0xfc]{[0x1b]H[0x10][0xc2][0x80][0xb8][0xce][0x1b][0xcf][0xae]w[0xf6][0xd3]I[0x92][0x10][0xe7]+a[0xcd][0xaf][0x8][0xc6][0xd9][0x96]$[0xf][0xc9]G[0xb2][0xef][0xc1]?[0xb2][0xa2][0xc1]^![0xaf][0x17][0x1e]2[0x1b](85[0xd0][0xd5][0xd3]Y[0xc4][0xef][0xad][0xf3]a[0xed][0x96][0x0][0xae][0xb3][0xc1][0xd8][0xaa][0xb7]hQ[0xb7]8Z[0xda] Bw[0x9c]D[0x96][0x10][0xcc][0xe][0xcf][0x8f]/WY[0xff]lqX[0xe7]s[0xe4][0xa2]6[0xa2][0x8d]U[0xa5]<[0xb6][0xb1][0xbe][0xdd]8[0x8b]/]#[0xd1]_#l[0x84][0xa9][0xaf][0xc5][0xce]G[0x12]8[0x1b][0x4][0x84]hb[0xe5][0x11][0x1b][0xb4][0x11][0xd8][0xa1]U[0xce]?v[0xde][0xa3][0x5][0x13]mdl@[0xaf][0x5][0xc4]_8]+[0xf2][0xb7][0xef][0xc7][0xc0][0xe8][0x84][0xb0][0x11][0xb6][0xc2][0xda]Uq[0xd0][0xd7][0x9b]5[0xe1]Y[0x8d][0xa0][0xd7][0xf][0xb3]{[0xa3]7[0xd3]()d[0xc9][0xe7]Z#[0xe5][0xa8][0x15][0xcd][0x8b]2[0xa5]<+8Ma[0xb1]`2/AaF[0xee][0xc5][0xdf]^[0xf1]Xp[0xc8][0xb8][0x6][0xca][0x19][0xd3]4/s[0xa4][0xa5]H[0x91][0xca]9+P[0xe6][0x92]e[0xa9][0x1c][0x8b][0x1f]bHpA[0xd4]+[0x4][0xe7]O1l:9[0xfc][0x1][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x8a][0xab][0xdf]G[0xf7][0x5][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@308a9264 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ ] }, { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] }, { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } ], "totalRecords": 3 } { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "e68c18fc-833f-494e-9a0e-b236eb4b310b" ] } ], "totalRecords" : 3 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_NO_ACQ: Not Found ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 303[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 303 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51713 PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 11 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@7a1ddbf1 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_READ_PROTECTED: Not Found ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51715 PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 9 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@1958c0d9 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_UPDATE_PROTECTED: Not Found ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51717 PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 9 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@c67395 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_FULL_PROTECTED: Not Found ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 341[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 341 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations/f394664e-849d-4213-96c4-2795f772ae3a java.util.concurrent.CompletionException: org.folio.exception.HttpException: Not Found at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Not Found at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 404 Not Found[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 404 Not Found 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 404 Not Found 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51719 PUT /organizations/organizations/f394664e-849d-4213-96c4-2795f772ae3a null HTTP_1_1 404 137 11 tid=organizations-test Not Found { "errors" : [ { "message" : "Not Found", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "73[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0xcc];[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x80]0[0x10]E[0xd1]>[0xe0][0x1e][0x86][0xa9]ml[0xed][0xb5]t[0x3]"[0x12][0x92]![0x8][0xc6][0x91]I[0xac]B[0xf6][0xae][0xf1][0xd7][0xde][0xf3]x[0xa9]R[0x0]H",[0x1][0xa1][0x85][0x11]R)W[0xf3][0x14][0x82]vT"[0xe][0x1c][0xa1][0xe7]c[0xb3]X[0xbf]j[0xd8]>[0xe4]h#YLW[0x1e]~[0xdd][0xb5]hO[0x91][0xbe][0xcf][0xa9][0xf4][0xc][0xd3][0xed][0x18]9[0xea]u[0x16]2,[0xf6][0x1e]4[0x95][0xca]'[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x3][0xae][0xb5][0xeb][0x89][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@70c205bf 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 404 Not Found Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Not Found", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by query ORGANIZATION_NO_ACQ: Internal Server Error ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "28592a88-b109-4c13-aec4-bd4e6b41971e", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51721 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP_1_1 500 140 21 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@26865b57 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by query ORGANIZATION_READ_PROTECTED: Internal Server Error ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "28592a88-b109-4c13-aec4-bd4e6b41971e", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51725 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP_1_1 500 140 20 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@79ba0285 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by query ORGANIZATION_UPDATE_PROTECTED: Internal Server Error ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "28592a88-b109-4c13-aec4-bd4e6b41971e", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51729 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP_1_1 500 140 20 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@6f240187 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify GET by query ORGANIZATION_FULL_PROTECTED: Internal Server Error ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations?limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6e076ac5-371e-4462-af79-187c54fe70de 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6e076ac5-371e-4462-af79-187c54fe70de&lang=en: { "acquisitionsUnitMemberships" : [ { "id" : "28592a88-b109-4c13-aec4-bd4e6b41971e", "userId" : "6e076ac5-371e-4462-af79-187c54fe70de", "acquisitionsUnitId" : "6b982ffe-8efd-4690-8168-0c773b49cde1" } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 1 acq units: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] ERROR BaseService Exception calling GET /organizations-storage/organizations?limit=10&offset=0&query=%28acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c%29&lang=en java.util.concurrent.CompletionException: org.folio.exception.HttpException: Server Error at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] Caused by: org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] ... 21 more 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: Server Error at org.folio.service.BaseService.verifyAndExtractBody(BaseService.java:223) ~[classes/:?] at org.folio.service.BaseService.lambda$3(BaseService.java:145) ~[classes/:?] at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073) ~[?:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:58) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:397) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:384) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:362) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:329) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:291) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.ext.web.client.impl.HttpContext.lambda$null$7(HttpContext.java:507) ~[vertx-web-client-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:43) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 500 Internal Server Error 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [organizations-test] [6e076ac5-371e-4462-af79-187c54fe70de] [mod_organizations] INFO LogUtil 127.0.0.1:51733 GET /organizations/organizations limit=10&offset=0&query=id%3D%3D96e79e5a-c379-4a5a-8244-d6df0342e21c&lang=en HTTP_1_1 500 140 22 tid=organizations-test Internal Server Error { "errors" : [ { "message" : "Server Error", "code" : "genericError", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "6f[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]T[0x8c]1[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x80]0[0x10][0x4]{[0xc1]?[0x1c]W[0xdb][0xd8][0xda][0xfb][0x2]K[0x11][0x9]q[0x11]A[0x8d]l[0x82][0x8d][0xf8]wM[0xd4][0xc2]vf[0x98]#[0xcf]D[0x14][0xa4][0xa3]W[0xa9][0xa4][0x95]#[0x92][0x9b]-[0xf0][0xde][0x8c][0x88]P[0x1b]p[0x7][0xa5][0x8e][0x99][0x16]o`[0xdd][0xf0][0xd8][0x11]+8[0xd9][0xbf][0xdd][0xc][0xcd][0x82][0x80]o[0xdb]E~J[0x97][0xbc][0x6][0x17][0xcc][0xdc][0x13][0xd6]qHA[0x99]g[0xe7][0x5][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf3][0xc5][0xe7][0xaa][0x8c][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@16e07bae 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 500 Internal Server Error Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Server Error", "code": "genericError", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify GET collection with read-only membership: Successful (open for read entities collection) ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: GET /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "GET /organizations/organizations HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Permissions: [][\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> GET /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-User-Id: 6b4be232-5ad9-47a6-80b1-8c1acabd6212 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Permissions: [] 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=@javax.ws.rs.QueryParam valueType=int 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=6 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO RestRouting invoking getOrganizationsOrganizations 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212&lang=en 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212&lang=en 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/memberships?limit=2147483647&offset=0&query=userId%3D%3D6b4be232-5ad9-47a6-80b1-8c1acabd6212&lang=en: { "acquisitionsUnitMemberships" : [ ], "totalRecords" : 0 } 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl User belongs to 0 acq units: 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en: { "acquisitionsUnits" : [ { "id" : "6b982ffe-8efd-4690-8168-0c773b49cde1", "isDeleted" : false, "protectCreate" : true, "protectRead" : false, "protectUpdate" : true, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG AcquisitionsUnitsServiceImpl 1 acq units with 'protectRead==false' are found: 6b982ffe-8efd-4690-8168-0c773b49cde1 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations?limit=10&offset=0&query=acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29&lang=en 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations?limit=10&offset=0&query=acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29&lang=en 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations?limit=10&offset=0&query=acqUnitIds%3D%286b982ffe-8efd-4690-8168-0c773b49cde1%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29&lang=en: { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 2 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 200 OK[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 200 OK 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 200 OK 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "116[\r][\n]" 15:52:21 [] [organizations-test] [6b4be232-5ad9-47a6-80b1-8c1acabd6212] [mod_organizations] INFO LogUtil 127.0.0.1:51737 GET /organizations/organizations null HTTP_1_1 200 1022 20 tid=organizations-test OK { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 2 } 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0xec][0x91]Ak[0xc2]@[0x10][0x85][0xef][0x82][0xff]![0xec][0xd9][0x80]Z[0x89]Io[0xd2]C[0xe9][0xa5][0x5][0xb1][0xbd][0x94][0x1e]&[0xb3][0x93][0xb8][0x90][0xcc][0xa6][0xbb][0x13]i+[0xfe][0xf7]6[0x9a][0x88][0xb8][0xff]@z}[0xdf][0xdb]7[0xb3][0xf3][0xf6][0xe3]Q[0x14])[0xeb]J`[0xf3][0x3]b,{[0x15][0xdd]G[0xef][0xd1][0xbe][0x3][0x88][0xa1][0xa6]NQ/[0x17][0x1e]5[0xe9])Z[0xdd][0xd3][0xf5][0xe3]Y[0xa4][0xaf][0xc6]:[0xd9][0xd8][0x15][0xa2]mY[0xc][0x97][0x9d][0xa5][0x80][0xca][0xd3]`[0xf1][0x2][0xd2][0x1e]'[0xa9][0x15][0x8a][0xd9][0xd1][0xf9][0xf1][0xe5]*[0x9b][0xef][0x86][0xfa]u>[0x6][0xe][0x95][0x1][0x1f][0xaa]Z;[0xf2][0xa1][0xde]l-[0xd3]s[[0xe7][0xe4][0xae][0x11][0xd5]`[0xaa]k[0xb1]u[0x81][0x84][0x96][0x5]P[0x82][0x89][0xa5]#[0xaa][0x89][0x3][0xb0]#[0xd6][0xd6]=[0xb4][0xce][0x11][0xa3][0x9]62,[0xe4][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0xc0][0xf0][0xb][0xa7]k[0x5]~[0xff]v[0xc][0xc]N[0x88][[0xe0][0x92]*[[0x86]A[0x9f][0xaf]l[0xe4]I[0xf][0xa0][0xd3][0xf][0x93][0xff]Fo[0xa6]Q[0x95][0xe4]Y:/[\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x8a]S*t[0xbc]H[0xb2]i[0x9c][0xce][0x92]4[0x9e][0xe2]ry[0x97]/2[0xd4]4S}[0xf1]}[0x8c][0x12]+P[0xad][0x9][0xad];[0xc5][0xcc][0xc7][0xa3][0xc3]/[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xb8][0x8][0xa2][0x86][0xfe][0x3][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@727453a3 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 200 OK Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "organizations": [ { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ ] }, { "name": "Organization", "code": "ORG", "exportToAccounting": false, "status": "Active", "organizationTypes": [ ], "aliases": [ ], "addresses": [ ], "phoneNumbers": [ ], "emails": [ ], "urls": [ ], "contacts": [ ], "agreements": [ ], "vendorCurrencies": [ ], "interfaces": [ ], "accounts": [ ], "isVendor": false, "changelogs": [ ], "acqUnitIds": [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords": 2 } { "organizations" : [ { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ] }, { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "6b982ffe-8efd-4690-8168-0c773b49cde1" ] } ], "totalRecords" : 2 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify POST ORGANIZATION_NO_ACQ: Account number must be unique ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: POST /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "POST /organizations/organizations HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: ISE[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 440[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> POST /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: ISE 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 440 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":[]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":[]} 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [ISE] [] [mod_organizations] INFO RestRouting invoking postOrganizationsOrganizations 15:52:21 [] [ISE] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.createOrganization(OrganizationStorageService.java:51) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.postOrganizationsOrganizations(OrganizationApi.java:42) ~[classes/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [ISE] [] [mod_organizations] INFO LogUtil 127.0.0.1:51741 POST /organizations/organizations null HTTP_1_1 422 187 11 tid=ISE Unprocessable Entity { "errors" : [ { "message" : "Account number must be unique for organization", "code" : "accountNumberMustBeUnique", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "92[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0x10]C[0xf7]J[0xfd][0x7]+3[0xb]+[0x1b][0xec][0xb0]1[0xa1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "][0xd3][0xa3][0x8a]DrpI[0x96]V[0xfd]w[0x9a][0x14]X[0x9f][0xfd],[0xcf]m[0x3][0x18]V[0x15][0x8d][0x6][0x7][0xdc]0[0x17][0xb2]2[0xcf]1[0xd2][0xc8][0x5][0x9a][0xa3][0xb5][0x92]CB[0xc8][0xbe]g[0x85][0xcf]1[0xa1]g[0xe4][0xe0][0xde][0x99][0xf1][0x10][0x85][0xe8]H[0xc1]M[0x94][0x9c][0x4][0xb3][0xfb]NX[0x19]6[0x9f]6[0xff]R[0xf5][0xf3]j[0x9f][0xf8]Z[0xdd][0xf5]EJ[0x9e][0x13][0xff]^t[0x85]/[0xe8]jn[0x92]$z[0xde][0x95][0xad][0xe8]P[0xb][0xfb][0xb6]Y>[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf6][0xbb]5[0xaf][0xbb][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@4571cebe 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Account number must be unique for organization", "code": "accountNumberMustBeUnique", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify POST ORGANIZATION_READ_PROTECTED: Account number must be unique ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: POST /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "POST /organizations/organizations HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: ISE[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 478[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> POST /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: ISE 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 478 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [ISE] [] [mod_organizations] INFO RestRouting invoking postOrganizationsOrganizations 15:52:21 [] [ISE] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.createOrganization(OrganizationStorageService.java:51) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.postOrganizationsOrganizations(OrganizationApi.java:42) ~[classes/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [ISE] [] [mod_organizations] INFO LogUtil 127.0.0.1:51742 POST /organizations/organizations null HTTP_1_1 422 187 3 tid=ISE Unprocessable Entity { "errors" : [ { "message" : "Account number must be unique for organization", "code" : "accountNumberMustBeUnique", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "92[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0x10]C[0xf7]J[0xfd][0x7]+3[0xb]+[0x1b][0xec][0xb0]1[0xa1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "][0xd3][0xa3][0x8a]DrpI[0x96]V[0xfd]w[0x9a][0x14]X[0x9f][0xfd],[0xcf]m[0x3][0x18]V[0x15][0x8d][0x6][0x7][0xdc]0[0x17][0xb2]2[0xcf]1[0xd2][0xc8][0x5][0x9a][0xa3][0xb5][0x92]CB[0xc8][0xbe]g[0x85][0xcf]1[0xa1]g[0xe4][0xe0][0xde][0x99][0xf1][0x10][0x85][0xe8]H[0xc1]M[0x94][0x9c][0x4][0xb3][0xfb]NX[0x19]6[0x9f]6[0xff]R[0xf5][0xf3]j[0x9f][0xf8]Z[0xdd][0xf5]EJ[0x9e][0x13][0xff]^t[0x85]/[0xe8]jn[0x92]$z[0xde][0x95][0xad][0xe8]P[0xb][0xfb][0xb6]Y>[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf6][0xbb]5[0xaf][0xbb][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@6d3ad37a 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Account number must be unique for organization", "code": "accountNumberMustBeUnique", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify POST ORGANIZATION_UPDATE_PROTECTED: Account number must be unique ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: POST /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "POST /organizations/organizations HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: ISE[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 478[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> POST /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: ISE 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 478 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [ISE] [] [mod_organizations] INFO RestRouting invoking postOrganizationsOrganizations 15:52:21 [] [ISE] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.createOrganization(OrganizationStorageService.java:51) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.postOrganizationsOrganizations(OrganizationApi.java:42) ~[classes/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [ISE] [] [mod_organizations] INFO LogUtil 127.0.0.1:51743 POST /organizations/organizations null HTTP_1_1 422 187 3 tid=ISE Unprocessable Entity { "errors" : [ { "message" : "Account number must be unique for organization", "code" : "accountNumberMustBeUnique", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "92[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0x10]C[0xf7]J[0xfd][0x7]+3[0xb]+[0x1b][0xec][0xb0]1[0xa1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "][0xd3][0xa3][0x8a]DrpI[0x96]V[0xfd]w[0x9a][0x14]X[0x9f][0xfd],[0xcf]m[0x3][0x18]V[0x15][0x8d][0x6][0x7][0xdc]0[0x17][0xb2]2[0xcf]1[0xd2][0xc8][0x5][0x9a][0xa3][0xb5][0x92]CB[0xc8][0xbe]g[0x85][0xcf]1[0xa1]g[0xe4][0xe0][0xde][0x99][0xf1][0x10][0x85][0xe8]H[0xc1]M[0x94][0x9c][0x4][0xb3][0xfb]NX[0x19]6[0x9f]6[0xff]R[0xf5][0xf3]j[0x9f][0xf8]Z[0xdd][0xf5]EJ[0x9e][0x13][0xff]^t[0x85]/[0xe8]jn[0x92]$z[0xde][0x95][0xad][0xe8]P[0xb][0xfb][0xb6]Y>[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf6][0xbb]5[0xaf][0xbb][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@55c03e4 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Account number must be unique for organization", "code": "accountNumberMustBeUnique", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify POST ORGANIZATION_FULL_PROTECTED: Account number must be unique ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: POST /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "POST /organizations/organizations HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: ISE[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 478[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> POST /organizations/organizations HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: ISE 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 478 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [ISE] [] [mod_organizations] INFO RestRouting invoking postOrganizationsOrganizations 15:52:21 [] [ISE] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.createOrganization(OrganizationStorageService.java:51) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.postOrganizationsOrganizations(OrganizationApi.java:42) ~[classes/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [ISE] [] [mod_organizations] INFO LogUtil 127.0.0.1:51744 POST /organizations/organizations null HTTP_1_1 422 187 4 tid=ISE Unprocessable Entity { "errors" : [ { "message" : "Account number must be unique for organization", "code" : "accountNumberMustBeUnique", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "92[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0x10]C[0xf7]J[0xfd][0x7]+3[0xb]+[0x1b][0xec][0xb0]1[0xa1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "][0xd3][0xa3][0x8a]DrpI[0x96]V[0xfd]w[0x9a][0x14]X[0x9f][0xfd],[0xcf]m[0x3][0x18]V[0x15][0x8d][0x6][0x7][0xdc]0[0x17][0xb2]2[0xcf]1[0xd2][0xc8][0x5][0x9a][0xa3][0xb5][0x92]CB[0xc8][0xbe]g[0x85][0xcf]1[0xa1]g[0xe4][0xe0][0xde][0x99][0xf1][0x10][0x85][0xe8]H[0xc1]M[0x94][0x9c][0x4][0xb3][0xfb]NX[0x19]6[0x9f]6[0xff]R[0xf5][0xf3]j[0x9f][0xf8]Z[0xdd][0xf5]EJ[0x9e][0x13][0xff]^t[0x85]/[0xe8]jn[0x92]$z[0xde][0x95][0xad][0xe8]P[0xb][0xfb][0xb6]Y>[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf6][0xbb]5[0xaf][0xbb][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@7a0f06ad 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Account number must be unique for organization", "code": "accountNumberMustBeUnique", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID open for update ORGANIZATION_NO_ACQ: Successful ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 314[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 314 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-NO-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-NO-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f" } 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f' with body: { "id" : "1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f", "name" : "Organization", "code" : "TST-ORG-NO-ACQ", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ ], "metadata" : { "createdDate" : 1668163941681, "updatedDate" : 1668163941681 } } 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f' request successfully processed 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@64420e34 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51745 PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 204 0 15 tid=organizations-test No Content null HTTP/1.1 204 No Content 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID open for update ORGANIZATION_UPDATE_PROTECTED: Successful ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 356[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 356 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"TST-ORG-UPDATE-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 -------- bodyContent -------- {"name":"Organization","code":"TST-ORG-UPDATE-ACQ","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService The response body for GET /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5: { "name" : "Organization", "code" : "ORG", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "id" : "caa81a86-5829-45b7-b320-ca0d27abf9d5" } 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService Calling GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Validating response for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en 15:52:21 [] [organizations-test] [] [mod_organizations] INFO BaseService The response body for GET /acquisitions-units-storage/units?limit=2147483647&offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%28aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c%29%29&lang=en: { "acquisitionsUnits" : [ { "id" : "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c", "isDeleted" : false, "protectCreate" : true, "protectRead" : true, "protectUpdate" : false, "protectDelete" : true } ], "totalRecords" : 1 } 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService Sending 'PUT /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5' with body: { "id" : "caa81a86-5829-45b7-b320-ca0d27abf9d5", "name" : "Organization", "code" : "TST-ORG-UPDATE-ACQ", "exportToAccounting" : false, "status" : "Active", "organizationTypes" : [ ], "aliases" : [ ], "addresses" : [ ], "phoneNumbers" : [ ], "emails" : [ ], "urls" : [ ], "contacts" : [ ], "agreements" : [ ], "vendorCurrencies" : [ ], "interfaces" : [ ], "accounts" : [ ], "isVendor" : false, "changelogs" : [ ], "acqUnitIds" : [ "aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c" ], "metadata" : { "createdDate" : 1668163941712, "updatedDate" : 1668163941712 } } 15:52:21 [] [organizations-test] [] [mod_organizations] DEBUG BaseService 'PUT /organizations-storage/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5' request successfully processed 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 204 No Content[\r][\n]" 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51747 PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 null HTTP_1_1 204 0 19 tid=organizations-test No Content null 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 204 No Content 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@604f376a 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 204 No Content 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_NO_ACQ: ID Mismatch ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 347[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 347 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[],"id":"fc79a056-dc64-4823-ba6b-47c73b9fe139"}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":[],"id":"fc79a056-dc64-4823-ba6b-47c73b9fe139"} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.updateOrganizationById(OrganizationStorageService.java:131) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.putOrganizationsOrganizationsById(OrganizationApi.java:59) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor255.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51750 PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 422 170 3 tid=organizations-test Unprocessable Entity { "errors" : [ { "message" : "Mismatch between id in path and request body", "code" : "idMismatch", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "87[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8d][0xc1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0xc2]0[0x10]D[0xef][0x85][0xfe][0xc3][0x90][0xb3][0x17][0xaf][0xfe][0x83]_P[0x8a]l[0xb3][0x8b][\r][0x98][0xa4]nVDJ[0xff][0xbd][0xa6][0xb6]^[0xdf][0xcc][0x9b][0x99][0xdb][0x6]p[0xa2][0x9a][0xb5]8\[0xd0]a[0xae][0xe4][0xcb][0xa2][0x94]Bw[0xa9][0xd0]]C[0x89]d~[0xc4] [0xf6][0x16]I[0x8][0x8c][0x90]0[0x91][0x8d][0xa0][0xc4]Py[0xbe][0xa4][0x18][0x86][0xcc][0x1f]w[0xda][0x7]|[0xe6][0x9f][0x1d][0xf8][0xf0][0xff][0xd9]DJQL[0x8e][0xd3][0xbe][0xf2][0x5][0xfd][0x96];[0xcb]F[0x8f][0x9b][0x8a][0xcf][0xca][[0xe1][0xdc]6[0xcb][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x1a][0xcc][0x9e][0xf7][0xaa][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@43fd77d8 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Mismatch between id in path and request body", "code": "idMismatch", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_READ_PROTECTED: ID Mismatch ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 385[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 385 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"],"id":"043977d3-75c7-4ecf-bf6b-a4ca99023249"}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"],"id":"043977d3-75c7-4ecf-bf6b-a4ca99023249"} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.updateOrganizationById(OrganizationStorageService.java:131) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.putOrganizationsOrganizationsById(OrganizationApi.java:59) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor255.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51751 PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 null HTTP_1_1 422 170 3 tid=organizations-test Unprocessable Entity { "errors" : [ { "message" : "Mismatch between id in path and request body", "code" : "idMismatch", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "87[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8d][0xc1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0xc2]0[0x10]D[0xef][0x85][0xfe][0xc3][0x90][0xb3][0x17][0xaf][0xfe][0x83]_P[0x8a]l[0xb3][0x8b][\r][0x98][0xa4]nVDJ[0xff][0xbd][0xa6][0xb6]^[0xdf][0xcc][0x9b][0x99][0xdb][0x6]p[0xa2][0x9a][0xb5]8\[0xd0]a[0xae][0xe4][0xcb][0xa2][0x94]Bw[0xa9][0xd0]]C[0x89]d~[0xc4] [0xf6][0x16]I[0x8][0x8c][0x90]0[0x91][0x8d][0xa0][0xc4]Py[0xbe][0xa4][0x18][0x86][0xcc][0x1f]w[0xda][0x7]|[0xe6][0x9f][0x1d][0xf8][0xf0][0xff][0xd9]DJQL[0x8e][0xd3][0xbe][0xf2][0x5][0xfd][0x96];[0xcb]F[0x8f][0x9b][0x8a][0xcf][0xca][[0xe1][0xdc]6[0xcb][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x1a][0xcc][0x9e][0xf7][0xaa][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@1ad1be5d 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Mismatch between id in path and request body", "code": "idMismatch", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_UPDATE_PROTECTED: ID Mismatch ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 385[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 385 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"],"id":"9b87b47d-2c51-42d8-8ee6-885d4d93d1a3"}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"],"id":"9b87b47d-2c51-42d8-8ee6-885d4d93d1a3"} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.updateOrganizationById(OrganizationStorageService.java:131) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.putOrganizationsOrganizationsById(OrganizationApi.java:59) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor255.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51752 PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 null HTTP_1_1 422 170 3 tid=organizations-test Unprocessable Entity { "errors" : [ { "message" : "Mismatch between id in path and request body", "code" : "idMismatch", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "87[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8d][0xc1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0xc2]0[0x10]D[0xef][0x85][0xfe][0xc3][0x90][0xb3][0x17][0xaf][0xfe][0x83]_P[0x8a]l[0xb3][0x8b][\r][0x98][0xa4]nVDJ[0xff][0xbd][0xa6][0xb6]^[0xdf][0xcc][0x9b][0x99][0xdb][0x6]p[0xa2][0x9a][0xb5]8\[0xd0]a[0xae][0xe4][0xcb][0xa2][0x94]Bw[0xa9][0xd0]]C[0x89]d~[0xc4] [0xf6][0x16]I[0x8][0x8c][0x90]0[0x91][0x8d][0xa0][0xc4]Py[0xbe][0xa4][0x18][0x86][0xcc][0x1f]w[0xda][0x7]|[0xe6][0x9f][0x1d][0xf8][0xf0][0xff][0xd9]DJQL[0x8e][0xd3][0xbe][0xf2][0x5][0xfd][0x96];[0xcb]F[0x8f][0x9b][0x8a][0xcf][0xca][[0xe1][0xdc]6[0xcb][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x1a][0xcc][0x9e][0xf7][0xaa][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@10166230 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Mismatch between id in path and request body", "code": "idMismatch", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_FULL_PROTECTED: ID Mismatch ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 385[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 385 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"],"id":"3ceeef8c-c344-40dd-be33-3cb1f639c067"}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"],"id":"3ceeef8c-c344-40dd-be33-3cb1f639c067"} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.updateOrganizationById(OrganizationStorageService.java:131) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.putOrganizationsOrganizationsById(OrganizationApi.java:59) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor255.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51753 PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 null HTTP_1_1 422 170 3 tid=organizations-test Unprocessable Entity { "errors" : [ { "message" : "Mismatch between id in path and request body", "code" : "idMismatch", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "87[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8d][0xc1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0xc2]0[0x10]D[0xef][0x85][0xfe][0xc3][0x90][0xb3][0x17][0xaf][0xfe][0x83]_P[0x8a]l[0xb3][0x8b][\r][0x98][0xa4]nVDJ[0xff][0xbd][0xa6][0xb6]^[0xdf][0xcc][0x9b][0x99][0xdb][0x6]p[0xa2][0x9a][0xb5]8\[0xd0]a[0xae][0xe4][0xcb][0xa2][0x94]Bw[0xa9][0xd0]]C[0x89]d~[0xc4] [0xf6][0x16]I[0x8][0x8c][0x90]0[0x91][0x8d][0xa0][0xc4]Py[0xbe][0xa4][0x18][0x86][0xcc][0x1f]w[0xda][0x7]|[0xe6][0x9f][0x1d][0xf8][0xf0][0xff][0xd9]DJQL[0x8e][0xd3][0xbe][0xf2][0x5][0xfd][0x96];[0xcb]F[0x8f][0x9b][0x8a][0xcf][0xca][[0xe1][0xdc]6[0xcb][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0x1a][0xcc][0x9e][0xf7][0xaa][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@15be68b 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Mismatch between id in path and request body", "code": "idMismatch", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_NO_ACQ: Account number must be unique ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 440[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 440 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":[]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":[]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.updateOrganizationById(OrganizationStorageService.java:136) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.putOrganizationsOrganizationsById(OrganizationApi.java:59) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor255.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51754 PUT /organizations/organizations/1614c7e5-7b3e-4cb3-8fb9-48fe85c7b47f null HTTP_1_1 422 187 3 tid=organizations-test Unprocessable Entity { "errors" : [ { "message" : "Account number must be unique for organization", "code" : "accountNumberMustBeUnique", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "92[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0x10]C[0xf7]J[0xfd][0x7]+3[0xb]+[0x1b][0xec][0xb0]1[0xa1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "][0xd3][0xa3][0x8a]DrpI[0x96]V[0xfd]w[0x9a][0x14]X[0x9f][0xfd],[0xcf]m[0x3][0x18]V[0x15][0x8d][0x6][0x7][0xdc]0[0x17][0xb2]2[0xcf]1[0xd2][0xc8][0x5][0x9a][0xa3][0xb5][0x92]CB[0xc8][0xbe]g[0x85][0xcf]1[0xa1]g[0xe4][0xe0][0xde][0x99][0xf1][0x10][0x85][0xe8]H[0xc1]M[0x94][0x9c][0x4][0xb3][0xfb]NX[0x19]6[0x9f]6[0xff]R[0xf5][0xf3]j[0x9f][0xf8]Z[0xdd][0xf5]EJ[0x9e][0x13][0xff]^t[0x85]/[0xe8]jn[0x92]$z[0xde][0x95][0xad][0xe8]P[0xb][0xfb][0xb6]Y>[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf6][0xbb]5[0xaf][0xbb][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@7283877 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Account number must be unique for organization", "code": "accountNumberMustBeUnique", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_READ_PROTECTED: Account number must be unique ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 478[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 478 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["6b982ffe-8efd-4690-8168-0c773b49cde1"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.updateOrganizationById(OrganizationStorageService.java:136) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.putOrganizationsOrganizationsById(OrganizationApi.java:59) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor255.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51755 PUT /organizations/organizations/874225ae-e3f5-4666-ae19-b35709ff0ee9 null HTTP_1_1 422 187 3 tid=organizations-test Unprocessable Entity { "errors" : [ { "message" : "Account number must be unique for organization", "code" : "accountNumberMustBeUnique", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "92[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0x10]C[0xf7]J[0xfd][0x7]+3[0xb]+[0x1b][0xec][0xb0]1[0xa1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "][0xd3][0xa3][0x8a]DrpI[0x96]V[0xfd]w[0x9a][0x14]X[0x9f][0xfd],[0xcf]m[0x3][0x18]V[0x15][0x8d][0x6][0x7][0xdc]0[0x17][0xb2]2[0xcf]1[0xd2][0xc8][0x5][0x9a][0xa3][0xb5][0x92]CB[0xc8][0xbe]g[0x85][0xcf]1[0xa1]g[0xe4][0xe0][0xde][0x99][0xf1][0x10][0x85][0xe8]H[0xc1]M[0x94][0x9c][0x4][0xb3][0xfb]NX[0x19]6[0x9f]6[0xff]R[0xf5][0xf3]j[0x9f][0xf8]Z[0xdd][0xf5]EJ[0x9e][0x13][0xff]^t[0x85]/[0xe8]jn[0x92]$z[0xde][0x95][0xad][0xe8]P[0xb][0xfb][0xb6]Y>[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf6][0xbb]5[0xaf][0xbb][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@3e2c4d4b 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Account number must be unique for organization", "code": "accountNumberMustBeUnique", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_UPDATE_PROTECTED: Account number must be unique ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 478[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 478 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["aa0ec4e1-782f-45f6-a6f3-8e6b6c00599c"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.updateOrganizationById(OrganizationStorageService.java:136) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.putOrganizationsOrganizationsById(OrganizationApi.java:59) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor255.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51756 PUT /organizations/organizations/caa81a86-5829-45b7-b320-ca0d27abf9d5 null HTTP_1_1 422 187 3 tid=organizations-test Unprocessable Entity { "errors" : [ { "message" : "Account number must be unique for organization", "code" : "accountNumberMustBeUnique", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "92[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0x10]C[0xf7]J[0xfd][0x7]+3[0xb]+[0x1b][0xec][0xb0]1[0xa1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "][0xd3][0xa3][0x8a]DrpI[0x96]V[0xfd]w[0x9a][0x14]X[0x9f][0xfd],[0xcf]m[0x3][0x18]V[0x15][0x8d][0x6][0x7][0xdc]0[0x17][0xb2]2[0xcf]1[0xd2][0xc8][0x5][0x9a][0xa3][0xb5][0x92]CB[0xc8][0xbe]g[0x85][0xcf]1[0xa1]g[0xe4][0xe0][0xde][0x99][0xf1][0x10][0x85][0xe8]H[0xc1]M[0x94][0x9c][0x4][0xb3][0xfb]NX[0x19]6[0x9f]6[0xff]R[0xf5][0xf3]j[0x9f][0xf8]Z[0xdd][0xf5]EJ[0x9e][0x13][0xff]^t[0x85]/[0xe8]jn[0x92]$z[0xde][0x95][0xad][0xe8]P[0xb][0xfb][0xb6]Y>[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf6][0xbb]5[0xaf][0xbb][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@4d825dbe 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Account number must be unique for organization", "code": "accountNumberMustBeUnique", "parameters": [ ] } ], "total_records": 1 } 15:52:21 [] [] [] [] INFO OrganizationApiTest ===== Verify PUT by ID ORGANIZATION_FULL_PROTECTED: Account number must be unique ===== 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Get connection for route {}->http://localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnectionOperator Connecting to localhost:56042 15:52:21 [] [] [] [] DEBUG RequestAddCookies CookieSpec selected: ignoreCookies 15:52:21 [] [] [] [] DEBUG RequestAuthCache Auth cache not set in the context 15:52:21 [] [] [] [] DEBUG RequestTargetAuthentication Target auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG RequestProxyAuthentication Proxy auth state: UNCHALLENGED 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Attempt 1 to execute request 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Sending request: PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG Wire >> "PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "x-okapi-url: http://localhost:56845[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept: */*[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "X-Okapi-Tenant: organizations-test[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Content-Length: 478[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Host: localhost:56042[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Connection: Keep-Alive[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12)[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "Accept-Encoding: gzip,deflate[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire >> "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 HTTP/1.1 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> x-okapi-url: http://localhost:56845 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept: */* 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> X-Okapi-Tenant: organizations-test 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Content-Length: 478 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Host: localhost:56042 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Connection: Keep-Alive 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.12) 15:52:21 [] [] [] [] DEBUG DefaultClientConnection >> Accept-Encoding: gzip,deflate 15:52:21 [] [] [] [] DEBUG Wire >> "{"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]}" 15:52:21 [] [] [] [] DEBUG RestRouting order=0 paramType=@javax.ws.rs.PathParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=1 paramType=@javax.ws.rs.QueryParam valueType=java.lang.String 15:52:21 [] [] [] [] DEBUG RestRouting order=2 paramType=NON_ANNOTATED valueType=org.folio.rest.jaxrs.model.Organization 15:52:21 [] [] [] [] DEBUG RestRouting /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 -------- bodyContent -------- {"name":"Organization","code":"ORG","exportToAccounting":false,"status":"Active","organizationTypes":[],"aliases":[],"addresses":[],"phoneNumbers":[],"emails":[],"urls":[],"contacts":[],"agreements":[],"vendorCurrencies":[],"interfaces":[],"accounts":[{"name":"Serials","accountNo":"xxxx7859","accountStatus":"Active"},{"name":"TestAccount","accountNo":"xxxx7859","accountStatus":"Active"}],"isVendor":false,"changelogs":[],"acqUnitIds":["e68c18fc-833f-494e-9a0e-b236eb4b310b"]} 15:52:21 [] [] [] [] DEBUG RestRouting order=3 paramType=NON_ANNOTATED valueType=java.util.Map 15:52:21 [] [] [] [] DEBUG RestRouting order=4 paramType=NON_ANNOTATED valueType=io.vertx.core.Handler 15:52:21 [] [] [] [] DEBUG RestRouting order=5 paramType=NON_ANNOTATED valueType=io.vertx.core.Context 15:52:21 [] [organizations-test] [] [mod_organizations] INFO RestRouting invoking putOrganizationsOrganizationsById 15:52:21 [] [organizations-test] [] [mod_organizations] ERROR BaseApi Exception encountered org.folio.exception.HttpException: null at org.folio.service.organization.OrganizationStorageService.updateOrganizationById(OrganizationStorageService.java:136) ~[classes/:?] at org.folio.rest.impl.OrganizationApi.putOrganizationsOrganizationsById(OrganizationApi.java:59) ~[classes/:?] at jdk.internal.reflect.GeneratedMethodAccessor255.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.folio.rest.RestRouting.invoke(RestRouting.java:447) ~[domain-models-runtime-35.0.1.jar:?] at org.folio.rest.RestRouting.lambda$21(RestRouting.java:712) ~[domain-models-runtime-35.0.1.jar:?] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:246) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.HttpEventHandler.handleEnd(HttpEventHandler.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.onEnd(Http1xServerRequest.java:581) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerRequest.handleEnd(Http1xServerRequest.java:564) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:76) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onEnd(Http1xServerConnection.java:191) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.onContent(Http1xServerConnection.java:181) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleOther(Http1xServerConnection.java:161) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:149) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:157) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) ~[netty-codec-http-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) ~[vertx-core-4.3.4.jar:4.3.4] at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) ~[vertx-core-4.3.4.jar:4.3.4] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:829) ~[?:?] 15:52:21 [] [organizations-test] [] [mod_organizations] INFO LogUtil 127.0.0.1:51757 PUT /organizations/organizations/9985ec57-91cb-4588-9fab-089859a017a5 null HTTP_1_1 422 187 4 tid=organizations-test Unprocessable Entity { "errors" : [ { "message" : "Account number must be unique for organization", "code" : "accountNumberMustBeUnique", "parameters" : [ ] } ], "total_records" : 1 } 15:52:21 [] [] [] [] DEBUG Wire << "HTTP/1.1 422 Unprocessable Entity[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "Content-Type: application/json[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "content-encoding: gzip[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "transfer-encoding: chunked[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG DefaultClientConnection Receiving response: HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << HTTP/1.1 422 Unprocessable Entity 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << Content-Type: application/json 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << content-encoding: gzip 15:52:21 [] [] [] [] DEBUG DefaultClientConnection << transfer-encoding: chunked 15:52:21 [] [] [] [] DEBUG DefaultRequestDirector Connection can be kept alive indefinitely 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsing response as: application/json 15:52:21 [] [] [] [] DEBUG Wire << "92[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]<[0x8e][0xb1][0xe][0xc2]0[0x10]C[0xf7]J[0xfd][0x7]+3[0xb]+[0x1b][0xec][0xb0]1[0xa1][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "][0xd3][0xa3][0x8a]DrpI[0x96]V[0xfd]w[0x9a][0x14]X[0x9f][0xfd],[0xcf]m[0x3][0x18]V[0x15][0x8d][0x6][0x7][0xdc]0[0x17][0xb2]2[0xcf]1[0xd2][0xc8][0x5][0x9a][0xa3][0xb5][0x92]CB[0xc8][0xbe]g[0x85][0xcf]1[0xa1]g[0xe4][0xe0][0xde][0x99][0xf1][0x10][0x85][0xe8]H[0xc1]M[0x94][0x9c][0x4][0xb3][0xfb]NX[0x19]6[0x9f]6[0xff]R[0xf5][0xf3]j[0x9f][0xf8]Z[0xdd][0xf5]EJ[0x9e][0x13][0xff]^t[0x85]/[0xe8]jn[0x92]$z[0xde][0x95][0xad][0xe8]P[0xb][0xfb][0xb6]Y>[0x0][0x0][0x0][0xff][0xff]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "a[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[0x3][0x0][0xf6][0xbb]5[0xaf][0xbb][0x0][0x0][0x0]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "0[\r][\n]" 15:52:21 [] [] [] [] DEBUG Wire << "[\r][\n]" 15:52:21 [] [] [] [] DEBUG HTTPBuilder Parsed data to instance of: class org.apache.http.conn.EofSensorInputStream 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@6dc2279c 15:52:21 [] [] [] [] DEBUG BasicClientConnectionManager Connection can be kept alive indefinitely HTTP/1.1 422 Unprocessable Entity Content-Type: application/json content-encoding: gzip transfer-encoding: chunked { "errors": [ { "message": "Account number must be unique for organization", "code": "accountNumberMustBeUnique", "parameters": [ ] } ], "total_records": 1 } 2022-11-11 15:52:22,115 pool-1-thread-1 DEBUG Stopping LoggerContext[name=4b9af9a9, org.apache.logging.log4j.core.LoggerContext@4fe01805] 15:52:22 [] [] [] [] DEBUG DefaultClientConnection Connection 0.0.0.0:51631<->127.0.0.1:56042 closed 2022-11-11 15:52:22,146 pool-1-thread-1 DEBUG Stopping LoggerContext[name=4b9af9a9, org.apache.logging.log4j.core.LoggerContext@4fe01805]... 15:52:22 [] [] [] [] DEBUG DefaultClientConnection Connection 0.0.0.0:51633<->127.0.0.1:56042 closed 15:52:22 [] [] [] [] DEBUG DefaultClientConnection Connection 0.0.0.0:51635<->127.0.0.1:56042 closed 15:52:22 [] [] [] [] DEBUG DefaultClientConnection Connection 0.0.0.0:51638<->127.0.0.1:56042 closed 15:52:22 [] [] [] [] DEBUG DefaultClientConnection Connection 0.0.0.0:51641<->127.0.0.1:56042 closed 15:52:22 [] [] [] [] DEBUG DefaultClientConnection Connection 0.0.0.0:51643<->127.0.0.1:56042 closed 15:52:22 [] [] [] [] DEBUG DefaultClientConnection Connection 0.0.0.0:51645<->127.0.0.1:56042 closed 15:52:22 [] [] [] [] DEBUG DefaultClientConnection Connection 0.0.0.0:51647<->127.0.0.1:56042 closed 15:52:22 [] [] [] [] DEBUG DefaultClientConnection Connection 0.0.0.0:51649<->127.0.0.1:56042 closed 2022-11-11 15:52:22,159 pool-1-thread-1 DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false.false 2022-11-11 15:52:22,161 pool-1-thread-1 DEBUG OutputStream closed 2022-11-11 15:52:22,163 pool-1-thread-1 DEBUG Shut down OutputStreamManager SYSTEM_OUT.false.false, all resources released: true 2022-11-11 15:52:22,164 pool-1-thread-1 DEBUG Appender STDOUT stopped with status true 2022-11-11 15:52:22,164 pool-1-thread-1 DEBUG Stopped org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2ef8a8c3 OK 2022-11-11 15:52:22,164 pool-1-thread-1 DEBUG Stopped LoggerContext[name=4b9af9a9, org.apache.logging.log4j.core.LoggerContext@4fe01805] with status true