diff --git a/Ansible/README.md b/Ansible/README.md index ec8c616..4527053 100644 --- a/Ansible/README.md +++ b/Ansible/README.md @@ -1,35 +1,94 @@ -# JFrog Ansible Collection +# JFrog Ansible Installers Collection This Ansible directory consists of the following directories that support the JFrog Ansible collection. - * [collection directory](collection) - This directory contains the Ansible collection package that has the Ansible roles for Artifactory and Xray. See the collection [README](collection/README.md) for details on the available roles and variables. + * [ansible_collections directory](ansible_collections) - This directory contains the Ansible collection package that has the Ansible roles for Artifactory and Xray. See the collection [README](ansible_collections/README.md) for details on the available roles and variables. + * [examples directory](examples) - This directory contains example playbooks for various architectures from single Artifactory (RT) deployments to high-availability setups. * [infra directory](infra) - This directory contains example infrastructure templates that can be used for testing and as example deployments. - * [project directory](project) - This directory contains example playbooks for various architectures from single Artifactory (RT) deployments to high-availability setups. * [test directory](test) - This directory contains Gradle tests that can be used to verify a deployment. It also has Ansible playbooks for creating infrastructure, provisioning software and testing with Gradle. + ## Tested Artifactory and Xray Versions + The following versions of Artifactory and Xray have been validated with this collection. Other versions and combinations may also work. + +| collection_version | artifactory_version | xray_version | +|--------------------|---------------------|--------------| +| 1.0.7 | 7.6.1 | 3.5.2 | +| 1.0.6 | 7.5.0 | 3.3.0 | +| 1.0.6 | 7.4.3 | 3.3.0 | + ## Getting Started - 1. Install this collection or the roles in your Ansible path using your ansible.cfg file. The following is an example: - ``` -# Installs collections into [current dir]/ansible_collections/namespace/collection_name -collections_paths = ~/.ansible/collections:/usr/share/ansible/collections:collection - -# Installs roles into [current dir]/roles/namespace.rolename -roles_path = Ansible/collection/jfrog/ansible/roles -``` - 2. Ansible uses SSH to connect to hosts. Ensure that your SSH private key is on your client and the public keys are installed on your Ansible hosts. If you are using a bastion host, you can add the following Ansible variable to allow proxying through the bastion host. - ``` - ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A user@host -W %h:%p"' + 1. Install this collection from Ansible Galaxy. This collection is also available in RedHat Automation Hub. + + ``` + ansible-galaxy collection install jfrog.installers + ``` + + Ensure you reference the collection in your playbook when using these roles. + + ``` + --- + - hosts: xray + collections: + - jfrog.installers + roles: + - xray + + ``` + + 2. Ansible uses SSH to connect to hosts. Ensure that your SSH private key is on your client and the public keys are installed on your Ansible hosts. - eg. - ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ azureDeployment.deployment.outputs.lbIp.value }} -W %h:%p"' - ``` - 3. Create your inventory file. Use one of the examples from the [project directory](project) to construct an inventory file (hosts.yml) with the host addresses and variables. + 3. Create your inventory file. Use one of the examples from the [examples directory](examples) to construct an inventory file (hosts.yml) with the host addresses and variables. - 4. Create your playbook. Use one of the examples from the [project directory](project) to construct a playbook using the JFrog Ansible roles. These roles will be applied to your inventory and provision software. + 4. Create your playbook. Use one of the examples from the [examples directory](examples) to construct a playbook using the JFrog Ansible roles. These roles will be applied to your inventory and provision software. 5. Then execute with the following command to provision the JFrog software with Ansible. Variables can also be passed in at the command-line. - ``` +``` ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl rand -hex 16) join_key=$(openssl rand -hex 16)" -``` \ No newline at end of file +``` + +## Autogenerating Master and Join Keys +You may want to auto-generate your master amd join keys and apply it to all the nodes. + +``` +ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl rand -hex 16) join_key=$(openssl rand -hex 16)" +``` + +## Using [Ansible Vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html) to Encrypt Vars +Some vars you may want to keep secret. You may put these vars into a separate file and encrypt them using [Ansible Vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html). + +``` +ansible-vault encrypt secret-vars.yml --vault-password-file ~/.vault_pass.txt +``` + +then in your playbook include the secret vars file. + +``` +- hosts: primary + + vars_files: + - ./vars/secret-vars.yml + - ./vars/vars.yml + + roles: + - artifactory +``` + +## Bastion Hosts +In many cases, you may want to run this Ansible collection through a Bastion host to provision JFrog servers. You can include the following Var for a host or group of hosts: + +``` +ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A user@host -W %h:%p"' + +eg. +ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ azureDeployment.deployment.outputs.lbIp.value }} -W %h:%p"' +``` + +## Building the Collection Archive +1. Go to the [ansible_collections/jfrog/installers directory](ansible_collections/jfrog/installers). +2. Update the galaxy.yml meta file as needed. Update the version. +3. Build the archive. +``` +ansible-galaxy collection build +``` diff --git a/Ansible/collection/.ansible-lint b/Ansible/ansible_collections/.ansible-lint similarity index 100% rename from Ansible/collection/.ansible-lint rename to Ansible/ansible_collections/.ansible-lint diff --git a/Ansible/collection/.yamllint b/Ansible/ansible_collections/.yamllint similarity index 100% rename from Ansible/collection/.yamllint rename to Ansible/ansible_collections/.yamllint diff --git a/Ansible/ansible_collections/jfrog/installers/README.md b/Ansible/ansible_collections/jfrog/installers/README.md new file mode 100644 index 0000000..bb6b243 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/README.md @@ -0,0 +1,77 @@ +# JFrog Ansible Installers Collection + +This Ansible directory consists of the following directories that support the JFrog Ansible collection. + + * [ansible_collections directory](ansible_collections) - This directory contains the Ansible collection package that has the Ansible roles for Artifactory and Xray. See the collection [README](ansible_collections/README.md) for details on the available roles and variables. + * [examples directory](examples) - This directory contains example playbooks for various architectures from single Artifactory (RT) deployments to high-availability setups. + * [infra directory](infra) - This directory contains example infrastructure templates that can be used for testing and as example deployments. + * [test directory](test) - This directory contains Gradle tests that can be used to verify a deployment. It also has Ansible playbooks for creating infrastructure, provisioning software and testing with Gradle. + + ## Getting Started + + 1. Install this collection from Ansible Galaxy. This collection is also available in RedHat Automation Hub. + + ``` + ansible-galaxy collection install jfrog.installers + ``` + + Ensure you reference the collection in your playbook when using these roles. + + ``` + --- + - hosts: xray + collections: + - jfrog.installers + roles: + - xray + + ``` + + 2. Ansible uses SSH to connect to hosts. Ensure that your SSH private key is on your client and the public keys are installed on your Ansible hosts. + + 3. Create your inventory file. Use one of the examples from the [examples directory](examples) to construct an inventory file (hosts.yml) with the host addresses and variables. + + 4. Create your playbook. Use one of the examples from the [examples directory](examples) to construct a playbook using the JFrog Ansible roles. These roles will be applied to your inventory and provision software. + + 5. Then execute with the following command to provision the JFrog software with Ansible. Variables can also be passed in at the command-line. + + ``` +ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl rand -hex 16) join_key=$(openssl rand -hex 16)" +``` + +## Autogenerating Master and Join Keys +You may want to auto-generate your master amd join keys and apply it to all the nodes. + +``` +ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl rand -hex 16) join_key=$(openssl rand -hex 16)" +``` + +## Using [Ansible Vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html) to Encrypt Vars +Some vars you may want to keep secret. You may put these vars into a separate file and encrypt them using [Ansible Vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html). + +``` +ansible-vault encrypt secret-vars.yml --vault-password-file ~/.vault_pass.txt +``` + +then in your playbook include the secret vars file. + +``` +- hosts: primary + + vars_files: + - ./vars/secret-vars.yml + - ./vars/vars.yml + + roles: + - artifactory +``` + +## Bastion Hosts +In many cases, you may want to run this Ansible collection through a Bastion host to provision JFrog servers. You can include the following Var for a host or group of hosts: + +``` +ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A user@host -W %h:%p"' + +eg. +ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ azureDeployment.deployment.outputs.lbIp.value }} -W %h:%p"' +``` \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/galaxy.yml b/Ansible/ansible_collections/jfrog/installers/galaxy.yml similarity index 73% rename from Ansible/collection/jfrog/ansible/galaxy.yml rename to Ansible/ansible_collections/jfrog/installers/galaxy.yml index 2b44148..45c190b 100644 --- a/Ansible/collection/jfrog/ansible/galaxy.yml +++ b/Ansible/ansible_collections/jfrog/installers/galaxy.yml @@ -3,40 +3,44 @@ # The namespace of the collection. This can be a company/brand/organization or product namespace under which all # content lives. May only contain alphanumeric lowercase characters and underscores. Namespaces cannot start with # underscores or numbers and cannot contain consecutive underscores -namespace: jfrog +namespace: "jfrog" # The name of the collection. Has the same character restrictions as 'namespace' -name: ansible +name: "installers" # The version of the collection. Must be compatible with semantic versioning -version: 1.0.0 +version: "1.0.7" # The path to the Markdown (.md) readme file. This path is relative to the root of the collection -readme: README.md +readme: "README.md" # A list of the collection's content authors. Can be just the name or in the format 'Full Name (url) # @nicks:irc/im.site#channel' authors: -- your name + - "Jeff Fry " ### OPTIONAL but strongly recommended # A short summary description of the collection -description: your collection description +description: "This collection provides roles for installing Artifactory and Xray. Additionally, it provides optional SSL and Postgresql roles if these are needed for your deployment." # Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only # accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file' license: -- GPL-2.0-or-later + - "Apache-2.0" # The path to the license file for the collection. This path is relative to the root of the collection. This key is # mutually exclusive with 'license' -license_file: '' +license_file: "" # A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character # requirements as 'namespace' and 'name' -tags: [] +tags: + - artifactory + - xray + - jfrog + - application # Collections that this collection requires to be installed for it to be usable. The key of the dict is the # collection label 'namespace.name'. The value is a version range @@ -45,13 +49,13 @@ tags: [] dependencies: {} # The URL of the originating SCM repository -repository: http://example.com/repository +repository: "https://github.com/jfrog/JFrog-Cloud-Installers/" # The URL to any online docs -documentation: http://docs.example.com +documentation: "https://github.com/jfrog/JFrog-Cloud-Installers/blob/master/Ansible/README.md" # The URL to the homepage of the collection/project -homepage: http://example.com +homepage: "https://github.com/jfrog/JFrog-Cloud-Installers/" # The URL to the collection issue tracker -issues: http://example.com/issue/tracker +issues: "https://github.com/jfrog/JFrog-Cloud-Installers/issues" diff --git a/Ansible/ansible_collections/jfrog/installers/jfrog-installers-1.0.7.tar.gz b/Ansible/ansible_collections/jfrog/installers/jfrog-installers-1.0.7.tar.gz new file mode 100644 index 0000000..5c37244 Binary files /dev/null and b/Ansible/ansible_collections/jfrog/installers/jfrog-installers-1.0.7.tar.gz differ diff --git a/Ansible/collection/jfrog/ansible/plugins/README.md b/Ansible/ansible_collections/jfrog/installers/plugins/README.md similarity index 100% rename from Ansible/collection/jfrog/ansible/plugins/README.md rename to Ansible/ansible_collections/jfrog/installers/plugins/README.md diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/README.md b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/README.md new file mode 100644 index 0000000..606a51c --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/README.md @@ -0,0 +1,32 @@ +# artifactory +The artifactory role installs the Artifactory Pro software onto the host. Per the Vars below, it will configure a node as primary or secondary. This role uses secondary roles artifactory_nginx to install nginx. + +## Role Variables +* _artifactory_version_: The version of Artifactory to install. eg. "7.4.1" +* _master_key_: This is the Artifactory [Master Key](https://www.jfrog.com/confluence/display/JFROG/Managing+Keys). See below to [autogenerate this key](#autogenerating-master-and-join-keys). +* _join_key_: This is the Artifactory [Join Key](https://www.jfrog.com/confluence/display/JFROG/Managing+Keys). See below to [autogenerate this key](#autogenerating-master-and-join-keys). +* _db_download_url_: This is the download URL for the JDBC driver for your database. eg. "https://jdbc.postgresql.org/download/postgresql-42.2.12.jar" +* _db_type_: This is the database type. eg. "postgresql" +* _db_driver_: This is the JDBC driver class. eg. "org.postgresql.Driver" +* _db_url_: This is the JDBC database url. eg. "jdbc:postgresql://10.0.0.120:5432/artifactory" +* _db_user_: The database user to configure. eg. "artifactory" +* _db_password_: The database password to configure. "Art1fact0ry" +* _server_name_: This is the server name. eg. "artifactory.54.175.51.178.xip.io" +* _system_file_: Your own [system YAML](https://www.jfrog.com/confluence/display/JFROG/System+YAML+Configuration+File) file can be specified and used. **If specified, this file will be used rather than constructing a file from the parameters above.** +* _binary_store_file_: Your own [binary store file](https://www.jfrog.com/confluence/display/JFROG/Configuring+the+Filestore) can be used. If specified, the default cluster-file-system will not be used. + +### primary vars (vars used by the primary Artifactory server) +* _artifactory_is_primary_: For the primary node this must be set to **true**. +* _artifactory_license1 - 5_: These are the cluster licenses. +* _artifactory_license_file_: Your own license file can be used. **If specified, a license file constructed from the licenses above will not be used.** + +### secondary vars (vars used by the secondary Artifactory server) +* _artifactory_is_primary_: For the secondary node(s) this must be set to **false**. + +## Example Playbook +``` +--- +- hosts: primary + roles: + - artifactory +``` \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/defaults/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/defaults/main.yml similarity index 98% rename from Ansible/collection/jfrog/ansible/roles/artifactory/defaults/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory/defaults/main.yml index 4520463..9e64a78 100644 --- a/Ansible/collection/jfrog/ansible/roles/artifactory/defaults/main.yml +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/defaults/main.yml @@ -4,7 +4,7 @@ ansible_marketplace: standalone # The version of Artifactory to install -artifactory_version: 7.4.1 +artifactory_version: 7.6.1 # licenses file - specify a licenses file or specify up to 5 licenses artifactory_license1: diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/handlers/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/handlers/main.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory/handlers/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory/handlers/main.yml diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/meta/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/meta/main.yml new file mode 100644 index 0000000..c128393 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/meta/main.yml @@ -0,0 +1,16 @@ +galaxy_info: + author: "Jeff Fry " + description: "The artifactory role installs the Artifactory Pro software onto the host. Per the Vars below, it will configure a node as primary or secondary. This role uses secondary roles artifactory_nginx to install nginx." + company: JFrog + + issue_tracker_url: "https://github.com/jfrog/JFrog-Cloud-Installers/issues" + + license: license (Apache-2.0) + + min_ansible_version: 2.9 + + galaxy_tags: + - artifactory + - jfrog + +dependencies: [] \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/tasks/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/main.yml similarity index 94% rename from Ansible/collection/jfrog/ansible/roles/artifactory/tasks/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/main.yml index 04b3a8e..63cfd3b 100644 --- a/Ansible/collection/jfrog/ansible/roles/artifactory/tasks/main.yml +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/main.yml @@ -2,7 +2,7 @@ # tasks file for artifactory - name: install nginx include_role: - name: artifactory-nginx + name: artifactory_nginx - name: create group for artifactory group: @@ -86,9 +86,9 @@ dest: "{{ artifactory_home }}/var/etc/security/join.key" become: yes -- name: ensure {{ artifactory_home }}/var/etc/info/ exists +- name: ensure {{ artifactory_home }}/var/etc/artifactory/info/ exists file: - path: "{{ artifactory_home }}/var/etc/info/" + path: "{{ artifactory_home }}/var/etc/artifactory/info/" state: directory owner: "{{ artifactory_user }}" group: "{{ artifactory_group }}" @@ -97,7 +97,7 @@ - name: configure installer info template: src: installer-info.json.j2 - dest: "{{ artifactory_home }}/var/etc/info/installer-info.json" + dest: "{{ artifactory_home }}/var/etc/artifactory/info/installer-info.json" become: yes - name: use specified binary store diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/templates/artifactory.cluster.license.j2 b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/artifactory.cluster.license.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory/templates/artifactory.cluster.license.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/artifactory.cluster.license.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/templates/binarystore.xml.j2 b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/binarystore.xml.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory/templates/binarystore.xml.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/binarystore.xml.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/templates/installer-info.json.j2 b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/installer-info.json.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory/templates/installer-info.json.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/installer-info.json.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/templates/join.key.j2 b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/join.key.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory/templates/join.key.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/join.key.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/templates/master.key.j2 b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/master.key.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory/templates/master.key.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/master.key.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/templates/system.yaml.j2 b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/system.yaml.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory/templates/system.yaml.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory/templates/system.yaml.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/.travis.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/.travis.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/.travis.yml rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/.travis.yml diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/README.md b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/README.md new file mode 100644 index 0000000..6a6cb60 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/README.md @@ -0,0 +1,5 @@ +# artifactory_nginx +This role installs NGINX for artifactory. This role is automatically called by the artifactory role and isn't intended to be used separately. + +## Role Variables +* _server_name_: This is the server name. eg. "artifactory.54.175.51.178.xip.io" \ No newline at end of file diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/defaults/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/defaults/main.yml new file mode 100644 index 0000000..5818d2b --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/defaults/main.yml @@ -0,0 +1,2 @@ +--- +# defaults file for artifactory_nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/files/nginx.conf b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/files/nginx.conf similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory-nginx/files/nginx.conf rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/files/nginx.conf diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/handlers/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/handlers/main.yml new file mode 100644 index 0000000..f07f4d4 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/handlers/main.yml @@ -0,0 +1,2 @@ +--- +# handlers file for artifactory_nginx \ No newline at end of file diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/meta/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/meta/main.yml new file mode 100644 index 0000000..bb133f7 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/meta/main.yml @@ -0,0 +1,16 @@ +galaxy_info: + author: "Jeff Fry " + description: "This role installs NGINX for artifactory. This role is automatically called by the artifactory role and isn't intended to be used separately." + company: JFrog + + issue_tracker_url: "https://github.com/jfrog/JFrog-Cloud-Installers/issues" + + license: license (Apache-2.0) + + min_ansible_version: 2.9 + + galaxy_tags: + - artifactory + - jfrog + +dependencies: [] \ No newline at end of file diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/tasks/Debian.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/tasks/Debian.yml new file mode 100644 index 0000000..cc41ad0 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/tasks/Debian.yml @@ -0,0 +1,9 @@ +--- +- name: apt-get update + apt: + update_cache: yes + register: package_res + retries: 5 + delay: 60 + become: yes + until: package_res is success diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/tasks/RedHat.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/tasks/RedHat.yml new file mode 100644 index 0000000..93c4168 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/tasks/RedHat.yml @@ -0,0 +1,6 @@ +--- +- name: epel-release + yum: + name: epel-release + state: present + become: yes \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/tasks/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/tasks/main.yml similarity index 87% rename from Ansible/collection/jfrog/ansible/roles/artifactory-nginx/tasks/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/tasks/main.yml index 5146b14..d3c27c2 100644 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/tasks/main.yml +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/tasks/main.yml @@ -1,4 +1,7 @@ --- +- name: perform dependency installation + include_tasks: "{{ ansible_os_family }}.yml" + - name: install nginx package: name: nginx diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/templates/artifactory.conf.j2 b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/templates/artifactory.conf.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory-nginx/templates/artifactory.conf.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/templates/artifactory.conf.j2 diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/vars/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/vars/main.yml new file mode 100644 index 0000000..7d43ed5 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx/vars/main.yml @@ -0,0 +1,2 @@ +--- +# vars file for artifactory_nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/.travis.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/.travis.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory-nginx/.travis.yml rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/.travis.yml diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/README.md b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/README.md new file mode 100644 index 0000000..9a32719 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/README.md @@ -0,0 +1,16 @@ +# artifactory_nginx_ssl +The artifactory_nginx_ssl role installs and configures nginx for SSL. + +## Role Variables +* _server_name_: This is the server name. eg. "artifactory.54.175.51.178.xip.io" +* _certificate_: This is the SSL cert. +* _certificate_key_: This is the SSL private key. + +## Example Playbook +``` +--- +- hosts: primary + roles: + - artifactory + - artifactory_nginx_ssl +``` diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/defaults/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/defaults/main.yml new file mode 100644 index 0000000..5818d2b --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/defaults/main.yml @@ -0,0 +1,2 @@ +--- +# defaults file for artifactory_nginx \ No newline at end of file diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/handlers/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/handlers/main.yml new file mode 100644 index 0000000..f07f4d4 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/handlers/main.yml @@ -0,0 +1,2 @@ +--- +# handlers file for artifactory_nginx \ No newline at end of file diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/meta/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/meta/main.yml new file mode 100644 index 0000000..5715d56 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/meta/main.yml @@ -0,0 +1,16 @@ +galaxy_info: + author: "Jeff Fry " + description: "The artifactory_nginx_ssl role installs and configures nginx for SSL." + company: JFrog + + issue_tracker_url: "https://github.com/jfrog/JFrog-Cloud-Installers/issues" + + license: license (Apache-2.0) + + min_ansible_version: 2.9 + + galaxy_tags: + - artifactory + - jfrog + +dependencies: [] \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/tasks/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/tasks/main.yml similarity index 95% rename from Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/tasks/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/tasks/main.yml index ba37c53..ea18fe2 100644 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/tasks/main.yml +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/tasks/main.yml @@ -1,5 +1,5 @@ --- -# tasks file for artifactory-nginx +# tasks file for artifactory_nginx - name: configure the artifactory nginx conf template: src: artifactory.conf.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/templates/artifactory.conf.j2 b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/templates/artifactory.conf.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/templates/artifactory.conf.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/templates/artifactory.conf.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/templates/certificate.key.j2 b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/templates/certificate.key.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/templates/certificate.key.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/templates/certificate.key.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/templates/certificate.pem.j2 b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/templates/certificate.pem.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/templates/certificate.pem.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/templates/certificate.pem.j2 diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/vars/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/vars/main.yml new file mode 100644 index 0000000..7d43ed5 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory_nginx_ssl/vars/main.yml @@ -0,0 +1,2 @@ +--- +# vars file for artifactory_nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/.travis.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/.travis.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/.travis.yml rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/.travis.yml diff --git a/Ansible/ansible_collections/jfrog/installers/roles/postgres/README.md b/Ansible/ansible_collections/jfrog/installers/roles/postgres/README.md new file mode 100644 index 0000000..f8740f1 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/postgres/README.md @@ -0,0 +1,14 @@ +# postgres +The postgres role will install Postgresql software and configure a database and user to support an Artifactory or Xray server. + +### Role Variables +* _db_users_: This is a list of database users to create. eg. db_users: - { db_user: "artifactory", db_password: "Art1fAct0ry" } +* _dbs_: This is the database to create. eg. dbs: - { db_name: "artifactory", db_owner: "artifactory" } + +## Example Playbook +``` +--- +- hosts: database + roles: + - postgres +``` \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/defaults/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/defaults/main.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/defaults/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/defaults/main.yml diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/handlers/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/handlers/main.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/handlers/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/handlers/main.yml diff --git a/Ansible/ansible_collections/jfrog/installers/roles/postgres/meta/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/meta/main.yml new file mode 100644 index 0000000..674d197 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/postgres/meta/main.yml @@ -0,0 +1,16 @@ +galaxy_info: + author: "Jeff Fry " + description: "The postgres role will install Postgresql software and configure a database and user to support an Artifactory or Xray server." + company: JFrog + + issue_tracker_url: "https://github.com/jfrog/JFrog-Cloud-Installers/issues" + + license: license (Apache-2.0) + + min_ansible_version: 2.9 + + galaxy_tags: + - postgres + - jfrog + +dependencies: [] \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/tasks/Debian.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/tasks/Debian.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/tasks/Debian.yml rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/tasks/Debian.yml diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/tasks/RedHat.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/tasks/RedHat.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/tasks/RedHat.yml rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/tasks/RedHat.yml diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/tasks/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/tasks/main.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/tasks/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/tasks/main.yml diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/templates/pg_hba.conf.j2 b/Ansible/ansible_collections/jfrog/installers/roles/postgres/templates/pg_hba.conf.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/templates/pg_hba.conf.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/templates/pg_hba.conf.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/templates/postgresql.conf.j2 b/Ansible/ansible_collections/jfrog/installers/roles/postgres/templates/postgresql.conf.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/templates/postgresql.conf.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/templates/postgresql.conf.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/vars/Debian.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/vars/Debian.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/vars/Debian.yml rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/vars/Debian.yml diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/vars/RedHat.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/vars/RedHat.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/vars/RedHat.yml rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/vars/RedHat.yml diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/vars/RedHat_pg-9.6.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/vars/RedHat_pg-9.6.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/vars/RedHat_pg-9.6.yml rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/vars/RedHat_pg-9.6.yml diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/vars/RedHat_pg-default.yml b/Ansible/ansible_collections/jfrog/installers/roles/postgres/vars/RedHat_pg-default.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/postgres/vars/RedHat_pg-default.yml rename to Ansible/ansible_collections/jfrog/installers/roles/postgres/vars/RedHat_pg-default.yml diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/.travis.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/.travis.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/artifactory/.travis.yml rename to Ansible/ansible_collections/jfrog/installers/roles/xray/.travis.yml diff --git a/Ansible/ansible_collections/jfrog/installers/roles/xray/README.md b/Ansible/ansible_collections/jfrog/installers/roles/xray/README.md new file mode 100644 index 0000000..ba758f9 --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/README.md @@ -0,0 +1,22 @@ +# xray +The xray role will install Xray software onto the host. An Artifactory server and Postgress database is required. + +### Role Variables +* _xray_version_: The version of Artifactory to install. eg. "3.3.0" +* _jfrog_url_: This is the URL to the Artifactory base URL. eg. "http://ec2-54-237-207-135.compute-1.amazonaws.com" +* _master_key_: This is the Artifactory [Master Key](https://www.jfrog.com/confluence/display/JFROG/Managing+Keys). See below to [autogenerate this key](#autogenerating-master-and-join-keys). +* _join_key_: This is the Artifactory [Join Key](https://www.jfrog.com/confluence/display/JFROG/Managing+Keys). See below to [autogenerate this key](#autogenerating-master-and-join-keys). +* _db_type_: This is the database type. eg. "postgresql" +* _db_driver_: This is the JDBC driver class. eg. "org.postgresql.Driver" +* _db_url_: This is the database url. eg. "postgres://10.0.0.59:5432/xraydb?sslmode=disable" +* _db_user_: The database user to configure. eg. "xray" +* _db_password_: The database password to configure. "xray" +* _system_file_: Your own [system YAML](https://www.jfrog.com/confluence/display/JFROG/System+YAML+Configuration+File) file can be specified and used. If specified, this file will be used rather than constructing a file from the parameters above. + +## Example Playbook +``` +--- +- hosts: xray + roles: + - xray +``` \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/xray/defaults/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/defaults/main.yml similarity index 97% rename from Ansible/collection/jfrog/ansible/roles/xray/defaults/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/xray/defaults/main.yml index b8aad42..3cdffa3 100644 --- a/Ansible/collection/jfrog/ansible/roles/xray/defaults/main.yml +++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/defaults/main.yml @@ -4,7 +4,7 @@ ansible_marketplace: standalone # The version of xray to install -xray_version: 3.3.0 +xray_version: 3.5.2 # whether to enable HA xray_ha_enabled: true diff --git a/Ansible/collection/jfrog/ansible/roles/xray/handlers/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/handlers/main.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/xray/handlers/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/xray/handlers/main.yml diff --git a/Ansible/ansible_collections/jfrog/installers/roles/xray/meta/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/meta/main.yml new file mode 100644 index 0000000..b2be45e --- /dev/null +++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/meta/main.yml @@ -0,0 +1,16 @@ +galaxy_info: + author: "Jeff Fry " + description: "The xray role will install Xray software onto the host. An Artifactory server and Postgress database is required." + company: JFrog + + issue_tracker_url: "https://github.com/jfrog/JFrog-Cloud-Installers/issues" + + license: license (Apache-2.0) + + min_ansible_version: 2.9 + + galaxy_tags: + - xray + - jfrog + +dependencies: [] \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/xray/tasks/Debian.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/Debian.yml similarity index 98% rename from Ansible/collection/jfrog/ansible/roles/xray/tasks/Debian.yml rename to Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/Debian.yml index 420c2d0..8aa2a79 100644 --- a/Ansible/collection/jfrog/ansible/roles/xray/tasks/Debian.yml +++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/Debian.yml @@ -33,5 +33,4 @@ - name: Install erlang apt: deb: "{{ xray_home }}/app/third-party/rabbitmq/esl-erlang_21.2.1-1~ubuntu~xenial_amd64.deb" - become: yes - + become: yes \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/xray/tasks/RedHat.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/RedHat.yml similarity index 72% rename from Ansible/collection/jfrog/ansible/roles/xray/tasks/RedHat.yml rename to Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/RedHat.yml index 8d24eb7..35792f9 100644 --- a/Ansible/collection/jfrog/ansible/roles/xray/tasks/RedHat.yml +++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/RedHat.yml @@ -1,16 +1,18 @@ --- - name: Install db-utl yum: - name: "{{ xray_home }}/app/third-party/misc/db4-utils-4.7.25-20.el6_7.x86_64.rpm" + name: "{{ xray_home }}/app/third-party/misc/libdb-utils-5.3.21-19.el7.x86_64.rpm" state: present + become: yes - name: Install socat yum: name: "{{ xray_home }}/app/third-party/rabbitmq/socat-1.7.3.2-2.el7.x86_64.rpm" state: present + become: yes - name: Install erlang yum: name: "{{ xray_home }}/app/third-party/rabbitmq/erlang-21.1.4-1.el7.centos.x86_64.rpm" state: present - + become: yes \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/xray/tasks/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/main.yml similarity index 94% rename from Ansible/collection/jfrog/ansible/roles/xray/tasks/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/main.yml index 16810f6..2361d9f 100644 --- a/Ansible/collection/jfrog/ansible/roles/xray/tasks/main.yml +++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/main.yml @@ -31,9 +31,12 @@ until: downloadxray is succeeded retries: 3 -- name: perform prerequisite installation +- debug: + msg: "Running dependency installation for {{ ansible_os_family }}" + +- name: perform dependency installation include_tasks: "{{ ansible_os_family }}.yml" - + - name: ensure etc exists file: path: "{{ xray_home }}/var/etc" @@ -41,7 +44,7 @@ owner: "{{ xray_user }}" group: "{{ xray_group }}" become: yes - + - name: configure system yaml template: src: system.yaml.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/xray/templates/installer-info.json.j2 b/Ansible/ansible_collections/jfrog/installers/roles/xray/templates/installer-info.json.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/xray/templates/installer-info.json.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/xray/templates/installer-info.json.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/xray/templates/join.key.j2 b/Ansible/ansible_collections/jfrog/installers/roles/xray/templates/join.key.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/xray/templates/join.key.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/xray/templates/join.key.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/xray/templates/master.key.j2 b/Ansible/ansible_collections/jfrog/installers/roles/xray/templates/master.key.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/xray/templates/master.key.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/xray/templates/master.key.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/xray/templates/system.yaml.j2 b/Ansible/ansible_collections/jfrog/installers/roles/xray/templates/system.yaml.j2 similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/xray/templates/system.yaml.j2 rename to Ansible/ansible_collections/jfrog/installers/roles/xray/templates/system.yaml.j2 diff --git a/Ansible/collection/jfrog/ansible/roles/xray/vars/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/vars/main.yml similarity index 100% rename from Ansible/collection/jfrog/ansible/roles/xray/vars/main.yml rename to Ansible/ansible_collections/jfrog/installers/roles/xray/vars/main.yml diff --git a/Ansible/collection/README.md b/Ansible/collection/README.md deleted file mode 100644 index 1913bd9..0000000 --- a/Ansible/collection/README.md +++ /dev/null @@ -1,87 +0,0 @@ -# Ansible -This repo contains the Ansible collection for JFrog roles. These roles allow you to provision Artifactory for High-Availability using a Primary node and multiple Secondary nodes. Additionally, a Postgresql role is provided for installing an Artifactory Postgresql database. - -## Roles Provided -### artifactory -The artifactory role installs the Artifactory Pro software onto the host. Per the Vars below, it will configure a node as primary or secondary. This role uses secondary roles artifactory-nginx to install nginx. - -### artifactory-nginx-ssl -The artifactory-nginx-ssl role installs and configures nginx for SSL. - -### postgres -The postgres role will install Postgresql software and configure a database and user to support an Artifactory or Xray server. - -### xray -The xray role will install Xray software onto the host. An Artifactory server and Postgress database is required. - -## Vars Required -The following Vars must be configured. - -### databsase vars -* db_users: This is a list of database users to create. eg. db_users: - { db_user: "artifactory", db_password: "Art1fAct0ry" } -* dbs: This is the database to create. eg. dbs: - { db_name: "artifactory", db_owner: "artifactory" } - -### artifactory vars -* artifactory_version: The version of Artifactory to install. eg. "7.4.1" -* master_key: This is the Artifactory Master Key. -* join_key: This is the Artifactory Join Key. -* db_download_url: This is the download URL for the JDBC driver for your database. eg. "https://jdbc.postgresql.org/download/postgresql-42.2.12.jar" -* db_type: This is the database type. eg. "postgresql" -* db_driver: This is the JDBC driver class. eg. "org.postgresql.Driver" -* db_url: This is the JDBC database url. eg. "jdbc:postgresql://10.0.0.120:5432/artifactory" -* db_user: The database user to configure. eg. "artifactory" -* db_password: The database password to configure. "Art1fact0ry" -* server_name: This is the server name. eg. "artifactory.54.175.51.178.xip.io" -* system_file: Your own system YAML file can be specified and used. If specified, this file will be used rather than constructing a file from the parameters above. -* binary_store_file: Your own binary store file can be used. If specified, the default cluster-file-system will not be used. - -### primary vars -* artifactory_is_primary: For the primary node this must be set to **true**. -* artifactory_license1 - 5: These are the cluster licenses. -* artifactory_license_file: Your own license file can be used. If specified, a license file constructed from the licenses above will not be used. - -### secondary vars -* artifactory_is_primary: For the secondary node(s) this must be set to **false**. - -### ssl vars (Used with artifactory-nginx-ssl role) -* certificate: This is the SSL cert. -* certificate_key: This is the SSL private key. - -### xray vars -* xray_version: The version of Artifactory to install. eg. "3.3.0" -* jfrog_url: This is the URL to the Artifactory base URL. eg. "http://ec2-54-237-207-135.compute-1.amazonaws.com" -* master_key: This is the Artifactory Master Key. -* join_key: This is the Artifactory Join Key. -* db_type: This is the database type. eg. "postgresql" -* db_driver: This is the JDBC driver class. eg. "org.postgresql.Driver" -* db_url: This is the database url. eg. "postgres://10.0.0.59:5432/xraydb?sslmode=disable" -* db_user: The database user to configure. eg. "xray" -* db_password: The database password to configure. "xray" - -## Example Inventory and Playbooks -Example playbooks are located in the [project](../project) directory. This directory contains several example inventory and plaaybooks for different Artifactory, HA and Xray architectures. - -## Executing a Playbook -``` -ansible-playbook -i - -eg. - ansible-playbook -i example-playbooks/rt-xray-ha/hosts.yml example-playbooks/rt-xray-ha/playbook.yml -``` - -## Autogenerating Master and Join Keys -You may want to auto-generate your master amd join keys and apply it to all the nodes. - -``` -ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl rand -hex 16) join_key=$(openssl rand -hex 16)" -``` - -## Bastion Hosts -In many cases, you may want to run this Ansible collection through a Bastion host to provision JFrog servers. You can include the following Var for a host or group of hosts: - -``` -ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A user@host -W %h:%p"' - -eg. -ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ azureDeployment.deployment.outputs.lbIp.value }} -W %h:%p"' -``` \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/defaults/main.yml b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/defaults/main.yml deleted file mode 100644 index 6b28347..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for artifactory-nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/handlers/main.yml b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/handlers/main.yml deleted file mode 100644 index d212386..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for artifactory-nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/meta/main.yml b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/meta/main.yml deleted file mode 100644 index 227ad9c..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/meta/main.yml +++ /dev/null @@ -1,53 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.9 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. - \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/tests/inventory b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/tests/test.yml b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/tests/test.yml deleted file mode 100644 index 7560bbb..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - artifactory-nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/vars/main.yml b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/vars/main.yml deleted file mode 100644 index 7465197..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx-ssl/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for artifactory-nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/defaults/main.yml b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/defaults/main.yml deleted file mode 100644 index 6b28347..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for artifactory-nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/handlers/main.yml b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/handlers/main.yml deleted file mode 100644 index d212386..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for artifactory-nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/meta/main.yml b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/meta/main.yml deleted file mode 100644 index 227ad9c..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/meta/main.yml +++ /dev/null @@ -1,53 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.9 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. - \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/tests/inventory b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/tests/test.yml b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/tests/test.yml deleted file mode 100644 index 7560bbb..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - artifactory-nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/vars/main.yml b/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/vars/main.yml deleted file mode 100644 index 7465197..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory-nginx/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for artifactory-nginx \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/meta/exception.yml b/Ansible/collection/jfrog/ansible/roles/artifactory/meta/exception.yml deleted file mode 100644 index 7de46df..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory/meta/exception.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -exceptions: - - variation: Alpine - reason: Artifactory start/stop scripts don't properly work. - - variation: amazonlinux:1 - reason: "Shutting down artifactory: /usr/bin/java\nfinding\nUsing the default catalina management port (8015) to test shutdown\nArtifactory Tomcat already stopped" diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/meta/main.yml b/Ansible/collection/jfrog/ansible/roles/artifactory/meta/main.yml deleted file mode 100644 index 0dc573a..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory/meta/main.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- -galaxy_info: - author: Robert de Bock - role_name: artifactory - description: Install and configure artifactory on your system. - license: Apache-2.0 - company: none - min_ansible_version: 2.8 - - platforms: - - name: Debian - versions: - - all - - name: EL - versions: - - 7 - - 8 - - name: Fedora - versions: - - all - - name: OpenSUSE - versions: - - all - - name: Ubuntu - versions: - - bionic - - galaxy_tags: - - artifactory - - centos - - redhat - - server - - system - -dependencies: [] diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/meta/preferences.yml b/Ansible/collection/jfrog/ansible/roles/artifactory/meta/preferences.yml deleted file mode 100644 index e7fdebf..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory/meta/preferences.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -tox_parallel: yes diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/meta/version.yml b/Ansible/collection/jfrog/ansible/roles/artifactory/meta/version.yml deleted file mode 100644 index ea2ef8f..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory/meta/version.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -project_name: JFrog -reference: "https://github.com/robertdebock/ansible-role-artifactory/blob/master/defaults/main.yml" -versions: - - name: Artifactory - url: "https://dl.bintray.com/jfrog/artifactory/" diff --git a/Ansible/collection/jfrog/ansible/roles/artifactory/vars/main.yml b/Ansible/collection/jfrog/ansible/roles/artifactory/vars/main.yml deleted file mode 100644 index cd21505..0000000 --- a/Ansible/collection/jfrog/ansible/roles/artifactory/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- - diff --git a/Ansible/collection/jfrog/ansible/roles/postgres/meta/main.yml b/Ansible/collection/jfrog/ansible/roles/postgres/meta/main.yml deleted file mode 100644 index cc79dee..0000000 --- a/Ansible/collection/jfrog/ansible/roles/postgres/meta/main.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- - -galaxy_info: - role_name: postgres_server - author: Jeff Fry - description: Installation of Postgres for Artifactory HA - company: JFrog - min_ansible_version: 2.8 - platforms: - - name: Fedora - versions: - - 27 - - 29 - - name: Ubuntu - versions: - - xenial - - bionic - - name: Debian - versions: - - stretch - galaxy_tags: - - postgres - - postgresql - -dependencies: [] diff --git a/Ansible/collection/jfrog/ansible/roles/xray/.travis.yml b/Ansible/collection/jfrog/ansible/roles/xray/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/Ansible/collection/jfrog/ansible/roles/xray/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/xray/meta/main.yml b/Ansible/collection/jfrog/ansible/roles/xray/meta/main.yml deleted file mode 100644 index 227ad9c..0000000 --- a/Ansible/collection/jfrog/ansible/roles/xray/meta/main.yml +++ /dev/null @@ -1,53 +0,0 @@ -galaxy_info: - author: your name - description: your role description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) - - min_ansible_version: 2.9 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. - \ No newline at end of file diff --git a/Ansible/collection/jfrog/ansible/roles/xray/tests/inventory b/Ansible/collection/jfrog/ansible/roles/xray/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/Ansible/collection/jfrog/ansible/roles/xray/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/Ansible/collection/jfrog/ansible/roles/xray/tests/test.yml b/Ansible/collection/jfrog/ansible/roles/xray/tests/test.yml deleted file mode 100644 index f296da6..0000000 --- a/Ansible/collection/jfrog/ansible/roles/xray/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - xray \ No newline at end of file diff --git a/Ansible/project/rt-ha/hosts.yml b/Ansible/examples/host_vars/rt-ha/hosts.yml similarity index 97% rename from Ansible/project/rt-ha/hosts.yml rename to Ansible/examples/host_vars/rt-ha/hosts.yml index 6246c53..66a6be5 100644 --- a/Ansible/project/rt-ha/hosts.yml +++ b/Ansible/examples/host_vars/rt-ha/hosts.yml @@ -14,6 +14,7 @@ all: - { db_name: "artifactory", db_owner: "artifactory" } artifactory: vars: + artifactory_version: 7.4.1 artifactory_ha_enabled: true master_key: "c97b862469de0d94fbb7d48130637a5a" join_key: "9bcca98f375c0728d907cc6ee39d4f02" diff --git a/Ansible/project/rt-xray-ha/hosts.yml b/Ansible/examples/host_vars/rt-xray-ha/hosts.yml similarity index 96% rename from Ansible/project/rt-xray-ha/hosts.yml rename to Ansible/examples/host_vars/rt-xray-ha/hosts.yml index 0a79555..796305c 100644 --- a/Ansible/project/rt-xray-ha/hosts.yml +++ b/Ansible/examples/host_vars/rt-xray-ha/hosts.yml @@ -20,6 +20,7 @@ all: - { db_user: "xray", db_password: "xray" } artifactory: vars: + artifactory_version: 7.4.1 artifactory_ha_enabled: true master_key: "c97b862469de0d94fbb7d48130637a5a" join_key: "9bcca98f375c0728d907cc6ee39d4f02" @@ -42,6 +43,7 @@ all: artifactory_license5: x xray: vars: + xray_version: 3.3.0 jfrog_url: http://ec2-18-210-33-94.compute-1.amazonaws.com master_key: "c97b862469de0d94fbb7d48130637a5a" join_key: "9bcca98f375c0728d907cc6ee39d4f02" diff --git a/Ansible/project/rt-xray/hosts.yml b/Ansible/examples/host_vars/rt-xray/hosts.yml similarity index 95% rename from Ansible/project/rt-xray/hosts.yml rename to Ansible/examples/host_vars/rt-xray/hosts.yml index c553954..3fac82c 100644 --- a/Ansible/project/rt-xray/hosts.yml +++ b/Ansible/examples/host_vars/rt-xray/hosts.yml @@ -16,6 +16,7 @@ all: artifactory: hosts: 54.237.207.135: + artifactory_version: 7.4.1 artifactory_license1: x artifactory_license2: x artifactory_license3: x @@ -33,6 +34,7 @@ all: xray: hosts: 100.25.104.174: + xray_version: 3.3.0 jfrog_url: "http://ec2-54-237-207-135.compute-1.amazonaws.com" master_key: "c97b862469de0d94fbb7d48130637a5a" join_key: "9bcca98f375c0728d907cc6ee39d4f02" diff --git a/Ansible/project/rt/hosts.yml b/Ansible/examples/host_vars/rt/hosts.yml similarity index 95% rename from Ansible/project/rt/hosts.yml rename to Ansible/examples/host_vars/rt/hosts.yml index 42dab9b..f030ff6 100644 --- a/Ansible/project/rt/hosts.yml +++ b/Ansible/examples/host_vars/rt/hosts.yml @@ -13,6 +13,7 @@ all: primary: hosts: 54.165.47.191: + artifactory_version: 7.4.1 artifactory_is_primary: true artifactory_license_file: "{{ lookup('env', 'artifactory_license_file') }}" db_download_url: "https://jdbc.postgresql.org/download/postgresql-42.2.12.jar" diff --git a/Ansible/project/ssl/hosts.yml b/Ansible/examples/host_vars/ssl/hosts.yml similarity index 97% rename from Ansible/project/ssl/hosts.yml rename to Ansible/examples/host_vars/ssl/hosts.yml index c6c8f9f..c51aa1b 100644 --- a/Ansible/project/ssl/hosts.yml +++ b/Ansible/examples/host_vars/ssl/hosts.yml @@ -14,6 +14,7 @@ all: primary: hosts: 100.25.104.198: + artifactory_version: 7.4.1 artifactory_is_primary: true artifactory_license1: x artifactory_license2: x diff --git a/Ansible/examples/host_vars/xray/hosts.yml b/Ansible/examples/host_vars/xray/hosts.yml new file mode 100644 index 0000000..a4acffc --- /dev/null +++ b/Ansible/examples/host_vars/xray/hosts.yml @@ -0,0 +1,18 @@ +--- +all: + vars: + ansible_user: "centos" + children: + xray: + vars: + xray_version: 3.3.0 + jfrog_url: http://ec2-18-210-33-94.compute-1.amazonaws.com + master_key: "c97b862469de0d94fbb7d48130637a5a" + join_key: "9bcca98f375c0728d907cc6ee39d4f02" + db_type: "postgresql" + db_driver: "org.postgresql.Driver" + db_url: "postgres://10.0.0.5:5432/xraydb?sslmode=disable" + db_user: "xray" + db_password: "xray" + hosts: + 3.17.132.222 diff --git a/Ansible/examples/playbook-rt-ha.yml b/Ansible/examples/playbook-rt-ha.yml new file mode 100644 index 0000000..57fc65c --- /dev/null +++ b/Ansible/examples/playbook-rt-ha.yml @@ -0,0 +1,13 @@ +--- +- hosts: database + collections: + - jfrog.installers + roles: + - postgres + +- hosts: primary:secondary + collections: + - jfrog.installers + roles: + - artifactory + - artifactory_nginx_ssl \ No newline at end of file diff --git a/Ansible/project/rt-xray/playbook.yml b/Ansible/examples/playbook-rt-xray.yml similarity index 53% rename from Ansible/project/rt-xray/playbook.yml rename to Ansible/examples/playbook-rt-xray.yml index 9c0ff31..6081198 100644 --- a/Ansible/project/rt-xray/playbook.yml +++ b/Ansible/examples/playbook-rt-xray.yml @@ -1,12 +1,18 @@ --- - hosts: database + collections: + - jfrog.installers roles: - postgres - hosts: artifactory + collections: + - jfrog.installers roles: - artifactory - hosts: xray + collections: + - jfrog.installers roles: - xray \ No newline at end of file diff --git a/Ansible/project/ssl/playbook.yml b/Ansible/examples/playbook-rt.yml similarity index 54% rename from Ansible/project/ssl/playbook.yml rename to Ansible/examples/playbook-rt.yml index 359472b..72ffbec 100644 --- a/Ansible/project/ssl/playbook.yml +++ b/Ansible/examples/playbook-rt.yml @@ -1,9 +1,12 @@ --- - hosts: database + collections: + - jfrog.installers roles: - postgres - hosts: primary + collections: + - jfrog.installers roles: - artifactory - - artifactory-nginx-ssl diff --git a/Ansible/examples/playbook-ssl.yml b/Ansible/examples/playbook-ssl.yml new file mode 100644 index 0000000..7370111 --- /dev/null +++ b/Ansible/examples/playbook-ssl.yml @@ -0,0 +1,13 @@ +--- +- hosts: database + collections: + - jfrog.installers + roles: + - postgres + +- hosts: primary + collections: + - jfrog.installers + roles: + - artifactory + - artifactory_nginx_ssl diff --git a/Ansible/examples/playbook-xray.yml b/Ansible/examples/playbook-xray.yml new file mode 100644 index 0000000..3f0e5a4 --- /dev/null +++ b/Ansible/examples/playbook-xray.yml @@ -0,0 +1,6 @@ +--- +- hosts: xray + collections: + - jfrog.installers + roles: + - xray \ No newline at end of file diff --git a/Ansible/infra/aws/lb-rt-xray-ha-centos78.json b/Ansible/infra/aws/lb-rt-xray-ha-centos78.json new file mode 100644 index 0000000..73859a8 --- /dev/null +++ b/Ansible/infra/aws/lb-rt-xray-ha-centos78.json @@ -0,0 +1,769 @@ +{ + "Description": "This template deploys a VPC, with a pair of public and private subnets spread across two Availability Zones. It deploys an internet gateway, with a default route on the public subnets. It deploys a pair of NAT gateways (one in each AZ), and default routes for them in the private subnets.", + "Parameters": { + "SSHKeyName": { + "Description": "Name of the ec2 key you need one to use this template", + "Type": "AWS::EC2::KeyPair::KeyName", + "Default": "choose-key" + }, + "EnvironmentName": { + "Description": "An environment name that is prefixed to resource names", + "Type": "String", + "Default": "Ansible" + }, + "VpcCIDR": { + "Description": "Please enter the IP range (CIDR notation) for this VPC", + "Type": "String", + "Default": "10.192.0.0/16" + }, + "PublicSubnet1CIDR": { + "Description": "Please enter the IP range (CIDR notation) for the public subnet in the first Availability Zone", + "Type": "String", + "Default": "10.192.10.0/24" + }, + "PublicSubnet2CIDR": { + "Description": "Please enter the IP range (CIDR notation) for the public subnet in the second Availability Zone", + "Type": "String", + "Default": "10.192.11.0/24" + }, + "PrivateSubnet1CIDR": { + "Description": "Please enter the IP range (CIDR notation) for the private subnet in the first Availability Zone", + "Type": "String", + "Default": "10.192.20.0/24" + }, + "PrivateSubnet2CIDR": { + "Description": "Please enter the IP range (CIDR notation) for the private subnet in the second Availability Zone", + "Type": "String", + "Default": "10.192.21.0/24" + } + }, + "Mappings": { + "RegionToAmazonAMI": { + "us-east-1": { + "HVM64": "ami-02e98f78" + }, + "us-east-2": { + "HVM64": "ami-01e36b7901e884a10" + }, + "us-west-1": { + "HVM64": "ami-074e2d6769f445be5" + }, + "us-west-2": { + "HVM64": "ami-01ed306a12b7d1c96" + } + } + }, + "Resources": { + "VPC": { + "Type": "AWS::EC2::VPC", + "Properties": { + "CidrBlock": { + "Ref": "VpcCIDR" + }, + "EnableDnsSupport": true, + "EnableDnsHostnames": true, + "Tags": [ + { + "Key": "Name", + "Value": { + "Ref": "EnvironmentName" + } + } + ] + } + }, + "InternetGateway": { + "Type": "AWS::EC2::InternetGateway", + "Properties": { + "Tags": [ + { + "Key": "Name", + "Value": { + "Ref": "EnvironmentName" + } + } + ] + } + }, + "InternetGatewayAttachment": { + "Type": "AWS::EC2::VPCGatewayAttachment", + "Properties": { + "InternetGatewayId": { + "Ref": "InternetGateway" + }, + "VpcId": { + "Ref": "VPC" + } + } + }, + "PublicSubnet1": { + "Type": "AWS::EC2::Subnet", + "Properties": { + "VpcId": { + "Ref": "VPC" + }, + "AvailabilityZone": { + "Fn::Select": [ + 0, + { + "Fn::GetAZs": "" + } + ] + }, + "CidrBlock": { + "Ref": "PublicSubnet1CIDR" + }, + "MapPublicIpOnLaunch": true, + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${EnvironmentName} Public Subnet (AZ1)" + } + } + ] + } + }, + "PublicSubnet2": { + "Type": "AWS::EC2::Subnet", + "Properties": { + "VpcId": { + "Ref": "VPC" + }, + "AvailabilityZone": { + "Fn::Select": [ + 1, + { + "Fn::GetAZs": "" + } + ] + }, + "CidrBlock": { + "Ref": "PublicSubnet2CIDR" + }, + "MapPublicIpOnLaunch": true, + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${EnvironmentName} Public Subnet (AZ2)" + } + } + ] + } + }, + "PrivateSubnet1": { + "Type": "AWS::EC2::Subnet", + "Properties": { + "VpcId": { + "Ref": "VPC" + }, + "AvailabilityZone": { + "Fn::Select": [ + 0, + { + "Fn::GetAZs": "" + } + ] + }, + "CidrBlock": { + "Ref": "PrivateSubnet1CIDR" + }, + "MapPublicIpOnLaunch": false, + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${EnvironmentName} Private Subnet (AZ1)" + } + } + ] + } + }, + "PrivateSubnet2": { + "Type": "AWS::EC2::Subnet", + "Properties": { + "VpcId": { + "Ref": "VPC" + }, + "AvailabilityZone": { + "Fn::Select": [ + 1, + { + "Fn::GetAZs": "" + } + ] + }, + "CidrBlock": { + "Ref": "PrivateSubnet2CIDR" + }, + "MapPublicIpOnLaunch": false, + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${EnvironmentName} Private Subnet (AZ2)" + } + } + ] + } + }, + "NatGateway1EIP": { + "Type": "AWS::EC2::EIP", + "DependsOn": "InternetGatewayAttachment", + "Properties": { + "Domain": "vpc" + } + }, + "NatGateway2EIP": { + "Type": "AWS::EC2::EIP", + "DependsOn": "InternetGatewayAttachment", + "Properties": { + "Domain": "vpc" + } + }, + "NatGateway1": { + "Type": "AWS::EC2::NatGateway", + "Properties": { + "AllocationId": { + "Fn::GetAtt": [ + "NatGateway1EIP", + "AllocationId" + ] + }, + "SubnetId": { + "Ref": "PublicSubnet1" + } + } + }, + "NatGateway2": { + "Type": "AWS::EC2::NatGateway", + "Properties": { + "AllocationId": { + "Fn::GetAtt": [ + "NatGateway2EIP", + "AllocationId" + ] + }, + "SubnetId": { + "Ref": "PublicSubnet2" + } + } + }, + "PublicRouteTable": { + "Type": "AWS::EC2::RouteTable", + "Properties": { + "VpcId": { + "Ref": "VPC" + }, + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${EnvironmentName} Public Routes" + } + } + ] + } + }, + "DefaultPublicRoute": { + "Type": "AWS::EC2::Route", + "DependsOn": "InternetGatewayAttachment", + "Properties": { + "RouteTableId": { + "Ref": "PublicRouteTable" + }, + "DestinationCidrBlock": "0.0.0.0/0", + "GatewayId": { + "Ref": "InternetGateway" + } + } + }, + "PublicSubnet1RouteTableAssociation": { + "Type": "AWS::EC2::SubnetRouteTableAssociation", + "Properties": { + "RouteTableId": { + "Ref": "PublicRouteTable" + }, + "SubnetId": { + "Ref": "PublicSubnet1" + } + } + }, + "PublicSubnet2RouteTableAssociation": { + "Type": "AWS::EC2::SubnetRouteTableAssociation", + "Properties": { + "RouteTableId": { + "Ref": "PublicRouteTable" + }, + "SubnetId": { + "Ref": "PublicSubnet2" + } + } + }, + "PrivateRouteTable1": { + "Type": "AWS::EC2::RouteTable", + "Properties": { + "VpcId": { + "Ref": "VPC" + }, + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${EnvironmentName} Private Routes (AZ1)" + } + } + ] + } + }, + "DefaultPrivateRoute1": { + "Type": "AWS::EC2::Route", + "Properties": { + "RouteTableId": { + "Ref": "PrivateRouteTable1" + }, + "DestinationCidrBlock": "0.0.0.0/0", + "NatGatewayId": { + "Ref": "NatGateway1" + } + } + }, + "PrivateSubnet1RouteTableAssociation": { + "Type": "AWS::EC2::SubnetRouteTableAssociation", + "Properties": { + "RouteTableId": { + "Ref": "PrivateRouteTable1" + }, + "SubnetId": { + "Ref": "PrivateSubnet1" + } + } + }, + "PrivateRouteTable2": { + "Type": "AWS::EC2::RouteTable", + "Properties": { + "VpcId": { + "Ref": "VPC" + }, + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${EnvironmentName} Private Routes (AZ2)" + } + } + ] + } + }, + "DefaultPrivateRoute2": { + "Type": "AWS::EC2::Route", + "Properties": { + "RouteTableId": { + "Ref": "PrivateRouteTable2" + }, + "DestinationCidrBlock": "0.0.0.0/0", + "NatGatewayId": { + "Ref": "NatGateway2" + } + } + }, + "PrivateSubnet2RouteTableAssociation": { + "Type": "AWS::EC2::SubnetRouteTableAssociation", + "Properties": { + "RouteTableId": { + "Ref": "PrivateRouteTable2" + }, + "SubnetId": { + "Ref": "PrivateSubnet2" + } + } + }, + "EC2SecurityGroup": { + "Type": "AWS::EC2::SecurityGroup", + "Properties": { + "GroupDescription": "SSH, Port 80, Database", + "VpcId": { + "Ref": "VPC" + }, + "SecurityGroupIngress": [ + { + "IpProtocol": "tcp", + "FromPort": 22, + "ToPort": 22, + "CidrIp": "0.0.0.0/0" + }, + { + "IpProtocol": "tcp", + "FromPort": 5432, + "ToPort": 5432, + "CidrIp": "0.0.0.0/0" + }, + { + "IpProtocol": "tcp", + "FromPort": 8082, + "ToPort": 8082, + "CidrIp": "0.0.0.0/0" + }, + { + "IpProtocol": "tcp", + "FromPort": 80, + "ToPort": 80, + "SourceSecurityGroupId": { + "Ref": "ELBSecurityGroup" + } + } + ] + } + }, + "ELBSecurityGroup": { + "Type": "AWS::EC2::SecurityGroup", + "Properties": { + "GroupDescription": "SSH and Port 80", + "VpcId": { + "Ref": "VPC" + }, + "SecurityGroupIngress": [ + { + "IpProtocol": "tcp", + "FromPort": 80, + "ToPort": 80, + "CidrIp": "0.0.0.0/0" + } + ] + } + }, + "BastionInstance": { + "Type": "AWS::EC2::Instance", + "Properties": { + "ImageId": { + "Fn::FindInMap": [ + "RegionToAmazonAMI", + { + "Ref": "AWS::Region" + }, + "HVM64" + ] + }, + "InstanceInitiatedShutdownBehavior": "stop", + "InstanceType": "t2.medium", + "KeyName": { + "Ref": "SSHKeyName" + }, + "Monitoring": "true", + "NetworkInterfaces": [ + { + "AssociatePublicIpAddress": "true", + "DeviceIndex": "0", + "GroupSet": [ + { + "Ref": "EC2SecurityGroup" + } + ], + "SubnetId": { + "Ref": "PublicSubnet1" + } + } + ], + "Tags": [ + { + "Key": "Name", + "Value": "bastion" + } + ], + "Tenancy": "default" + } + }, + "RTPriInstance": { + "Type": "AWS::EC2::Instance", + "Properties": { + "ImageId": { + "Fn::FindInMap": [ + "RegionToAmazonAMI", + { + "Ref": "AWS::Region" + }, + "HVM64" + ] + }, + "InstanceInitiatedShutdownBehavior": "stop", + "InstanceType": "t2.medium", + "KeyName": { + "Ref": "SSHKeyName" + }, + "Monitoring": "true", + "NetworkInterfaces": [ + { + "AssociatePublicIpAddress": "false", + "DeviceIndex": "0", + "GroupSet": [ + { + "Ref": "EC2SecurityGroup" + } + ], + "SubnetId": { + "Ref": "PrivateSubnet1" + } + } + ], + "Tags": [ + { + "Key": "Name", + "Value": "rtprimary" + } + ], + "Tenancy": "default" + } + }, + "RTSecInstance": { + "Type": "AWS::EC2::Instance", + "Properties": { + "ImageId": { + "Fn::FindInMap": [ + "RegionToAmazonAMI", + { + "Ref": "AWS::Region" + }, + "HVM64" + ] + }, + "InstanceInitiatedShutdownBehavior": "stop", + "InstanceType": "t2.medium", + "KeyName": { + "Ref": "SSHKeyName" + }, + "Monitoring": "true", + "NetworkInterfaces": [ + { + "AssociatePublicIpAddress": "false", + "DeviceIndex": "0", + "GroupSet": [ + { + "Ref": "EC2SecurityGroup" + } + ], + "SubnetId": { + "Ref": "PrivateSubnet2" + } + } + ], + "Tags": [ + { + "Key": "Name", + "Value": "rtsecondary" + } + ], + "Tenancy": "default" + } + }, + "XrayInstance": { + "Type": "AWS::EC2::Instance", + "Properties": { + "ImageId": { + "Fn::FindInMap": [ + "RegionToAmazonAMI", + { + "Ref": "AWS::Region" + }, + "HVM64" + ] + }, + "InstanceInitiatedShutdownBehavior": "stop", + "InstanceType": "t2.medium", + "KeyName": { + "Ref": "SSHKeyName" + }, + "Monitoring": "true", + "NetworkInterfaces": [ + { + "AssociatePublicIpAddress": "false", + "DeviceIndex": "0", + "GroupSet": [ + { + "Ref": "EC2SecurityGroup" + } + ], + "SubnetId": { + "Ref": "PrivateSubnet1" + } + } + ], + "Tags": [ + { + "Key": "Name", + "Value": "xray" + } + ], + "Tenancy": "default" + } + }, + "DBInstance": { + "Type": "AWS::EC2::Instance", + "Properties": { + "ImageId": { + "Fn::FindInMap": [ + "RegionToAmazonAMI", + { + "Ref": "AWS::Region" + }, + "HVM64" + ] + }, + "InstanceInitiatedShutdownBehavior": "stop", + "InstanceType": "t2.medium", + "KeyName": { + "Ref": "SSHKeyName" + }, + "Monitoring": "true", + "NetworkInterfaces": [ + { + "AssociatePublicIpAddress": "false", + "DeviceIndex": "0", + "GroupSet": [ + { + "Ref": "EC2SecurityGroup" + } + ], + "SubnetId": { + "Ref": "PrivateSubnet1" + } + } + ], + "Tags": [ + { + "Key": "Name", + "Value": "database" + } + ], + "Tenancy": "default" + } + }, + "EC2TargetGroup": { + "Type": "AWS::ElasticLoadBalancingV2::TargetGroup", + "Properties": { + "HealthCheckIntervalSeconds": 30, + "HealthCheckProtocol": "HTTP", + "HealthCheckTimeoutSeconds": 15, + "HealthyThresholdCount": 2, + "Matcher": { + "HttpCode": "200,302" + }, + "Name": "EC2TargetGroup", + "Port": 80, + "Protocol": "HTTP", + "TargetGroupAttributes": [ + { + "Key": "deregistration_delay.timeout_seconds", + "Value": "20" + } + ], + "Targets": [ + { + "Id": { + "Ref": "RTPriInstance" + } + }, + { + "Id": { + "Ref": "RTSecInstance" + }, + "Port": 80 + } + ], + "UnhealthyThresholdCount": 3, + "VpcId": { + "Ref": "VPC" + }, + "Tags": [ + { + "Key": "Name", + "Value": "EC2TargetGroup" + }, + { + "Key": "Port", + "Value": 80 + } + ] + } + }, + "ALBListener": { + "Type": "AWS::ElasticLoadBalancingV2::Listener", + "Properties": { + "DefaultActions": [ + { + "Type": "forward", + "TargetGroupArn": { + "Ref": "EC2TargetGroup" + } + } + ], + "LoadBalancerArn": { + "Ref": "ApplicationLoadBalancer" + }, + "Port": 80, + "Protocol": "HTTP" + } + }, + "ApplicationLoadBalancer": { + "Type": "AWS::ElasticLoadBalancingV2::LoadBalancer", + "Properties": { + "Scheme": "internet-facing", + "Subnets": [ + { + "Ref": "PublicSubnet1" + }, + { + "Ref": "PublicSubnet2" + } + ], + "SecurityGroups": [ + { + "Ref": "ELBSecurityGroup" + } + ] + } + } + }, + + "Outputs": { + "VPC": { + "Description": "Virtual Private Cloud", + "Value": { + "Ref": "VPC" + } + }, + "ALBHostName": { + "Description": "Application Load Balancer Hostname", + "Value": { + "Fn::GetAtt": [ + "ApplicationLoadBalancer", + "DNSName" + ] + } + }, + "BastionInstancePublic": { + "Description": "Bastion", + "Value": { "Fn::GetAtt" : [ "BastionInstance", "PublicIp" ]} + }, + "BastionInstancePrivate": { + "Description": "Bastion", + "Value": { "Fn::GetAtt" : [ "BastionInstance", "PrivateIp" ]} + }, + "RTPriInstancePrivate": { + "Description": "RTPriInstance", + "Value": { "Fn::GetAtt" : [ "RTPriInstance", "PrivateIp" ]} + }, + "RTSecInstancePrivate": { + "Description": "RTSecInstance", + "Value": { "Fn::GetAtt" : [ "RTSecInstance", "PrivateIp" ]} + }, + "XrayInstancePrivate": { + "Description": "XrayInstance", + "Value": { "Fn::GetAtt" : [ "XrayInstance", "PrivateIp" ]} + }, + "DBInstancePrivate": { + "Description": "DBInstance", + "Value": { "Fn::GetAtt" : [ "DBInstance", "PrivateIp" ]} + } + } +} \ No newline at end of file diff --git a/Ansible/infra/aws/lb-rt-xray-ha.json b/Ansible/infra/aws/lb-rt-xray-ha-ubuntu16.json similarity index 100% rename from Ansible/infra/aws/lb-rt-xray-ha.json rename to Ansible/infra/aws/lb-rt-xray-ha-ubuntu16.json diff --git a/Ansible/pipelines.yaml b/Ansible/pipelines.yaml index 3fd14a5..9f7a18f 100644 --- a/Ansible/pipelines.yaml +++ b/Ansible/pipelines.yaml @@ -34,8 +34,10 @@ pipelines: - sudo apt -y --allow-unauthenticated install ansible - sudo pip install packaging - sudo pip install boto3 botocore - - cd ../dependencyState/resources/ansibleRepo + - cd dependencyState/resources/ansibleRepo - echo 'Setting environment variables...' + - export artifactory_version="$int_ansibleEnvVars_artifactory_version" + - export xray_version="$int_ansibleEnvVars_xray_version" - export artifactory_license1="$int_ansibleEnvVars_artifactory_license1" - export artifactory_license2="$int_ansibleEnvVars_artifactory_license2" - export artifactory_license3="$int_ansibleEnvVars_artifactory_license3" @@ -47,6 +49,8 @@ pipelines: - export AWS_ACCESS_KEY_ID="$int_ansibleEnvVars_AWS_ACCESS_KEY_ID" - export AWS_SECRET_KEY="$int_ansibleEnvVars_AWS_SECRET_KEY" - printenv + - pwd + - ls - eval $(ssh-agent -s) - ssh-add <(echo "$int_ansiblePrivateKey_key") - ansible-playbook Ansible/test/aws/playbook.yaml @@ -80,8 +84,10 @@ pipelines: - sudo pip install packaging - sudo pip install msrestazure - sudo pip install ansible[azure] - - cd ../dependencyState/resources/ansibleRepo + - cd dependencyState/resources/ansibleRepo - echo 'Setting environment variables...' + - export artifactory_version="$int_ansibleEnvVars_artifactory_version" + - export xray_version="$int_ansibleEnvVars_xray_version" - export artifactory_license1="$int_ansibleEnvVars_artifactory_license1" - export artifactory_license2="$int_ansibleEnvVars_artifactory_license2" - export artifactory_license3="$int_ansibleEnvVars_artifactory_license3" @@ -94,6 +100,8 @@ pipelines: - export clientSecret="$int_ansibleAzureKeys_password" - export tenantId="$int_ansibleAzureKeys_tenant" - printenv + - pwd + - ls - eval $(ssh-agent -s) - ssh-add <(echo "$int_ansiblePrivateKey_key") - az login --service-principal -u "$clientId" -p "$clientSecret" --tenant "$tenantId" diff --git a/Ansible/project/rt-ha/playbook.yml b/Ansible/project/rt-ha/playbook.yml deleted file mode 100644 index ae9639e..0000000 --- a/Ansible/project/rt-ha/playbook.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- hosts: database - gather_facts: true - roles: - - jfrog/ansible/roles/postgres - -- hosts: primary:secondary - gather_facts: true - roles: - - jfrog/ansible/roles/artifactory - - jfrog/ansible/roles/artifactory-nginx-ssl \ No newline at end of file diff --git a/Ansible/project/rt-xray-auto-keys/hosts.yml b/Ansible/project/rt-xray-auto-keys/hosts.yml deleted file mode 100644 index 76babec..0000000 --- a/Ansible/project/rt-xray-auto-keys/hosts.yml +++ /dev/null @@ -1,40 +0,0 @@ ---- -all: - vars: - ansible_user: "ubuntu" - ansible_ssh_private_key_file: "/Users/jefff/.ssh/ansible-priv.pem" - ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@13.82.225.20 -W %h:%p"' - children: - database: - hosts: - 34.239.107.0: - dbs: - - { db_name: "artifactory", db_owner: "artifactory" } - - { db_name: "xraydb", db_owner: "xray" } - db_users: - - { db_user: "artifactory", db_password: "Art1fAct0ry" } - - { db_user: "xray", db_password: "xray" } - artifactory: - hosts: - 54.237.207.135: - artifactory_license1: x - artifactory_license2: x - artifactory_license3: x - artifactory_license4: x - artifactory_license5: x - db_download_url: "https://jdbc.postgresql.org/download/postgresql-42.2.12.jar" - db_type: "postgresql" - db_driver: "org.postgresql.Driver" - db_url: "jdbc:postgresql://10.0.0.59:5432/artifactory" - db_user: "artifactory" - db_password: "Art1fAct0ry" - server_name: "ec2-54-237-207-135.compute-1.amazonaws.com" - xray: - hosts: - 100.25.104.174: - jfrog_url: "http://ec2-54-237-207-135.compute-1.amazonaws.com" - db_type: "postgresql" - db_driver: "org.postgresql.Driver" - db_url: "postgres://10.0.0.59:5432/xraydb?sslmode=disable" - db_user: "xray" - db_password: "xray" diff --git a/Ansible/project/rt-xray-auto-keys/playbook.yml b/Ansible/project/rt-xray-auto-keys/playbook.yml deleted file mode 100644 index 2e99018..0000000 --- a/Ansible/project/rt-xray-auto-keys/playbook.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- debug: - var: master_key - -- debug: - var: join_key - -- hosts: database - roles: - - postgres - -- hosts: artifactory - roles: - - artifactory - -- hosts: xray - roles: - - xray \ No newline at end of file diff --git a/Ansible/project/rt-xray-auto-keys/runAutoKeysPlaybook.sh b/Ansible/project/rt-xray-auto-keys/runAutoKeysPlaybook.sh deleted file mode 100755 index 0949cb0..0000000 --- a/Ansible/project/rt-xray-auto-keys/runAutoKeysPlaybook.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl rand -hex 16) join_key=$(openssl rand -hex 16)" \ No newline at end of file diff --git a/Ansible/project/rt-xray-ha-ssh-proxy/hosts.yml b/Ansible/project/rt-xray-ha-ssh-proxy/hosts.yml deleted file mode 100644 index 8651299..0000000 --- a/Ansible/project/rt-xray-ha-ssh-proxy/hosts.yml +++ /dev/null @@ -1,60 +0,0 @@ ---- -all: - vars: - ansible_user: "ubuntu" - ansible_ssh_private_key_file: "/Users/jefff/.ssh/ansible-priv.pem" - ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@13.82.225.20 -W %h:%p"' - children: - database: - hosts: - #artifactory database - 10.0.0.6: - db_users: - - { db_user: "artifactory", db_password: "Art1fAct0ry" } - dbs: - - { db_name: "artifactory", db_owner: "artifactory" } - #xray database - 10.0.0.4: - dbs: - - { db_name: "xraydb", db_owner: "xray" } - db_users: - - { db_user: "xray", db_password: "xray" } - artifactory: - vars: - artifactory_ha_enabled: true - master_key: "c97b862469de0d94fbb7d48130637a5a" - join_key: "9bcca98f375c0728d907cc6ee39d4f02" - db_download_url: "https://jdbc.postgresql.org/download/postgresql-42.2.12.jar" - db_type: "postgresql" - db_driver: "org.postgresql.Driver" - db_url: "jdbc:postgresql://10.0.0.6:5432/artifactory" - db_user: "artifactory" - db_password: "Art1fAct0ry" - server_name: "rt.13.82.225.208.xip.io" - children: - primary: - hosts: - 10.0.0.8: - artifactory_is_primary: true - artifactory_license1: x - artifactory_license2: x - artifactory_license3: x - artifactory_license4: x - artifactory_license5: x - secondary: - hosts: - 10.0.0.9: - vars: - artifactory_is_primary: false - xray: - vars: - jfrog_url: http://rt.13.82.225.208.xip.io/ - master_key: "c97b862469de0d94fbb7d48130637a5a" - join_key: "9bcca98f375c0728d907cc6ee39d4f02" - db_type: "postgresql" - db_driver: "org.postgresql.Driver" - db_url: "postgres://10.0.0.4:5432/xraydb?sslmode=disable" - db_user: "xray" - db_password: "xray" - hosts: - 10.0.0.5: diff --git a/Ansible/project/rt-xray-ha-ssh-proxy/playbook.yml b/Ansible/project/rt-xray-ha-ssh-proxy/playbook.yml deleted file mode 100644 index 825fe0b..0000000 --- a/Ansible/project/rt-xray-ha-ssh-proxy/playbook.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -- hosts: database - roles: - - postgres - -- hosts: primary:secondary - roles: - - artifactory - -- hosts: xray - roles: - - xray \ No newline at end of file diff --git a/Ansible/project/rt-xray-ha/playbook.yml b/Ansible/project/rt-xray-ha/playbook.yml deleted file mode 100644 index b25f3af..0000000 --- a/Ansible/project/rt-xray-ha/playbook.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -- hosts: database - roles: - - postgres - -- hosts: primary - roles: - - artifactory - -- hosts: xray - roles: - - xray \ No newline at end of file diff --git a/Ansible/project/rt/playbook.yml b/Ansible/project/rt/playbook.yml deleted file mode 100644 index 48d7c1e..0000000 --- a/Ansible/project/rt/playbook.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- hosts: database - roles: - - postgres - -- hosts: primary - roles: - - artifactory diff --git a/Ansible/project/rt/runPlaybook.sh b/Ansible/project/rt/runPlaybook.sh deleted file mode 100755 index 1c5d200..0000000 --- a/Ansible/project/rt/runPlaybook.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -ansible-playbook -i Ansible/project/rt/hosts.yml Ansible/project/rt/playbook.yml --extra-vars "master_key=$(openssl rand -hex 16) join_key=$(openssl rand -hex 16)" \ No newline at end of file diff --git a/Ansible/test/aws/playbook.yaml b/Ansible/test/aws/playbook.yaml index fafe557..a859072 100644 --- a/Ansible/test/aws/playbook.yaml +++ b/Ansible/test/aws/playbook.yaml @@ -33,6 +33,7 @@ hostname: "{{ AWSDeployment.stack_outputs.RTPriInstancePrivate }}" ansible_user: "ubuntu" ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ AWSDeployment.stack_outputs.BastionInstancePublic }} -W %h:%p"' + artifactory_version: "{{ lookup('env', 'artifactory_version') }}" db_url: "jdbc:postgresql://{{ AWSDeployment.stack_outputs.DBInstancePrivate }}:5432/artifactory" server_name: "{{ AWSDeployment.stack_outputs.ALBHostName }}" artifactory_is_primary: true @@ -47,6 +48,7 @@ hostname: "{{ AWSDeployment.stack_outputs.RTSecInstancePrivate }}" ansible_user: "ubuntu" ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ AWSDeployment.stack_outputs.BastionInstancePublic }} -W %h:%p"' + artifactory_version: "{{ lookup('env', 'artifactory_version') }}" db_url: "jdbc:postgresql://{{ AWSDeployment.stack_outputs.DBInstancePrivate }}:5432/artifactory" server_name: "{{ AWSDeployment.stack_outputs.ALBHostName }}" artifactory_is_primary: false @@ -58,6 +60,7 @@ hostname: "{{ AWSDeployment.stack_outputs.XrayInstancePrivate }}" ansible_user: "ubuntu" ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ AWSDeployment.stack_outputs.BastionInstancePublic }} -W %h:%p"' + xray_version: "{{ lookup('env', 'xray_version') }}" jfrog_url: "http://{{ AWSDeployment.stack_outputs.ALBHostName }}" master_key: "{{ lookup('env', 'master_key') }}" join_key: "{{ lookup('env', 'join_key') }}" diff --git a/Ansible/test/azure/playbook.yaml b/Ansible/test/azure/playbook.yaml index f4eb24a..6304319 100644 --- a/Ansible/test/azure/playbook.yaml +++ b/Ansible/test/azure/playbook.yaml @@ -44,6 +44,7 @@ hostname: "{{ azureDeployment.deployment.outputs.vmArtPriIp.value }}" ansible_user: "ubuntu" ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ azureDeployment.deployment.outputs.lbIp.value }} -W %h:%p"' + artifactory_version: "{{ lookup('env', 'artifactory_version') }}" db_url: "jdbc:postgresql://{{ azureDeployment.deployment.outputs.vmDbArrIp.value[0] }}:5432/artifactory" server_name: "rt.{{ azureDeployment.deployment.outputs.lbIp.value }}.xip.io" artifactory_is_primary: true @@ -58,6 +59,7 @@ hostname: "{{ item }}" ansible_user: "ubuntu" ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ azureDeployment.deployment.outputs.lbIp.value }} -W %h:%p"' + artifactory_version: "{{ lookup('env', 'artifactory_version') }}" db_url: "jdbc:postgresql://{{ azureDeployment.deployment.outputs.vmDbArrIp.value[0] }}:5432/artifactory" server_name: "rt.{{ azureDeployment.deployment.outputs.lbIp.value }}.xip.io" artifactory_is_primary: false @@ -70,6 +72,7 @@ hostname: "{{ item }}" ansible_user: "ubuntu" ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ azureDeployment.deployment.outputs.lbIp.value }} -W %h:%p"' + xray_version: "{{ lookup('env', 'xray_version') }}" jfrog_url: "http://rt.{{ azureDeployment.deployment.outputs.lbIp.value }}.xip.io" master_key: "{{ lookup('env', 'master_key') }}" join_key: "{{ lookup('env', 'join_key') }}" diff --git a/Ansible/test/tests/.gradle/5.2.1/fileChanges/last-build.bin b/Ansible/test/tests/.gradle/5.2.1/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/Ansible/test/tests/.gradle/5.2.1/fileChanges/last-build.bin differ diff --git a/Ansible/test/tests/.gradle/5.2.1/fileHashes/fileHashes.lock b/Ansible/test/tests/.gradle/5.2.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000..ceb38cc Binary files /dev/null and b/Ansible/test/tests/.gradle/5.2.1/fileHashes/fileHashes.lock differ diff --git a/Ansible/test/tests/.gradle/5.2.1/gc.properties b/Ansible/test/tests/.gradle/5.2.1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/Ansible/test/tests/.gradle/6.5/executionHistory/executionHistory.bin b/Ansible/test/tests/.gradle/6.5/executionHistory/executionHistory.bin new file mode 100644 index 0000000..1da42b9 Binary files /dev/null and b/Ansible/test/tests/.gradle/6.5/executionHistory/executionHistory.bin differ diff --git a/Ansible/test/tests/.gradle/6.5/executionHistory/executionHistory.lock b/Ansible/test/tests/.gradle/6.5/executionHistory/executionHistory.lock new file mode 100644 index 0000000..c83a26b Binary files /dev/null and b/Ansible/test/tests/.gradle/6.5/executionHistory/executionHistory.lock differ diff --git a/Ansible/test/tests/.gradle/6.5/fileChanges/last-build.bin b/Ansible/test/tests/.gradle/6.5/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/Ansible/test/tests/.gradle/6.5/fileChanges/last-build.bin differ diff --git a/Ansible/test/tests/.gradle/6.5/fileContent/fileContent.lock b/Ansible/test/tests/.gradle/6.5/fileContent/fileContent.lock new file mode 100644 index 0000000..1f397f7 Binary files /dev/null and b/Ansible/test/tests/.gradle/6.5/fileContent/fileContent.lock differ diff --git a/Ansible/test/tests/.gradle/6.5/fileHashes/fileHashes.bin b/Ansible/test/tests/.gradle/6.5/fileHashes/fileHashes.bin new file mode 100644 index 0000000..3aa0a9b Binary files /dev/null and b/Ansible/test/tests/.gradle/6.5/fileHashes/fileHashes.bin differ diff --git a/Ansible/test/tests/.gradle/6.5/fileHashes/fileHashes.lock b/Ansible/test/tests/.gradle/6.5/fileHashes/fileHashes.lock new file mode 100644 index 0000000..e9ea2c5 Binary files /dev/null and b/Ansible/test/tests/.gradle/6.5/fileHashes/fileHashes.lock differ diff --git a/Ansible/test/tests/.gradle/6.5/gc.properties b/Ansible/test/tests/.gradle/6.5/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/Ansible/test/tests/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/Ansible/test/tests/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..866a35e Binary files /dev/null and b/Ansible/test/tests/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/Ansible/test/tests/.gradle/buildOutputCleanup/cache.properties b/Ansible/test/tests/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..9d7456f --- /dev/null +++ b/Ansible/test/tests/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Thu Jun 18 12:50:09 PDT 2020 +gradle.version=6.5 diff --git a/Ansible/test/tests/.gradle/buildOutputCleanup/outputFiles.bin b/Ansible/test/tests/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000..b2b9c92 Binary files /dev/null and b/Ansible/test/tests/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/Ansible/test/tests/.gradle/checksums/checksums.lock b/Ansible/test/tests/.gradle/checksums/checksums.lock new file mode 100644 index 0000000..19bc257 Binary files /dev/null and b/Ansible/test/tests/.gradle/checksums/checksums.lock differ diff --git a/Ansible/test/tests/.gradle/vcs-1/gc.properties b/Ansible/test/tests/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/Ansible/test/tests/build/classes/groovy/test/steps/RepositorySteps.class b/Ansible/test/tests/build/classes/groovy/test/steps/RepositorySteps.class new file mode 100644 index 0000000..0e25924 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/steps/RepositorySteps.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/steps/SecuritytSteps.class b/Ansible/test/tests/build/classes/groovy/test/steps/SecuritytSteps.class new file mode 100644 index 0000000..7278452 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/steps/SecuritytSteps.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/steps/XraySteps.class b/Ansible/test/tests/build/classes/groovy/test/steps/XraySteps.class new file mode 100644 index 0000000..5884600 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/steps/XraySteps.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/tests/HealthCheckTest.class b/Ansible/test/tests/build/classes/groovy/test/tests/HealthCheckTest.class new file mode 100644 index 0000000..60c8d49 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/tests/HealthCheckTest.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/tests/RepositoryTest.class b/Ansible/test/tests/build/classes/groovy/test/tests/RepositoryTest.class new file mode 100644 index 0000000..bd1747b Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/tests/RepositoryTest.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/tests/SecurityTest.class b/Ansible/test/tests/build/classes/groovy/test/tests/SecurityTest.class new file mode 100644 index 0000000..95b9771 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/tests/SecurityTest.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/tests/XrayTest.class b/Ansible/test/tests/build/classes/groovy/test/tests/XrayTest.class new file mode 100644 index 0000000..889fd07 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/tests/XrayTest.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/ConfigurationUtil.class b/Ansible/test/tests/build/classes/groovy/test/utils/ConfigurationUtil.class new file mode 100644 index 0000000..4a485e3 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/ConfigurationUtil.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure2.class b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure2.class new file mode 100644 index 0000000..d87ab79 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure2.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure3.class b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure3.class new file mode 100644 index 0000000..9fb36e4 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure3.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure4.class b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure4.class new file mode 100644 index 0000000..242ce9d Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure4.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1.class b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1.class new file mode 100644 index 0000000..0e1a1a2 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/DSL.class b/Ansible/test/tests/build/classes/groovy/test/utils/DSL.class new file mode 100644 index 0000000..85ddc10 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/DSL.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/EnvironmentConfig.class b/Ansible/test/tests/build/classes/groovy/test/utils/EnvironmentConfig.class new file mode 100644 index 0000000..c5296f5 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/EnvironmentConfig.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/ProcessOutputStream.class b/Ansible/test/tests/build/classes/groovy/test/utils/ProcessOutputStream.class new file mode 100644 index 0000000..02e19f7 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/ProcessOutputStream.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/Shell$_executeProc_closure1.class b/Ansible/test/tests/build/classes/groovy/test/utils/Shell$_executeProc_closure1.class new file mode 100644 index 0000000..6784e6d Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/Shell$_executeProc_closure1.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/Shell.class b/Ansible/test/tests/build/classes/groovy/test/utils/Shell.class new file mode 100644 index 0000000..11330ef Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/Shell.class differ diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/WorkspaceManager.class b/Ansible/test/tests/build/classes/groovy/test/utils/WorkspaceManager.class new file mode 100644 index 0000000..112d491 Binary files /dev/null and b/Ansible/test/tests/build/classes/groovy/test/utils/WorkspaceManager.class differ diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.html b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.html new file mode 100644 index 0000000..09a0b8a --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.html @@ -0,0 +1,106 @@ + + +TestNG: tests.HealthCheckTest + + + + + + + + +

