Skip to content

Latest commit

 

History

History
80 lines (63 loc) · 1.64 KB

README.md

File metadata and controls

80 lines (63 loc) · 1.64 KB

Intelcomp Catalogue

Build

Requirements

  • Java 11
  • Maven

Build instructions

From the project root directory execute:

mvn clean package

The output is a "jar" file located under target/*.jar

Deploy

Dependencies

  • Elasticsearch 7.x.x
  • PostgreSQL 12 (a database with "tablefunc" extension enabled)
  • ActiveMQ 5.x.x

Deployment Instructions

  1. Ensure that PostgreSQL, ActiveMQ and Elasticsearch are up and running.

  2. Create a file named application.yml Application Properties Example.

  3. Run using Java

java -jar target/*.jar --spring.config.location=path/to/application.yml

Application Properties Example

server:
  port: 8080
  servlet:
    contextPath: /api

spring:
  security:
    oauth2:
      client:
        registration:
          bsc:
            client-id: xxx
            client-secret: xxx
            scope:
              - openid
              - email
              - profile

        provider:
          bsc:
            issuer-uri: xxx

  redis:
    host: xxx
    port: xxx
    password: xxx

intelcomp:
  frontBaseUrl: http://localhost:4200
  loginRedirect: ${intelcomp.frontBaseUrl}
  logoutRedirect: ${intelcomp.frontBaseUrl}
  admins:
    - [email protected]

job-service:
  authorization:
    url: xxx
    grant-type: xxx
    client-id: xxx
    client-secret: xxx

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 101004870. H2020-SC6-GOVERNANCE-2018-2019-2020 / H2020-SC6-GOVERNANCE-2020