Code Monkey home page Code Monkey logo

cass-config-definitions's People

Contributors

absurdfarce avatar arun5dgr avatar cpmcdaniel avatar cscetbon avatar emerkle826 avatar erparthu avatar hedapriya avatar jimdickinson avatar johntrimble avatar jsanda avatar linuxfreakus avatar miles-garnsey avatar mlococo avatar orion104 avatar respringer avatar rocco408 avatar sandoichi avatar sbtourist avatar scotthaleen avatar secretsparkle avatar swapnilgujrathi1983 avatar tiagomlalves avatar zadeindrajeet avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cass-config-definitions's Issues

Allow users to set additional-env-opts

As part of the work being undertaken to integrate with the Datastax CDC connector, it has become clear that we need to be able to instantiate a line as below in the cassandra-env.sh file:

CLASSPATH="$CLASSPATH:/opt/management-api/datastax-mgmtapi-agent-0.1.0-SNAPSHOT.jar"
This PR facilitates this by passing anything set in a new array field cassandra-env-sh.additional-env-opts directly into the cassandra-env.sh.

"required" is not a valid key

Running the latest config-builder tests fails since dec2242 was merged (see stack trace below). It looks like the required key is not valid here:

java.lang.AssertionError: FAIL in  (check-all-definitions) (definitions_test.clj:536)
Property :pick_level_on_streaming_min_sstable_size_bytes in definition :cassandra-yaml v6.8.15 has one or or more invalid attributes: #{:required}
expected:  (empty? invalid-keys)
  actual:  (not (empty? #{:required}))

	at dev.clojurephant.tools.clojure_test_junit4$fn__2763.invokeStatic(clojure_test_junit4.clj:56)
	at dev.clojurephant.tools.clojure_test_junit4$fn__2763.invoke(clojure_test_junit4.clj:54)
	at clojure.lang.MultiFn.invoke(MultiFn.java:229)
	at clojure.test$do_report.invokeStatic(test.clj:357)
	at clojure.test$do_report.invoke(test.clj:351)
	at com.datastax.configbuilder.definitions_test$check_for_invalid_attributes$check_for_invalid_properties_at_level__1398$fn__1421.invoke(definitions_test.clj:536)
	at com.datastax.configbuilder.definitions_test$check_for_invalid_attributes$check_for_invalid_properties_at_level__1398.invoke(definitions_test.clj:536)
	at com.datastax.configbuilder.definitions_test$check_for_invalid_attributes.invokeStatic(definitions_test.clj:542)
	at com.datastax.configbuilder.definitions_test$check_for_invalid_attributes.invoke(definitions_test.clj:524)
	at com.datastax.configbuilder.definitions_test$fn__1482.invokeStatic(definitions_test.clj:655)
	at com.datastax.configbuilder.definitions_test$fn__1482.invoke(definitions_test.clj:628)
	at dev.clojurephant.tools.clojure_test_junit4$test_var.invokeStatic(clojure_test_junit4.clj:87)
	at dev.clojurephant.tools.clojure_test_junit4$test_var.invoke(clojure_test_junit4.clj:84)
	at dev.clojurephant.tools.clojure_test_junit4$run_test$fn__2784$fn__2785.invoke(clojure_test_junit4.clj:97)
	at clojure.test$default_fixture.invokeStatic(test.clj:687)
	at clojure.test$default_fixture.invoke(test.clj:683)
	at dev.clojurephant.tools.clojure_test_junit4$run_test$fn__2784.invoke(clojure_test_junit4.clj:95)
	at dev.clojurephant.tools.clojure_test_junit4$run_test.invokeStatic(clojure_test_junit4.clj:94)
	at dev.clojurephant.tools.clojure_test_junit4$run_test.invoke(clojure_test_junit4.clj:91)
	at dev.clojurephant.tools.clojure_test_junit4$run_suite$fn__2789$fn__2790.invoke(clojure_test_junit4.clj:113)
	at clojure.test$default_fixture.invokeStatic(test.clj:687)
	at clojure.test$default_fixture.invoke(test.clj:683)
	at dev.clojurephant.tools.clojure_test_junit4$run_suite$fn__2789.invoke(clojure_test_junit4.clj:110)
	at dev.clojurephant.tools.clojure_test_junit4$run_suite.invokeStatic(clojure_test_junit4.clj:109)
	at dev.clojurephant.tools.clojure_test_junit4$run_suite.invoke(clojure_test_junit4.clj:102)
	at dev.clojurephant.tools.clojure_test_junit4$_run.invokeStatic(clojure_test_junit4.clj:136)
	at dev.clojurephant.tools.clojure_test_junit4$_run.invoke(clojure_test_junit4.clj:135)
	at dev.clojurephant.tools.ClojureTestRunner.run(Unknown Source)
	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)
	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
	at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
	at java.lang.Thread.run(Thread.java:748)

Need to port definitions tests to one of our OSS repos (possibly this one)

Once upon a time, definitions were only used by LCM so LCM had the tests for definitions. Now definitions are used by both the Cass Operator and LCM. Community members are making PRs against this repo but they have no tests as all the tests are in one of our proprietary repos. These are dark times. We should free our tests from the shackles of LCM so that we can enable members of the community to make contributions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.