tests.HealthCheckTest

+ + + + + + + + + + + +
Tests passed/Failed/Skipped:2/0/0
Started on:Thu Jun 18 15:54:18 PDT 2020
Total time:1 seconds (1490 ms)
Included groups:common xray pro
Excluded groups:

+(Hover the method name to see the test class name)

+ + + + + + + + + + + + + + + + + +
PASSED TESTS
Test methodExceptionTime (seconds)Instance
healthCheckTest
Test class: tests.HealthCheckTest
+Show output + +Show all outputs +
+- Health check. Service "jfac@01eb4sc7vmyn3y1958z2jp16t6" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
+- Health check. Service "jffe@000" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
+- Health check. Service "jfmd@01eb4scm5ggcgsx207xjtr181p" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
+- Health check. Service "jfrt@01eb4scnq0vk430wzk9v2f1syf" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
+
+
1tests.HealthCheckTest@483dde3c
pingTest
Test class: tests.HealthCheckTest
+Show output + +Show all outputs +
+- Ping test. Service is OK
+
+
0tests.HealthCheckTest@483dde3c

+ + \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.xml new file mode 100644 index 0000000..d7a4746 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.html b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.html new file mode 100644 index 0000000..340e707 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.html @@ -0,0 +1,151 @@ + + +TestNG: tests.RepositoryTest + + + + + + + + +

