- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.InventoryIntegrationTest], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.InventoryIntegrationTest]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.InventoryIntegrationTest]: InventoryIntegrationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
- Found @SpringBootConfiguration org.libertya.api.LYRestAPI for test class org.libertya.api.InventoryIntegrationTest
- Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
- Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7d156f8f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@451af781, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@3749c2b, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@32e65852, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@64d93096, org.springframework.test.context.support.DirtiesContextTestExecutionListener@76ed7573, org.springframework.test.context.event.EventPublishingTestExecutionListener@51df2a41, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@517bdce0, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@7c0b0bd9, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@6150afc6, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@49f50c8f, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@46e6458d, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@6297cb4b]
2026-07-03 16:59:35.431 INFO - SecurityController.keygen Arg1: {}, Arg2: {accept=text/plain, application/json, application/*+json, */*, username=AdminLibertya, password=AdminLibertya, clientid=1010016, orgid=1010053, content-length=0, host=localhost:46480, connection=Keep-Alive, user-agent=Apache-HttpClient/4.5.2 (Java/1.8.0_121), accept-encoding=gzip,deflate},
2026-07-03 16:59:35.433 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3NSwiZXhwIjoyNjQ3MDExNTc1fQ.WC9xF3t0jweHRNQACy8RTgq1E0TT2SggQvRno1
2026-07-03 16:59:35.447 INFO - InventoryController.addInventory Arg1: class InventoryDocument {, header: class Inventory {, adClientId: null, adOrgId: 1010053, adOrgtrxId: null, approvalamt: null, cActivityId: null, cCampaignId: null, cChargeId: null, cDoctypeId: 1010529, cProjectId: null, created: null, createdby: null, description: null, docaction: null, docstatus: DR, documentno: null, generatelist: null, inventorykind: PI, inventorytype: C, isactive: null, isapproved: null, mInventoryId: null, movementdate: null, mPerpetualinvId: null, mWarehouseId: 1010048, paperForm: null, posted: null, processed: null, processing: null, updated: null, updatedby: null, updateqty: null, user1Id: null, user2Id: null, additionalvalues: null, referencedvalues: null, }, lines: [class InventoryLine {, adClientId: null, adOrgId: 1010053, cChargeId: null, cost: null, created: null, createdby: null, description: null, inventorytype: null, isactive: null, line: null, mAttributesetinstanceId: null, mInventoryId: null, mInventorylineId: null, mLocatorId: 1010278, mProductId: 1015400, processed: null, qtybook: 90, qtycount: 90, qtycountwithoutchargesign: null, qtyinternaluse: null, updated: null, updatedby: null, additionalvalues: null, referencedvalues: null, }], },
Debe postear inmediatamente=false Estado documento=CO
2026-07-03 16:59:35.641 INFO - InventoryController.addInventory: <200 OK OK,1010707,[]>
1010707
2026-07-03 16:59:35.648 INFO - InventoryController.retrieveInventory Arg1: 1010707,
2026-07-03 16:59:35.710 INFO - InventoryController.retrieveInventory: <200 OK OK,class InventoryDocument {, header: class Inventory {, adClientId: 1010016, adOrgId: 1010053, adOrgtrxId: null, approvalamt: null, cActivityId: null, cCampaignId: null, cChargeId: null, cDoctypeId: 1010529, cProjec
2026-07-03 16:59:35.723 INFO - InventoryController.updateInventory Arg1: -1, Arg2: class Inventory {, adClientId: null, adOrgId: null, adOrgtrxId: null, approvalamt: null, cActivityId: null, cCampaignId: null, cChargeId: null, cDoctypeId: null, cProjectId: null, created: null, createdby: null, description: null, docaction: null, docstatus: null, documentno: -1, generatelist: null, inventorykind: null, inventorytype: null, isactive: null, isapproved: null, mInventoryId: null, movementdate: null, mPerpetualinvId: null, mWarehouseId: null, paperForm: null, posted: null, processed: null, processing: null, updated: null, updatedby: null, updateqty: null, user1Id: null, user2Id: null, additionalvalues: null, referencedvalues: null, },
2026-07-03 16:59:35.728 INFO - InventoryController.updateInventory: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:35.735 INFO - InventoryController.updateInventory Arg1: 1010707, Arg2: class Inventory {, adClientId: null, adOrgId: null, adOrgtrxId: null, approvalamt: null, cActivityId: null, cCampaignId: null, cChargeId: null, cDoctypeId: null, cProjectId: null, created: null, createdby: null, description: null, docaction: null, docstatus: null, documentno: null, generatelist: null, inventorykind: null, inventorytype: null, isactive: null, isapproved: null, mInventoryId: null, movementdate: null, mPerpetualinvId: null, mWarehouseId: null, paperForm: null, posted: null, processed: null, processing: null, updated: null, updatedby: null, updateqty: null, user1Id: null, user2Id: null, additionalvalues: null, referencedvalues: null, },
2026-07-03 16:59:35.749 INFO - InventoryController.updateInventory: <200 OK OK,[]>
2026-07-03 16:59:35.756 INFO - InventoryController.deleteInventory Arg1: 1010707,
2026-07-03 16:59:35.760 INFO - InventoryController.deleteInventory: <409 CONFLICT Conflict,No se pudo borrar el registro , No es posible borrar un registro que se ya encuentra procesado,[]>
2026-07-03 16:59:35.769 INFO - InventoryController.processInventory Arg1: 1010707, Arg2: VO,
Debe postear inmediatamente=false Estado documento=CO
2026-07-03 16:59:35.882 INFO - InventoryController.processInventory: <200 OK OK,[]>
2026-07-03 16:59:35.888 INFO - SecurityController.keygen Arg1: {}, Arg2: {accept=text/plain, application/json, application/*+json, */*, username=AdminLibertya, password=AdminLibertya, clientid=1010016, orgid=1010053, content-length=0, host=localhost:46480, connection=Keep-Alive, user-agent=Apache-HttpClient/4.5.2 (Java/1.8.0_121), accept-encoding=gzip,deflate},
2026-07-03 16:59:35.891 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3NSwiZXhwIjoyNjQ3MDExNTc1fQ.WC9xF3t0jweHRNQACy8RTgq1E0TT2SggQvRno1
2026-07-03 16:59:35.896 INFO - SecurityController.keygen Arg1: {}, Arg2: {accept=text/plain, application/json, application/*+json, */*, username=AdminLibertya, content-length=0, host=localhost:46480, connection=Keep-Alive, user-agent=Apache-HttpClient/4.5.2 (Java/1.8.0_121), accept-encoding=gzip,deflate},
2026-07-03 16:59:35.897 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:35.908 INFO - InventoryController.deleteInventory Arg1: 1000240,
2026-07-03 16:59:35.912 INFO - InventoryController.deleteInventory: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>
2026-07-03 16:59:35.918 INFO - InventoryController.deleteInventory Arg1: -1,
2026-07-03 16:59:35.922 INFO - InventoryController.deleteInventory: <404 NOT_FOUND Not Found,[]>