Skip to content

Commit

Permalink
add license headers (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
respringer authored Mar 31, 2020
1 parent 49e8a80 commit 5a82b7a
Show file tree
Hide file tree
Showing 32 changed files with 95 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright DataStax, Inc.
# Please see the included license file for details.

FROM openjdk:8u212-jre-slim-stretch

ENV USER_UID=1001 \
Expand Down
2 changes: 2 additions & 0 deletions docker/bin/entrypoint
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh -e
# Copyright DataStax, Inc.
# Please see the included license file for details.

# This is documented here:
# https://docs.openshift.com/container-platform/3.11/creating_images/guidelines.html#openshift-specific-guidelines
Expand Down
2 changes: 2 additions & 0 deletions docker/bin/run_configbuilder
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash
# Copyright DataStax, Inc.
# Please see the included license file for details.

java -jar $(find /usr/local/bin -name *.jar) "$@"
3 changes: 3 additions & 0 deletions docker/bin/user_setup
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh
# Copyright DataStax, Inc.
# Please see the included license file for details.

set -x

# ensure $HOME exists and is accessible by group 0 (we don't know what the runtime UID will be)
Expand Down
3 changes: 3 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright DataStax, Inc.
// Please see the included license file for details.

rootProject.name = 'cass-config-builder'

/*
Expand Down
3 changes: 3 additions & 0 deletions src/com/datastax/configbuilder.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder
(:require [cheshire.core :as json]
[com.datastax.configbuilder.definitions :as d]
Expand Down
3 changes: 3 additions & 0 deletions src/com/datastax/configbuilder/build_config.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.build-config
(:require [com.datastax.configbuilder.definitions :as d]
[slingshot.slingshot :refer [throw+]]
Expand Down
3 changes: 3 additions & 0 deletions src/com/datastax/configbuilder/definitions.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.definitions
(:require [clojure.java.io :as io]
[clojure.string :as str]
Expand Down
3 changes: 3 additions & 0 deletions src/com/datastax/configbuilder/generator.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.generator
(:require [clojure.pprint :refer [pprint]]
[clojure.walk :refer [postwalk]]
Expand Down
3 changes: 3 additions & 0 deletions src/com/datastax/configbuilder/operator.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.operator
(:require [com.datastax.configbuilder.build-config :as bc]
[com.datastax.configbuilder.definitions :as d]
Expand Down
3 changes: 3 additions & 0 deletions src/com/datastax/configbuilder/render.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.render
(:require [com.datastax.configbuilder.render.config-file-renderer :as renderer]
[clojure.string :as str]))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.render.config-file-renderer
(:require [com.datastax.configbuilder.definitions :as d]
[com.datastax.configbuilder.render.helpers :as rh]
Expand Down
3 changes: 3 additions & 0 deletions src/com/datastax/configbuilder/render/helpers.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.render.helpers)

(defn render-non-constant-using-metadata
Expand Down
3 changes: 3 additions & 0 deletions src/lcm/utils/data.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns lcm.utils.data
(:refer-clojure :exclude [uuid?])
(:require [clojure.string :as string]
Expand Down
3 changes: 3 additions & 0 deletions src/lcm/utils/edn.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns lcm.utils.edn
(:require [clojure.edn :as edn]
[clojure.core.memoize :as memo]))
Expand Down
5 changes: 4 additions & 1 deletion src/lcm/utils/oss_definitions_gen.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns lcm.utils.oss-definitions-gen
(:require [com.datastax.configbuilder.definitions :as d]
[clojure.set :as set]
Expand Down Expand Up @@ -242,4 +245,4 @@
;; (persist-definition! (build-oss-cassandra-3_11_6-cassandra-env-sh))
;; (persist-definition! (build-oss-cassandra-3_11_6-logback-xml))
;; (persist-definition! (build-oss-cassandra-3_11_6-cassandra-yaml))
;; (strip-required)
;; (strip-required)
3 changes: 3 additions & 0 deletions src/lcm/utils/version.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns lcm.utils.version
"Logic for working with versions such as: 6.7.0
This namespace contains functions for comparing versions."
Expand Down
3 changes: 3 additions & 0 deletions src/lcm/utils/yaml.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns lcm.utils.yaml
(:require [clojure.walk :as walk])
(:import [org.yaml.snakeyaml Yaml DumperOptions DumperOptions$FlowStyle]))
Expand Down
3 changes: 3 additions & 0 deletions test/com/datastax/configbuilder/build_config_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.build-config-test
(:require [clojure.test :refer :all]
[com.datastax.configbuilder.test-data :as test-data]
Expand Down
3 changes: 3 additions & 0 deletions test/com/datastax/configbuilder/definitions_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.definitions-test
(:require [clojure.test :refer :all]
[clojure.data :as data]
Expand Down
3 changes: 3 additions & 0 deletions test/com/datastax/configbuilder/generator_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.generator-test
(:require [com.datastax.configbuilder.generator :refer :all]
[clojure.data :as data]
Expand Down
3 changes: 3 additions & 0 deletions test/com/datastax/configbuilder/golden_files_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.golden-files-test
(:require [clojure.test :refer :all]
[clojure.java.io :as io]
Expand Down
3 changes: 3 additions & 0 deletions test/com/datastax/configbuilder/operator_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.operator-test
(:require [com.datastax.configbuilder.operator :as sut]
[com.datastax.configbuilder.test-helpers :as helper]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.render.config-file-renderer-test
(:require [com.datastax.configbuilder.render.config-file-renderer :as renderer]
[com.datastax.configbuilder.test-data :refer [definitions-location]]
Expand Down
3 changes: 3 additions & 0 deletions test/com/datastax/configbuilder/render/helpers_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.render.helpers-test
(:require [com.datastax.configbuilder.render.helpers :as helpers]
[slingshot.test :refer :all]
Expand Down
3 changes: 3 additions & 0 deletions test/com/datastax/configbuilder/render_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.render-test
(:require [com.datastax.configbuilder.render :as r]
[com.datastax.configbuilder.test-data :as test-data]
Expand Down
3 changes: 3 additions & 0 deletions test/com/datastax/configbuilder/test_data.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.test-data
(:require [com.datastax.configbuilder.definitions :as d]
[com.datastax.configbuilder.test-helpers :as helper]))
Expand Down
3 changes: 3 additions & 0 deletions test/com/datastax/configbuilder/test_helpers.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder.test-helpers
(:require [clojure.java.io :as io])
(:import [java.nio.file Files SimpleFileVisitor FileVisitResult]
Expand Down
3 changes: 3 additions & 0 deletions test/com/datastax/configbuilder_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns com.datastax.configbuilder-test
(:require [com.datastax.configbuilder :as cb]
[com.datastax.configbuilder.test-data :as test-data]
Expand Down
3 changes: 3 additions & 0 deletions test/lcm/utils/data_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns lcm.utils.data-test
(:refer-clojure :exclude [uuid?])
(:require [lcm.utils.data :refer :all]
Expand Down
3 changes: 3 additions & 0 deletions test/lcm/utils/version_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns lcm.utils.version-test
(:require [lcm.utils.version :as version]
[slingshot.test :refer :all]
Expand Down
3 changes: 3 additions & 0 deletions test/lcm/utils/yaml_test.clj
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright DataStax, Inc.
;; Please see the included license file for details.

(ns lcm.utils.yaml-test
(:require [lcm.utils.yaml :as yaml]
[clojure.test :refer :all]))
Expand Down

0 comments on commit 5a82b7a

Please sign in to comment.