tests.RepositoryTest

+ + + + + + + + + + + +
Tests passed/Failed/Skipped:6/0/0
Started on:Thu Jun 18 15:54:19 PDT 2020
Total time:52 seconds (52678 ms)
Included groups:common xray pro
Excluded groups:

+(Hover the method name to see the test class name)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PASSED TESTS
Test methodExceptionTime (seconds)Instance
checkDefaultHAReposTest
Test class: tests.RepositoryTest
+Show output + +Show all outputs +
+- Verify HA repos were created. 84 repositories were created
+
+
0tests.RepositoryTest@4f17d179
checkReposAreDeleted
Test class: tests.RepositoryTest
+Show output + +Show all outputs +
+- Verify repo were deleted. 0 repositories remain
+
+
0tests.RepositoryTest@4f17d179
createDefaultHAReposTest
Test class: tests.RepositoryTest
+Show output + +Show all outputs +
+- Create repositories for HA distribution. Successfully created
+
+
3tests.RepositoryTest@4f17d179
deleteDefaultReposTest
Test class: tests.RepositoryTest
+Show output + +Show all outputs +
+- Delete HA repositories. All repositories were successfully deleted
+
+
44tests.RepositoryTest@4f17d179
deleteReposTest
Test class: tests.RepositoryTest
+Show output + +Show all outputs +
+- Delete sample HA repositories. All repositories were successfully deleted
+
+
1tests.RepositoryTest@4f17d179
reCreateDefaultHAReposTest
Test class: tests.RepositoryTest
+Show output + +Show all outputs +
+- Re-create repositories for HA distribution. Successfully created
+
+
2tests.RepositoryTest@4f17d179

