Repository: NovatecConsulting/novatec-service-dependency-graph-panel Branch: master Commit: bf97e1d64386 Files: 74 Total size: 190.4 KB Directory structure: gitextract_lgiult8p/ ├── .circleci/ │ └── config.yml ├── .codeclimate.yml ├── .config/ │ ├── .eslintrc │ ├── .prettierrc.js │ ├── Dockerfile │ ├── README.md │ ├── jest/ │ │ ├── mocks/ │ │ │ └── react-inlinesvg.tsx │ │ └── utils.js │ ├── jest-setup.js │ ├── jest.config.js │ ├── tsconfig.json │ ├── types/ │ │ └── custom.d.ts │ └── webpack/ │ ├── constants.ts │ ├── utils.ts │ └── webpack.config.ts ├── .editorconfig ├── .eslintrc ├── .github/ │ ├── ISSUE_TEMPLATE/ │ │ ├── bug_report.md │ │ ├── feature_request.md │ │ └── question.md │ └── workflows/ │ └── build.yml ├── .gitignore ├── .nvmrc ├── .prettierrc.js ├── .release-it.json ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── appveyor.yml ├── docker-compose.yaml ├── docs/ │ └── README.md ├── jest-setup.js ├── jest.config.js ├── package.json ├── provisioning/ │ ├── dashboards/ │ │ └── dashboards.yml │ └── home/ │ └── home.json ├── scripts/ │ └── create-signed-plugin.sh ├── src/ │ ├── assets/ │ │ └── icons/ │ │ └── icon_index.json │ ├── css/ │ │ └── novatec-service-dependency-graph-panel.css │ ├── dummy_data_frame.ts │ ├── migration/ │ │ └── PanelMigration.tsx │ ├── module.test.ts │ ├── module.ts │ ├── options/ │ │ ├── DefaultSettings.tsx │ │ ├── TypeAheadTextfield/ │ │ │ ├── TypeaheadTextfield.css │ │ │ └── TypeaheadTextfield.tsx │ │ ├── dummyDataSwitch/ │ │ │ └── DummyDataSwitch.tsx │ │ ├── iconMapping/ │ │ │ ├── IconMapping.css │ │ │ └── IconMapping.tsx │ │ └── options.tsx │ ├── panel/ │ │ ├── PanelController.tsx │ │ ├── asset_utils.tsx │ │ ├── canvas/ │ │ │ ├── collision_detector.ts │ │ │ ├── graph_canvas.ts │ │ │ └── particle_engine.ts │ │ ├── layout_options.ts │ │ ├── serviceDependencyGraph/ │ │ │ ├── ServiceDependencyGraph.css │ │ │ └── ServiceDependencyGraph.tsx │ │ └── statistics/ │ │ ├── IncomingStatistics.tsx │ │ ├── NodeStatistics.tsx │ │ ├── SortableTable.tsx │ │ ├── Statistics.css │ │ ├── Statistics.tsx │ │ └── utils/ │ │ └── Utils.ts │ ├── plugin.json │ ├── processing/ │ │ ├── graph_generator.ts │ │ ├── node_substitutor.ts │ │ ├── node_tree.ts │ │ ├── pre_processor.ts │ │ └── utils/ │ │ └── Utils.ts │ ├── types.tsx │ └── typings/ │ └── index.d.ts └── tsconfig.json ================================================ FILE CONTENTS ================================================ ================================================ FILE: .circleci/config.yml ================================================ version: 2.1 parameters: ssh-fingerprint: type: string default: ${GITHUB_SSH_FINGERPRINT} aliases: # Workflow filters - &filter-only-master branches: only: master - &filter-only-release branches: only: /^v[1-9]*[0-9]+\.[1-9]*[0-9]+\.x$/ workflows: plugin_workflow: jobs: - build executors: default_exec: # declares a reusable executor docker: - image: srclosson/grafana-plugin-ci-alpine:latest e2e_exec: docker: - image: srclosson/grafana-plugin-ci-e2e:latest jobs: build: executor: default_exec steps: - checkout - restore_cache: name: restore node_modules keys: - build-cache-{.Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }} - run: name: Install dependencies command: | mkdir ci [ -f ~/project/node_modules/.bin/grafana-toolkit ] || yarn install --frozen-lockfile - save_cache: name: save node_modules paths: - ~/project/node_modules key: build-cache-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }} - run: name: Build and test frontend command: ./node_modules/.bin/grafana-toolkit plugin:ci-build - run: name: Move results to ci folder command: ./node_modules/.bin/grafana-toolkit plugin:ci-build --finish - run: name: Package distribution command: | ./node_modules/.bin/grafana-toolkit plugin:ci-package - persist_to_workspace: root: . paths: - ci/jobs/package - ci/packages - ci/dist - ci/grafana-test-env - store_artifacts: path: ci ================================================ FILE: .codeclimate.yml ================================================ exclude_patterns: - "dist" - "**/node_modules/" - "**/*.d.ts" - "src/libs/" - "src/images/" - "src/img/" - "src/screenshots/" ================================================ FILE: .config/.eslintrc ================================================ /* * ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️ * * In order to extend the configuration follow the steps in * https://grafana.com/developers/plugin-tools/create-a-plugin/extend-a-plugin/extend-configurations#extend-the-eslint-config */ { "extends": ["@grafana/eslint-config"], "root": true, "rules": { "react/prop-types": "off" } } ================================================ FILE: .config/.prettierrc.js ================================================ /* * ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️ * * In order to extend the configuration follow the steps in .config/README.md */ module.exports = { "endOfLine": "auto", "printWidth": 120, "trailingComma": "es5", "semi": true, "jsxSingleQuote": false, "singleQuote": true, "useTabs": false, "tabWidth": 2 }; ================================================ FILE: .config/Dockerfile ================================================ ARG grafana_version=latest ARG grafana_image=grafana-enterprise FROM grafana/${grafana_image}:${grafana_version} # Make it as simple as possible to access the grafana instance for development purposes # Do NOT enable these settings in a public facing / production grafana instance ENV GF_AUTH_ANONYMOUS_ORG_ROLE "Admin" ENV GF_AUTH_ANONYMOUS_ENABLED "true" ENV GF_AUTH_BASIC_ENABLED "false" # Set development mode so plugins can be loaded without the need to sign ENV GF_DEFAULT_APP_MODE "development" # Inject livereload script into grafana index.html USER root RUN sed -i 's/<\/body><\/html>/