Giter Club home page Giter Club logo

aoss-springboot-sample-starter-project's Introduction

AOSS-SpringBoot-Sample-Starter-Project

Introduction

This is a simple “Hello-World” SpringBoot application written in Java, which downloads the required and available packages from Assured OSS and the rest non-available packages from Maven Central Repository (open-source). The aim of this document is to define how to start working on sample starter projects using Assured OSS packages, which can help a user to quickly start using Assured OSS with minimal friction. Users can refer to Assured Open Source Software for further reading and information about Assured OSS.

Installation :

Run the following command to clone the project in your local setup:

git clone https://github.com/google/aoss-springboot-sample-starter-project.git

Prerequisite :

  1. Install the latest version of the Google Cloud CLI.
  2. If you have installed the Google Cloud CLI previously, make sure you have the latest version by running the command:
gcloud components update
  1. To enable access to Assured OSS, submit the customer enablement form.
  2. Validate connectivity to Assured OSS for the requested service accounts.
  3. Enable the Artifact Registry API for the parent Google Cloud project of the service accounts used to access Assured OSS.

Setting up the Authentication using Credential Helper :

Prerequisites for setting up Application Default Credentials, set up authentication first :

  1. Generate and download the service account key.
  2. Revoke any existing auth by using the following command.
gcloud auth revoke
  1. Authenticate using the command:
gcloud auth login --cred-file=FILEPATH.json

Where FILEPATH is the path to the service account key or the credential config file.

  1. Update Application Default Credentials using the following command:
export GOOGLE_APPLICATION_CREDENTIALS=FILEPATH.json

Where FILEPATH is the path to the service account key.

Refer to set up authentication for further information.

According to the build automation tool the user can choose between maven or gradle, and can refer to the respective README of the particular folder for futher modifaction and details to run the sample project

aoss-springboot-sample-starter-project's People

Contributors

rubalien30 avatar

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.