Giter VIP home page Giter VIP logo

ita-powerbi-gateway's Introduction

Power BI Public (Gateway)

Build Status

An app that will publicly display Embedded Power BI reports on GovCloud using a service principle. The following links can help configure Azure and Power BI:

Local Development

Steps to run this application on your local machine for development purposes.

Developer Prerequisites

Running Locally

  • Backend: env SPRING_PROFILES_ACTIVE=development ./gradlew bootRun; http://localhost:8080
    • or for staging environment: env SPRING_PROFILES_ACTIVE=staging ./gradlew bootRun
  • Frontend: cd client && npm run serve; http://localhost:8081

Build Scripts

  • Application: ./build.sh
  • Container: ./build-push-docker-image.sh

Required Environment Variables

  • POWERBI_TENANT_ID: Azure Tenant ID
  • POWERBI_CLIENT_ID: Application ID from the AD App Registration
  • POWERBI_CLIENT_SECRET: Client secret from the AD App Registration
  • FLYWAY_URL: The jdbc connection to the AZURE SQL Database. This string must be in quotes if using MacOS.
  • FLYWAY_USER: Username to the AZURE SQL Database
  • FLYWAY_PASSWORD: Password to the AZURE SQL Database

If running in staging environment, add these additional variables:

  • AZURE_OAUTH_TENANT_ID
  • AZURE_OAUTH_CLIENT_SECRET
  • BUILD_ID=100 (or some placeholder number)
  • GATEWAY_API_TOKEN=faketoken (or some placeholder string)

For details related to the deployment of containerized applications in Azure, reference this repo with deployment scenarios

Database Notes

  • SQL Scripts for updating the Database can be found here: /src/main/resources/db/migration
  • To print details and status information about all the migrations: gradle flywayInfo (Flyway docs)

ita-powerbi-gateway's People

Contributors

asadhzaidi avatar azaidi12 avatar ddhogan avatar dependabot[bot] avatar edsp-david avatar jamesisaacs avatar pkalavala avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

minhthanhnguyen

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.