Skip to content

Instantly share code, notes, and snippets.

View sbespalov's full-sized avatar
🏠
Working from home

Sergey Bespalov sbespalov

🏠
Working from home
View GitHub Profile
search:
maven:
storage0:
maven-releases:
groupId: org.carlspring
storage1:
maven-snapshots:
version: 1.0.0
nuget:
storage0:
08:16:13,144 ERROR [http-nio-8080-exec-1][BasePersistenceImpl:258] Caught unexpected exception
java.lang.IllegalStateException: Unknown transaction manager type: org.springframework.transaction.jta.JtaTransactionManager@168a85e5
at com.liferay.portal.dao.orm.hibernate.VerifySessionFactoryWrapper._verify(VerifySessionFactoryWrapper.java:177)
at com.liferay.portal.dao.orm.hibernate.VerifySessionFactoryWrapper.openSession(VerifySessionFactoryWrapper.java:93)
at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.openSession(BasePersistenceImpl.java:252)
at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.findWithDynamicQuery(BasePersistenceImpl.java:150)
at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.countWithDynamicQuery(BasePersistenceImpl.java:116)
at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.countWithDynamicQuery(BasePersistenceImpl.java:102)
at ru.tsconsulting.loyalty.service.base.PartnersGridLocalService
@sbespalov
sbespalov / AbstractArtifactManagementService
Created November 22, 2017 03:03
Checksum validation broken again
Commit d31b46e93d6e054439f69b621576ab1827258bc0
carlspring <[email protected]> on 2017-07-26 23:36:36
SB-854: Implement a simple event API
Further polishing up.
@@ -164,3 +215,3 @@
byte[] checksumValue = ((ByteArrayOutputStream) aos.getCacheOutputStream()).toByteArray();
08:23:03,042 ERROR [Framework Event Dispatcher: Equinox Container: f0e61e30-95ce-0017-1356-ec05b3cf12b8][ru_tsconsulting_loyalty_web:97] FrameworkEvent ERROR
org.osgi.framework.BundleException: Could not resolve module: ru.tsconsulting.loyalty.web [518]_ Unresolved requirement: Import-Package: org.apache.http_ [Sanitized]
at org.eclipse.osgi.container.Module.start(Module.java:429)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:242)
at org.eclipse.osgi.container.Module.doStart(Module.java:566)
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:172)
:loyalty-api:compileJava UP-TO-DATE
:loyalty-api:buildCSS UP-TO-DATE
:loyalty-api:processResources UP-TO-DATE
:loyalty-api:transpileJS SKIPPED
:loyalty-api:configJSModules SKIPPED
:loyalty-api:replaceSoyTranslation UP-TO-DATE
:loyalty-api:classes UP-TO-DATE
:loyalty-api:jar
[aQute.bnd.annotation.ProviderType annotation used in class ru.tsconsulting.loyalty.model.AccountModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class com.liferay.portal.kernel.model.BaseModel. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQute.bnd.annotation.ProviderType annotation used in class ru.tsconsulting.loyalty.model.Account. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations., aQut
sbespalov@sbespalov:~/projects$ git clone http://sbespalov:[email protected]/scm/git/java/tsconsulting.ru/loyalty/loyalty.git tsk-loyalty
Cloning into 'tsk-loyalty'...
remote: Counting objects: 11045, done
remote: Finding sources: 100% (11045/11045)
remote: Getting sizes: 100% (3996/3996)
remote: Total 11045 (delta 6954), reused 11045 (delta 6954)
Receiving objects: 100% (11045/11045), 5.72 MiB | 585.00 KiB/s, done.
Resolving deltas: 100% (6954/6954), done.
Checking connectivity... done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.
{
"title": "A schema for Umbraco's package.manifest files.",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"definitions": {
"editor": {
"description": "This describes details about the editor",
"type": "object",
Request:
HTTP Method = PUT
Request URI = /api/v1/org/division/managers
Parameters = {}
Headers = {Content-Type=[application/json;charset=UTF-8]}
Body:
{
"divisionId" : 119,
"userIdList" : [ 1170, 1180 ]
}
07 Nov 2017 09:09:16 GMT], Server=[Lotus-Domino]}
Payload: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.generalException</faultcode>
<faultstring>Expected argument EMAIL missing in method GETREPORTSBYPEOPLEONDATE in web service GetPeopleReports</faultstring>
curl -X PUT \
http://localhost:8080/vankor-web-core/api/v1/planning/production/operation/plan \
-H 'authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJWQU5LT1IiLCJqdGkiOiJPVzBiUFYtWHFYZmpYZnBiWDBoNlZBIiwic3ViIjoieW9zaW5raW4ifQ.36FOYGVjzK_fZMogwaZGqYXgs3GKEPlLYmlXN0Zwk10' \
-H 'content-type: application/json' \
-d '{"operationId":"1008756", "periodDate" : "2017-12-09", "periodDateStart" : "2017-12-09", "periodDateEnd":"2018-01-12", "relativeWorkload" : "10"}'
{
//идентификатор операции
"operationId":"1008756",