diff --git a/README.md b/README.md index cd59b28..d53c2d4 100644 --- a/README.md +++ b/README.md @@ -169,9 +169,11 @@ TDP can either be deployed with the manager or directly with Ansible. Initialize the database and create the `tdp_vars` directory with the `tdp_vars_overrides` variables: ```sh - tdp init --overrides tdp_vars_overrides + tdp init --conf tdp_vars_overrides ``` + **Note**: older versions of TDP-Lib have the option `--overrides` instead of `--conf` + Make the DAG of operations: ```sh @@ -278,10 +280,10 @@ py.test tests Run the tests in parallel: ```sh -py.test -n 2 tests +py.test tests ``` -**Note:** Running the tests in parallel requires more resources and tests might fail if resources are not sufficient. +**Note:** If you want to run tests in parallel you may add the option `-n=2` for example. However, running the tests in parallel requires more resources and tests might fail if resources are not sufficient. ## Web UI links diff --git a/inventory/group_vars/all.yml b/inventory/group_vars/all.yml index ba94833..c2ce10a 100644 --- a/inventory/group_vars/all.yml +++ b/inventory/group_vars/all.yml @@ -100,31 +100,6 @@ ranger_policies: - { isAllowed: true, type: create } conditions: [] - # Kafka - - name: tdp_user - topic - description: test_user access to tdp-user-* topics - service: kafka-tdp - isAuditEnabled: true - isEnabled: true - resources: - topic: - isExcludes: false - values: ["tdp-user-*"] - policyItems: - - users: [tdp_user] - groups: [] - delegateAdmin: true - accesses: - - { isAllowed: true, type: create } - - { isAllowed: true, type: publish } - - { isAllowed: true, type: consume } - - { isAllowed: true, type: configure } - - { isAllowed: true, type: describe } - - { isAllowed: true, type: delete } - - { isAllowed: true, type: describe_configs } - - { isAllowed: true, type: alter_configs } - conditions: [] - # Knox - name: tdp_user - tdpldap policy description: tdp_user access to tdpldap policy diff --git a/inventory/topologies/observability b/inventory/topologies/observability index cf61ee4..f7eae4b 120000 --- a/inventory/topologies/observability +++ b/inventory/topologies/observability @@ -1 +1 @@ -../../ansible_collections/tosit/tdp_observability/topology.ini \ No newline at end of file +../../ansible_collections/tosit/tdp_observability/topology-light.ini \ No newline at end of file diff --git a/tdp_vars_overrides/kafka/kafka.yml b/tdp_vars_overrides/kafka/kafka.yml deleted file mode 100644 index 5d3806e..0000000 --- a/tdp_vars_overrides/kafka/kafka.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -kafka_start_on_boot: yes - -kafka_restart: always diff --git a/tdp_vars_overrides/livy-spark3/livy-spark3.yml b/tdp_vars_overrides/livy-spark3/livy-spark3.yml index 9e1935a..1e3b32a 100644 --- a/tdp_vars_overrides/livy-spark3/livy-spark3.yml +++ b/tdp_vars_overrides/livy-spark3/livy-spark3.yml @@ -1,5 +1,4 @@ --- -livy_release: apache-livy-0.8.0-incubating-TDP-0.1.0-SNAPSHOT-bin livy_start_on_boot: yes livy_restart: always diff --git a/tdp_vars_overrides/livy/livy.yml b/tdp_vars_overrides/livy/livy.yml deleted file mode 100644 index 9e1935a..0000000 --- a/tdp_vars_overrides/livy/livy.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -livy_release: apache-livy-0.8.0-incubating-TDP-0.1.0-SNAPSHOT-bin -livy_start_on_boot: yes - -livy_restart: always diff --git a/tdp_vars_overrides/spark/spark.yml b/tdp_vars_overrides/spark/spark.yml deleted file mode 100644 index 0e35859..0000000 --- a/tdp_vars_overrides/spark/spark.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -spark_hs_start_on_boot: yes - -spark_hs_restart: always -spark2_hs_heapsize: 512m diff --git a/tdp_vars_overrides/zookeeper-kafka/zookeeper-kafka.yml b/tdp_vars_overrides/zookeeper-kafka/zookeeper-kafka.yml deleted file mode 100644 index 229d9d1..0000000 --- a/tdp_vars_overrides/zookeeper-kafka/zookeeper-kafka.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -zk_start_on_boot: yes - -zk_restart: always