Skip to content

Commit

Permalink
Merge pull request #55 from jimmarino/feat/add-schemas
Browse files Browse the repository at this point in the history
feat: Add schemas and new context
  • Loading branch information
jimmarino authored Nov 19, 2024
2 parents 598cfdb + fff23c9 commit 1defed3
Show file tree
Hide file tree
Showing 109 changed files with 7,334 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/actions/setup-java/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Setup JDK 17"
description: "Setup JDK 17"
runs:
using: "composite"
steps:
- name: Setup JDK 17
uses: actions/setup-java@v4.1.0
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
45 changes: 45 additions & 0 deletions artifacts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
.idea
out/
!**/src/main/**/out/
!**/src/test/**/out/

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store


2 changes: 2 additions & 0 deletions artifacts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# dsp-schemas
Tools for defining and generating DSP schemas
42 changes: 42 additions & 0 deletions artifacts/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* Copyright (c) 2024 Metaform Systems, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
*
* Contributors:
* Metaform Systems, Inc. - initial API and implementation
*
*/

plugins {
`java-library`
checkstyle
}

repositories {
mavenCentral()
}

dependencies {
implementation("com.networknt:json-schema-validator:1.5.2") {
exclude("com.fasterxml.jackson.dataformat", "jackson-dataformat-yaml")
}

testImplementation("org.assertj:assertj-core:3.26.3")
testImplementation("com.apicatalog:titanium-json-ld:1.4.1")
testImplementation("org.glassfish:jakarta.json:2.0.1")
testImplementation("com.fasterxml.jackson.core:jackson-databind:2.18.0")
testImplementation("com.fasterxml.jackson.datatype:jackson-datatype-jakarta-jsonp:2.18.0")
}

testing {
suites {
val test by getting(JvmTestSuite::class) {
useJUnitJupiter("5.8.1")
}
}
}
Loading

0 comments on commit 1defed3

Please sign in to comment.