+ + \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.xml new file mode 100644 index 0000000..d1a75bc --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.html b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.html new file mode 100644 index 0000000..755187a --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.html @@ -0,0 +1,943 @@ + + +TestNG: tests.SecurityTest + + + + + + + + +

tests.SecurityTest

+ + + + + + + + + + + +
Tests passed/Failed/Skipped:72/0/0
Started on:Thu Jun 18 15:55:12 PDT 2020
Total time:31 seconds (31896 ms)
Included groups:common xray pro
Excluded groups:

+(Hover the method name to see the test class name)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PASSED TESTS
Test methodExceptionTime (seconds)Instance
createGroupTest
Test class: tests.SecurityTest
Parameters: test-group-0
+Show output + +Show all outputs +
+- Create group. Group test-group-0 was successfully created
+
+
0tests.SecurityTest@285aa2f9
createGroupTest
Test class: tests.SecurityTest
Parameters: test-group-1
+Show output + +Show all outputs +
+- Create group. Group test-group-1 was successfully created
+
+
0tests.SecurityTest@285aa2f9
createGroupTest
Test class: tests.SecurityTest
Parameters: test-group-2
+Show output + +Show all outputs +
+- Create group. Group test-group-2 was successfully created
+
+
0tests.SecurityTest@285aa2f9
createGroupTest
Test class: tests.SecurityTest
Parameters: test-group-3
+Show output + +Show all outputs +
+- Create group. Group test-group-3 was successfully created
+
+
0tests.SecurityTest@285aa2f9
createGroupTest
Test class: tests.SecurityTest
Parameters: test-group-4
+Show output + +Show all outputs +
+- Create group. Group test-group-4 was successfully created
+
+
0tests.SecurityTest@285aa2f9
createGroupTest
Test class: tests.SecurityTest
Parameters: test-group-5
+Show output + +Show all outputs +
+- Create group. Group test-group-5 was successfully created
+
+
0tests.SecurityTest@285aa2f9
createGroupTest
Test class: tests.SecurityTest
Parameters: test-group-6
+Show output + +Show all outputs +
+- Create group. Group test-group-6 was successfully created
+
+
0tests.SecurityTest@285aa2f9
createGroupTest
Test class: tests.SecurityTest
Parameters: test-group-7
+Show output + +Show all outputs +
+- Create group. Group test-group-7 was successfully created
+
+
0tests.SecurityTest@285aa2f9
createGroupTest
Test class: tests.SecurityTest
Parameters: test-group-8
+Show output + +Show all outputs +
+- Create group. Group test-group-8 was successfully created
+
+
0tests.SecurityTest@285aa2f9
createGroupTest
Test class: tests.SecurityTest
Parameters: test-group-9
+Show output + +Show all outputs +
+- Create group. Group test-group-9 was successfully created
+
+
0tests.SecurityTest@285aa2f9
createPermissionsTest
Test class: tests.SecurityTest
+Show output + +Show all outputs +
+- Create permissions. Permissions successfully created and verified
+
+
0tests.SecurityTest@285aa2f9
createUsersTest
Test class: tests.SecurityTest
Parameters: testuser0, email0@jfrog.com, password123
+Show output + +Show all outputs +
+- Create users. User testuser0 created successfully
+
+
0tests.SecurityTest@285aa2f9
createUsersTest
Test class: tests.SecurityTest
Parameters: testuser1, email1@jfrog.com, password123
+Show output + +Show all outputs +
+- Create users. User testuser1 created successfully
+
+
0tests.SecurityTest@285aa2f9
createUsersTest
Test class: tests.SecurityTest
Parameters: testuser2, email2@jfrog.com, password123
+Show output + +Show all outputs +
+- Create users. User testuser2 created successfully
+
+
0tests.SecurityTest@285aa2f9
createUsersTest
Test class: tests.SecurityTest
Parameters: testuser3, email3@jfrog.com, password123
+Show output + +Show all outputs +
+- Create users. User testuser3 created successfully
+
+
0tests.SecurityTest@285aa2f9
createUsersTest
Test class: tests.SecurityTest
Parameters: testuser4, email4@jfrog.com, password123
+Show output + +Show all outputs +
+- Create users. User testuser4 created successfully
+
+
0tests.SecurityTest@285aa2f9
createUsersTest
Test class: tests.SecurityTest
Parameters: testuser5, email5@jfrog.com, password123
+Show output + +Show all outputs +
+- Create users. User testuser5 created successfully
+
+
0tests.SecurityTest@285aa2f9
createUsersTest
Test class: tests.SecurityTest
Parameters: testuser6, email6@jfrog.com, password123
+Show output + +Show all outputs +
+- Create users. User testuser6 created successfully
+
+
0tests.SecurityTest@285aa2f9
createUsersTest
Test class: tests.SecurityTest
Parameters: testuser7, email7@jfrog.com, password123
+Show output + +Show all outputs +
+- Create users. User testuser7 created successfully
+
+
0tests.SecurityTest@285aa2f9
createUsersTest
Test class: tests.SecurityTest
Parameters: testuser8, email8@jfrog.com, password123
+Show output + +Show all outputs +
+- Create users. User testuser8 created successfully
+
+
0tests.SecurityTest@285aa2f9
createUsersTest
Test class: tests.SecurityTest
Parameters: testuser9, email9@jfrog.com, password123
+Show output + +Show all outputs +
+- Create users. User testuser9 created successfully
+
+
0tests.SecurityTest@285aa2f9
deleteGroupTest
Test class: tests.SecurityTest
Parameters: test-group-0
+Show output + +Show all outputs +
+- Delete group. Group test-group-0 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteGroupTest
Test class: tests.SecurityTest
Parameters: test-group-1
+Show output + +Show all outputs +
+- Delete group. Group test-group-1 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteGroupTest
Test class: tests.SecurityTest
Parameters: test-group-2
+Show output + +Show all outputs +
+- Delete group. Group test-group-2 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteGroupTest
Test class: tests.SecurityTest
Parameters: test-group-3
+Show output + +Show all outputs +
+- Delete group. Group test-group-3 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteGroupTest
Test class: tests.SecurityTest
Parameters: test-group-4
+Show output + +Show all outputs +
+- Delete group. Group test-group-4 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteGroupTest
Test class: tests.SecurityTest
Parameters: test-group-5
+Show output + +Show all outputs +
+- Delete group. Group test-group-5 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteGroupTest
Test class: tests.SecurityTest
Parameters: test-group-6
+Show output + +Show all outputs +
+- Delete group. Group test-group-6 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteGroupTest
Test class: tests.SecurityTest
Parameters: test-group-7
+Show output + +Show all outputs +
+- Delete group. Group test-group-7 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteGroupTest
Test class: tests.SecurityTest
Parameters: test-group-8
+Show output + +Show all outputs +
+- Delete group. Group test-group-8 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteGroupTest
Test class: tests.SecurityTest
Parameters: test-group-9
+Show output + +Show all outputs +
+- Delete group. Group test-group-9 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deletePermissionsTest
Test class: tests.SecurityTest
+Show output + +Show all outputs +
+- Delete permissions. User testPermission has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteUserTest
Test class: tests.SecurityTest
Parameters: testuser0, email0@jfrog.com, password123
+Show output + +Show all outputs +
+- Delete user. User testuser0 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteUserTest
Test class: tests.SecurityTest
Parameters: testuser1, email1@jfrog.com, password123
+Show output + +Show all outputs +
+- Delete user. User testuser1 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteUserTest
Test class: tests.SecurityTest
Parameters: testuser2, email2@jfrog.com, password123
+Show output + +Show all outputs +
+- Delete user. User testuser2 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteUserTest
Test class: tests.SecurityTest
Parameters: testuser3, email3@jfrog.com, password123
+Show output + +Show all outputs +
+- Delete user. User testuser3 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteUserTest
Test class: tests.SecurityTest
Parameters: testuser4, email4@jfrog.com, password123
+Show output + +Show all outputs +
+- Delete user. User testuser4 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteUserTest
Test class: tests.SecurityTest
Parameters: testuser5, email5@jfrog.com, password123
+Show output + +Show all outputs +
+- Delete user. User testuser5 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteUserTest
Test class: tests.SecurityTest
Parameters: testuser6, email6@jfrog.com, password123
+Show output + +Show all outputs +
+- Delete user. User testuser6 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteUserTest
Test class: tests.SecurityTest
Parameters: testuser7, email7@jfrog.com, password123
+Show output + +Show all outputs +
+- Delete user. User testuser7 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteUserTest
Test class: tests.SecurityTest
Parameters: testuser8, email8@jfrog.com, password123
+Show output + +Show all outputs +
+- Delete user. User testuser8 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
deleteUserTest
Test class: tests.SecurityTest
Parameters: testuser9, email9@jfrog.com, password123
+Show output + +Show all outputs +
+- Delete user. User testuser9 has been removed successfully
+
+
0tests.SecurityTest@285aa2f9
generateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser0, email0@jfrog.com, password123
+Show output + +Show all outputs +
+- Generate API keys. Key for testuser0 created successfully
+
+
0tests.SecurityTest@285aa2f9
generateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser1, email1@jfrog.com, password123
+Show output + +Show all outputs +
+- Generate API keys. Key for testuser1 created successfully
+
+
0tests.SecurityTest@285aa2f9
generateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser2, email2@jfrog.com, password123
+Show output + +Show all outputs +
+- Generate API keys. Key for testuser2 created successfully
+
+
0tests.SecurityTest@285aa2f9
generateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser3, email3@jfrog.com, password123
+Show output + +Show all outputs +
+- Generate API keys. Key for testuser3 created successfully
+
+
0tests.SecurityTest@285aa2f9
generateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser4, email4@jfrog.com, password123
+Show output + +Show all outputs +
+- Generate API keys. Key for testuser4 created successfully
+
+
0tests.SecurityTest@285aa2f9
generateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser5, email5@jfrog.com, password123
+Show output + +Show all outputs +
+- Generate API keys. Key for testuser5 created successfully
+
+
0tests.SecurityTest@285aa2f9
generateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser6, email6@jfrog.com, password123
+Show output + +Show all outputs +
+- Generate API keys. Key for testuser6 created successfully
+
+
0tests.SecurityTest@285aa2f9
generateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser7, email7@jfrog.com, password123
+Show output + +Show all outputs +
+- Generate API keys. Key for testuser7 created successfully
+
+
0tests.SecurityTest@285aa2f9
generateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser8, email8@jfrog.com, password123
+Show output + +Show all outputs +
+- Generate API keys. Key for testuser8 created successfully
+
+
0tests.SecurityTest@285aa2f9
generateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser9, email9@jfrog.com, password123
+Show output + +Show all outputs +
+- Generate API keys. Key for testuser9 created successfully
+
+
0tests.SecurityTest@285aa2f9
regenerateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser0, email0@jfrog.com, password123
+Show output + +Show all outputs +
+- Re-generate API keys. Key for testuser0 re-generated successfully
+
+
0tests.SecurityTest@285aa2f9
regenerateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser1, email1@jfrog.com, password123
+Show output + +Show all outputs +
+- Re-generate API keys. Key for testuser1 re-generated successfully
+
+
0tests.SecurityTest@285aa2f9
regenerateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser2, email2@jfrog.com, password123
+Show output + +Show all outputs +
+- Re-generate API keys. Key for testuser2 re-generated successfully
+
+
0tests.SecurityTest@285aa2f9
regenerateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser3, email3@jfrog.com, password123
+Show output + +Show all outputs +
+- Re-generate API keys. Key for testuser3 re-generated successfully
+
+
0tests.SecurityTest@285aa2f9
regenerateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser4, email4@jfrog.com, password123
+Show output + +Show all outputs +
+- Re-generate API keys. Key for testuser4 re-generated successfully
+
+
0tests.SecurityTest@285aa2f9
regenerateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser5, email5@jfrog.com, password123
+Show output + +Show all outputs +
+- Re-generate API keys. Key for testuser5 re-generated successfully
+
+
0tests.SecurityTest@285aa2f9
regenerateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser6, email6@jfrog.com, password123
+Show output + +Show all outputs +
+- Re-generate API keys. Key for testuser6 re-generated successfully
+
+
0tests.SecurityTest@285aa2f9
regenerateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser7, email7@jfrog.com, password123
+Show output + +Show all outputs +
+- Re-generate API keys. Key for testuser7 re-generated successfully
+
+
0tests.SecurityTest@285aa2f9
regenerateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser8, email8@jfrog.com, password123
+Show output + +Show all outputs +
+- Re-generate API keys. Key for testuser8 re-generated successfully
+
+
0tests.SecurityTest@285aa2f9
regenerateAPIKeysTest
Test class: tests.SecurityTest
Parameters: testuser9, email9@jfrog.com, password123
+Show output + +Show all outputs +
+- Re-generate API keys. Key for testuser9 re-generated successfully
+
+
0tests.SecurityTest@285aa2f9
verifyUsersTest
Test class: tests.SecurityTest
Parameters: testuser0, email0@jfrog.com, password123
+Show output + +Show all outputs +
+- Verify created users. User testuser0 was successfully verified
+
+
0tests.SecurityTest@285aa2f9
verifyUsersTest
Test class: tests.SecurityTest
Parameters: testuser1, email1@jfrog.com, password123
+Show output + +Show all outputs +
+- Verify created users. User testuser1 was successfully verified
+
+
0tests.SecurityTest@285aa2f9
verifyUsersTest
Test class: tests.SecurityTest
Parameters: testuser2, email2@jfrog.com, password123
+Show output + +Show all outputs +
+- Verify created users. User testuser2 was successfully verified
+
+
0tests.SecurityTest@285aa2f9
verifyUsersTest
Test class: tests.SecurityTest
Parameters: testuser3, email3@jfrog.com, password123
+Show output + +Show all outputs +
+- Verify created users. User testuser3 was successfully verified
+
+
0tests.SecurityTest@285aa2f9
verifyUsersTest
Test class: tests.SecurityTest
Parameters: testuser4, email4@jfrog.com, password123
+Show output + +Show all outputs +
+- Verify created users. User testuser4 was successfully verified
+
+
0tests.SecurityTest@285aa2f9
verifyUsersTest
Test class: tests.SecurityTest
Parameters: testuser5, email5@jfrog.com, password123
+Show output + +Show all outputs +
+- Verify created users. User testuser5 was successfully verified
+
+
0tests.SecurityTest@285aa2f9
verifyUsersTest
Test class: tests.SecurityTest
Parameters: testuser6, email6@jfrog.com, password123
+Show output + +Show all outputs +
+- Verify created users. User testuser6 was successfully verified
+
+
0tests.SecurityTest@285aa2f9
verifyUsersTest
Test class: tests.SecurityTest
Parameters: testuser7, email7@jfrog.com, password123
+Show output + +Show all outputs +
+- Verify created users. User testuser7 was successfully verified
+
+
0tests.SecurityTest@285aa2f9
verifyUsersTest
Test class: tests.SecurityTest
Parameters: testuser8, email8@jfrog.com, password123
+Show output + +Show all outputs +
+- Verify created users. User testuser8 was successfully verified
+
+
0tests.SecurityTest@285aa2f9
verifyUsersTest
Test class: tests.SecurityTest
Parameters: testuser9, email9@jfrog.com, password123
+Show output + +Show all outputs +
+- Verify created users. User testuser9 was successfully verified
+
+
0tests.SecurityTest@285aa2f9

+ + \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.xml new file mode 100644 index 0000000..f936834 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.html b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.html new file mode 100644 index 0000000..cfbada1 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.html @@ -0,0 +1,307 @@ + + +TestNG: tests.XrayTest + + + + + + + + +

tests.XrayTest

+ + + + + + + + + + + +
Tests passed/Failed/Skipped:19/0/0
Started on:Thu Jun 18 15:55:44 PDT 2020
Total time:10 seconds (10620 ms)
Included groups:common xray pro
Excluded groups:

+(Hover the method name to see the test class name)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PASSED TESTS
Test methodExceptionTime (seconds)Instance
assignPolicyToWatchTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Assign policy to watch. Policy assigned successfully to Watch
+
+
0tests.XrayTest@53d7d172
createIssueEventTest
Test class: tests.XrayTest
Parameters: XRAY-, CVE-2017-2000386, A very important custom issue, A very important custom issue
+Show output + +Show all outputs +
+- Create issue event. Issue event with ID XRAY-4206031 created and verified successfully
+
+
0tests.XrayTest@53d7d172
createPolicyTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Create policy. Policy with name security_policy_4206031 created and verified successfully
+
+
0tests.XrayTest@53d7d172
createSupportBundleTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Create support bundle. Created with a bug, localhost instead of the hostname
+
+
4tests.XrayTest@53d7d172
createWatchTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Create watch. Watch with name all-repositories_4206031 has been created and verified successfully
+
+
0tests.XrayTest@53d7d172
deletePolicyTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Delete policy. Policy security_policy_4206031 has been successfully deleted
+
+
0tests.XrayTest@53d7d172
deleteWatchTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Delete watch. Watch all-repositories_4206031 has been successfully deleted
+
+
0tests.XrayTest@53d7d172
enableTLSRabbitMQTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Enable TLS for RabbitMQ. TLS for RabbitMQ has been successfully enabled and verified
+
+
0tests.XrayTest@53d7d172
getBinaryManagerTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Get binary manager. Binary manager is verified, connected RT version: 7.4.1
+
+
0tests.XrayTest@53d7d172
getIndexingConfigurationTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Get repo indexing configuration.
+
+
0tests.XrayTest@53d7d172
getPoliciesTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Get policies. Policies list is returned successfully. Policies returned: [security_policy_4206031]
+
+
0tests.XrayTest@53d7d172
getSystemMonitoringTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Get system monitoring status. Data returned successfully
+
+
0tests.XrayTest@53d7d172
integrationConfigurationTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Integration configuration. Configuration for vendor vendor_4206031 has been successfully added and verified
+
+
0tests.XrayTest@53d7d172
updateIndexingConfigurationTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Update repo indexing configuration. Successfully updated
+
+
0tests.XrayTest@53d7d172
updateIssueEventTest
Test class: tests.XrayTest
Parameters: XRAY-, CVE-2017-2000386, A very important custom issue, A very important custom issue
+Show output + +Show all outputs +
+- Update issue event. Issue event with ID XRAY-4206031 updated and verified successfully
+
+
0tests.XrayTest@53d7d172
updatePolicyTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Update policy. Policy with name security_policy_4206031 updated and verified successfully
+
+
0tests.XrayTest@53d7d172
updateWatchTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Update watch. Watch with name all-repositories_4206031 has been updated and verified successfully
+
+
0tests.XrayTest@53d7d172
xrayGetVersionTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Get X-ray version. Version: 3.3.0, revision: 3980dcb
+
+
0tests.XrayTest@53d7d172
xrayPingRequestTest
Test class: tests.XrayTest
+Show output + +Show all outputs +
+- Get system monitoring status. Data returned successfully
+
+
0tests.XrayTest@53d7d172

+ + \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.xml new file mode 100644 index 0000000..8112a1c --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/bullet_point.png b/Ansible/test/tests/build/reports/tests/unified_test/bullet_point.png new file mode 100644 index 0000000..176e6d5 Binary files /dev/null and b/Ansible/test/tests/build/reports/tests/unified_test/bullet_point.png differ diff --git a/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.HealthCheckTest.html b/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.HealthCheckTest.html new file mode 100644 index 0000000..e87c57f --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.HealthCheckTest.html @@ -0,0 +1,115 @@ + + + + + +Test results - Class tests.HealthCheckTest + + + + + +

+

Class tests.HealthCheckTest

+ +
+ + + + + +
+
+ + + + + + + +
+
+
2
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
1.481s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Tests

+ + + + + + + + + + + + + + + + + + +
TestDurationResult
healthCheckTest1.254spassed
pingTest0.227spassed
+
+
+

Standard output

+ +
- Health check. Service "jfac@01eb4sc7vmyn3y1958z2jp16t6" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
+- Health check. Service "jffe@000" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
+- Health check. Service "jfmd@01eb4scm5ggcgsx207xjtr181p" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
+- Health check. Service "jfrt@01eb4scnq0vk430wzk9v2f1syf" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
+- Ping test. Service is OK
+
+
+
+
+ +
+ + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.RepositoryTest.html b/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.RepositoryTest.html new file mode 100644 index 0000000..7565312 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.RepositoryTest.html @@ -0,0 +1,139 @@ + + + + + +Test results - Class tests.RepositoryTest + + + + + +
+

Class tests.RepositoryTest

+ +
+ + + + + +
+
+ + + + + + + +
+
+
6
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
52.675s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Tests

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestDurationResult
checkDefaultHAReposTest0.488spassed
checkReposAreDeleted0.239spassed
createDefaultHAReposTest3.271spassed
deleteDefaultReposTest44.317spassed
deleteReposTest1.476spassed
reCreateDefaultHAReposTest2.884spassed
+
+
+

Standard output

+ +
- Delete sample HA repositories. All repositories were successfully deleted
+383 changes to config merged successfully
+- Create repositories for HA distribution. Successfully created
+Number of created repositories is 84
+- Verify HA repos were created. 84 repositories were created
+- Delete HA repositories. All repositories were successfully deleted
+- Verify repo were deleted. 0 repositories remain
+383 changes to config merged successfully
+- Re-create repositories for HA distribution. Successfully created
+
+
+
+
+ +
+ + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.SecurityTest.html b/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.SecurityTest.html new file mode 100644 index 0000000..629ef66 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.SecurityTest.html @@ -0,0 +1,532 @@ + + + + + +Test results - Class tests.SecurityTest + + + + + +
+

Class tests.SecurityTest

