Swagger Editor and generation of a Java API for REST Nexus API
first, let's run a docker container for swagger editor:https://hub.docker.com/r/swaggerapi/swagger-editor/docker run -d --rm --name swaggereditor -p 9080:8080...
View ArticleNexus OrientDB self-upgrading versions when run as root
this is VERY weird..... be VERY careful not to run Nexus 3.10 NXRM as root, unless you have set the "run_as_user="centos" in nexus.rc org.sonatype.nexus.upgrade.internal.UpgradeServiceImpl - The...
View ArticleJSON to Java, Java to JSON
I am extremely lazy, and I want to model JSON, or Java, but not both at the same time.In case you want to write JSON first, and then generate Java:https://github.com/astav/JsonToJavagit clone...
View ArticleJenkins Pipeline and OWASP dependency check
a) in Jenkins, configure a M3 instance in your "Global Tools" configuration sectionb) make sure you have installed the OWASP dependency check pluginc) create a Pipeline Jenkins project, name...
View ArticleSpring Integration Sucks
Here the whole tutorials site https://github.com/eugenp/tutorials to git cloneIf you use Eclipse, better to "git clone" separately and then Import, Existing Maven Project, and give the tutorials...
View ArticleSpring Cloud, getting started
http://www.baeldung.com/spring-cloud-bootstrapping generate your starter zip from http://start.spring.io/...
View ArticleScala, sbt and Nexus Repositories
https://github.com/travelaudience/kubernetes-nexus/blob/master/docs/usage/using-nexus-with-sbt.mdfirst, install sbt:curl https://bintray.com/sbt/rpm/rpm > bintray-sbt-rpm.reposudo mv...
View Articlesudo systemctl hibernate
on Centos, I was trying to hibernate my machine:sudo systemctl hibernateA dependency job for hibernate.target failed. See 'journalctl -xe' for details.journalctl -xeFailed to write mode to...
View ArticleTestcontainers, using Docker containers in JUnit tests
Junit sucks, use at least 5.0 or better switch to TestNG (see http://www.baeldung.com/junit-vs-testng for comparison)...
View ArticleNginx with LUA and Java handlers
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7sudo yum install epel-releasesudo yum install nginxsudo systemctl start nginxnginx should now be running, enter...
View ArticleSpring Boot 2 and Primefaces 6..... JoinFaces
http://joinfaces.org/ and https://github.com/joinfaces/joinfacesgit clone https://github.com/joinfaces/joinfaces-maven-jar-example.gitcd joinfaces-maven-jar-examplemvn clean install(there are some test...
View ArticleEclipse says server workload limit exceeded, please try later
I always enable error reporting in Eclipse, although I am pretty confident that in the House of Chaos that Eclipse must be, nobody is seriously looking at them - they are too many, there is no sign of...
View Articlesystemctl start service on boot with specific user
see https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-unitssudo vi...
View ArticleNexus Firewall
http://www.javamonamour.org/2017/09/software-vulnerability-control-with.htmlAs usual, Sonatype scatters his product documentation across the 5 Oceans, in the most disparate formats (blogs, videos,...
View ArticleSanity check on a Nexus 2 Maven Proxy repo
The task is: verify that all the JARs in a Nexus 2 repo are still in Maven Central.I did a find /path/to/nexusdata/central -name "*.jar"> alljarsfiltered.txtand then run this Java...
View ArticleEclipse for Docker
To install: Help/Eclipse Marketplace, search for Docker Tools, installShow View / Docker Exploreryou get by default this one:unix:///var/run/docker.sockbut you can also work with remote docker via TCP...
View ArticleNexus proxy to npm registry
https://nodejs.org/en/https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-a-centos-7-serverInstall node.jscd ~wget...
View ArticleSpring Boot 2 actuator ... priceless!
in application.properties, add thismanagement.endpoints.web.exposure.include=*management.endpoint.shutdown.enabled=trueand restart. hit this:http://localhost:8080/actuator/beansYou can see the...
View ArticleSpring Boot and H2
https://dzone.com/articles/spring-boot-and-spring-jdbc-with-h2Example code is here:https://github.com/in28minutes/spring-boot-examples/tree/master/spring-boot-2-jdbc-with-h2you must add...
View ArticleBrowsermob as a whitelisting/blacklisting Proxy
http://bmp.lightbody.net/https://github.com/lightbody/browsermob-proxyIt's based on our friend Littleproxy. Its latest release it 2.1.6. It seems not much going on recently... no commits in last 8...
View Article