Giter VIP home page Giter VIP logo

roche / the-ambassador Goto Github PK

View Code? Open in Web Editor NEW
18.0 4.0 0.0 4.56 MB

The Ambassador helps users of coding platforms to create findable, well maintained, properly documented and secure projects. It's purpose is to promote creating Open Source and InnerSource software, that others can rely on. It measures project scores (criticality, activity, scorecard), proactively advises projects.

License: Apache License 2.0

Kotlin 99.19% Shell 0.01% Smarty 0.69% Dockerfile 0.11%
open-source inner-source innersource innersource-advisor software-quality scores scorecard

the-ambassador's People

Contributors

dependabot[bot] avatar filipowm avatar renovate-bot avatar rnosal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

the-ambassador's Issues

Add build & push step for Docker image with application

Goal is to build Docker image and then push it to Dockerhub. Use bootBuildImage gradle step to build Docker image. Name should be just ambassador.

On master branch, build snapshot image, with tags:
- version (from Gradle)
- commit ID
- dev

Image should be built only when all tests are passing.

Image should be pushed to GitHub Container registry: https://ghcr.io

Separate API of explorer from indexer

In order to run solution efficiently in terms of cost, resources usage and performance, it is preferred to split API for reading projects/groups indexed in DB (an explorer), from the indexer itself. This would allow:

  • separate scaling of API and indexer (which requires more resources, but runs less often)
  • lowering costs of the infrastructure, by running indexer on-demand only when it is needed
  • running API uninterrupted while indexer is running

Challenges:

  • how to start indexer by API? Should it be moved or API should trigger indexer?
  • if indexer servers its own API, then how to run a gateway to serve API from single service?

Headhunter for Ambassador

