Skip to content

Instantly share code, notes, and snippets.

View simonetripodi's full-sized avatar

Simone Tripodi simonetripodi

View GitHub Profile
@simonetripodi
simonetripodi / Feature-1.0.0.schema.json
Created October 4, 2018 14:34
Apache Sling Feature JSON schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://sling.apache.org/Feature/1.0.0",
"type": "object",
"properties": {
"model-version": {
"type": "string"
},
"id": {
"type": "string",
$ ./bin/jtm-web run -v
2018-08-31 12:17:48,107 [INFO] jtm-server v0.1-SNAPSHOT (built on 2018-08-31T12:14:32+0000)
2018-08-31 12:17:48,111 [INFO] Java version: 1.8.0_152, vendor: Oracle Corporation
2018-08-31 12:17:48,111 [INFO] Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre
2018-08-31 12:17:48,112 [INFO] Default locale: en_CH, platform encoding: UTF-8
2018-08-31 12:17:48,112 [INFO] Default Time Zone: sun.util.calendar.ZoneInfo[id="UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
2018-08-31 12:17:48,112 [INFO] OS name: "Mac OS X", version: "10.13.6", arch: "x86_64", family: "mac"
2018-08-31 12:17:48,135 [INFO] Logging initialized @710ms to org.eclipse.jetty.util.log.Slf4jLog
2018-08-31 12:17:48,218 [INFO] jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 1.8.0_152-b16
2018-08-31 12:17:48,255 [INFO] Started o.e.j.s.ServletContextHandler@5d20e46{/,null,AVAILABLE}
@simonetripodi
simonetripodi / DistributionPackageExporterServlet.md
Created July 31, 2018 15:35
org.apache.sling.tools.docgen SlingServlet output

org.apache.sling.distribution.servlet.DistributionPackageExporterServlet

Supported HTTP Methods

  • POST

Resource types

  • sling/distribution/service/exporter
@simonetripodi
simonetripodi / VaultDistributionPackageBuilderFactory.md
Created July 31, 2018 15:32
org.apache.sling.tools.docgen metatype output

org.apache.sling.distribution.serialization.impl.vlt.VaultDistributionPackageBuilderFactory

Label

Apache Sling Distribution Packaging - Vault Package Builder Factory

Description

OSGi configuration for vault package builders

@simonetripodi
simonetripodi / gist:7f4d0ecaf697c222afc1ec89dac55f47
Created July 31, 2018 15:29
org.apache.sling.tools.docgen files output
sling-org-apache-sling-distribution-core stripodi$ tree target/docgen/
target/docgen/
├── metatype
│ └── org
│ └── apache
│ └── sling
│ └── distribution
│ ├── agent
│ │ └── impl
│ │ ├── ForwardDistributionAgentFactory.md
@simonetripodi
simonetripodi / gist:af4e487bf66ad6daea0ee8d147bf77e9
Created October 13, 2016 13:33
Apache Tika parsers 1.14-SNAPSHOT tests FAILURE [04:26 min]
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.tika.embedder.ExternalEmbedderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.341 sec - in org.apache.tika.embedder.ExternalEmbedderTest
Running org.apache.tika.parser.jdbc.SQLite3ParserTest
log4j: reset attribute= "false".
log4j: Threshold ="null".
log4j: Retreiving an instance of org.apache.log4j.Logger.
log4j: Setting [ProgressAppender] additivity to [false].
@simonetripodi
simonetripodi / Apache-Oltu-serialization-issue.txt
Created December 5, 2014 23:14
Apache Oltu serialization issue
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.oltu.oauth2.as.MD5GeneratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec - in org.apache.oltu.oauth2.as.MD5GeneratorTest
Running org.apache.oltu.oauth2.as.OAuthIssuerImplTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.oltu.oauth2.as.OAuthIssuerImplTest
Running org.apache.oltu.oauth2.as.OAuthRequestTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec - in org.apache.oltu.oauth2.as.OAuthRequestTest
Running org.apache.oltu.oauth2.as.OAuthUnauthenticatedRequestTest
@simonetripodi
simonetripodi / keybase.md
Created October 6, 2014 11:22
keybase.md

Keybase proof

I hereby claim:

  • I am simonetripodi on github.
  • I am simonetripodi (https://keybase.io/simonetripodi) on keybase.
  • I have a public key whose fingerprint is A6B5 4049 5577 B55E 7709 D90C FD45 C72D CCB7 BA7E

To claim this, I am signing this object:

@simonetripodi
simonetripodi / proposal.patch
Created June 26, 2014 08:53
JWS Hmac and Rsa signature refactoring proposal
Index: src/main/java/org/apache/oltu/jose/jws/JwsConstants.java
===================================================================
--- src/main/java/org/apache/oltu/jose/jws/JwsConstants.java (revision 1605704)
+++ src/main/java/org/apache/oltu/jose/jws/JwsConstants.java (working copy)
@@ -23,4 +23,9 @@
public static final String RS384 = "RS384";
public static final String RS512 = "RS512";
+
+ private JwsConstants() {
@simonetripodi
simonetripodi / org.apache.onami.persist.test.txt
Created May 20, 2014 12:39
Onami Persistence 1.0.0-SNAPSHOT tests failures
INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Onami Persistence 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.onami.persist ---
[INFO] Deleting /Users/stripodi/Documents/apache-workspace/onami/sandbox/persist/target
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (default) @ org.apache.onami.persist ---