Coder Social home page Coder Social logo

oracle-quickstart / oci-micronaut Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 15.0 27.2 MB

Micronaut MuShop - Cloud Native microservices demo for Oracle Cloud Infrastructure

Home Page: https://oracle-quickstart.github.io/oci-micronaut

License: Universal Permissive License v1.0

Shell 3.29% Dockerfile 0.88% HCL 14.74% Mustache 5.22% Java 37.33% JavaScript 14.13% Batchfile 0.70% Makefile 0.26% SCSS 0.12% HTML 0.18% Groovy 0.48% Python 0.35% Less 5.59% Pug 16.73%
microservices cloud-native graalvm graalvm-native-image oracle-cloud-infrastructure oraclecloud micronaut docker kubernetes

oci-micronaut's Introduction

MuShop Logo

The MuShop application is a showcase of several Oracle Cloud Infrastructure services in a unified reference application. This version is written entirely in the Micronaut framework using the Graal Cloud Native (GCN) toolkit. See the full documentation for a detailed explanation and deployment options.

This project is a fork of the original MuShop implementation which used different technologies for each individual Microservice application and is designed as a demonstration of how to use the Micronaut framework to build applications for Oracle Cloud.

The sample application implements an e-commerce platform built as a set of microservices. The accompanying content can be used to get started with cloud native application development on Oracle Cloud Infrastructure.

home browse cart about

MuShop can be deployed to Oracle Cloud Infrastructure on Kubernetes with Helm and Terraform, or run locally in Docker.

Oracle Cloud

Use the following Deploy to Oracle Cloud button to use Oracle Cloud Resource Manager to deploy and configure MuShop on OKE.

Deploy to Oracle Cloud

Alternatively you can manually upload the Oracle Cloud Resource Manager zip file.

Docker

To deploy locally with Docker, follow these instructions.

Helm

MuShop is a Microservices application built to showcase a cloud-native approach to application development on Oracle Cloud Infrastructure with the Micronaut framework & GraalVM using Oracle's cloud native services. MuShop uses a Kubernetes cluster, and can be deployed using the provided helm charts. It is recommended to use an Oracle Container Engine for Kubernetes cluster, however other Kubernetes distributions will also work.

The helm chart documentation walks through the deployment process and various options for customizing the deployment.

If you do not have an Oracle Cloud account yet, you can create a free trial account.

Note that you will have to create and configure the needed Oracle Cloud services manually. For complete automated deployment use the following option Helm + Terraform.

Helm + Terraform

Deploy the complete MuShop with all Oracle Cloud services automatically using the Terraform scripts. The terraform documentation walks through the configuration process and various options for customizing the deployment.

Topology

The following diagram shows the topology created by this stack.

MuShop Infra

Questions

If you have an issue or a question, please take a look at our FAQs or open an issue.

oci-micronaut's People

Contributors

allgao avatar alvarosanchez avatar andriy-dmytruk avatar benofben avatar burtbeckwith avatar chaimaaerouai avatar dependabot[bot] avatar dradosevic avatar dstepanov avatar graemerocher avatar gvenzl avatar jeevanjoseph avatar jjspiegel avatar juliocamara avatar junior avatar kd7edg avatar milanspre avatar msupic avatar mvandervliet avatar naikvenu avatar oegentil avatar peterj avatar pgressa avatar rml1997 avatar shaunsmith avatar sumikr avatar

Stargazers

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

Watchers

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

oci-micronaut's Issues

Upgrade to Micronaut 3

Upgrade microservices

Upgrade functions

  • newsletter -

Upgrade and test deployment

  • docker-compose - #11
  • oraclecloud
  • aws

Release new version of Micronaut MuShop

  • release 3.2

Failed to create API GW policy when the stack is in root compartment

Error: 400-InvalidParameter
Provider version: 4.26.0, released on 2021-05-12. This provider is 3 updates behind to current.
Service: Identity Policy
Error Message: The compartment cloudnative-devrel specified in the policy statement does not exist under current compartment hierarchy.
OPC request ID: 4c2207575a273ff1eaacbcf771eb33b9/768F4FC06B42B8F8B45A9B11008E25DD/437E348FB800E044B6D941D7F276A60B
Suggestion: Please update the parameter(s) in the Terraform config as per error message The compartment cloudnative-devrel specified in the policy statement does not exist under current compartment hierarchy.
  on ofn.tf line 103, in resource "oci_identity_policy" "api_gw_dg_policy" 
 103: resource "oci_identity_policy" "api_gw_dg_policy" {

Cluster autoscaler fails to deploy

kubernetes_deployment.cluster_autoscaler_deployment[0]: Still creating... [8m40s elapsed]
kubernetes_deployment.cluster_autoscaler_deployment[0]: Still creating... [8m50s elapsed]
kubernetes_deployment.cluster_autoscaler_deployment[0]: Still creating... [9m0s elapsed]
kubernetes_deployment.cluster_autoscaler_deployment[0]: Still creating... [9m10s elapsed]
kubernetes_deployment.cluster_autoscaler_deployment[0]: Still creating... [9m20s elapsed]
kubernetes_deployment.cluster_autoscaler_deployment[0]: Still creating... [9m30s elapsed]
kubernetes_deployment.cluster_autoscaler_deployment[0]: Still creating... [9m40s elapsed]
kubernetes_deployment.cluster_autoscaler_deployment[0]: Still creating... [9m50s elapsed]
kubernetes_deployment.cluster_autoscaler_deployment[0]: Still creating... [10m0s elapsed]

The image is not in OCIR

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.