Skip to content

Instantly share code, notes, and snippets.

View fuss86's full-sized avatar

Przemyslaw Fusik fuss86

View GitHub Profile
# Copyright 2019 JanusGraph Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building strongbox-hazelcast-poc 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ strongbox-hazelcast-poc ---
[INFO] strongbox-hazelcast-poc:strongbox-hazelcast-poc:jar:1.0-SNAPSHOT
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.1.5.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.1.5.RELEASE:compile
@fuss86
fuss86 / diff
Created September 18, 2019 23:50
diff --git a/strongbox-resources/strongbox-common-resources/src/main/resources/logback-spring.xml b/strongbox-resources/strongbox-common-resources/src/main/resources/logback-spring.xml
index 418801198..01fa61c51 100644
--- a/strongbox-resources/strongbox-common-resources/src/main/resources/logback-spring.xml
+++ b/strongbox-resources/strongbox-common-resources/src/main/resources/logback-spring.xml
@@ -133,6 +133,8 @@
<logger name ="liquibase.parser.core.xml" level="INFO" />
<logger name ="javax.xml.bind" level="INFO" />
<logger name="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping" level="DEBUG" />
+ <logger name="org.springframework.test" level="TRACE" />
+ <logger name="org.carlspring.strongbox.testing" level="TRACE" />
>> mvn clean test -T 4 -Dtest=LdapAuthenticatorConfigurationControllerTest#ldapConfigurationTestShouldFailWithInvalidConfiguration,PingControllerTest#shouldReturnPong
[INFO] Scanning for projects...
[INFO]
[INFO] Using the MultiThreadedBuilder implementation with a thread count of 4
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Strongbox: Web Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
fuss@FUSIK-LAPTOP MINGW64 ~/IdeaProjects/strongbox-web-ui (master)
$ npm install
> strongbox-web-ui@0.0.0 postinstall C:\Users\fuss\IdeaProjects\strongbox-web-ui
> npm run webdriver-update && npm run patch-antlr4 && npm run antlr4
> strongbox-web-ui@0.0.0 webdriver-update C:\Users\fuss\IdeaProjects\strongbox-web-ui
> webdriver-manager update
jvm 1 | 19:15:31.866 14-08-2019 | DEBUG | qtp774083006-554 | org.springframework.web.servlet.DispatcherServlet | GET "/storages/storage-common-proxies/maven-central/.index/nexus-maven-repository-index.gz", parameters={}
jvm 1 | 19:15:31.866 14-08-2019 | DEBUG | qtp774083006-554 | .d.s.w.PropertySourcedRequestMappingHandlerMapping | looking up handler for path: /storages/storage-common-proxies/maven-central/.index/nexus-maven-repository-index.gz
jvm 1 | 19:15:31.868 14-08-2019 | DEBUG | qtp774083006-554 | o.c.s.web.CustomRequestMappingHandlerMapping | Mapped to public void org.carlspring.strongbox.controllers.layout.maven.MavenArtifactController.download(org.carlspring.strongbox.storage.repository.Repository,org.springframework.http.HttpHeaders,java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception
jvm 1 | 19:15:31.869 14-08-2019 | DEBUG | qtp774083006-554 | o.c.s.security.vote.ExtendedAuthoritiesVoter
21:30:15.446 07-05-2019 | INFO | kJoinPool-1-worker-1 | c.h.internal.partition.impl.PartitionStateManager | [192.168.99.1]:5701 [strongbox] [3.11.1] Initializing cluster partition table arrangement...
21:30:16.192 07-05-2019 | INFO | kJoinPool-1-worker-1 | o.c.strongbox.event.EventExecutorFactoryBean | Using [class org.springframework.core.task.SyncTaskExecutor] executor for Async events.
21:30:16.650 07-05-2019 | ERROR | kJoinPool-1-worker-0 | o.c.s.services.ArtifactManagementServiceImplTest | Failed to store artifact [C:\Users\fuss\IdeaProjects\strongbox\strongbox-storage\strongbox-storage-layout-providers\strongbox-storage-maven-layout\strongbox-storage-maven-layout-provider\target\strongbox-vault\storages\storage0\tcrw-releases-with-lock-testConcurrentReadWrite\org\carlspring\strongbox\locked-artifact\12.2.0.1\locked-artifact-12.2.0.1.pom]
org.carlspring.strongbox.storage.ArtifactStorageException: java.lang.NullPointerException
at org.carlspring.strongbox.services.ArtifactManagementService.doS
2019-04-09 00:30:00.006 INFO 49128 --- [scheduling-1] p.s.reveal.checker.alert.AlertScheduler : Executing for 2019-04-08
2019-04-09 00:30:00.782 INFO 49128 --- [scheduling-1] .r.c.a.h.AlertErrorsCreatedEventListener : Saving galleries dates statuses, total size: 118, received alerts size: 90
2019-04-09 00:30:00.782 INFO 49128 --- [scheduling-1] .r.c.a.h.AlertErrorsCreatedEventListener : [gallery id: 124] [gallery name: Auchan SZC] [status: WARNING] [date: 2019-04-08]
2019-04-09 00:30:00.782 INFO 49128 --- [scheduling-1] .r.c.a.h.AlertErrorsCreatedEventListener : [gallery id: 162] [gallery name: FH Moscow] [status: WARNING] [date: 2019-04-08]
2019-04-09 00:30:00.782 INFO 49128 --- [scheduling-1] .r.c.a.h.AlertErrorsCreatedEventListener : [gallery id: 153] [gallery name: Supersam Flow3] [status: OK] [date: 2019-04-08]
2019-04-09 00:30:00.782 INFO 49128 --- [scheduling-1] .r.c.a.h.AlertErrorsCreatedEventListener : [gallery id: 110] [gallery name: Auchan BRN] [status: OK] [date: 201
fuss@FUSIK-LAPTOP MINGW64 /c/Program Files/Docker Toolbox
$ docker inspect strongbox_strongbox-from-web-core_1
[
{
"Id": "634b5eacd3d28e369f74c0beebf1c32e293b6b4ee32b82c6a4ea9174331cb000",
"Created": "2019-03-17T11:48:16.402416007Z",
"Path": "/bin/bash",
"Args": [
"-c",
"echo \"\"\necho \"[NOTICE] This will take at least 2 to 5 minutes to start depending on your machine and connection!\"\necho \"\"\necho \" Open http://localhost:48080/storages to browse the repository contents.\"\necho \"\"\nsleep 5\nmkdir -p /workspace/.m2/repositories\nexport MAVEN_OPTS=\"-Xms2g -Xmx2g\"\nmvn clean install -DskipTests -Dmaven.repo.local=/workspace/.m2/repositories\ncd strongbox-web-core\nmvn spring-boot:run -Dmaven.repo.local=/workspace/.m2/repositories\n"
fuss@FUSIK-LAPTOP MINGW64 ~/IdeaProjects/strongbox (master)
$ docker-compose up
Recreating strongbox_strongbox-from-web-core_1 ... done
Attaching to strongbox_strongbox-from-web-core_1
strongbox-from-web-core_1 |
strongbox-from-web-core_1 | [NOTICE] This will take at least 2 to 5 minutes to start depending on your machine and connection!
strongbox-from-web-core_1 |
strongbox-from-web-core_1 | Open http://localhost:48080/storages to browse the repository contents.
strongbox-from-web-core_1 |
strongbox-from-web-core_1 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715550000, 2863333376, 0) failed; error='Cannot allocate memory' (errno=12)