+ +
+ + + + + +
+
+ + + + + + + +
+
+
72
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
31.877s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Tests

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestDurationResult
createGroupTest[0](test-group-0)0.599spassed
createGroupTest[1](test-group-1)0.620spassed
createGroupTest[2](test-group-2)0.629spassed
createGroupTest[3](test-group-3)0.617spassed
createGroupTest[4](test-group-4)0.634spassed
createGroupTest[5](test-group-5)0.614spassed
createGroupTest[6](test-group-6)0.654spassed
createGroupTest[7](test-group-7)0.656spassed
createGroupTest[8](test-group-8)0.647spassed
createGroupTest[9](test-group-9)0.629spassed
createPermissionsTest0.912spassed
createUsersTest[0](testuser0, email0@jfrog.com, password123)0.480spassed
createUsersTest[1](testuser1, email1@jfrog.com, password123)0.467spassed
createUsersTest[2](testuser2, email2@jfrog.com, password123)0.498spassed
createUsersTest[3](testuser3, email3@jfrog.com, password123)0.385spassed
createUsersTest[4](testuser4, email4@jfrog.com, password123)0.409spassed
createUsersTest[5](testuser5, email5@jfrog.com, password123)0.422spassed
createUsersTest[6](testuser6, email6@jfrog.com, password123)0.419spassed
createUsersTest[7](testuser7, email7@jfrog.com, password123)0.405spassed
createUsersTest[8](testuser8, email8@jfrog.com, password123)0.417spassed
createUsersTest[9](testuser9, email9@jfrog.com, password123)0.402spassed
deleteGroupTest[0](test-group-0)0.335spassed
deleteGroupTest[1](test-group-1)0.324spassed
deleteGroupTest[2](test-group-2)0.327spassed
deleteGroupTest[3](test-group-3)0.319spassed
deleteGroupTest[4](test-group-4)0.407spassed
deleteGroupTest[5](test-group-5)0.333spassed
deleteGroupTest[6](test-group-6)0.338spassed
deleteGroupTest[7](test-group-7)0.326spassed
deleteGroupTest[8](test-group-8)0.322spassed
deleteGroupTest[9](test-group-9)0.313spassed
deletePermissionsTest0.375spassed
deleteUserTest[0](testuser0, email0@jfrog.com, password123)0.403spassed
deleteUserTest[1](testuser1, email1@jfrog.com, password123)0.347spassed
deleteUserTest[2](testuser2, email2@jfrog.com, password123)0.412spassed
deleteUserTest[3](testuser3, email3@jfrog.com, password123)0.337spassed
deleteUserTest[4](testuser4, email4@jfrog.com, password123)0.400spassed
deleteUserTest[5](testuser5, email5@jfrog.com, password123)0.350spassed
deleteUserTest[6](testuser6, email6@jfrog.com, password123)0.350spassed
deleteUserTest[7](testuser7, email7@jfrog.com, password123)0.350spassed
deleteUserTest[8](testuser8, email8@jfrog.com, password123)0.379spassed
deleteUserTest[9](testuser9, email9@jfrog.com, password123)0.334spassed
generateAPIKeysTest[0](testuser0, email0@jfrog.com, password123)0.816spassed
generateAPIKeysTest[1](testuser1, email1@jfrog.com, password123)0.543spassed
generateAPIKeysTest[2](testuser2, email2@jfrog.com, password123)0.499spassed
generateAPIKeysTest[3](testuser3, email3@jfrog.com, password123)0.463spassed
generateAPIKeysTest[4](testuser4, email4@jfrog.com, password123)0.448spassed
generateAPIKeysTest[5](testuser5, email5@jfrog.com, password123)0.457spassed
generateAPIKeysTest[6](testuser6, email6@jfrog.com, password123)0.442spassed
generateAPIKeysTest[7](testuser7, email7@jfrog.com, password123)0.472spassed
generateAPIKeysTest[8](testuser8, email8@jfrog.com, password123)0.467spassed
generateAPIKeysTest[9](testuser9, email9@jfrog.com, password123)0.479spassed
regenerateAPIKeysTest[0](testuser0, email0@jfrog.com, password123)0.473spassed
regenerateAPIKeysTest[1](testuser1, email1@jfrog.com, password123)0.447spassed
regenerateAPIKeysTest[2](testuser2, email2@jfrog.com, password123)0.476spassed
regenerateAPIKeysTest[3](testuser3, email3@jfrog.com, password123)0.474spassed
regenerateAPIKeysTest[4](testuser4, email4@jfrog.com, password123)0.450spassed
regenerateAPIKeysTest[5](testuser5, email5@jfrog.com, password123)0.422spassed
regenerateAPIKeysTest[6](testuser6, email6@jfrog.com, password123)0.479spassed
regenerateAPIKeysTest[7](testuser7, email7@jfrog.com, password123)0.450spassed
regenerateAPIKeysTest[8](testuser8, email8@jfrog.com, password123)0.448spassed
regenerateAPIKeysTest[9](testuser9, email9@jfrog.com, password123)0.457spassed
verifyUsersTest[0](testuser0, email0@jfrog.com, password123)0.338spassed
verifyUsersTest[1](testuser1, email1@jfrog.com, password123)0.331spassed
verifyUsersTest[2](testuser2, email2@jfrog.com, password123)0.313spassed
verifyUsersTest[3](testuser3, email3@jfrog.com, password123)0.322spassed
verifyUsersTest[4](testuser4, email4@jfrog.com, password123)0.324spassed
verifyUsersTest[5](testuser5, email5@jfrog.com, password123)0.337spassed
verifyUsersTest[6](testuser6, email6@jfrog.com, password123)0.311spassed
verifyUsersTest[7](testuser7, email7@jfrog.com, password123)0.394spassed
verifyUsersTest[8](testuser8, email8@jfrog.com, password123)0.337spassed
verifyUsersTest[9](testuser9, email9@jfrog.com, password123)0.312spassed
+
+
+

Standard output

+ +
- Create users. User testuser0 created successfully
+- Create users. User testuser1 created successfully
+- Create users. User testuser2 created successfully
+- Create users. User testuser3 created successfully
+- Create users. User testuser4 created successfully
+- Create users. User testuser5 created successfully
+- Create users. User testuser6 created successfully
+- Create users. User testuser7 created successfully
+- Create users. User testuser8 created successfully
+- Create users. User testuser9 created successfully
+- Verify created users. User testuser0 was successfully verified
+- Verify created users. User testuser1 was successfully verified
+- Verify created users. User testuser2 was successfully verified
+- Verify created users. User testuser3 was successfully verified
+- Verify created users. User testuser4 was successfully verified
+- Verify created users. User testuser5 was successfully verified
+- Verify created users. User testuser6 was successfully verified
+- Verify created users. User testuser7 was successfully verified
+- Verify created users. User testuser8 was successfully verified
+- Verify created users. User testuser9 was successfully verified
+- Generate API keys. Key for testuser0 created successfully
+- Generate API keys. Key for testuser1 created successfully
+- Generate API keys. Key for testuser2 created successfully
+- Generate API keys. Key for testuser3 created successfully
+- Generate API keys. Key for testuser4 created successfully
+- Generate API keys. Key for testuser5 created successfully
+- Generate API keys. Key for testuser6 created successfully
+- Generate API keys. Key for testuser7 created successfully
+- Generate API keys. Key for testuser8 created successfully
+- Generate API keys. Key for testuser9 created successfully
+- Re-generate API keys. Key for testuser0 re-generated successfully
+- Re-generate API keys. Key for testuser1 re-generated successfully
+- Re-generate API keys. Key for testuser2 re-generated successfully
+- Re-generate API keys. Key for testuser3 re-generated successfully
+- Re-generate API keys. Key for testuser4 re-generated successfully
+- Re-generate API keys. Key for testuser5 re-generated successfully
+- Re-generate API keys. Key for testuser6 re-generated successfully
+- Re-generate API keys. Key for testuser7 re-generated successfully
+- Re-generate API keys. Key for testuser8 re-generated successfully
+- Re-generate API keys. Key for testuser9 re-generated successfully
+- Create group. Group test-group-0 was successfully created
+- Create group. Group test-group-1 was successfully created
+- Create group. Group test-group-2 was successfully created
+- Create group. Group test-group-3 was successfully created
+- Create group. Group test-group-4 was successfully created
+- Create group. Group test-group-5 was successfully created
+- Create group. Group test-group-6 was successfully created
+- Create group. Group test-group-7 was successfully created
+- Create group. Group test-group-8 was successfully created
+- Create group. Group test-group-9 was successfully created
+- Create permissions. Permissions successfully created and verified
+- Delete permissions. User testPermission has been removed successfully
+- Delete user. User testuser0 has been removed successfully
+- Delete user. User testuser1 has been removed successfully
+- Delete user. User testuser2 has been removed successfully
+- Delete user. User testuser3 has been removed successfully
+- Delete user. User testuser4 has been removed successfully
+- Delete user. User testuser5 has been removed successfully
+- Delete user. User testuser6 has been removed successfully
+- Delete user. User testuser7 has been removed successfully
+- Delete user. User testuser8 has been removed successfully
+- Delete user. User testuser9 has been removed successfully
+- Delete group. Group test-group-0 has been removed successfully
+- Delete group. Group test-group-1 has been removed successfully
+- Delete group. Group test-group-2 has been removed successfully
+- Delete group. Group test-group-3 has been removed successfully
+- Delete group. Group test-group-4 has been removed successfully
+- Delete group. Group test-group-5 has been removed successfully
+- Delete group. Group test-group-6 has been removed successfully
+- Delete group. Group test-group-7 has been removed successfully
+- Delete group. Group test-group-8 has been removed successfully
+- Delete group. Group test-group-9 has been removed successfully
+
+
+
+
+ +
+ + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.XrayTest.html b/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.XrayTest.html new file mode 100644 index 0000000..502a936 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.XrayTest.html @@ -0,0 +1,214 @@ + + + + + +Test results - Class tests.XrayTest + + + + + +
+

Class tests.XrayTest

+ +
+ + + + + +
+
+ + + + + + + +
+
+
19
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
10.615s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Tests

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestDurationResult
assignPolicyToWatchTest0.240spassed
createIssueEventTest[0](XRAY-, CVE-2017-2000386, A very important custom issue, A very important custom issue)0.622spassed
createPolicyTest0.389spassed
createSupportBundleTest4.665spassed
createWatchTest0.455spassed
deletePolicyTest0.228spassed
deleteWatchTest0.253spassed
enableTLSRabbitMQTest0.422spassed
getBinaryManagerTest0.241spassed
getIndexingConfigurationTest0.270spassed
getPoliciesTest0.243spassed
getSystemMonitoringTest0.179spassed
integrationConfigurationTest0.403spassed
updateIndexingConfigurationTest0.463spassed
updateIssueEventTest[0](XRAY-, CVE-2017-2000386, A very important custom issue, A very important custom issue)0.429spassed
updatePolicyTest0.398spassed
updateWatchTest0.465spassed
xrayGetVersionTest0.135spassed
xrayPingRequestTest0.115spassed
+
+
+

Standard output

