Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/add-rss-feed-support' in…
Browse files Browse the repository at this point in the history
…to release/release-1
  • Loading branch information
HolimaX committed Dec 23, 2020
2 parents fa2fb05 + 0b85c24 commit fa7b9ae
Show file tree
Hide file tree
Showing 24 changed files with 4,947 additions and 5,165 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-{{ checksum "./package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

Expand All @@ -33,7 +33,7 @@ jobs:
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
key: v1-dependencies-{{ checksum "./package.json" }}

# run tests!
- run:
Expand Down
6 changes: 6 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
NODE_PATH=src/
PORT=3010
SKIP_PREFLIGHT_CHECK=true
REACT_APP_VERSION=${FULLVERSION}
VERSION=${REACT_APP_VERSION}
REACT_APP_AUTHPROVIDERCID=${AUTHPROVIDERCID}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ yarn-error.log*
.terraform/

# Sensitive Files
.terraformconfig/variables.tf
.terraformconfig/variables.tf
node_modules
11 changes: 11 additions & 0 deletions .k8sconfig/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# General mapping

- frontend - Dashboard
- application - Visualization app and Custom app

NAME STATUS ROLES AGE VERSION
ip-172-31-35-167 Ready application,slave 36m v1.17.3
ip-172-31-37-189 Ready frontend,slave 38m v1.17.3
ip-172-31-40-97 Ready backend,master 40m v1.17.3
ip-172-31-47-162 Ready monitoring,slave 35m v1.17.3

# Known issues

## Issue #1
Expand Down
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ This project:

- was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
- was forked from original source to further be used as template for developments (like https://github.com/HolimaX/libhacontimig)
- was ajusted to include integration with technologies (like Terraform, Ansible, Kubernetes), mentioned in github topics and can be seen in README.md files within folders. For more details, see ```https://github.com/HolimaX/React/blob/<branch>/src/README.md``` file as one of such inclusives. React-based Application is still kept isolated to ensure overall integrity and transaprency.
- was ajusted to include integration with technologies (like Terraform, Ansible, Kubernetes), mentioned in github topics and can be learned about in README.md files within folders. For more details, see ```https://github.com/HolimaX/React/blob/<branch>/src/README.md``` file as one of such inclusives. React-based Application is still kept isolated to ensure overall integrity and transaprency.

## Application Prerequistes

In order for this React app to be served w/o 'serve' tool, you need to install either Apache or NGNIX (but not both!) within non-control-plane (Master) node(s).
You can establish environment in many ways. For example:
- In order for this React app to be started, the valid Okta connection is needed. Configuration is set up during registration phase from connected Cloud Dashboard tools (like Android Phone app).
- In order for this React app to be served w/o 'serve' tool, you need to install either Apache or NGNIX (but not both!) within non-control-plane (Master) node. Then, production build via ```npm build``` must be made and serving can be executed.

## Available Scripts

Expand All @@ -28,7 +30,7 @@ In order for this React app to be served w/o 'serve' tool, you need to install e
### `npm start`

Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
Open [http://localhost:3010](http://localhost:3010) to view it in the browser. Ensure PORT 3001 is accessible to support additional features.

The page will reload if you make edits.<br>
You will also see any lint errors in the console.
Expand Down Expand Up @@ -58,6 +60,12 @@ Instead, it will copy all the configuration files and the transitive dependencie

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

### Authentication

For compatible Products with designated type (like "Pro"/"Premium"):

- Release 1 supports OAuth 2.0 based authentication, as explained in https://medium.appbase.io/how-to-implement-authentication-for-your-react-app-cf09eef3bb0b

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
Expand Down Expand Up @@ -89,6 +97,15 @@ This section has moved here: https://facebook.github.io/create-react-app/docs/de
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

## Integrations
The supported method is via C-style header SO libraries. See https://medium.com/learning-the-go-programming-language/calling-go-functions-from-other-languages-4c7d8bcc69bf for details. Note that only CircleCI is building the header files.

As of now, the pod configuration is adjusted in case there is incoming function call from integrated applications. This implementation is not aimed to push changes, but 'pull' instead.
To use Node REPL and see available functionality, you can execute following command: ```node beerbank```

### Internal (REST API based) integrations

You can use internal REST API based logic for incoming calls handling for Infrastructure integrated applications. The logic consits of Auto-Synchronization, Auto-Notification and Auto-Configuration management for Pro ("Premium") modules.

Also, The supported method for advanced integration is via C-style header SO libraries. See https://medium.com/learning-the-go-programming-language/calling-go-functions-from-other-languages-4c7d8bcc69bf for details.

**Note: Only CircleCI is building the header files.**

As of now, the infrastructure automation (kubernetes pod) configuration is adjusted in case there is incoming function call from integrated applications. This implementation is not aimed to ```'push'``` changes, but ```'pull'``` instead.
File renamed without changes.
2 changes: 1 addition & 1 deletion integration/Python/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Introduction

This folder contains C/C** header fields and Shareable Objects to enable integration with other projects via API and ABI.
This folder contains C/C** header fiels nad Shareable Objects to enable integration with other projects via API and ABI.
Loading

0 comments on commit fa7b9ae

Please sign in to comment.