logging: pattern: level: '%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]' server: port: 8080 jetty: threads: max-queue-capacity: 100 spring: application: name: openvsx-server autoconfigure: # don't send traces to Zipkin in development exclude: org.springframework.boot.actuate.autoconfigure.tracing.zipkin.ZipkinAutoConfiguration profiles: include: ovsx cache: jcache: config: classpath:ehcache.xml datasource: url: jdbc:postgresql://localhost:5432/openvsx username: openvsx password: openvsx flyway: baseline-on-migrate: true baseline-version: 0.1.0 baseline-description: JobRunr tables jpa: open-in-view: false properties: hibernate: dialect: org.hibernate.dialect.PostgreSQLDialect hibernate: ddl-auto: none session: store-type: jdbc jdbc: initialize-schema: never security: oauth2: client: registration: github: client-id: none client-secret: none management: health: probes: enabled: true endpoints: web: exposure: include: - health - metrics - prometheus metrics: distribution: percentiles-histogram: http: server: requests: true client: requests: true springdoc: model-and-view-allowed: true swagger-ui: path: /swagger-ui docExpansion: list operationsSorter: alpha supportedSubmitMethods: - get org: jobrunr: job-scheduler: enabled: true background-job-server: enabled: true worker-count: 2 dashboard: enabled: false database: type: sql miscellaneous: allow-anonymous-data-usage: false bucket4j: enabled: true filters: - cache-name: buckets url: '/api/-/(namespace/create|publish)' http-response-headers: Access-Control-Allow-Origin: '*' Access-Control-Expose-Headers: X-Rate-Limit-Retry-After-Seconds, X-Rate-Limit-Remaining rate-limits: - cache-key: getParameter("token") bandwidths: - capacity: 15 time: 1 unit: seconds - cache-name: buckets url: '/vscode/asset/.*/.*/.*/Microsoft.VisualStudio.Services.Icons.Default' http-response-headers: Access-Control-Allow-Origin: '*' Access-Control-Expose-Headers: X-Rate-Limit-Retry-After-Seconds, X-Rate-Limit-Remaining rate-limits: - cache-key: getRemoteAddr() bandwidths: - capacity: 75 time: 1 unit: seconds - cache-name: buckets url: '/vscode/(?!asset/.*/.*/.*/Microsoft.VisualStudio.Services.Icons.Default).*|/api/(?!(.*/.*/review(/delete)?)|(-/(namespace/create|publish))).*' http-response-headers: Access-Control-Allow-Origin: '*' Access-Control-Expose-Headers: X-Rate-Limit-Retry-After-Seconds, X-Rate-Limit-Remaining rate-limits: - cache-key: getRemoteAddr() bandwidths: - capacity: 15 time: 1 unit: seconds ovsx: databasesearch: enabled: false elasticsearch: clear-on-start: true host: 'localhost:9200' extension-control: update-on-start: true integrity: key-pair: create # create, renew, delete, 'undefined' registry: version: storage: local: directory: /tmp