+ +
- Create issue event. Issue event with ID XRAY-4206031 created and verified successfully
+- Update issue event. Issue event with ID XRAY-4206031 updated and verified successfully
+- Create policy. Policy with name security_policy_4206031 created and verified successfully
+- Update policy. Policy with name security_policy_4206031 updated and verified successfully
+- Get policies. Policies list is returned successfully. Policies returned: [security_policy_4206031]
+- Create watch. Watch with name all-repositories_4206031 has been created and verified successfully
+- Update watch. Watch with name all-repositories_4206031 has been updated and verified successfully
+- Assign policy to watch. Policy assigned successfully to Watch
+- Delete watch. Watch all-repositories_4206031 has been successfully deleted
+- Delete policy. Policy security_policy_4206031 has been successfully deleted
+- Integration configuration. Configuration for vendor vendor_4206031 has been successfully added and verified
+- Enable TLS for RabbitMQ. TLS for RabbitMQ has been successfully enabled and verified
+- Get binary manager. Binary manager is verified, connected RT version: 7.4.1
+- Get repo indexing configuration.
+- Update repo indexing configuration. Successfully updated
+- Create support bundle. Created with a bug, localhost instead of the hostname
+- Get system monitoring status. Data returned successfully
+- Get system monitoring status. Data returned successfully
+- Get X-ray version. Version: 3.3.0, revision: 3980dcb
+
+
+
+
+ +
+ + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/collapseall.gif b/Ansible/test/tests/build/reports/tests/unified_test/collapseall.gif new file mode 100644 index 0000000..a2d80a9 Binary files /dev/null and b/Ansible/test/tests/build/reports/tests/unified_test/collapseall.gif differ diff --git a/Ansible/test/tests/build/reports/tests/unified_test/css/base-style.css b/Ansible/test/tests/build/reports/tests/unified_test/css/base-style.css new file mode 100644 index 0000000..4afa73e --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/css/base-style.css @@ -0,0 +1,179 @@ + +body { + margin: 0; + padding: 0; + font-family: sans-serif; + font-size: 12pt; +} + +body, a, a:visited { + color: #303030; +} + +#content { + padding-left: 50px; + padding-right: 50px; + padding-top: 30px; + padding-bottom: 30px; +} + +#content h1 { + font-size: 160%; + margin-bottom: 10px; +} + +#footer { + margin-top: 100px; + font-size: 80%; + white-space: nowrap; +} + +#footer, #footer a { + color: #a0a0a0; +} + +#line-wrapping-toggle { + vertical-align: middle; +} + +#label-for-line-wrapping-toggle { + vertical-align: middle; +} + +ul { + margin-left: 0; +} + +h1, h2, h3 { + white-space: nowrap; +} + +h2 { + font-size: 120%; +} + +ul.tabLinks { + padding-left: 0; + padding-top: 10px; + padding-bottom: 10px; + overflow: auto; + min-width: 800px; + width: auto !important; + width: 800px; +} + +ul.tabLinks li { + float: left; + height: 100%; + list-style: none; + padding-left: 10px; + padding-right: 10px; + padding-top: 5px; + padding-bottom: 5px; + margin-bottom: 0; + -moz-border-radius: 7px; + border-radius: 7px; + margin-right: 25px; + border: solid 1px #d4d4d4; + background-color: #f0f0f0; +} + +ul.tabLinks li:hover { + background-color: #fafafa; +} + +ul.tabLinks li.selected { + background-color: #c5f0f5; + border-color: #c5f0f5; +} + +ul.tabLinks a { + font-size: 120%; + display: block; + outline: none; + text-decoration: none; + margin: 0; + padding: 0; +} + +ul.tabLinks li h2 { + margin: 0; + padding: 0; +} + +div.tab { +} + +div.selected { + display: block; +} + +div.deselected { + display: none; +} + +div.tab table { + min-width: 350px; + width: auto !important; + width: 350px; + border-collapse: collapse; +} + +div.tab th, div.tab table { + border-bottom: solid #d0d0d0 1px; +} + +div.tab th { + text-align: left; + white-space: nowrap; + padding-left: 6em; +} + +div.tab th:first-child { + padding-left: 0; +} + +div.tab td { + white-space: nowrap; + padding-left: 6em; + padding-top: 5px; + padding-bottom: 5px; +} + +div.tab td:first-child { + padding-left: 0; +} + +div.tab td.numeric, div.tab th.numeric { + text-align: right; +} + +span.code { + display: inline-block; + margin-top: 0em; + margin-bottom: 1em; +} + +span.code pre { + font-size: 11pt; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; + margin: 0; + background-color: #f7f7f7; + border: solid 1px #d0d0d0; + min-width: 700px; + width: auto !important; + width: 700px; +} + +span.wrapped pre { + word-wrap: break-word; + white-space: pre-wrap; + word-break: break-all; +} + +label.hidden { + display: none; +} \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/css/style.css b/Ansible/test/tests/build/reports/tests/unified_test/css/style.css new file mode 100644 index 0000000..3dc4913 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/css/style.css @@ -0,0 +1,84 @@ + +#summary { + margin-top: 30px; + margin-bottom: 40px; +} + +#summary table { + border-collapse: collapse; +} + +#summary td { + vertical-align: top; +} + +.breadcrumbs, .breadcrumbs a { + color: #606060; +} + +.infoBox { + width: 110px; + padding-top: 15px; + padding-bottom: 15px; + text-align: center; +} + +.infoBox p { + margin: 0; +} + +.counter, .percent { + font-size: 120%; + font-weight: bold; + margin-bottom: 8px; +} + +#duration { + width: 125px; +} + +#successRate, .summaryGroup { + border: solid 2px #d0d0d0; + -moz-border-radius: 10px; + border-radius: 10px; +} + +#successRate { + width: 140px; + margin-left: 35px; +} + +#successRate .percent { + font-size: 180%; +} + +.success, .success a { + color: #008000; +} + +div.success, #successRate.success { + background-color: #bbd9bb; + border-color: #008000; +} + +.failures, .failures a { + color: #b60808; +} + +.skipped, .skipped a { + color: #c09853; +} + +div.failures, #successRate.failures { + background-color: #ecdada; + border-color: #b60808; +} + +ul.linkList { + padding-left: 0; +} + +ul.linkList li { + list-style: none; + margin-bottom: 5px; +} diff --git a/Ansible/test/tests/build/reports/tests/unified_test/emailable-report.html b/Ansible/test/tests/build/reports/tests/unified_test/emailable-report.html new file mode 100644 index 0000000..ad69c48 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/emailable-report.html @@ -0,0 +1,123 @@ + + + + +TestNG Report + + + + + + + + + + + +
Test# Passed# Skipped# FailedTime (ms)Included GroupsExcluded Groups
All API tests
tests.HealthCheckTest2001,490common, xray, pro
tests.RepositoryTest60052,678common, xray, pro
tests.SecurityTest720031,896common, xray, pro
tests.XrayTest190010,620common, xray, pro
Total990096,684
+ + + + +
ClassMethodStartTime (ms)
All API tests
tests.HealthCheckTest — passed
tests.HealthCheckTesthealthCheckTest15925208584951254
pingTest1592520859750227
tests.RepositoryTest — passed
tests.RepositoryTestcheckDefaultHAReposTest1592520864746488
checkReposAreDeleted1592520909553239
createDefaultHAReposTest15925208614753271
deleteDefaultReposTest159252086523544317
deleteReposTest15925208599991476
reCreateDefaultHAReposTest15925209097922884
tests.SecurityTest — passed
tests.SecurityTestcreateGroupTest1592520933083614
createGroupTest
createGroupTest
createGroupTest
createGroupTest
createGroupTest
createGroupTest
createGroupTest
createGroupTest
createGroupTest
createPermissionsTest1592520936283912
createUsersTest1592520916593402
createUsersTest
createUsersTest
createUsersTest
createUsersTest
createUsersTest
createUsersTest
createUsersTest
createUsersTest
createUsersTest
deleteGroupTest1592520941236335
deleteGroupTest
deleteGroupTest
deleteGroupTest
deleteGroupTest
deleteGroupTest
deleteGroupTest
deleteGroupTest
deleteGroupTest
deleteGroupTest
deletePermissionsTest1592520937196375
deleteUserTest1592520939471350
deleteUserTest
deleteUserTest
deleteUserTest
deleteUserTest
deleteUserTest
deleteUserTest
deleteUserTest
deleteUserTest
deleteUserTest
generateAPIKeysTest1592520924460467
generateAPIKeysTest
generateAPIKeysTest
generateAPIKeysTest
generateAPIKeysTest
generateAPIKeysTest
generateAPIKeysTest
generateAPIKeysTest
generateAPIKeysTest
generateAPIKeysTest
regenerateAPIKeysTest1592520928628450
regenerateAPIKeysTest
regenerateAPIKeysTest
regenerateAPIKeysTest
regenerateAPIKeysTest
regenerateAPIKeysTest
regenerateAPIKeysTest
regenerateAPIKeysTest
regenerateAPIKeysTest
regenerateAPIKeysTest
verifyUsersTest1592520918301324
verifyUsersTest
verifyUsersTest
verifyUsersTest
verifyUsersTest
verifyUsersTest
verifyUsersTest
verifyUsersTest
verifyUsersTest
verifyUsersTest
tests.XrayTest — passed
tests.XrayTestassignPolicyToWatchTest1592520947606240
createIssueEventTest1592520944603622
createPolicyTest1592520945655389
createSupportBundleTest15925209501274665
createWatchTest1592520946685455
deletePolicyTest1592520948099228
deleteWatchTest1592520947846253
enableTLSRabbitMQTest1592520948730422
getBinaryManagerTest1592520949152241
getIndexingConfigurationTest1592520949393270
getPoliciesTest1592520946442243
getSystemMonitoringTest1592520954792179
integrationConfigurationTest1592520948327403
updateIndexingConfigurationTest1592520949664463
updateIssueEventTest1592520945226429
updatePolicyTest1592520946044398
updateWatchTest1592520947140465
xrayGetVersionTest1592520955087135
xrayPingRequestTest1592520954971115
+

tests.HealthCheckTest

tests.HealthCheckTest#healthCheckTest

Messages
- Health check. Service "jfac@01eb4sc7vmyn3y1958z2jp16t6" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
- Health check. Service "jffe@000" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
- Health check. Service "jfmd@01eb4scm5ggcgsx207xjtr181p" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
- Health check. Service "jfrt@01eb4scnq0vk430wzk9v2f1syf" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy

back to summary

+

tests.HealthCheckTest#pingTest

Messages
- Ping test. Service is OK

back to summary

+

tests.RepositoryTest

tests.RepositoryTest#checkDefaultHAReposTest

Messages
- Verify HA repos were created. 84 repositories were created

back to summary

+

tests.RepositoryTest#checkReposAreDeleted

Messages
- Verify repo were deleted. 0 repositories remain

back to summary

+

tests.RepositoryTest#createDefaultHAReposTest

Messages
- Create repositories for HA distribution. Successfully created

back to summary

+

tests.RepositoryTest#deleteDefaultReposTest

Messages
- Delete HA repositories. All repositories were successfully deleted

back to summary

+

tests.RepositoryTest#deleteReposTest

Messages
- Delete sample HA repositories. All repositories were successfully deleted

back to summary

+

tests.RepositoryTest#reCreateDefaultHAReposTest

Messages
- Re-create repositories for HA distribution. Successfully created

back to summary

+

tests.SecurityTest

tests.SecurityTest#createGroupTest

Parameter #1
test-group-5
Messages
- Create group. Group test-group-5 was successfully created

back to summary

+

tests.SecurityTest#createGroupTest

Parameter #1
test-group-6
Messages
- Create group. Group test-group-6 was successfully created

back to summary

+

tests.SecurityTest#createGroupTest

Parameter #1
test-group-0
Messages
- Create group. Group test-group-0 was successfully created

back to summary

+

tests.SecurityTest#createGroupTest

Parameter #1
test-group-8
Messages
- Create group. Group test-group-8 was successfully created

back to summary

+

tests.SecurityTest#createGroupTest

Parameter #1
test-group-1
Messages
- Create group. Group test-group-1 was successfully created

back to summary

+

tests.SecurityTest#createGroupTest

Parameter #1
test-group-2
Messages
- Create group. Group test-group-2 was successfully created

back to summary

+

tests.SecurityTest#createGroupTest

Parameter #1
test-group-3
Messages
- Create group. Group test-group-3 was successfully created

back to summary

+

tests.SecurityTest#createGroupTest

Parameter #1
test-group-4
Messages
- Create group. Group test-group-4 was successfully created

back to summary

+

tests.SecurityTest#createGroupTest

Parameter #1
test-group-9
Messages
- Create group. Group test-group-9 was successfully created

back to summary

+

tests.SecurityTest#createGroupTest

Parameter #1
test-group-7
Messages
- Create group. Group test-group-7 was successfully created

back to summary

+

tests.SecurityTest#createPermissionsTest

Messages
- Create permissions. Permissions successfully created and verified

back to summary

+

tests.SecurityTest#createUsersTest

Parameter #1Parameter #2Parameter #3
testuser9email9@jfrog.compassword123
Messages
- Create users. User testuser9 created successfully

back to summary

+

tests.SecurityTest#createUsersTest

Parameter #1Parameter #2Parameter #3
testuser7email7@jfrog.compassword123
Messages
- Create users. User testuser7 created successfully

back to summary

+

tests.SecurityTest#createUsersTest

Parameter #1Parameter #2Parameter #3
testuser1email1@jfrog.compassword123
Messages
- Create users. User testuser1 created successfully

back to summary

+

tests.SecurityTest#createUsersTest

Parameter #1Parameter #2Parameter #3
testuser5email5@jfrog.compassword123
Messages
- Create users. User testuser5 created successfully

back to summary

+

tests.SecurityTest#createUsersTest

Parameter #1Parameter #2Parameter #3
testuser0email0@jfrog.compassword123
Messages
- Create users. User testuser0 created successfully

back to summary

+

tests.SecurityTest#createUsersTest

Parameter #1Parameter #2Parameter #3
testuser4email4@jfrog.compassword123
Messages
- Create users. User testuser4 created successfully

back to summary

+

tests.SecurityTest#createUsersTest

Parameter #1Parameter #2Parameter #3
testuser3email3@jfrog.compassword123
Messages
- Create users. User testuser3 created successfully

back to summary

+

tests.SecurityTest#createUsersTest

Parameter #1Parameter #2Parameter #3
testuser6email6@jfrog.compassword123
Messages
- Create users. User testuser6 created successfully

back to summary

+

tests.SecurityTest#createUsersTest

Parameter #1Parameter #2Parameter #3
testuser8email8@jfrog.compassword123
Messages
- Create users. User testuser8 created successfully

back to summary

+

tests.SecurityTest#createUsersTest

Parameter #1Parameter #2Parameter #3
testuser2email2@jfrog.compassword123
Messages
- Create users. User testuser2 created successfully

back to summary

+

tests.SecurityTest#deleteGroupTest

Parameter #1
test-group-0
Messages
- Delete group. Group test-group-0 has been removed successfully

back to summary

+

tests.SecurityTest#deleteGroupTest

Parameter #1
test-group-6
Messages
- Delete group. Group test-group-6 has been removed successfully

back to summary

+

tests.SecurityTest#deleteGroupTest

Parameter #1
test-group-1
Messages
- Delete group. Group test-group-1 has been removed successfully

back to summary

+

tests.SecurityTest#deleteGroupTest

Parameter #1
test-group-5
Messages
- Delete group. Group test-group-5 has been removed successfully

back to summary

+

tests.SecurityTest#deleteGroupTest

Parameter #1
test-group-4
Messages
- Delete group. Group test-group-4 has been removed successfully

back to summary

+

tests.SecurityTest#deleteGroupTest

Parameter #1
test-group-7
Messages
- Delete group. Group test-group-7 has been removed successfully

back to summary

+

tests.SecurityTest#deleteGroupTest

Parameter #1
test-group-3
Messages
- Delete group. Group test-group-3 has been removed successfully

back to summary

+

tests.SecurityTest#deleteGroupTest

Parameter #1
test-group-8
Messages
- Delete group. Group test-group-8 has been removed successfully

back to summary

+

tests.SecurityTest#deleteGroupTest

Parameter #1
test-group-2
Messages
- Delete group. Group test-group-2 has been removed successfully

back to summary

+

tests.SecurityTest#deleteGroupTest

Parameter #1
test-group-9
Messages
- Delete group. Group test-group-9 has been removed successfully

back to summary

+

tests.SecurityTest#deletePermissionsTest

Messages
- Delete permissions. User testPermission has been removed successfully

back to summary

+

tests.SecurityTest#deleteUserTest

Parameter #1Parameter #2Parameter #3
testuser5email5@jfrog.compassword123
Messages
- Delete user. User testuser5 has been removed successfully

back to summary

+

tests.SecurityTest#deleteUserTest

Parameter #1Parameter #2Parameter #3
testuser9email9@jfrog.compassword123
Messages
- Delete user. User testuser9 has been removed successfully

back to summary

+

tests.SecurityTest#deleteUserTest

Parameter #1Parameter #2Parameter #3
testuser3email3@jfrog.compassword123
Messages
- Delete user. User testuser3 has been removed successfully

back to summary

+

tests.SecurityTest#deleteUserTest

Parameter #1Parameter #2Parameter #3
testuser0email0@jfrog.compassword123
Messages
- Delete user. User testuser0 has been removed successfully

back to summary

+

tests.SecurityTest#deleteUserTest

Parameter #1Parameter #2Parameter #3
testuser7email7@jfrog.compassword123
Messages
- Delete user. User testuser7 has been removed successfully

back to summary

+

tests.SecurityTest#deleteUserTest

Parameter #1Parameter #2Parameter #3
testuser2email2@jfrog.compassword123
Messages
- Delete user. User testuser2 has been removed successfully

back to summary

+

tests.SecurityTest#deleteUserTest

Parameter #1Parameter #2Parameter #3
testuser1email1@jfrog.compassword123
Messages
- Delete user. User testuser1 has been removed successfully

back to summary

+

tests.SecurityTest#deleteUserTest

Parameter #1Parameter #2Parameter #3
testuser6email6@jfrog.compassword123
Messages
- Delete user. User testuser6 has been removed successfully

back to summary

+

tests.SecurityTest#deleteUserTest

Parameter #1Parameter #2Parameter #3
testuser4email4@jfrog.compassword123
Messages
- Delete user. User testuser4 has been removed successfully

back to summary

+

tests.SecurityTest#deleteUserTest

Parameter #1Parameter #2Parameter #3
testuser8email8@jfrog.compassword123
Messages
- Delete user. User testuser8 has been removed successfully

back to summary

+

tests.SecurityTest#generateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser8email8@jfrog.compassword123
Messages
- Generate API keys. Key for testuser8 created successfully

back to summary

+

tests.SecurityTest#generateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser7email7@jfrog.compassword123
Messages
- Generate API keys. Key for testuser7 created successfully

back to summary

+

tests.SecurityTest#generateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser6email6@jfrog.compassword123
Messages
- Generate API keys. Key for testuser6 created successfully

back to summary

+

tests.SecurityTest#generateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser3email3@jfrog.compassword123
Messages
- Generate API keys. Key for testuser3 created successfully

back to summary

+

tests.SecurityTest#generateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser9email9@jfrog.compassword123
Messages
- Generate API keys. Key for testuser9 created successfully

back to summary

+

tests.SecurityTest#generateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser0email0@jfrog.compassword123
Messages
- Generate API keys. Key for testuser0 created successfully

back to summary

+

tests.SecurityTest#generateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser5email5@jfrog.compassword123
Messages
- Generate API keys. Key for testuser5 created successfully

back to summary

+

tests.SecurityTest#generateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser2email2@jfrog.compassword123
Messages
- Generate API keys. Key for testuser2 created successfully

back to summary

+

tests.SecurityTest#generateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser4email4@jfrog.compassword123
Messages
- Generate API keys. Key for testuser4 created successfully

back to summary

+

tests.SecurityTest#generateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser1email1@jfrog.compassword123
Messages
- Generate API keys. Key for testuser1 created successfully

back to summary

+

tests.SecurityTest#regenerateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser7email7@jfrog.compassword123
Messages
- Re-generate API keys. Key for testuser7 re-generated successfully

back to summary

+

tests.SecurityTest#regenerateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser3email3@jfrog.compassword123
Messages
- Re-generate API keys. Key for testuser3 re-generated successfully

back to summary

+

tests.SecurityTest#regenerateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser0email0@jfrog.compassword123
Messages
- Re-generate API keys. Key for testuser0 re-generated successfully

back to summary

+

tests.SecurityTest#regenerateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser9email9@jfrog.compassword123
Messages
- Re-generate API keys. Key for testuser9 re-generated successfully

back to summary

+

tests.SecurityTest#regenerateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser8email8@jfrog.compassword123
Messages
- Re-generate API keys. Key for testuser8 re-generated successfully

back to summary

+

tests.SecurityTest#regenerateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser4email4@jfrog.compassword123
Messages
- Re-generate API keys. Key for testuser4 re-generated successfully

back to summary

+

tests.SecurityTest#regenerateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser6email6@jfrog.compassword123
Messages
- Re-generate API keys. Key for testuser6 re-generated successfully

back to summary

+

tests.SecurityTest#regenerateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser2email2@jfrog.compassword123
Messages
- Re-generate API keys. Key for testuser2 re-generated successfully

back to summary

+

tests.SecurityTest#regenerateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser1email1@jfrog.compassword123
Messages
- Re-generate API keys. Key for testuser1 re-generated successfully

back to summary

+

tests.SecurityTest#regenerateAPIKeysTest

Parameter #1Parameter #2Parameter #3
testuser5email5@jfrog.compassword123
Messages
- Re-generate API keys. Key for testuser5 re-generated successfully

back to summary

+

tests.SecurityTest#verifyUsersTest

Parameter #1Parameter #2Parameter #3
testuser4email4@jfrog.compassword123
Messages
- Verify created users. User testuser4 was successfully verified

back to summary

+

tests.SecurityTest#verifyUsersTest

Parameter #1Parameter #2Parameter #3
testuser7email7@jfrog.compassword123
Messages
- Verify created users. User testuser7 was successfully verified

back to summary

+

tests.SecurityTest#verifyUsersTest

Parameter #1Parameter #2Parameter #3
testuser6email6@jfrog.compassword123
Messages
- Verify created users. User testuser6 was successfully verified

back to summary

+

tests.SecurityTest#verifyUsersTest

Parameter #1Parameter #2Parameter #3
testuser9email9@jfrog.compassword123
Messages
- Verify created users. User testuser9 was successfully verified

back to summary

+

tests.SecurityTest#verifyUsersTest

Parameter #1Parameter #2Parameter #3
testuser8email8@jfrog.compassword123
Messages
- Verify created users. User testuser8 was successfully verified

back to summary

+

tests.SecurityTest#verifyUsersTest

Parameter #1Parameter #2Parameter #3
testuser2email2@jfrog.compassword123
Messages
- Verify created users. User testuser2 was successfully verified

back to summary

+

tests.SecurityTest#verifyUsersTest

Parameter #1Parameter #2Parameter #3
testuser5email5@jfrog.compassword123
Messages
- Verify created users. User testuser5 was successfully verified

back to summary

+

tests.SecurityTest#verifyUsersTest

Parameter #1Parameter #2Parameter #3
testuser3email3@jfrog.compassword123
Messages
- Verify created users. User testuser3 was successfully verified

back to summary

+

tests.SecurityTest#verifyUsersTest

Parameter #1Parameter #2Parameter #3
testuser0email0@jfrog.compassword123
Messages
- Verify created users. User testuser0 was successfully verified

back to summary

+

tests.SecurityTest#verifyUsersTest

Parameter #1Parameter #2Parameter #3
testuser1email1@jfrog.compassword123
Messages
- Verify created users. User testuser1 was successfully verified

back to summary

+

tests.XrayTest

tests.XrayTest#assignPolicyToWatchTest

Messages
- Assign policy to watch. Policy assigned successfully to Watch

back to summary

+

tests.XrayTest#createIssueEventTest

Parameter #1Parameter #2Parameter #3Parameter #4
XRAY-CVE-2017-2000386A very important custom issueA very important custom issue
Messages
- Create issue event. Issue event with ID XRAY-4206031 created and verified successfully

back to summary

+

tests.XrayTest#createPolicyTest

Messages
- Create policy. Policy with name security_policy_4206031 created and verified successfully

back to summary

+

tests.XrayTest#createSupportBundleTest

Messages
- Create support bundle. Created with a bug, localhost instead of the hostname

back to summary

+

tests.XrayTest#createWatchTest

Messages
- Create watch. Watch with name all-repositories_4206031 has been created and verified successfully

back to summary

+

tests.XrayTest#deletePolicyTest

Messages
- Delete policy. Policy security_policy_4206031 has been successfully deleted

back to summary

+

tests.XrayTest#deleteWatchTest

Messages
- Delete watch. Watch all-repositories_4206031 has been successfully deleted

back to summary

+

tests.XrayTest#enableTLSRabbitMQTest

Messages
- Enable TLS for RabbitMQ. TLS for RabbitMQ has been successfully enabled and verified

back to summary

+

tests.XrayTest#getBinaryManagerTest

Messages
- Get binary manager. Binary manager is verified, connected RT version: 7.4.1

back to summary

+

tests.XrayTest#getIndexingConfigurationTest

Messages
- Get repo indexing configuration.

back to summary

+

tests.XrayTest#getPoliciesTest

Messages
- Get policies. Policies list is returned successfully. Policies returned: [security_policy_4206031]

back to summary

+

tests.XrayTest#getSystemMonitoringTest

Messages
- Get system monitoring status. Data returned successfully

back to summary

+

tests.XrayTest#integrationConfigurationTest

Messages
- Integration configuration. Configuration for vendor vendor_4206031 has been successfully added and verified

back to summary

+

tests.XrayTest#updateIndexingConfigurationTest

Messages
- Update repo indexing configuration. Successfully updated

back to summary

+

tests.XrayTest#updateIssueEventTest

Parameter #1Parameter #2Parameter #3Parameter #4
XRAY-CVE-2017-2000386A very important custom issueA very important custom issue
Messages
- Update issue event. Issue event with ID XRAY-4206031 updated and verified successfully

back to summary

+

tests.XrayTest#updatePolicyTest

Messages
- Update policy. Policy with name security_policy_4206031 updated and verified successfully

back to summary

+

tests.XrayTest#updateWatchTest

Messages
- Update watch. Watch with name all-repositories_4206031 has been updated and verified successfully

back to summary

+

tests.XrayTest#xrayGetVersionTest

Messages
- Get X-ray version. Version: 3.3.0, revision: 3980dcb

back to summary

+

tests.XrayTest#xrayPingRequestTest

Messages
- Get system monitoring status. Data returned successfully

back to summary

+ + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/failed.png b/Ansible/test/tests/build/reports/tests/unified_test/failed.png new file mode 100644 index 0000000..c117be5 Binary files /dev/null and b/Ansible/test/tests/build/reports/tests/unified_test/failed.png differ diff --git a/Ansible/test/tests/build/reports/tests/unified_test/index.html b/Ansible/test/tests/build/reports/tests/unified_test/index.html new file mode 100644 index 0000000..9e3d48b --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/index.html @@ -0,0 +1,163 @@ + + + + + +Test results - Test Summary + + + + + +
+

Test Summary

+
+ + + + + +
+
+ + + + + + + +
+
+
99
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
1m36.65s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Packages

+ + + + + + + + + + + + + + + + + + + + + +
PackageTestsFailuresIgnoredDurationSuccess rate
+tests +99001m36.65s100%
+
+
+

Classes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTestsFailuresIgnoredDurationSuccess rate
+tests.HealthCheckTest +2001.481s100%
+tests.RepositoryTest +60052.675s100%
+tests.SecurityTest +720031.877s100%
+tests.XrayTest +190010.615s100%
+
+
+ +
+ + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/jquery-1.7.1.min.js b/Ansible/test/tests/build/reports/tests/unified_test/jquery-1.7.1.min.js new file mode 100644 index 0000000..979ed08 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/jquery-1.7.1.min.js @@ -0,0 +1,4 @@ +/*! jQuery v1.7.1 jquery.com | jquery.org/license */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; +f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() +{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/js/report.js b/Ansible/test/tests/build/reports/tests/unified_test/js/report.js new file mode 100644 index 0000000..83bab4a --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/js/report.js @@ -0,0 +1,194 @@ +(function (window, document) { + "use strict"; + + var tabs = {}; + + function changeElementClass(element, classValue) { + if (element.getAttribute("className")) { + element.setAttribute("className", classValue); + } else { + element.setAttribute("class", classValue); + } + } + + function getClassAttribute(element) { + if (element.getAttribute("className")) { + return element.getAttribute("className"); + } else { + return element.getAttribute("class"); + } + } + + function addClass(element, classValue) { + changeElementClass(element, getClassAttribute(element) + " " + classValue); + } + + function removeClass(element, classValue) { + changeElementClass(element, getClassAttribute(element).replace(classValue, "")); + } + + function initTabs() { + var container = document.getElementById("tabs"); + + tabs.tabs = findTabs(container); + tabs.titles = findTitles(tabs.tabs); + tabs.headers = findHeaders(container); + tabs.select = select; + tabs.deselectAll = deselectAll; + tabs.select(0); + + return true; + } + + function getCheckBox() { + return document.getElementById("line-wrapping-toggle"); + } + + function getLabelForCheckBox() { + return document.getElementById("label-for-line-wrapping-toggle"); + } + + function findCodeBlocks() { + var spans = document.getElementById("tabs").getElementsByTagName("span"); + var codeBlocks = []; + for (var i = 0; i < spans.length; ++i) { + if (spans[i].className.indexOf("code") >= 0) { + codeBlocks.push(spans[i]); + } + } + return codeBlocks; + } + + function forAllCodeBlocks(operation) { + var codeBlocks = findCodeBlocks(); + + for (var i = 0; i < codeBlocks.length; ++i) { + operation(codeBlocks[i], "wrapped"); + } + } + + function toggleLineWrapping() { + var checkBox = getCheckBox(); + + if (checkBox.checked) { + forAllCodeBlocks(addClass); + } else { + forAllCodeBlocks(removeClass); + } + } + + function initControls() { + if (findCodeBlocks().length > 0) { + var checkBox = getCheckBox(); + var label = getLabelForCheckBox(); + + checkBox.onclick = toggleLineWrapping; + checkBox.checked = false; + + removeClass(label, "hidden"); + } + } + + function switchTab() { + var id = this.id.substr(1); + + for (var i = 0; i < tabs.tabs.length; i++) { + if (tabs.tabs[i].id === id) { + tabs.select(i); + break; + } + } + + return false; + } + + function select(i) { + this.deselectAll(); + + changeElementClass(this.tabs[i], "tab selected"); + changeElementClass(this.headers[i], "selected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var h2 = document.createElement("H2"); + + h2.appendChild(document.createTextNode(this.titles[i])); + this.headers[i].appendChild(h2); + } + + function deselectAll() { + for (var i = 0; i < this.tabs.length; i++) { + changeElementClass(this.tabs[i], "tab deselected"); + changeElementClass(this.headers[i], "deselected"); + + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + + var a = document.createElement("A"); + + a.setAttribute("id", "ltab" + i); + a.setAttribute("href", "#tab" + i); + a.onclick = switchTab; + a.appendChild(document.createTextNode(this.titles[i])); + + this.headers[i].appendChild(a); + } + } + + function findTabs(container) { + return findChildElements(container, "DIV", "tab"); + } + + function findHeaders(container) { + var owner = findChildElements(container, "UL", "tabLinks"); + return findChildElements(owner[0], "LI", null); + } + + function findTitles(tabs) { + var titles = []; + + for (var i = 0; i < tabs.length; i++) { + var tab = tabs[i]; + var header = findChildElements(tab, "H2", null)[0]; + + header.parentNode.removeChild(header); + + if (header.innerText) { + titles.push(header.innerText); + } else { + titles.push(header.textContent); + } + } + + return titles; + } + + function findChildElements(container, name, targetClass) { + var elements = []; + var children = container.childNodes; + + for (var i = 0; i < children.length; i++) { + var child = children.item(i); + + if (child.nodeType === 1 && child.nodeName === name) { + if (targetClass && child.className.indexOf(targetClass) < 0) { + continue; + } + + elements.push(child); + } + } + + return elements; + } + + // Entry point. + + window.onload = function() { + initTabs(); + initControls(); + }; +} (window, window.document)); \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.HealthCheckTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.HealthCheckTest.xml new file mode 100644 index 0000000..ee4875a --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.HealthCheckTest.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.RepositoryTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.RepositoryTest.xml new file mode 100644 index 0000000..3058f31 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.RepositoryTest.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.SecurityTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.SecurityTest.xml new file mode 100644 index 0000000..0bf143d --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.SecurityTest.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.XrayTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.XrayTest.xml new file mode 100644 index 0000000..1c11671 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/junitreports/TEST-tests.XrayTest.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/navigator-bullet.png b/Ansible/test/tests/build/reports/tests/unified_test/navigator-bullet.png new file mode 100644 index 0000000..36d90d3 Binary files /dev/null and b/Ansible/test/tests/build/reports/tests/unified_test/navigator-bullet.png differ diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/classes.html b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/classes.html new file mode 100644 index 0000000..47c68d8 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/classes.html @@ -0,0 +1,288 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Class nameMethod nameGroups
tests.SecurityTest  
@Test
 deleteUserTestpro
 deleteGroupTestpro
 generateAPIKeysTestpro
 verifyUsersTestpro
 createUsersTestpro
 regenerateAPIKeysTestpro
 createGroupTestpro
 createPermissionsTestpro
 deletePermissionsTestpro
@BeforeClass
@BeforeMethod
@AfterMethod
@AfterClass
tests.HealthCheckTest  
@Test
 healthCheckTestcommon
 pingTestcommon ping
@BeforeClass
@BeforeMethod
@AfterMethod
@AfterClass
tests.RepositoryTest  
@Test
 deleteDefaultReposTestpro
 createDefaultJCRReposTestjcr
 createSupportBundleJCATestjcr
 checkDefaultJCRReposTestjcr
 reCreateDefaultHAReposTestpro
 checkReposAreDeletedpro
 reCreateDefaultJCRReposTestjcr
 deleteReposTestpro
 checkDefaultHAReposTestpro
 deleteDefaultJCRReposTestjcr
 createDefaultHAReposTestpro
 deleteJCRReposTestjcr
@BeforeClass
@BeforeMethod
@AfterMethod
@AfterClass
tests.XrayTest  
@Test
 getPoliciesTestxray
 createSupportBundleTestxray
 getSystemMonitoringTestxray
 enableTLSRabbitMQTestxray
 createPolicyTestxray
 getIndexingConfigurationTestxray
 assignPolicyToWatchTestxray
 createIssueEventTestxray
 updateIssueEventTestxray
 deleteWatchTestxray
 createWatchTestxray
 xrayPingRequestTestxray
 xrayGetVersionTestxray
 updateWatchTestxray
 getBinaryManagerTestxray
 updatePolicyTestxray
 deletePolicyTestxray
 integrationConfigurationTestxray
 updateIndexingConfigurationTestxray
@BeforeClass
@BeforeMethod
@AfterMethod
@AfterClass
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/groups.html b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/groups.html new file mode 100644 index 0000000..74162f7 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/groups.html @@ -0,0 +1,6 @@ +

Groups used for this test run

+ + + + +
Group nameMethods
commonHealthCheckTest.pingTest()[pri:1, instance:tests.HealthCheckTest@483dde3c]
HealthCheckTest.healthCheckTest()[pri:0, instance:tests.HealthCheckTest@483dde3c]
pingHealthCheckTest.pingTest()[pri:1, instance:tests.HealthCheckTest@483dde3c]
proSecurityTest.verifyUsersTest(java.lang.Object, java.lang.Object, java.lang.Object)[pri:2, instance:tests.SecurityTest@285aa2f9]
RepositoryTest.createDefaultHAReposTest()[pri:2, instance:tests.RepositoryTest@4f17d179]
SecurityTest.regenerateAPIKeysTest(java.lang.Object, java.lang.Object, java.lang.Object)[pri:4, instance:tests.SecurityTest@285aa2f9]
SecurityTest.createPermissionsTest()[pri:6, instance:tests.SecurityTest@285aa2f9]
RepositoryTest.checkReposAreDeleted()[pri:10, instance:tests.RepositoryTest@4f17d179]
SecurityTest.deletePermissionsTest()[pri:7, instance:tests.SecurityTest@285aa2f9]
SecurityTest.generateAPIKeysTest(java.lang.Object, java.lang.Object, java.lang.Object)[pri:3, instance:tests.SecurityTest@285aa2f9]
RepositoryTest.checkDefaultHAReposTest()[pri:3, instance:tests.RepositoryTest@4f17d179]
SecurityTest.createUsersTest(java.lang.Object, java.lang.Object, java.lang.Object)[pri:1, instance:tests.SecurityTest@285aa2f9]
RepositoryTest.deleteDefaultReposTest()[pri:9, instance:tests.RepositoryTest@4f17d179]
SecurityTest.deleteUserTest(java.lang.Object, java.lang.Object, java.lang.Object)[pri:8, instance:tests.SecurityTest@285aa2f9]
RepositoryTest.deleteReposTest()[pri:1, instance:tests.RepositoryTest@4f17d179]
SecurityTest.deleteGroupTest(java.lang.Object)[pri:9, instance:tests.SecurityTest@285aa2f9]
SecurityTest.createGroupTest(java.lang.Object)[pri:5, instance:tests.SecurityTest@285aa2f9]
RepositoryTest.reCreateDefaultHAReposTest()[pri:11, instance:tests.RepositoryTest@4f17d179]
xrayXrayTest.deleteWatchTest()[pri:8, instance:tests.XrayTest@53d7d172]
XrayTest.integrationConfigurationTest()[pri:11, instance:tests.XrayTest@53d7d172]
XrayTest.updateIndexingConfigurationTest()[pri:15, instance:tests.XrayTest@53d7d172]
XrayTest.xrayGetVersionTest()[pri:20, instance:tests.XrayTest@53d7d172]
XrayTest.deletePolicyTest()[pri:9, instance:tests.XrayTest@53d7d172]
XrayTest.getBinaryManagerTest()[pri:13, instance:tests.XrayTest@53d7d172]
XrayTest.updatePolicyTest()[pri:4, instance:tests.XrayTest@53d7d172]
XrayTest.updateWatchTest()[pri:6, instance:tests.XrayTest@53d7d172]
XrayTest.createWatchTest()[pri:5, instance:tests.XrayTest@53d7d172]
XrayTest.xrayPingRequestTest()[pri:19, instance:tests.XrayTest@53d7d172]
XrayTest.createIssueEventTest(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)[pri:1, instance:tests.XrayTest@53d7d172]
XrayTest.assignPolicyToWatchTest()[pri:7, instance:tests.XrayTest@53d7d172]
XrayTest.createPolicyTest()[pri:3, instance:tests.XrayTest@53d7d172]
XrayTest.enableTLSRabbitMQTest()[pri:12, instance:tests.XrayTest@53d7d172]
XrayTest.getIndexingConfigurationTest()[pri:14, instance:tests.XrayTest@53d7d172]
XrayTest.createSupportBundleTest()[pri:17, instance:tests.XrayTest@53d7d172]
XrayTest.getSystemMonitoringTest()[pri:18, instance:tests.XrayTest@53d7d172]
XrayTest.getPoliciesTest()[pri:4, instance:tests.XrayTest@53d7d172]
XrayTest.updateIssueEventTest(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)[pri:2, instance:tests.XrayTest@53d7d172]
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/index.html b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/index.html new file mode 100644 index 0000000..706e7d0 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/index.html @@ -0,0 +1,6 @@ +Results for All API tests + + + + + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/main.html b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/main.html new file mode 100644 index 0000000..432da36 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/main.html @@ -0,0 +1,2 @@ +Results for All API tests +Select a result on the left-hand pane. diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/methods-alphabetical.html b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/methods-alphabetical.html new file mode 100644 index 0000000..81c0477 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/methods-alphabetical.html @@ -0,0 +1,212 @@ +

Methods run, sorted chronologically

>> means before, << means after


All API tests

(Hover the method name to see the test class name)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TimeDelta (ms)Suite
configuration
Test
configuration
Class
configuration
Groups
configuration
Method
configuration
Test
method
ThreadInstances
20/06/18 15:55:47 0      assignPolicyToWatchTestTest worker@545376742
20/06/18 15:54:24 -82860      checkDefaultHAReposTestTest worker@545376742
20/06/18 15:55:09 -38053      checkReposAreDeletedTest worker@545376742
20/06/18 15:54:21 -86131      createDefaultHAReposTestTest worker@545376742
20/06/18 15:55:29 -17622      createGroupTestTest worker@545376742
20/06/18 15:55:30 -17023      createGroupTestTest worker@545376742
20/06/18 15:55:31 -16403      createGroupTestTest worker@545376742
20/06/18 15:55:31 -15774      createGroupTestTest worker@545376742
20/06/18 15:55:32 -15157      createGroupTestTest worker@545376742
20/06/18 15:55:33 -14523      createGroupTestTest worker@545376742
20/06/18 15:55:33 -13909      createGroupTestTest worker@545376742
20/06/18 15:55:34 -13255      createGroupTestTest worker@545376742
20/06/18 15:55:35 -12599      createGroupTestTest worker@545376742
20/06/18 15:55:35 -11952      createGroupTestTest worker@545376742
20/06/18 15:55:44 -3003      createIssueEventTestTest worker@545376742
20/06/18 15:55:36 -11323      createPermissionsTestTest worker@545376742
20/06/18 15:55:45 -1951      createPolicyTestTest worker@545376742
20/06/18 15:55:50 2521      createSupportBundleTestTest worker@545376742
20/06/18 15:55:12 -34915      createUsersTestTest worker@545376742
20/06/18 15:55:13 -34435      createUsersTestTest worker@545376742
20/06/18 15:55:13 -33968      createUsersTestTest worker@545376742
20/06/18 15:55:14 -33470      createUsersTestTest worker@545376742
20/06/18 15:55:14 -33085      createUsersTestTest worker@545376742
20/06/18 15:55:14 -32676      createUsersTestTest worker@545376742
20/06/18 15:55:15 -32254      createUsersTestTest worker@545376742
20/06/18 15:55:15 -31835      createUsersTestTest worker@545376742
20/06/18 15:55:16 -31430      createUsersTestTest worker@545376742
20/06/18 15:55:16 -31013      createUsersTestTest worker@545376742
20/06/18 15:55:46 -921      createWatchTestTest worker@545376742
20/06/18 15:54:25 -82371      deleteDefaultReposTestTest worker@545376742
20/06/18 15:55:41 -6370      deleteGroupTestTest worker@545376742
20/06/18 15:55:41 -6035      deleteGroupTestTest worker@545376742
20/06/18 15:55:41 -5711      deleteGroupTestTest worker@545376742
20/06/18 15:55:42 -5384      deleteGroupTestTest worker@545376742
20/06/18 15:55:42 -5065      deleteGroupTestTest worker@545376742
20/06/18 15:55:42 -4657      deleteGroupTestTest worker@545376742
20/06/18 15:55:43 -4323      deleteGroupTestTest worker@545376742
20/06/18 15:55:43 -3984      deleteGroupTestTest worker@545376742
20/06/18 15:55:43 -3657      deleteGroupTestTest worker@545376742
20/06/18 15:55:44 -3335      deleteGroupTestTest worker@545376742
20/06/18 15:55:37 -10410      deletePermissionsTestTest worker@545376742
20/06/18 15:55:48 493      deletePolicyTestTest worker@545376742
20/06/18 15:54:19 -87607      deleteReposTestTest worker@545376742
20/06/18 15:55:37 -10034      deleteUserTestTest worker@545376742
20/06/18 15:55:37 -9631      deleteUserTestTest worker@545376742
20/06/18 15:55:38 -9284      deleteUserTestTest worker@545376742
20/06/18 15:55:38 -8872      deleteUserTestTest worker@545376742
20/06/18 15:55:39 -8535      deleteUserTestTest worker@545376742
20/06/18 15:55:39 -8135      deleteUserTestTest worker@545376742
20/06/18 15:55:39 -7785      deleteUserTestTest worker@545376742
20/06/18 15:55:40 -7434      deleteUserTestTest worker@545376742
20/06/18 15:55:40 -7084      deleteUserTestTest worker@545376742
20/06/18 15:55:40 -6705      deleteUserTestTest worker@545376742
20/06/18 15:55:47 240      deleteWatchTestTest worker@545376742
20/06/18 15:55:48 1124      enableTLSRabbitMQTestTest worker@545376742
20/06/18 15:55:20 -27289      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:21 -26472      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:21 -25929      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:22 -25429      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:22 -24965      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:23 -24517      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:23 -24060      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:23 -23618      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:24 -23146      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:24 -22678      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:49 1546      getBinaryManagerTestTest worker@545376742
20/06/18 15:55:49 1787      getIndexingConfigurationTestTest worker@545376742
20/06/18 15:55:46 -1164      getPoliciesTestTest worker@545376742
20/06/18 15:55:54 7186      getSystemMonitoringTestTest worker@545376742
20/06/18 15:54:18 -89111      healthCheckTestTest worker@545376742
20/06/18 15:55:48 721      integrationConfigurationTestTest worker@545376742
20/06/18 15:54:19 -87856      pingTestTest worker@545376742
20/06/18 15:55:09 -37814      reCreateDefaultHAReposTestTest worker@545376742
20/06/18 15:55:25 -22199      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:25 -21726      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:26 -21279      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:26 -20803      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:27 -20329      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:27 -19879      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:28 -19457      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:28 -18978      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:29 -18528      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:29 -18079      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:54:18 -89294 >>setUp      Test worker@545376742
20/06/18 15:54:18 -89205 >>setUp      Test worker@545376742
20/06/18 15:54:18 -89121 >>setUp      Test worker@545376742
20/06/18 15:54:19 -87608  >>setUp     Test worker@545376742
20/06/18 15:55:44 -3004  >>testSetUp     Test worker@545376742
20/06/18 15:55:49 2058      updateIndexingConfigurationTestTest worker@545376742
20/06/18 15:55:45 -2380      updateIssueEventTestTest worker@545376742
20/06/18 15:55:46 -1562      updatePolicyTestTest worker@545376742
20/06/18 15:55:47 -466      updateWatchTestTest worker@545376742
20/06/18 15:55:16 -30610      verifyUsersTestTest worker@545376742
20/06/18 15:55:17 -30272      verifyUsersTestTest worker@545376742
20/06/18 15:55:17 -29941      verifyUsersTestTest worker@545376742
20/06/18 15:55:17 -29627      verifyUsersTestTest worker@545376742
20/06/18 15:55:18 -29305      verifyUsersTestTest worker@545376742
20/06/18 15:55:18 -28981      verifyUsersTestTest worker@545376742
20/06/18 15:55:18 -28644      verifyUsersTestTest worker@545376742
20/06/18 15:55:19 -28333      verifyUsersTestTest worker@545376742
20/06/18 15:55:19 -27938      verifyUsersTestTest worker@545376742
20/06/18 15:55:20 -27601      verifyUsersTestTest worker@545376742
20/06/18 15:55:55 7481      xrayGetVersionTestTest worker@545376742
20/06/18 15:55:54 7365      xrayPingRequestTestTest worker@545376742
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/methods-not-run.html b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/methods-not-run.html new file mode 100644 index 0000000..04743c3 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/methods-not-run.html @@ -0,0 +1,8 @@ +

Methods that were not run

+ + + + + + +
tests.RepositoryTest.deleteJCRReposTest
tests.RepositoryTest.deleteDefaultJCRReposTest
tests.RepositoryTest.reCreateDefaultJCRReposTest
tests.RepositoryTest.createSupportBundleJCATest
tests.RepositoryTest.checkDefaultJCRReposTest
tests.RepositoryTest.createDefaultJCRReposTest
\ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/methods.html b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/methods.html new file mode 100644 index 0000000..1101d8f --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/methods.html @@ -0,0 +1,212 @@ +

Methods run, sorted chronologically

>> means before, << means after


All API tests

(Hover the method name to see the test class name)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TimeDelta (ms)Suite
configuration
Test
configuration
Class
configuration
Groups
configuration
Method
configuration
Test
method
ThreadInstances
20/06/18 15:54:18 0 >>setUp      Test worker@545376742
20/06/18 15:54:18 89 >>setUp      Test worker@545376742
20/06/18 15:54:18 173 >>setUp      Test worker@545376742
20/06/18 15:54:18 183      healthCheckTestTest worker@545376742
20/06/18 15:54:19 1438      pingTestTest worker@545376742
20/06/18 15:54:19 1686  >>setUp     Test worker@545376742
20/06/18 15:54:19 1687      deleteReposTestTest worker@545376742
20/06/18 15:54:21 3163      createDefaultHAReposTestTest worker@545376742
20/06/18 15:54:24 6434      checkDefaultHAReposTestTest worker@545376742
20/06/18 15:54:25 6923      deleteDefaultReposTestTest worker@545376742
20/06/18 15:55:09 51241      checkReposAreDeletedTest worker@545376742
20/06/18 15:55:09 51480      reCreateDefaultHAReposTestTest worker@545376742
20/06/18 15:55:12 54379      createUsersTestTest worker@545376742
20/06/18 15:55:13 54859      createUsersTestTest worker@545376742
20/06/18 15:55:13 55326      createUsersTestTest worker@545376742
20/06/18 15:55:14 55824      createUsersTestTest worker@545376742
20/06/18 15:55:14 56209      createUsersTestTest worker@545376742
20/06/18 15:55:14 56618      createUsersTestTest worker@545376742
20/06/18 15:55:15 57040      createUsersTestTest worker@545376742
20/06/18 15:55:15 57459      createUsersTestTest worker@545376742
20/06/18 15:55:16 57864      createUsersTestTest worker@545376742
20/06/18 15:55:16 58281      createUsersTestTest worker@545376742
20/06/18 15:55:16 58684      verifyUsersTestTest worker@545376742
20/06/18 15:55:17 59022      verifyUsersTestTest worker@545376742
20/06/18 15:55:17 59353      verifyUsersTestTest worker@545376742
20/06/18 15:55:17 59667      verifyUsersTestTest worker@545376742
20/06/18 15:55:18 59989      verifyUsersTestTest worker@545376742
20/06/18 15:55:18 60313      verifyUsersTestTest worker@545376742
20/06/18 15:55:18 60650      verifyUsersTestTest worker@545376742
20/06/18 15:55:19 60961      verifyUsersTestTest worker@545376742
20/06/18 15:55:19 61356      verifyUsersTestTest worker@545376742
20/06/18 15:55:20 61693      verifyUsersTestTest worker@545376742
20/06/18 15:55:20 62005      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:21 62822      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:21 63365      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:22 63865      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:22 64329      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:23 64777      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:23 65234      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:23 65676      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:24 66148      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:24 66616      generateAPIKeysTestTest worker@545376742
20/06/18 15:55:25 67095      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:25 67568      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:26 68015      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:26 68491      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:27 68965      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:27 69415      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:28 69837      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:28 70316      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:29 70766      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:29 71215      regenerateAPIKeysTestTest worker@545376742
20/06/18 15:55:29 71672      createGroupTestTest worker@545376742
20/06/18 15:55:30 72271      createGroupTestTest worker@545376742
20/06/18 15:55:31 72891      createGroupTestTest worker@545376742
20/06/18 15:55:31 73520      createGroupTestTest worker@545376742
20/06/18 15:55:32 74137      createGroupTestTest worker@545376742
20/06/18 15:55:33 74771      createGroupTestTest worker@545376742
20/06/18 15:55:33 75385      createGroupTestTest worker@545376742
20/06/18 15:55:34 76039      createGroupTestTest worker@545376742
20/06/18 15:55:35 76695      createGroupTestTest worker@545376742
20/06/18 15:55:35 77342      createGroupTestTest worker@545376742
20/06/18 15:55:36 77971      createPermissionsTestTest worker@545376742
20/06/18 15:55:37 78884      deletePermissionsTestTest worker@545376742
20/06/18 15:55:37 79260      deleteUserTestTest worker@545376742
20/06/18 15:55:37 79663      deleteUserTestTest worker@545376742
20/06/18 15:55:38 80010      deleteUserTestTest worker@545376742
20/06/18 15:55:38 80422      deleteUserTestTest worker@545376742
20/06/18 15:55:39 80759      deleteUserTestTest worker@545376742
20/06/18 15:55:39 81159      deleteUserTestTest worker@545376742
20/06/18 15:55:39 81509      deleteUserTestTest worker@545376742
20/06/18 15:55:40 81860      deleteUserTestTest worker@545376742
20/06/18 15:55:40 82210      deleteUserTestTest worker@545376742
20/06/18 15:55:40 82589      deleteUserTestTest worker@545376742
20/06/18 15:55:41 82924      deleteGroupTestTest worker@545376742
20/06/18 15:55:41 83259      deleteGroupTestTest worker@545376742
20/06/18 15:55:41 83583      deleteGroupTestTest worker@545376742
20/06/18 15:55:42 83910      deleteGroupTestTest worker@545376742
20/06/18 15:55:42 84229      deleteGroupTestTest worker@545376742
20/06/18 15:55:42 84637      deleteGroupTestTest worker@545376742
20/06/18 15:55:43 84971      deleteGroupTestTest worker@545376742
20/06/18 15:55:43 85310      deleteGroupTestTest worker@545376742
20/06/18 15:55:43 85637      deleteGroupTestTest worker@545376742
20/06/18 15:55:44 85959      deleteGroupTestTest worker@545376742
20/06/18 15:55:44 86290  >>testSetUp     Test worker@545376742
20/06/18 15:55:44 86291      createIssueEventTestTest worker@545376742
20/06/18 15:55:45 86914      updateIssueEventTestTest worker@545376742
20/06/18 15:55:45 87343      createPolicyTestTest worker@545376742
20/06/18 15:55:46 87732      updatePolicyTestTest worker@545376742
20/06/18 15:55:46 88130      getPoliciesTestTest worker@545376742
20/06/18 15:55:46 88373      createWatchTestTest worker@545376742
20/06/18 15:55:47 88828      updateWatchTestTest worker@545376742
20/06/18 15:55:47 89294      assignPolicyToWatchTestTest worker@545376742
20/06/18 15:55:47 89534      deleteWatchTestTest worker@545376742
20/06/18 15:55:48 89787      deletePolicyTestTest worker@545376742
20/06/18 15:55:48 90015      integrationConfigurationTestTest worker@545376742
20/06/18 15:55:48 90418      enableTLSRabbitMQTestTest worker@545376742
20/06/18 15:55:49 90840      getBinaryManagerTestTest worker@545376742
20/06/18 15:55:49 91081      getIndexingConfigurationTestTest worker@545376742
20/06/18 15:55:49 91352      updateIndexingConfigurationTestTest worker@545376742
20/06/18 15:55:50 91815      createSupportBundleTestTest worker@545376742
20/06/18 15:55:54 96480      getSystemMonitoringTestTest worker@545376742
20/06/18 15:55:54 96659      xrayPingRequestTestTest worker@545376742
20/06/18 15:55:55 96775      xrayGetVersionTestTest worker@545376742
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/reporter-output.html b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/reporter-output.html new file mode 100644 index 0000000..4f0038f --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/reporter-output.html @@ -0,0 +1,103 @@ +

Reporter output

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- Health check. Service "jfac@01eb4sc7vmyn3y1958z2jp16t6" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
- Health check. Service "jffe@000" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
- Health check. Service "jfmd@01eb4scm5ggcgsx207xjtr181p" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
- Health check. Service "jfrt@01eb4scnq0vk430wzk9v2f1syf" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy
- Ping test. Service is OK
- Delete sample HA repositories. All repositories were successfully deleted
- Create repositories for HA distribution. Successfully created
- Verify HA repos were created. 84 repositories were created
- Delete HA repositories. All repositories were successfully deleted
- Verify repo were deleted. 0 repositories remain
- Re-create repositories for HA distribution. Successfully created
- Create users. User testuser0 created successfully
- Create users. User testuser1 created successfully
- Create users. User testuser2 created successfully
- Create users. User testuser3 created successfully
- Create users. User testuser4 created successfully
- Create users. User testuser5 created successfully
- Create users. User testuser6 created successfully
- Create users. User testuser7 created successfully
- Create users. User testuser8 created successfully
- Create users. User testuser9 created successfully
- Verify created users. User testuser0 was successfully verified
- Verify created users. User testuser1 was successfully verified
- Verify created users. User testuser2 was successfully verified
- Verify created users. User testuser3 was successfully verified
- Verify created users. User testuser4 was successfully verified
- Verify created users. User testuser5 was successfully verified
- Verify created users. User testuser6 was successfully verified
- Verify created users. User testuser7 was successfully verified
- Verify created users. User testuser8 was successfully verified
- Verify created users. User testuser9 was successfully verified
- Generate API keys. Key for testuser0 created successfully
- Generate API keys. Key for testuser1 created successfully
- Generate API keys. Key for testuser2 created successfully
- Generate API keys. Key for testuser3 created successfully
- Generate API keys. Key for testuser4 created successfully
- Generate API keys. Key for testuser5 created successfully
- Generate API keys. Key for testuser6 created successfully
- Generate API keys. Key for testuser7 created successfully
- Generate API keys. Key for testuser8 created successfully
- Generate API keys. Key for testuser9 created successfully
- Re-generate API keys. Key for testuser0 re-generated successfully
- Re-generate API keys. Key for testuser1 re-generated successfully
- Re-generate API keys. Key for testuser2 re-generated successfully
- Re-generate API keys. Key for testuser3 re-generated successfully
- Re-generate API keys. Key for testuser4 re-generated successfully
- Re-generate API keys. Key for testuser5 re-generated successfully
- Re-generate API keys. Key for testuser6 re-generated successfully
- Re-generate API keys. Key for testuser7 re-generated successfully
- Re-generate API keys. Key for testuser8 re-generated successfully
- Re-generate API keys. Key for testuser9 re-generated successfully
- Create group. Group test-group-0 was successfully created
- Create group. Group test-group-1 was successfully created
- Create group. Group test-group-2 was successfully created
- Create group. Group test-group-3 was successfully created
- Create group. Group test-group-4 was successfully created
- Create group. Group test-group-5 was successfully created
- Create group. Group test-group-6 was successfully created
- Create group. Group test-group-7 was successfully created
- Create group. Group test-group-8 was successfully created
- Create group. Group test-group-9 was successfully created
- Create permissions. Permissions successfully created and verified
- Delete permissions. User testPermission has been removed successfully
- Delete user. User testuser0 has been removed successfully
- Delete user. User testuser1 has been removed successfully
- Delete user. User testuser2 has been removed successfully
- Delete user. User testuser3 has been removed successfully
- Delete user. User testuser4 has been removed successfully
- Delete user. User testuser5 has been removed successfully
- Delete user. User testuser6 has been removed successfully
- Delete user. User testuser7 has been removed successfully
- Delete user. User testuser8 has been removed successfully
- Delete user. User testuser9 has been removed successfully
- Delete group. Group test-group-0 has been removed successfully
- Delete group. Group test-group-1 has been removed successfully
- Delete group. Group test-group-2 has been removed successfully
- Delete group. Group test-group-3 has been removed successfully
- Delete group. Group test-group-4 has been removed successfully
- Delete group. Group test-group-5 has been removed successfully
- Delete group. Group test-group-6 has been removed successfully
- Delete group. Group test-group-7 has been removed successfully
- Delete group. Group test-group-8 has been removed successfully
- Delete group. Group test-group-9 has been removed successfully
- Create issue event. Issue event with ID XRAY-4206031 created and verified successfully
- Update issue event. Issue event with ID XRAY-4206031 updated and verified successfully
- Create policy. Policy with name security_policy_4206031 created and verified successfully
- Update policy. Policy with name security_policy_4206031 updated and verified successfully
- Get policies. Policies list is returned successfully. Policies returned: [security_policy_4206031]
- Create watch. Watch with name all-repositories_4206031 has been created and verified successfully
- Update watch. Watch with name all-repositories_4206031 has been updated and verified successfully
- Assign policy to watch. Policy assigned successfully to Watch
- Delete watch. Watch all-repositories_4206031 has been successfully deleted
- Delete policy. Policy security_policy_4206031 has been successfully deleted
- Integration configuration. Configuration for vendor vendor_4206031 has been successfully added and verified
- Enable TLS for RabbitMQ. TLS for RabbitMQ has been successfully enabled and verified
- Get binary manager. Binary manager is verified, connected RT version: 7.4.1
- Get repo indexing configuration.
- Update repo indexing configuration. Successfully updated
- Create support bundle. Created with a bug, localhost instead of the hostname
- Get system monitoring status. Data returned successfully
- Get system monitoring status. Data returned successfully
- Get X-ray version. Version: 3.3.0, revision: 3980dcb
\ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/testng.xml.html b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/testng.xml.html new file mode 100644 index 0000000..6fbff4b --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/testng.xml.html @@ -0,0 +1 @@ +testng.xml for All API tests<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="All API tests" guice-stage="DEVELOPMENT" verbose="0">
  <groups>
    <run>
      <include name="common"/>
      <include name="pro"/>
      <include name="xray"/>
    </run>
  </groups>
  <test thread-count="5" name="tests.HealthCheckTest" verbose="0">
    <groups>
      <run>
        <include name="common"/>
        <include name="pro"/>
        <include name="xray"/>
      </run>
    </groups>
    <classes>
      <class name="tests.HealthCheckTest"/>
    </classes>
  </test> <!-- tests.HealthCheckTest -->
  <test thread-count="5" name="tests.RepositoryTest" verbose="0">
    <groups>
      <run>
        <include name="common"/>
        <include name="pro"/>
        <include name="xray"/>
      </run>
    </groups>
    <classes>
      <class name="tests.RepositoryTest"/>
    </classes>
  </test> <!-- tests.RepositoryTest -->
  <test thread-count="5" name="tests.SecurityTest" verbose="0">
    <groups>
      <run>
        <include name="common"/>
        <include name="pro"/>
        <include name="xray"/>
      </run>
    </groups>
    <classes>
      <class name="tests.SecurityTest"/>
    </classes>
  </test> <!-- tests.SecurityTest -->
  <test thread-count="5" name="tests.XrayTest" verbose="0">
    <groups>
      <run>
        <include name="common"/>
        <include name="pro"/>
        <include name="xray"/>
      </run>
    </groups>
    <classes>
      <class name="tests.XrayTest"/>
    </classes>
  </test> <!-- tests.XrayTest -->
</suite> <!-- All API tests -->
\ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.HealthCheckTest.properties b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.HealthCheckTest.properties new file mode 100644 index 0000000..eca880c --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.HealthCheckTest.properties @@ -0,0 +1 @@ +[SuiteResult context=tests.HealthCheckTest][SuiteResult context=tests.RepositoryTest][SuiteResult context=tests.SecurityTest][SuiteResult context=tests.XrayTest] \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.RepositoryTest.properties b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.RepositoryTest.properties new file mode 100644 index 0000000..eca880c --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.RepositoryTest.properties @@ -0,0 +1 @@ +[SuiteResult context=tests.HealthCheckTest][SuiteResult context=tests.RepositoryTest][SuiteResult context=tests.SecurityTest][SuiteResult context=tests.XrayTest] \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.SecurityTest.properties b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.SecurityTest.properties new file mode 100644 index 0000000..eca880c --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.SecurityTest.properties @@ -0,0 +1 @@ +[SuiteResult context=tests.HealthCheckTest][SuiteResult context=tests.RepositoryTest][SuiteResult context=tests.SecurityTest][SuiteResult context=tests.XrayTest] \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.XrayTest.properties b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.XrayTest.properties new file mode 100644 index 0000000..eca880c --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/tests.XrayTest.properties @@ -0,0 +1 @@ +[SuiteResult context=tests.HealthCheckTest][SuiteResult context=tests.RepositoryTest][SuiteResult context=tests.SecurityTest][SuiteResult context=tests.XrayTest] \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/toc.html b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/toc.html new file mode 100644 index 0000000..71ef1bf --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/All API tests/toc.html @@ -0,0 +1,54 @@ + + +Results for All API tests + + + + +

Results for
All API tests

+ + + + + + + + + + +
4 tests4 classes36 methods:
+  chronological
+  alphabetical
+  not run (6)
4 groupsreporter outputtestng.xml
+ +

+

+
tests.HealthCheckTest (2/0/0) + Results +
+
+ + +

+

+
tests.RepositoryTest (6/0/0) + Results +
+
+ + +

+

+
tests.SecurityTest (72/0/0) + Results +
+
+ + +

+

+
tests.XrayTest (19/0/0) + Results +
+
+ \ No newline at end of file diff --git a/Ansible/test/tests/build/reports/tests/unified_test/old/index.html b/Ansible/test/tests/build/reports/tests/unified_test/old/index.html new file mode 100644 index 0000000..5845aa4 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/old/index.html @@ -0,0 +1,9 @@ + + + + +

Test results

+ + + +
SuitePassedFailedSkippedtestng.xml
Total9900 
All API tests9900Link
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/packages/tests.html b/Ansible/test/tests/build/reports/tests/unified_test/packages/tests.html new file mode 100644 index 0000000..4c1808b --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/packages/tests.html @@ -0,0 +1,133 @@ + + + + + +Test results - Package tests + + + + + +
+

Package tests

+ +
+ + + + + +
+
+ + + + + + + +
+
+
99
+

tests

+
+
+
+
0
+

failures

+
+
+
+
0
+

ignored

+
+
+
+
1m36.65s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Classes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTestsFailuresIgnoredDurationSuccess rate
+HealthCheckTest +2001.481s100%
+RepositoryTest +60052.675s100%
+SecurityTest +720031.877s100%
+XrayTest +190010.615s100%
+
+
+ +
+ + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/passed.png b/Ansible/test/tests/build/reports/tests/unified_test/passed.png new file mode 100644 index 0000000..45e85bb Binary files /dev/null and b/Ansible/test/tests/build/reports/tests/unified_test/passed.png differ diff --git a/Ansible/test/tests/build/reports/tests/unified_test/skipped.png b/Ansible/test/tests/build/reports/tests/unified_test/skipped.png new file mode 100644 index 0000000..c36a324 Binary files /dev/null and b/Ansible/test/tests/build/reports/tests/unified_test/skipped.png differ diff --git a/Ansible/test/tests/build/reports/tests/unified_test/testng-reports.css b/Ansible/test/tests/build/reports/tests/unified_test/testng-reports.css new file mode 100644 index 0000000..6c65926 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/testng-reports.css @@ -0,0 +1,309 @@ +body { + margin: 0px 0px 5px 5px; +} + +ul { + margin: 0px; +} + +li { + list-style-type: none; +} + +a { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +.navigator-selected { + background: #ffa500; +} + +.wrapper { + position: absolute; + top: 60px; + bottom: 0; + left: 400px; + right: 0; + overflow: auto; +} + +.navigator-root { + position: absolute; + top: 60px; + bottom: 0; + left: 0; + width: 400px; + overflow-y: auto; +} + +.suite { + margin: 0px 10px 10px 0px; + background-color: #fff8dc; +} + +.suite-name { + padding-left: 10px; + font-size: 25px; + font-family: Times; +} + +.main-panel-header { + padding: 5px; + background-color: #9FB4D9; //afeeee; + font-family: monospace; + font-size: 18px; +} + +.main-panel-content { + padding: 5px; + margin-bottom: 10px; + background-color: #DEE8FC; //d0ffff; +} + +.rounded-window { + border-radius: 10px; + border-style: solid; + border-width: 1px; +} + +.rounded-window-top { + border-top-right-radius: 10px 10px; + border-top-left-radius: 10px 10px; + border-style: solid; + border-width: 1px; + overflow: auto; +} + +.light-rounded-window-top { + border-top-right-radius: 10px 10px; + border-top-left-radius: 10px 10px; +} + +.rounded-window-bottom { + border-style: solid; + border-width: 0px 1px 1px 1px; + border-bottom-right-radius: 10px 10px; + border-bottom-left-radius: 10px 10px; + overflow: auto; +} + +.method-name { + font-size: 12px; + font-family: monospace; +} + +.method-content { + border-style: solid; + border-width: 0px 0px 1px 0px; + margin-bottom: 10; + padding-bottom: 5px; + width: 80%; +} + +.parameters { + font-size: 14px; + font-family: monospace; +} + +.stack-trace { + white-space: pre; + font-family: monospace; + font-size: 12px; + font-weight: bold; + margin-top: 0px; + margin-left: 20px; +} + +.testng-xml { + font-family: monospace; +} + +.method-list-content { + margin-left: 10px; +} + +.navigator-suite-content { + margin-left: 10px; + font: 12px 'Lucida Grande'; +} + +.suite-section-title { + margin-top: 10px; + width: 80%; + border-style: solid; + border-width: 1px 0px 0px 0px; + font-family: Times; + font-size: 18px; + font-weight: bold; +} + +.suite-section-content { + list-style-image: url(bullet_point.png); +} + +.top-banner-root { + position: absolute; + top: 0; + height: 45px; + left: 0; + right: 0; + padding: 5px; + margin: 0px 0px 5px 0px; + background-color: #0066ff; + font-family: Times; + color: #fff; + text-align: center; +} + +.top-banner-title-font { + font-size: 25px; +} + +.test-name { + font-family: 'Lucida Grande'; + font-size: 16px; +} + +.suite-icon { + padding: 5px; + float: right; + height: 20; +} + +.test-group { + font: 20px 'Lucida Grande'; + margin: 5px 5px 10px 5px; + border-width: 0px 0px 1px 0px; + border-style: solid; + padding: 5px; +} + +.test-group-name { + font-weight: bold; +} + +.method-in-group { + font-size: 16px; + margin-left: 80px; +} + +table.google-visualization-table-table { + width: 100%; +} + +.reporter-method-name { + font-size: 14px; + font-family: monospace; +} + +.reporter-method-output-div { + padding: 5px; + margin: 0px 0px 5px 20px; + font-size: 12px; + font-family: monospace; + border-width: 0px 0px 0px 1px; + border-style: solid; +} + +.ignored-class-div { + font-size: 14px; + font-family: monospace; +} + +.ignored-methods-div { + padding: 5px; + margin: 0px 0px 5px 20px; + font-size: 12px; + font-family: monospace; + border-width: 0px 0px 0px 1px; + border-style: solid; +} + +.border-failed { + border-top-left-radius: 10px 10px; + border-bottom-left-radius: 10px 10px; + border-style: solid; + border-width: 0px 0px 0px 10px; + border-color: #f00; +} + +.border-skipped { + border-top-left-radius: 10px 10px; + border-bottom-left-radius: 10px 10px; + border-style: solid; + border-width: 0px 0px 0px 10px; + border-color: #edc600; +} + +.border-passed { + border-top-left-radius: 10px 10px; + border-bottom-left-radius: 10px 10px; + border-style: solid; + border-width: 0px 0px 0px 10px; + border-color: #19f52d; +} + +.times-div { + text-align: center; + padding: 5px; +} + +.suite-total-time { + font: 16px 'Lucida Grande'; +} + +.configuration-suite { + margin-left: 20px; +} + +.configuration-test { + margin-left: 40px; +} + +.configuration-class { + margin-left: 60px; +} + +.configuration-method { + margin-left: 80px; +} + +.test-method { + margin-left: 100px; +} + +.chronological-class { + background-color: #0ccff; + border-style: solid; + border-width: 0px 0px 1px 1px; +} + +.method-start { + float: right; +} + +.chronological-class-name { + padding: 0px 0px 0px 5px; + color: #008; +} + +.after, .before, .test-method { + font-family: monospace; + font-size: 14px; +} + +.navigator-suite-header { + font-size: 22px; + margin: 0px 10px 5px 0px; + background-color: #deb887; + text-align: center; +} + +.collapse-all-icon { + padding: 5px; + float: right; +} diff --git a/Ansible/test/tests/build/reports/tests/unified_test/testng-reports.js b/Ansible/test/tests/build/reports/tests/unified_test/testng-reports.js new file mode 100644 index 0000000..b147043 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/testng-reports.js @@ -0,0 +1,122 @@ +$(document).ready(function() { + $('a.navigator-link').click(function() { + // Extract the panel for this link + var panel = getPanelName($(this)); + + // Mark this link as currently selected + $('.navigator-link').parent().removeClass('navigator-selected'); + $(this).parent().addClass('navigator-selected'); + + showPanel(panel); + }); + + installMethodHandlers('failed'); + installMethodHandlers('skipped'); + installMethodHandlers('passed', true); // hide passed methods by default + + $('a.method').click(function() { + showMethod($(this)); + return false; + }); + + // Hide all the panels and display the first one (do this last + // to make sure the click() will invoke the listeners) + $('.panel').hide(); + $('.navigator-link').first().click(); + + // Collapse/expand the suites + $('a.collapse-all-link').click(function() { + var contents = $('.navigator-suite-content'); + if (contents.css('display') == 'none') { + contents.show(); + } else { + contents.hide(); + } + }); +}); + +// The handlers that take care of showing/hiding the methods +function installMethodHandlers(name, hide) { + function getContent(t) { + return $('.method-list-content.' + name + "." + t.attr('panel-name')); + } + + function getHideLink(t, name) { + var s = 'a.hide-methods.' + name + "." + t.attr('panel-name'); + return $(s); + } + + function getShowLink(t, name) { + return $('a.show-methods.' + name + "." + t.attr('panel-name')); + } + + function getMethodPanelClassSel(element, name) { + var panelName = getPanelName(element); + var sel = '.' + panelName + "-class-" + name; + return $(sel); + } + + $('a.hide-methods.' + name).click(function() { + var w = getContent($(this)); + w.hide(); + getHideLink($(this), name).hide(); + getShowLink($(this), name).show(); + getMethodPanelClassSel($(this), name).hide(); + }); + + $('a.show-methods.' + name).click(function() { + var w = getContent($(this)); + w.show(); + getHideLink($(this), name).show(); + getShowLink($(this), name).hide(); + showPanel(getPanelName($(this))); + getMethodPanelClassSel($(this), name).show(); + }); + + if (hide) { + $('a.hide-methods.' + name).click(); + } else { + $('a.show-methods.' + name).click(); + } +} + +function getHashForMethod(element) { + return element.attr('hash-for-method'); +} + +function getPanelName(element) { + return element.attr('panel-name'); +} + +function showPanel(panelName) { + $('.panel').hide(); + var panel = $('.panel[panel-name="' + panelName + '"]'); + panel.show(); +} + +function showMethod(element) { + var hashTag = getHashForMethod(element); + var panelName = getPanelName(element); + showPanel(panelName); + var current = document.location.href; + var base = current.substring(0, current.indexOf('#')) + document.location.href = base + '#' + hashTag; + var newPosition = $(document).scrollTop() - 65; + $(document).scrollTop(newPosition); +} + +function drawTable() { + for (var i = 0; i < suiteTableInitFunctions.length; i++) { + window[suiteTableInitFunctions[i]](); + } + + for (var k in window.suiteTableData) { + var v = window.suiteTableData[k]; + var div = v.tableDiv; + var data = v.tableData + var table = new google.visualization.Table(document.getElementById(div)); + table.draw(data, { + showRowNumber : false + }); + } +} diff --git a/Ansible/test/tests/build/reports/tests/unified_test/testng-results.xml b/Ansible/test/tests/build/reports/tests/unified_test/testng-results.xml new file mode 100644 index 0000000..5d158a9 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/testng-results.xml @@ -0,0 +1,2134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ansible/test/tests/build/reports/tests/unified_test/testng.css b/Ansible/test/tests/build/reports/tests/unified_test/testng.css new file mode 100644 index 0000000..3904800 --- /dev/null +++ b/Ansible/test/tests/build/reports/tests/unified_test/testng.css @@ -0,0 +1,9 @@ +.invocation-failed, .test-failed { background-color: #DD0000; } +.invocation-percent, .test-percent { background-color: #006600; } +.invocation-passed, .test-passed { background-color: #00AA00; } +.invocation-skipped, .test-skipped { background-color: #CCCC00; } + +.main-page { + font-size: x-large; +} + diff --git a/Ansible/test/tests/build/resources/test/enableRabbitMQ.json b/Ansible/test/tests/build/resources/test/enableRabbitMQ.json new file mode 100644 index 0000000..c6e54d4 --- /dev/null +++ b/Ansible/test/tests/build/resources/test/enableRabbitMQ.json @@ -0,0 +1,11 @@ +{ + "sslInsecure": false, + "maxDiskDataUsage": 80, + "monitorSamplingInterval": 300, + "mailNoSsl": false, + "messageMaxTTL": 7, + "jobInterval": 86400, + "allowSendingAnalytics": true, + "httpsPort": 443, + "enableTlsConnectionToRabbitMQ": true +} \ No newline at end of file diff --git a/Ansible/test/tests/build/resources/test/integration.json b/Ansible/test/tests/build/resources/test/integration.json new file mode 100644 index 0000000..08ba303 --- /dev/null +++ b/Ansible/test/tests/build/resources/test/integration.json @@ -0,0 +1,9 @@ +{ + "vendor": "whitesource5", + "api_key": "12345", + "enabled": true, + "context": "project_id", + "url": "https://saas.whitesourcesoftware.com/xray", + "description": "WhiteSource provides a simple yet powerful open source security and licenses management solution. More details at http://www.whitesourcesoftware.com.", + "test_url": "https://saas.whitesourcesoftware.com/xray/api/checkauth" +} \ No newline at end of file diff --git a/Ansible/test/tests/build/resources/test/repositories/CreateDefault.yaml b/Ansible/test/tests/build/resources/test/repositories/CreateDefault.yaml new file mode 100644 index 0000000..ef1f5fd --- /dev/null +++ b/Ansible/test/tests/build/resources/test/repositories/CreateDefault.yaml @@ -0,0 +1,554 @@ +localRepositories: + libs-release-local: + type: maven + description: "production deployment" + repoLayout: maven-2-default + xray: + enabled: true + libs-snapshot-local: + type: maven + description: "snapshot deployment" + repoLayout: maven-2-default + xray: + enabled: true + maven-prod-local: + type: maven + description: "production release deployment" + repoLayout: maven-2-default + xray: + enabled: true + maven-dev-local: + type: maven + description: "development release deployment" + repoLayout: maven-2-default + xray: + enabled: true + maven-release-local: + type: maven + description: "development release deployment" + repoLayout: maven-2-default + xray: + enabled: true + maven-snapshot-local: + type: maven + description: "development release deployment" + repoLayout: maven-2-default + xray: + enabled: true + gradle-prod-local: + type: gradle + description: "production deployment" + repoLayout: gradle-default + xray: + enabled: true + gradle-dev-local: + type: gradle + description: "development deployment" + repoLayout: gradle-default + xray: + enabled: true + tomcat-local: + type: generic + description: "used by demo" + repoLayout: simple-default + xray: + enabled: true + generic-prod-local: + type: generic + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + generic-dev-local: + type: generic + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + ivy-prod-local: + type: ivy + description: "production deployment" + repoLayout: "ivy-default" + xray: + enabled: true + ivy-dev-local: + type: ivy + description: "development deployment" + repoLayout: ivy-default + xray: + enabled: true + helm-prod-local: + type: helm + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + helm-dev-local: + type: helm + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + sbt-prod-local: + type: sbt + description: "production deployment" + repoLayout: sbt-default + xray: + enabled: true + sbt-dev-local: + type: sbt + description: "development deployment" + repoLayout: sbt-default + xray: + enabled: true + nuget-prod-local: + type: nuget + description: "production deployment" + repoLayout: nuget-default + xray: + enabled: true + nuget-dev-local: + type: nuget + description: "development deployment" + repoLayout: nuget-default + xray: + enabled: true + gems-prod-local: + type: gems + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + gems-dev-local: + type: gems + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + npm-prod-local: + type: npm + description: "production deployment" + repoLayout: npm-default + xray: + enabled: true + npm-dev-local: + type: npm + description: "development deployment" + repoLayout: npm-default + xray: + enabled: true + bower-prod-local: + type: bower + description: "production deployment" + repoLayout: bower-default + xray: + enabled: true + bower-dev-local: + type: bower + description: "development deployment" + repoLayout: bower-default + xray: + enabled: true + debian-prod-local: + type: debian + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + debian-dev-local: + type: debian + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + php-prod-local: + type: composer + description: "production deployment" + repoLayout: composer-default + xray: + enabled: true + php-dev-local: + type: composer + description: "development deployment" + repoLayout: composer-default + xray: + enabled: true + pypi-prod-local: + type: pypi + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + pypi-dev-local: + type: pypi + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + docker-prod-local: + type: docker + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + docker-stage-local: + type: docker + description: "stage deployment" + repoLayout: simple-default + xray: + enabled: true + docker-dev-local: + type: docker + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + docker-local: + type: docker + description: "docker deployment" + repoLayout: simple-default + xray: + enabled: true + docker-push: + type: docker + description: "docker push repo for push replication testing" + repoLayout: simple-default + xray: + enabled: true + vagrant-prod-local: + type: vagrant + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + vagrant-dev-local: + type: vagrant + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + gitlfs-prod-local: + type: gitlfs + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + gitlfs-dev-local: + type: gitlfs + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + rpm-prod-local: + type: yum + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + rpm-dev-local: + type: yum + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + conan-prod-local: + type: conan + description: "production deployment" + repoLayout: conan-default + xray: + enabled: true + conan-dev-local: + type: conan + description: "development deployment" + repoLayout: conan-default + xray: + enabled: true + chef-prod-local: + type: chef + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + chef-dev-local: + type: chef + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + puppet-prod-local: + type: puppet + description: "production deployment" + repoLayout: puppet-default + xray: + enabled: true + puppet-dev-local: + type: puppet + description: "development deployment" + repoLayout: puppet-default + xray: + enabled: true + go-prod-local: + type: go + description: "production deployment" + repoLayout: go-default + xray: + enabled: true + go-staging-local: + type: go + description: "production deployment" + repoLayout: go-default + xray: + enabled: true +remoteRepositories: + docker-remote: + type: docker + url: https://registry-1.docker.io + repoLayout: simple-default + enableTokenAuthentication: true + xray: + enabled: true + helm-remote: + type: helm + url: https://storage.googleapis.com/kubernetes-charts + repoLayout: simple-default + xray: + enabled: true + jcenter: + type: maven + url: https://jcenter.bintray.com + repoLayout: maven-2-default + xray: + enabled: true + npm-remote: + type: npm + url: https://registry.npmjs.org + repoLayout: npm-default + xray: + enabled: true + nuget-remote: + type: nuget + url: https://www.nuget.org/ + repoLayout: nuget-default + xray: + enabled: true + bower-remote: + type: bower + url: https://github.com/ + repoLayout: bower-default + xray: + enabled: true + gems-remote: + type: gems + url: https://rubygems.org/ + repoLayout: simple-default + xray: + enabled: true + debian-remote: + type: debian + url: http://archive.ubuntu.com/ubuntu/ + repoLayout: simple-default + xray: + enabled: true + php-remote: + type: composer + url: https://github.com/ + repoLayout: composer-default + xray: + enabled: true + pypi-remote: + type: pypi + url: https://files.pythonhosted.org + repoLayout: simple-default + xray: + enabled: true + rpm-remote: + type: yum + url: http://mirror.centos.org/centos/ + repoLayout: simple-default + xray: + enabled: true + chef-remote: + type: chef + url: https://supermarket.chef.io + repoLayout: simple-default + xray: + enabled: true + puppet-remote: + type: puppet + url: https://forgeapi.puppetlabs.com/ + repoLayout: puppet-default + xray: + enabled: true +virtualRepositories: + maven-release-virtual: + type: maven + repositories: + - maven-prod-local + - jcenter + - maven-release-local + - libs-release-local + description: "maven release virtual repositories" + defaultDeploymentRepo: maven-release-local + maven-snapshot-virtual: + type: maven + repositories: + - maven-snapshot-local + - jcenter + - maven-dev-local + - libs-snapshot-local + description: "maven snapshot virtual repositories" + defaultDeploymentRepo: maven-snapshot-local + gradle-virtual: + type: gradle + repositories: + - gradle-dev-local + - jcenter + - gradle-prod-local + - libs-release-local + description: "gradle virtual repositories" + defaultDeploymentRepo: gradle-dev-local + docker-PLACEHOLDERFORBUILDSTEP: + type: docker + repositories: + - docker-local + - docker-remote + - docker-dev-local + - docker-prod-local + - docker-stage-local + - docker-push + description: "docker virtual" + defaultDeploymentRepo: docker-stage-local + docker-virtual: + type: docker + repositories: + - docker-local + - docker-remote + - docker-dev-local + - docker-prod-local + - docker-stage-local + - docker-push + description: "docker virtual" + defaultDeploymentRepo: docker-stage-local + libs-release: + type: maven + repositories: + - libs-release-local + - jcenter + description: "maven libraries virtual" + defaultDeploymentRepo: libs-release-local + libs-snapshot: + type: maven + repositories: + - libs-snapshot-local + - jcenter + description: "maven libraries virtual" + defaultDeploymentRepo: libs-snapshot-local + ivy-virtual: + type: ivy + repositories: + - ivy-prod-local + - ivy-dev-local + - jcenter + description: "ivy virtual" + defaultDeploymentRepo: ivy-dev-local + generic-virtual: + type: generic + repositories: + - generic-prod-local + - generic-dev-local + description: "generic virtual" + defaultDeploymentRepo: generic-dev-local + helm-virtual: + type: helm + repositories: + - helm-prod-local + - helm-dev-local + - helm-remote + description: "helm virtual" + defaultDeploymentRepo: helm-dev-local + nuget-virtual: + type: nuget + repositories: + - nuget-prod-local + - nuget-dev-local + - nuget-remote + description: "nuget virtual" + defaultDeploymentRepo: nuget-dev-local + npm-virtual: + type: npm + repositories: + - npm-dev-local + - npm-remote + - npm-prod-local + description: "npm virtual" + defaultDeploymentRepo: npm-dev-local + chef-virtual: + type: chef + repositories: + - chef-dev-local + - chef-remote + - chef-prod-local + description: "chef virtual" + defaultDeploymentRepo: chef-dev-local + puppet-virtual: + type: puppet + repositories: + - puppet-dev-local + - puppet-remote + - puppet-prod-local + description: "puppet virtual" + defaultDeploymentRepo: puppet-dev-local + rpm-virtual: + type: yum + repositories: + - rpm-dev-local + - rpm-remote + - rpm-prod-local + description: "rpm virtual" + defaultDeploymentRepo: rpm-dev-local + gitlfs-virtual: + type: gitlfs + repositories: + - gitlfs-dev-local + - gitlfs-prod-local + description: "gitlfs virtual" + defaultDeploymentRepo: gitlfs-dev-local + pypi-virtual: + type: pypi + repositories: + - pypi-dev-local + - pypi-prod-local + - pypi-remote + description: "pypi virtual" + defaultDeploymentRepo: pypi-dev-local + bower-virtual: + type: bower + repositories: + - bower-dev-local + - bower-prod-local + - bower-remote + description: "bower virtual" + defaultDeploymentRepo: bower-dev-local + gems-virtual: + type: gems + repositories: + - gems-dev-local + - gems-prod-local + - gems-remote + description: "gems virtual" + defaultDeploymentRepo: gems-dev-local + sbt-virtual: + type: sbt + repositories: + - sbt-dev-local + - sbt-prod-local + - jcenter + description: "sbt virtual" + defaultDeploymentRepo: sbt-dev-local + go-staging: + type: go + repositories: + - go-staging-local + - go-prod-local + description: "go virtual" + defaultDeploymentRepo: go-staging-local diff --git a/Ansible/test/tests/build/resources/test/repositories/CreateJCR.yaml b/Ansible/test/tests/build/resources/test/repositories/CreateJCR.yaml new file mode 100644 index 0000000..38a5feb --- /dev/null +++ b/Ansible/test/tests/build/resources/test/repositories/CreateJCR.yaml @@ -0,0 +1,119 @@ +localRepositories: + tomcat-local: + type: generic + description: "used by demo" + repoLayout: simple-default + xray: + enabled: true + generic-prod-local: + type: generic + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + generic-dev-local: + type: generic + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + helm-prod-local: + type: helm + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + helm-dev-local: + type: helm + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + docker-generator: + type: docker + description: "docker generator repo for generation testing" + repoLayout: simple-default + xray: + enabled: true + docker-prod-local: + type: docker + description: "production deployment" + repoLayout: simple-default + xray: + enabled: true + docker-stage-local: + type: docker + description: "stage deployment" + repoLayout: simple-default + xray: + enabled: true + docker-dev-local: + type: docker + description: "development deployment" + repoLayout: simple-default + xray: + enabled: true + docker-local: + type: docker + description: "docker deployment" + repoLayout: simple-default + xray: + enabled: true + docker-push: + type: docker + description: "docker push repo for push replication testing" + repoLayout: simple-default + xray: + enabled: true +virtualRepositories: + generic-virtual: + type: generic + repositories: + - generic-prod-local + - generic-dev-local + description: "generic virtual" + defaultDeploymentRepo: generic-dev-local + helm-virtual: + type: helm + repositories: + - helm-prod-local + - helm-dev-local + - helm-remote + description: "helm virtual" + defaultDeploymentRepo: helm-dev-local + docker-PLACEHOLDERFORBUILDSTEP: + type: docker + repositories: + - docker-local + - docker-remote + - docker-dev-local + - docker-prod-local + - docker-stage-local + - docker-push + description: "docker virtual" + defaultDeploymentRepo: docker-stage-local + docker-virtual: + type: docker + repositories: + - docker-local + - docker-remote + - docker-dev-local + - docker-prod-local + - docker-stage-local + - docker-push + description: "docker virtual" + defaultDeploymentRepo: docker-stage-local +remoteRepositories: + helm-remote: + type: helm + url: https://storage.googleapis.com/kubernetes-charts + repoLayout: simple-default + xray: + enabled: true + docker-remote: + type: docker + url: https://registry-1.docker.io + repoLayout: simple-default + enableTokenAuthentication: true + xray: + enabled: true \ No newline at end of file diff --git a/Ansible/test/tests/build/resources/test/repositories/artifact.zip b/Ansible/test/tests/build/resources/test/repositories/artifact.zip new file mode 100644 index 0000000..0e86cb5 Binary files /dev/null and b/Ansible/test/tests/build/resources/test/repositories/artifact.zip differ diff --git a/Ansible/test/tests/build/resources/test/testenv.yaml b/Ansible/test/tests/build/resources/test/testenv.yaml new file mode 100644 index 0000000..08e7b33 --- /dev/null +++ b/Ansible/test/tests/build/resources/test/testenv.yaml @@ -0,0 +1,6 @@ +artifactory: + url: http://Ansib-Appli-M90CVY19FRF6-334171479.us-east-1.elb.amazonaws.com + external_ip: Ansib-Appli-M90CVY19FRF6-334171479.us-east-1.elb.amazonaws.com + distribution: artifactory_ha + rt_username: admin + rt_password: password \ No newline at end of file diff --git a/Ansible/test/tests/build/test-results/unified_test/TEST-tests.HealthCheckTest.xml b/Ansible/test/tests/build/test-results/unified_test/TEST-tests.HealthCheckTest.xml new file mode 100644 index 0000000..00e9581 --- /dev/null +++ b/Ansible/test/tests/build/test-results/unified_test/TEST-tests.HealthCheckTest.xml @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/Ansible/test/tests/build/test-results/unified_test/TEST-tests.RepositoryTest.xml b/Ansible/test/tests/build/test-results/unified_test/TEST-tests.RepositoryTest.xml new file mode 100644 index 0000000..5d25dcf --- /dev/null +++ b/Ansible/test/tests/build/test-results/unified_test/TEST-tests.RepositoryTest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + diff --git a/Ansible/test/tests/build/test-results/unified_test/TEST-tests.SecurityTest.xml b/Ansible/test/tests/build/test-results/unified_test/TEST-tests.SecurityTest.xml new file mode 100644 index 0000000..4c0f655 --- /dev/null +++ b/Ansible/test/tests/build/test-results/unified_test/TEST-tests.SecurityTest.xml @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ansible/test/tests/build/test-results/unified_test/TEST-tests.XrayTest.xml b/Ansible/test/tests/build/test-results/unified_test/TEST-tests.XrayTest.xml new file mode 100644 index 0000000..688a145 --- /dev/null +++ b/Ansible/test/tests/build/test-results/unified_test/TEST-tests.XrayTest.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ansible/test/tests/build/test-results/unified_test/binary/output.bin b/Ansible/test/tests/build/test-results/unified_test/binary/output.bin new file mode 100644 index 0000000..462e50c --- /dev/null +++ b/Ansible/test/tests/build/test-results/unified_test/binary/output.bin @@ -0,0 +1,107 @@ +p- Health check. Service "jfac@01eb4sc7vmyn3y1958z2jp16t6" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy +Y- Health check. Service "jffe@000" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy +p- Health check. Service "jfmd@01eb4scm5ggcgsx207xjtr181p" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy +p- Health check. Service "jfrt@01eb4scnq0vk430wzk9v2f1syf" on node "79bb5ca64ee44569aaac94846a7258d2" is healthy +- Ping test. Service is OK +L- Delete sample HA repositories. All repositories were successfully deleted +*383 changes to config merged successfully +@- Create repositories for HA distribution. Successfully created +%Number of created repositories is 84 +=- Verify HA repos were created. 84 repositories were created +E- Delete HA repositories. All repositories were successfully deleted + 2- Verify repo were deleted. 0 repositories remain + +*383 changes to config merged successfully + +C- Re-create repositories for HA distribution. Successfully created + 4- Create users. User testuser0 created successfully + 4- Create users. User testuser1 created successfully + 4- Create users. User testuser2 created successfully + 4- Create users. User testuser3 created successfully + 4- Create users. User testuser4 created successfully + 4- Create users. User testuser5 created successfully + 4- Create users. User testuser6 created successfully + 4- Create users. User testuser7 created successfully + 4- Create users. User testuser8 created successfully + 4- Create users. User testuser9 created successfully + A- Verify created users. User testuser0 was successfully verified + A- Verify created users. User testuser1 was successfully verified + A- Verify created users. User testuser2 was successfully verified + A- Verify created users. User testuser3 was successfully verified + A- Verify created users. User testuser4 was successfully verified + A- Verify created users. User testuser5 was successfully verified + A- Verify created users. User testuser6 was successfully verified + A- Verify created users. User testuser7 was successfully verified + A- Verify created users. User testuser8 was successfully verified + A- Verify created users. User testuser9 was successfully verified + <- Generate API keys. Key for testuser0 created successfully + !<- Generate API keys. Key for testuser1 created successfully + "<- Generate API keys. Key for testuser2 created successfully + #<- Generate API keys. Key for testuser3 created successfully + $<- Generate API keys. Key for testuser4 created successfully + %<- Generate API keys. Key for testuser5 created successfully + &<- Generate API keys. Key for testuser6 created successfully + '<- Generate API keys. Key for testuser7 created successfully + (<- Generate API keys. Key for testuser8 created successfully + )<- Generate API keys. Key for testuser9 created successfully + *D- Re-generate API keys. Key for testuser0 re-generated successfully + +D- Re-generate API keys. Key for testuser1 re-generated successfully + ,D- Re-generate API keys. Key for testuser2 re-generated successfully + -D- Re-generate API keys. Key for testuser3 re-generated successfully + .D- Re-generate API keys. Key for testuser4 re-generated successfully + /D- Re-generate API keys. Key for testuser5 re-generated successfully + 0D- Re-generate API keys. Key for testuser6 re-generated successfully + 1D- Re-generate API keys. Key for testuser7 re-generated successfully + 2D- Re-generate API keys. Key for testuser8 re-generated successfully + 3D- Re-generate API keys. Key for testuser9 re-generated successfully + 4<- Create group. Group test-group-0 was successfully created + 5<- Create group. Group test-group-1 was successfully created + 6<- Create group. Group test-group-2 was successfully created + 7<- Create group. Group test-group-3 was successfully created + 8<- Create group. Group test-group-4 was successfully created + 9<- Create group. Group test-group-5 was successfully created + :<- Create group. Group test-group-6 was successfully created + ;<- Create group. Group test-group-7 was successfully created + <<- Create group. Group test-group-8 was successfully created + =<- Create group. Group test-group-9 was successfully created + >D- Create permissions. Permissions successfully created and verified + ?H- Delete permissions. User testPermission has been removed successfully + @<- Delete user. User testuser0 has been removed successfully + A<- Delete user. User testuser1 has been removed successfully + B<- Delete user. User testuser2 has been removed successfully + C<- Delete user. User testuser3 has been removed successfully + D<- Delete user. User testuser4 has been removed successfully + E<- Delete user. User testuser5 has been removed successfully + F<- Delete user. User testuser6 has been removed successfully + G<- Delete user. User testuser7 has been removed successfully + H<- Delete user. User testuser8 has been removed successfully + I<- Delete user. User testuser9 has been removed successfully + JA- Delete group. Group test-group-0 has been removed successfully + KA- Delete group. Group test-group-1 has been removed successfully + LA- Delete group. Group test-group-2 has been removed successfully + MA- Delete group. Group test-group-3 has been removed successfully + NA- Delete group. Group test-group-4 has been removed successfully + OA- Delete group. Group test-group-5 has been removed successfully + PA- Delete group. Group test-group-6 has been removed successfully + QA- Delete group. Group test-group-7 has been removed successfully + RA- Delete group. Group test-group-8 has been removed successfully + SA- Delete group. Group test-group-9 has been removed successfully +UTY- Create issue event. Issue event with ID XRAY-4206031 created and verified successfully +UVY- Update issue event. Issue event with ID XRAY-4206031 updated and verified successfully +UW\- Create policy. Policy with name security_policy_4206031 created and verified successfully +UX\- Update policy. Policy with name security_policy_4206031 updated and verified successfully +UYe- Get policies. Policies list is returned successfully. Policies returned: [security_policy_4206031] +UZd- Create watch. Watch with name all-repositories_4206031 has been created and verified successfully +U[d- Update watch. Watch with name all-repositories_4206031 has been updated and verified successfully +U\@- Assign policy to watch. Policy assigned successfully to Watch +U]M- Delete watch. Watch all-repositories_4206031 has been successfully deleted +U^N- Delete policy. Policy security_policy_4206031 has been successfully deleted +U_n- Integration configuration. Configuration for vendor vendor_4206031 has been successfully added and verified +U`W- Enable TLS for RabbitMQ. TLS for RabbitMQ has been successfully enabled and verified +UaN- Get binary manager. Binary manager is verified, connected RT version: 7.4.1 +Ub#- Get repo indexing configuration. +Uc;- Update repo indexing configuration. Successfully updated +UdO- Create support bundle. Created with a bug, localhost instead of the hostname +Ue;- Get system monitoring status. Data returned successfully +Uf;- Get system monitoring status. Data returned successfully +Ug7- Get X-ray version. Version: 3.3.0, revision: 3980dcb diff --git a/Ansible/test/tests/build/test-results/unified_test/binary/output.bin.idx b/Ansible/test/tests/build/test-results/unified_test/binary/output.bin.idx new file mode 100644 index 0000000..b5acf17 Binary files /dev/null and b/Ansible/test/tests/build/test-results/unified_test/binary/output.bin.idx differ diff --git a/Ansible/test/tests/build/test-results/unified_test/binary/results.bin b/Ansible/test/tests/build/test-results/unified_test/binary/results.bin new file mode 100644 index 0000000..61f24b1 Binary files /dev/null and b/Ansible/test/tests/build/test-results/unified_test/binary/results.bin differ diff --git a/Ansible/test/tests/build/tmp/unified_test/jar_extract_13944288851973658335_tmp b/Ansible/test/tests/build/tmp/unified_test/jar_extract_13944288851973658335_tmp new file mode 100644 index 0000000..c52f94e Binary files /dev/null and b/Ansible/test/tests/build/tmp/unified_test/jar_extract_13944288851973658335_tmp differ diff --git a/Ansible/test/tests/build/tmp/unified_test/jar_extract_15312985063730868442_tmp b/Ansible/test/tests/build/tmp/unified_test/jar_extract_15312985063730868442_tmp new file mode 100644 index 0000000..5155924 Binary files /dev/null and b/Ansible/test/tests/build/tmp/unified_test/jar_extract_15312985063730868442_tmp differ diff --git a/Ansible/test/tests/build/tmp/unified_test/jar_extract_4590906891718676027_tmp b/Ansible/test/tests/build/tmp/unified_test/jar_extract_4590906891718676027_tmp new file mode 100644 index 0000000..e69de29 diff --git a/Ansible/test/tests/gradle/wrapper/gradle-wrapper.properties b/Ansible/test/tests/gradle/wrapper/gradle-wrapper.properties index 09c586a..f9f4003 100644 --- a/Ansible/test/tests/gradle/wrapper/gradle-wrapper.properties +++ b/Ansible/test/tests/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ #Wed Feb 12 10:23:21 PST 2020 -distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStorePath=wrapper/dists diff --git a/ansible.cfg b/ansible.cfg index f0524a4..3d08974 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -3,7 +3,7 @@ collections_paths = ~/.ansible/collections:/usr/share/ansible/collections:collection # Installs roles into [current dir]/roles/namespace.rolename -roles_path = Ansible/collection/jfrog/ansible/roles +roles_path = Ansible/ansible_collections/jfrog/installers/roles host_key_checking = false