Do you remember headhunter.roche.com? It was a good tool for finding people who have experience with some specific technology, by scanning Bitbucket and Jira for commits and contributions to projects. Maybe it would be a low-hanging fruit to do the same for Ambassador?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • fix(deps): update dependency org.flywaydb:flyway-core to v8.5.13
  • fix(deps): update flexmarkversion to v0.64.8 (com.vladsch.flexmark:flexmark-util-visitor, com.vladsch.flexmark:flexmark-util-options, com.vladsch.flexmark:flexmark-util-misc, com.vladsch.flexmark:flexmark-util-format, com.vladsch.flexmark:flexmark-util-data, com.vladsch.flexmark:flexmark-util-collection, com.vladsch.flexmark:flexmark-util-ast, com.vladsch.flexmark:flexmark-ext-youtube-embedded, com.vladsch.flexmark:flexmark-ext-yaml-front-matter, com.vladsch.flexmark:flexmark-ext-wikilink, com.vladsch.flexmark:flexmark-ext-typographic, com.vladsch.flexmark:flexmark-ext-toc, com.vladsch.flexmark:flexmark-ext-tables, com.vladsch.flexmark:flexmark-ext-superscript, com.vladsch.flexmark:flexmark-ext-ins, com.vladsch.flexmark:flexmark-ext-media-tags, com.vladsch.flexmark:flexmark-ext-gfm-tasklist, com.vladsch.flexmark:flexmark-ext-gfm-strikethrough, com.vladsch.flexmark:flexmark-ext-footnotes, com.vladsch.flexmark:flexmark-ext-escaped-character, com.vladsch.flexmark:flexmark-ext-enumerated-reference, com.vladsch.flexmark:flexmark-ext-emoji, com.vladsch.flexmark:flexmark-ext-definition, com.vladsch.flexmark:flexmark-ext-autolink, com.vladsch.flexmark:flexmark-ext-attributes, com.vladsch.flexmark:flexmark-ext-aside, com.vladsch.flexmark:flexmark-ext-anchorlink, com.vladsch.flexmark:flexmark-ext-admonition, com.vladsch.flexmark:flexmark-ext-abbreviation, com.vladsch.flexmark:flexmark)
  • chore(deps): update aevea/commitsar action to v0.20.2
  • chore(deps): update dependency gradle to v7.6.4
  • chore(deps): update helm/chart-testing-action action to v2.6.1
  • chore(deps): update helm/kind-action action to v1.10.0
  • chore(deps): update plugin org.jetbrains.kotlin.plugin.jpa to v1.9.24
  • fix(deps): update dependency com.github.jknack:handlebars-helpers to v4.4.0
  • fix(deps): update dependency com.vladmihalcea:hibernate-types-52 to v2.21.1
  • fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.6
  • fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.23.6
  • fix(deps): update dependency net.ttddyy:datasource-proxy to v1.10
  • fix(deps): update dependency org.assertj:assertj-core to v3.25.3
  • fix(deps): update dependency org.junit.jupiter:junit-jupiter to v5.10.2
  • fix(deps): update dependency org.postgresql:postgresql to v42.7.3
  • fix(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v2.7.18
  • fix(deps): update dependency org.testcontainers:postgresql to v1.19.8
  • fix(deps): update jacksonversion to v2.17.1 (com.fasterxml.jackson.module:jackson-module-kotlin, com.fasterxml.jackson.datatype:jackson-datatype-jdk8, com.fasterxml.jackson.datatype:jackson-datatype-jsr310, com.fasterxml.jackson.core:jackson-annotations)
  • fix(deps): update shedlock monorepo to v4.47.0 (net.javacrumbs.shedlock:shedlock-provider-jdbc-template, net.javacrumbs.shedlock:shedlock-spring)
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update actions/setup-java action to v4
  • chore(deps): update actions/setup-python action to v5
  • chore(deps): update actions/stale action to v9
  • chore(deps): update azure/setup-helm action to v4
  • chore(deps): update dependency gradle to v8
  • chore(deps): update docker/login-action action to v3
  • chore(deps): update docker/metadata-action action to v5
  • chore(deps): update github/codeql-action action to v3
  • chore(deps): update helm release postgresql to v15
  • chore(deps): update mcr.microsoft.com/devcontainers/java docker tag to v1
  • chore(deps): update postgres docker tag to v16
  • fix(deps): update dependency com.tngtech.archunit:archunit-junit5 to v1
  • fix(deps): update dependency io.github.filipowm:spring-api-starter to v2
  • fix(deps): update dependency org.flywaydb:flyway-core to v10
  • fix(deps): update dependency org.slf4j:slf4j-api to v2
  • fix(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3
  • fix(deps): update ktorversion to v2 (major) (io.ktor:ktor-client-auth, io.ktor:ktor-client-logging, io.ktor:ktor-client-jackson, io.ktor:ktor-client-cio, io.ktor:ktor-client-core)
  • fix(deps): update resilience4j to v2 (major) (io.github.resilience4j:resilience4j-kotlin, io.github.resilience4j:resilience4j-retry, io.github.resilience4j:resilience4j-circuitbreaker)
  • fix(deps): update shedlock monorepo to v5 (major) (net.javacrumbs.shedlock:shedlock-provider-jdbc-template, net.javacrumbs.shedlock:shedlock-spring)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
.devcontainer/docker-compose.yml
infrastructure/compose/docker-compose.yml
  • postgres 14
dockerfile
.devcontainer/Dockerfile
  • mcr.microsoft.com/devcontainers/java 0-11
github-actions
.github/workflows/add_contributors_to_readme.yml
  • actions/checkout v3
  • akhilmhdh/contributors-readme-action v2.3
.github/workflows/ci.yml
  • actions/checkout v3
  • actions/setup-java v3
  • actions/checkout v3
  • actions/setup-java v3
  • github/codeql-action v1
  • docker/metadata-action v3
  • docker/login-action v1
.github/workflows/clean_project.yml
  • hugo19941994/delete-draft-releases v1.0.0
  • actions/stale v4
.github/workflows/commit_linter.yml
  • actions/checkout v3
  • aevea/commitsar v0.18.0
.github/workflows/greetings.yml
  • actions/first-interaction v1
.github/workflows/helm_chart_cicd.yml
  • actions/checkout v3
  • azure/setup-helm v1
  • actions/setup-python v3
  • helm/chart-testing-action v2.2.1
  • helm/kind-action v1.2.0
  • helm/chart-releaser-action v1.3.0
.github/workflows/lgtm.yml
.github/workflows/sast.yml
  • actions/checkout v3
  • actions/setup-java v3
  • github/codeql-action v1
gradle
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/jooq/JooqExtension.kt
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/jooq/JooqGenerate.kt
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/jooq/JooqPlugin.kt
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/utils/ClassLoaderHelper.kt
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/utils/DatabaseInit.kt
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/utils/PropertiesReader.kt
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/utils/TestResultLogger.kt
gradle.properties
  • org.jetbrains.kotlinx:kotlinx-coroutines-reactor 1.5.2
  • io.github.filipowm:spring-api-starter 1.2.0
  • org.springdoc:springdoc-openapi-webflux-ui 1.6.7
  • org.springdoc:springdoc-openapi-kotlin 1.6.7
  • org.springdoc:springdoc-openapi-security 1.6.7
  • net.javacrumbs.shedlock:shedlock-spring 4.34.0
  • net.javacrumbs.shedlock:shedlock-provider-jdbc-template 4.34.0
  • org.slf4j:slf4j-api 1.7.36
  • org.jetbrains.kotlinx:kotlinx-coroutines-core 1.5.2
  • com.vladsch.flexmark:flexmark 0.64.0
  • com.vladsch.flexmark:flexmark-ext-abbreviation 0.64.0
  • com.vladsch.flexmark:flexmark-ext-admonition 0.64.0
  • com.vladsch.flexmark:flexmark-ext-anchorlink 0.64.0
  • com.vladsch.flexmark:flexmark-ext-aside 0.64.0
  • com.vladsch.flexmark:flexmark-ext-attributes 0.64.0
  • com.vladsch.flexmark:flexmark-ext-autolink 0.64.0
  • com.vladsch.flexmark:flexmark-ext-definition 0.64.0
  • com.vladsch.flexmark:flexmark-ext-emoji 0.64.0
  • com.vladsch.flexmark:flexmark-ext-enumerated-reference 0.64.0
  • com.vladsch.flexmark:flexmark-ext-escaped-character 0.64.0
  • com.vladsch.flexmark:flexmark-ext-footnotes 0.64.0
  • com.vladsch.flexmark:flexmark-ext-gfm-strikethrough 0.64.0
  • com.vladsch.flexmark:flexmark-ext-gfm-tasklist 0.64.0
  • com.vladsch.flexmark:flexmark-ext-media-tags 0.64.0
  • com.vladsch.flexmark:flexmark-ext-ins 0.64.0
  • com.vladsch.flexmark:flexmark-ext-superscript 0.64.0
  • com.vladsch.flexmark:flexmark-ext-tables 0.64.0
  • com.vladsch.flexmark:flexmark-ext-toc 0.64.0
  • com.vladsch.flexmark:flexmark-ext-typographic 0.64.0
  • com.vladsch.flexmark:flexmark-ext-wikilink 0.64.0
  • com.vladsch.flexmark:flexmark-ext-yaml-front-matter 0.64.0
  • com.vladsch.flexmark:flexmark-ext-youtube-embedded 0.64.0
  • com.vladsch.flexmark:flexmark-util-ast 0.64.0
  • com.vladsch.flexmark:flexmark-util-collection 0.64.0
  • com.vladsch.flexmark:flexmark-util-data 0.64.0
  • com.vladsch.flexmark:flexmark-util-format 0.64.0
  • com.vladsch.flexmark:flexmark-util-misc 0.64.0
  • com.vladsch.flexmark:flexmark-util-options 0.64.0
  • com.vladsch.flexmark:flexmark-util-visitor 0.64.0
  • com.fasterxml.jackson.core:jackson-annotations 2.13.2
  • io.ktor:ktor-client-core 1.6.5
  • io.ktor:ktor-client-cio 1.6.5
  • io.ktor:ktor-client-jackson 1.6.5
  • io.ktor:ktor-client-logging 1.6.5
  • io.ktor:ktor-client-auth 1.6.5
  • io.github.resilience4j:resilience4j-circuitbreaker 1.7.1
  • io.github.resilience4j:resilience4j-retry 1.7.1
  • io.github.resilience4j:resilience4j-kotlin 1.7.1
  • com.fasterxml.jackson.datatype:jackson-datatype-jsr310 2.13.2
  • com.fasterxml.jackson.datatype:jackson-datatype-jdk8 2.13.2
  • com.fasterxml.jackson.module:jackson-module-kotlin 2.13.2
  • org.jooq:jooq 3.15.5
  • org.jooq:jooq-meta-extensions-hibernate 3.15.5
  • org.postgresql:postgresql 42.3.4
  • org.testcontainers:postgresql 1.17.1
  • io.gitlab.arturbosch.detekt:detekt-formatting 1.20.0
  • org.junit.jupiter:junit-jupiter 5.8.2
settings.gradle.kts
build.gradle.kts
ambassador-advisor/build.gradle.kts
  • com.github.jknack:handlebars 4.3.0
  • com.github.jknack:handlebars-helpers 4.3.0
ambassador-application/build.gradle.kts
ambassador-commons/build.gradle.kts
ambassador-document-analyzer/build.gradle.kts
ambassador-fake-source/build.gradle.kts
  • com.github.javafaker:javafaker 1.0.2
ambassador-gitlab/build.gradle.kts
ambassador-gitlab-client/build.gradle.kts
ambassador-model/build.gradle.kts
  • org.apache.commons:commons-math3 3.6.1
  • org.reflections:reflections 0.10.2
ambassador-storage/build.gradle.kts
  • org.jetbrains.kotlin.plugin.jpa 1.6.0
  • org.flywaydb:flyway-core 8.5.9
  • com.vladmihalcea:hibernate-types-52 2.16.2
  • net.ttddyy:datasource-proxy 1.7
buildSrc/build.gradle.kts
  • org.springframework.boot:spring-boot-gradle-plugin 2.6.7
  • org.jooq:jooq-codegen 3.15.5
  • org.flywaydb:flyway-core 8.5.9
  • org.jetbrains.dokka:dokka-gradle-plugin 1.6.20
  • io.gitlab.arturbosch.detekt:detekt-gradle-plugin 1.20.0
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/java-conventions.gradle.kts
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/jooq-conventions.gradle.kts
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/kotlin-conventions.gradle.kts
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/sonar-conventions.gradle.kts
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/spring-conventions.gradle.kts
buildSrc/src/main/kotlin/com/roche/ambassador/gradle/testing-conventions.gradle.kts
  • io.mockk:mockk 1.12.4
  • org.assertj:assertj-core 3.22.0
  • com.devskiller:jfairy 0.6.5
  • com.tngtech.archunit:archunit-junit5 0.23.1
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 7.4.2
helm-values
infrastructure/charts/charts/indexer/values.yaml
infrastructure/charts/values.yaml
helmv3
infrastructure/charts/Chart.yaml
  • postgresql 10.16.2

  • Check this box to trigger a request for Renovate to run again on this repository

Suggest topics that should be applied to repository - list of topics

It should be possible to provide a list of topics, that are preferred, together with it's synonyms / abbreviations.

Example configuration:

ambassador:
  topics:
    preferred:
      - value: topicX
        synonyms:
          - tx
          - topic-x
          - fantasticTopic

Application must verify for any duplicates in whole set of topics -- values and synonyms, and fail as needed.

Create badges for scored projects

After project is scored, static badge with score should be added. Use https://shields.io/ to generate it.

Default badge labels:

  • activity for activity score
  • criticality for criticality score
  • security for security score
  • ambassador-score for total score

Default style: flat

Color coding based on percentage of max possible score:

  • >= 80% -> green
  • >= 40% -> orange
  • else -> red

Badge link should redirect to API endpoint (for now) containing detailed project information /projects/{id}.

It should be configurable:

  • if badges are enabled
  • if total score badge should be used
  • if score-specific badge should be used (separate badges for each score)
  • badges labels
  • badges colors (color ranges based on score value)
  • badges style

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

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

  • D3 photo D3

    Data-Driven Documents codes.