Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.63.0 Release #713

Closed
wants to merge 69 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
101a6cd
feat: Add option to select type of AutoLayout engine
toxophilist Aug 2, 2024
fa73d7e
Merge branch 'master' into toxophilist/sprint-dev
toxophilist Aug 2, 2024
c98bd1c
refactor: update Copyright
toxophilist Aug 2, 2024
1c69d1c
fix: clean example key information
toxophilist Aug 2, 2024
80d123f
style: add Copyright header
toxophilist Aug 2, 2024
c9c7eef
refactor: remove unused / deprecate ansile jinja2 templates
toxophilist Aug 2, 2024
a19b39f
refactor: remove unused python jinja2 templates
toxophilist Aug 2, 2024
d4662bd
style: add missing Copyright
toxophilist Aug 2, 2024
3ce675f
style: add missing Copyright
toxophilist Aug 2, 2024
dab9285
feat: OKIT-Web style auto arranger
toxophilist Aug 7, 2024
2ef9e48
feat: add C3 Palette section
toxophilist Aug 7, 2024
e4fbdb7
feat: Generated example connection.tfvars file during OpenTofu export…
toxophilist Aug 7, 2024
e208d8c
refactor: switch FD data resource to use local variables
toxophilist Aug 7, 2024
9c86eed
feat: allow query of profile releated dropdown cache (OKIT-296)
toxophilist Aug 8, 2024
96fe75d
feat: add Cache selection to footer bar (OKIT-296)
toxophilist Aug 8, 2024
ce07e53
refactor: add TypeScript types to React Context and remove ts-ignore
toxophilist Aug 12, 2024
5247842
feat: add Compute Cloud@Customer and PCA-X9 palette groups
toxophilist Aug 12, 2024
3c43f34
feat: allow user to specify default auto layout style (OKIT-300)
toxophilist Aug 12, 2024
5361034
refactor: add base OciCodeGenerator for Oci resources
toxophilist Aug 13, 2024
95b2db1
refactor: add SelectedResource context and set during selection of SVG
toxophilist Aug 13, 2024
fbe51a9
fix: remove incomple azureaz generate code
toxophilist Aug 13, 2024
d30cfff
fix: remove hard coded prefix from OciCodeGenerator
toxophilist Aug 13, 2024
d0f4049
revert: switch back to OcdCodeGenerator
toxophilist Aug 13, 2024
144708d
refactor: tighten the TypeScript schema
toxophilist Aug 13, 2024
eb2ae81
fix: resolve issue where resource doc, style, arrange & tags were not…
toxophilist Aug 14, 2024
2c0a285
feat: display loading image when query is active
toxophilist Aug 15, 2024
0652ccf
feat: add region from config to region query results if it is not fou…
toxophilist Aug 15, 2024
99a1246
feat: create oci specific generators
toxophilist Aug 15, 2024
b48dbdf
build: add cleanup tag to remove existing tag
toxophilist Aug 15, 2024
1483202
chore: update package version number
toxophilist Aug 15, 2024
35659d4
build: update build details
toxophilist Aug 15, 2024
06ec1c2
fix: stop title update causing freeze
toxophilist Aug 16, 2024
30f83a0
feat: add input field context menu
toxophilist Aug 19, 2024
8bdfbd2
Merge branch 'master' into toxophilist/sprint-dev
toxophilist Aug 20, 2024
de8ad03
doc: resequence change log entries
toxophilist Aug 21, 2024
4afb482
Merge branch 'master' into toxophilist/sprint-dev
toxophilist Aug 21, 2024
772fdec
fix: modify based on SonarCloud reccomentations
toxophilist Aug 22, 2024
981fe7e
fix: fix typo
toxophilist Aug 22, 2024
db9e0a4
revert: Revert fix
toxophilist Aug 22, 2024
c3d7594
Merge branch 'master' into toxophilist/sprint-dev
toxophilist Aug 22, 2024
667e588
build: add SonarCloud status
toxophilist Aug 22, 2024
24f922d
fix: code scanning issues #688, #689, #690, #691, #692, #693, #694
toxophilist Aug 22, 2024
9bbd3a9
feat: allow for missing default_backend_set_name
toxophilist Aug 23, 2024
448ca96
fix: resolve code scanning issue #695
toxophilist Aug 23, 2024
2a79b0b
fix: resolve code scanning issue #696, #697
toxophilist Aug 23, 2024
7f0aaf0
fix: resolve code scanning issues #698, #699
toxophilist Aug 23, 2024
14046fc
fix: resolve code scanning issue #700
toxophilist Aug 23, 2024
2e1b559
fix: resolve code scanning issues #701, #702, #703, #704, #705, #706
toxophilist Aug 23, 2024
40dfeea
fix: resolve code scanning issues #707, #708
toxophilist Aug 23, 2024
0e86cf2
fix: resolve code scanning alert #709
toxophilist Aug 23, 2024
2ed44ec
fix: resolve code scanning issue #710, #711
toxophilist Aug 23, 2024
6d990d8
fix: resolve code scanning issue #712
toxophilist Aug 23, 2024
e5e0b20
doc: Update Change log with fixes
toxophilist Aug 23, 2024
b16f04e
fix: Convert Queried Network Load Balancer Listeners set to list.
toxophilist Aug 27, 2024
c389e0f
doc: switch python install to use requirements file
toxophilist Aug 27, 2024
a935f31
refactor: change Array.sort() to use simpleSort function
toxophilist Aug 27, 2024
add2e0c
revert: Revert the PCA DRG functionality and connect Route Tables to …
toxophilist Aug 27, 2024
d60cc4c
build: Update version number
toxophilist Aug 27, 2024
7239bb5
build: Update release date
toxophilist Aug 27, 2024
1ddb82f
fix: Resolve SonarCloud identified code complexities
toxophilist Aug 28, 2024
2514477
feat: Add some Azure icons
toxophilist Aug 28, 2024
3d6e731
chore: Move Icon svg files
toxophilist Aug 28, 2024
f2eaaec
revert: Revert DRG to DRGv1 for PCA
toxophilist Aug 28, 2024
5070dd3
build: Specify not to merge ASARs to see if it resolves the mac unive…
toxophilist Aug 28, 2024
3c130e5
fix: Convert dict to array
toxophilist Aug 28, 2024
e98bf73
feat: Add initial AzureRm framework code for generating AzureRm resou…
toxophilist Aug 29, 2024
480a5e6
feat: Add test for azure in the model
toxophilist Aug 29, 2024
4998896
build: Add AzureRm to generate
toxophilist Aug 29, 2024
7f16410
build: Add generation of AzureRm Validators
toxophilist Aug 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Delete Release
id: delete_release
run: |
gh release delete ${{ env.BRANCH_RELEASE_TAG }} --yes
gh release delete ${{ env.BRANCH_RELEASE_TAG }} --yes --cleanup-tag
# - name: Update Release
# id: update_release
# run: |
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# Release Notes


## Version 0.63.0
**Release Date**: 31st August 2024
### Features
1. OKIT-Ocd: Build OKIT-Web style auto arranger. (#OKIT-299)
2. OKIT-Ocd: Generated example connection.tfvars file during OpenTofu export. (#OKIT-297)
3. OKIT-Ocd: Add Palette for Compute Cloud@Customer. (#OKIT-298)
4. OKIT-Ocd: Add Palette for PCA-X9. (#OKIT-298)
5. OKIT-Ocd: Allow quering of cache data from specified Config Profiles and then switch. (#OKIT-296)

### Bug Fixes
1. OKIT-Web: Resolve Code Scanning Issues #688 - #712
2. OKIT-Web: Convert Queried Network Load Balancer Listeners set to list.
3. OKIT-Web: Revert DRG Attachment fix for PCA DRGv1+ feature

## Version 0.62.2
**Release Date**: 22nd August 2024
### Features
Expand Down
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM oraclelinux:8
ARG BRANCH=master
LABEL "provider"="Oracle" \
"issues"="https://github.com/oracle/oci-designer-toolkit/issues" \
"version"="0.62.2" \
"version"="0.63.0" \
"description"="OKIT Web Server Container." \
"copyright"="Copyright (c) 2020, 2022, Oracle and/or its affiliates."
"copyright"="Copyright (c) 2020, 2024, Oracle and/or its affiliates."
# SHELL ["/bin/bash", "-c"]
ENV PYTHONIOENCODING=utf8 \
PYTHONPATH=":/okit/visualiser:/okit/okitweb:/okit" \
Expand Down Expand Up @@ -51,7 +51,6 @@ RUN yum install -y \
https://github.com/oracle/oci-designer-toolkit.git /github/oci-designer-toolkit \
&& mkdir -p /okit/{git,local,log,instance/git,instance/local,instance/templates/user,workspace,ssl} \
&& mkdir -p /root/bin \
&& openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /okit/ssl/okit.key -out /okit/ssl/okit.crt -subj "/C=GB/ST=Berkshire/L=Reading/O=Oracle/OU=OKIT/CN=www.oci_okit.com" \
&& ln -sv /github/oci-designer-toolkit/config /okit/config \
&& ln -sv /github/oci-designer-toolkit/okitweb /okit/okitweb \
&& ln -sv /github/oci-designer-toolkit/visualiser /okit/visualiser \
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2020, 2023 Oracle and/or its affiliates.
Copyright (c) 2020, 2024, Oracle and/or its affiliates.

The Universal Permissive License (UPL), Version 1.0

Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Oracle Cloud Infrastructure Designer and Visualisation Toolkit [0.62.2](CHANGELOG.md#version-0.62.2)
[![License: UPL](https://img.shields.io/badge/license-UPL-green)](https://img.shields.io/badge/license-UPL-green) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=oracle_oci-designer-toolkit&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=oracle_oci-designer-toolkit)
# Oracle Cloud Infrastructure Designer and Visualisation Toolkit [0.63.0](CHANGELOG.md#version-0.63.0)

Full Release Details Can Found [0.62.2 Release](https://github.com/oracle/oci-designer-toolkit/releases/tag/v0.62.2).
Full Release Details Can Found [0.63.0 Release](https://github.com/oracle/oci-designer-toolkit/releases/tag/v0.63.0).

**OKIT - Open Cloud Designer** Public Beta is now Available see [0.62.2 Release](https://github.com/oracle/oci-designer-toolkit/releases/tag/v0.62.2) for details.
**OKIT - Open Cloud Designer** Public Beta is now Available see [0.63.0 Release](https://github.com/oracle/oci-designer-toolkit/releases/tag/v0.63.0) for details.
_____

OCI designer and visualisation toolKIT (OKIT) is a browser based tool that allows the user to [design](https://www.ateam-oracle.com/introduction-to-okit-the-oci-designer-toolkit),
Expand Down Expand Up @@ -37,7 +38,7 @@ OCI environments through a graphical web based interface.

## Changes

[Changes for the current release (0.62.2) are documented here.](CHANGELOG.md#version-0.62.2)
[Changes for the current release (0.63.0) are documented here.](CHANGELOG.md#version-0.63.0)


## Releases
Expand Down Expand Up @@ -178,7 +179,7 @@ Please consult the [security guide](./SECURITY.md) for our responsible security

## License

Copyright (c) 2020, 2023 Oracle and/or its affiliates.
Copyright (c) 2020, 2024, Oracle and/or its affiliates.

Released under the Universal Permissive License v1.0 as shown at
<https://oss.oracle.com/licenses/upl/>.
Expand Down
27 changes: 15 additions & 12 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
# July 2024 Release (Version 0.62.2)
[![License: UPL](https://img.shields.io/badge/license-UPL-green)](https://img.shields.io/badge/license-UPL-green) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=oracle_oci-designer-toolkit&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=oracle_oci-designer-toolkit)
# August 2024 Release (Version 0.63.0)
____
**Update 0.62.2**: This update addresses the following issues.
1. OKIT-Web: Resolve Code Scanning Warnings: Issues #652-#672
2. OKIT-Ocd: resolve Code scanning Warnings: Issues #673-#680
**Update 0.63.0**: This update addresses the following issues.
1. OKIT-Web: Resolve Code Scanning Issues #688 - #712
2. OKIT-Web: Convert Queried Network Load Balancer Listeners set to list.
3. OKIT-Web: Revert DRG Attachment fix for PCA DRGv1+ feature
____
Welcome to the July 2024 release of OKIT. This release is aim primarily at the desktop OKIT OCD Beta extending the current functionality and improving
it's useability. We have now simplified the process of hiding/showing the palette and properties panes whilst extending the functionlity within the
tabular view to allow the user to choose the columns to be displayed.
Welcome to the August 2024 release of OKIT. This release is aim primarily at the desktop OKIT OCD Beta extending the current functionality and improving
it's useability. We have now added a number of Auto Layout options, including OKIT-Web Style, and allow the user to specify the default Auto Layout option.
In addition we have extended the Desktop to allow Compute Cloud@Customer and Private Cloud Appliance users to create designs and generate download cache
information from their machine.

## OKIT (Web) Features
No new features

## OKIT - Open Cloud Designer
1. OKIT-Ocd: Add the ability to create common Defined Tags that will be used across all reasorces created by OCD. (#OKIT-269)
2. OKIT-Ocd: Add single button collapse and expand for Palette.
3. OKIT-Ocd: Add single button collapse and expand for Properties.
4. OKIT-Ocd: Add Freeform and Defined Tags to each resource. (#OKIT-270)
5. OKIT-Ocd: Extend Tabular view to allow for column display selection where additional columns are specified. (#OKIT-295)
1. OKIT-Ocd: Build OKIT-Web style auto arranger. (#OKIT-299)
2. OKIT-Ocd: Generated example connection.tfvars file during OpenTofu export. (#OKIT-297)
3. OKIT-Ocd: Add Palette for Compute Cloud@Customer. (#OKIT-298)
4. OKIT-Ocd: Add Palette for PCA-X9. (#OKIT-298)
5. OKIT-Ocd: Allow quering of cache data from specified Config Profiles and then switch. (#OKIT-296)

### Beta Overview

Expand Down
2 changes: 2 additions & 0 deletions cloudinit/nodeexporter_cloud_init.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#cloud-config
users:
- default
Expand Down
2 changes: 2 additions & 0 deletions cloudinit/prometheus_cloud_init.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#cloud-config
users:
- default
Expand Down
2 changes: 2 additions & 0 deletions config/gunicorn_http.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
bind = '0.0.0.0:80'
workers = 4
limit_request_line = 0
Expand Down
3 changes: 3 additions & 0 deletions config/gunicorn_https.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
bind = '0.0.0.0:443'
# To use HTTPS the certfile & key file must be created
certfile = "/okit/ssl/okit.crt"
keyfile = "/okit/ssl/okit.key"
workers = 4
Expand Down
2 changes: 2 additions & 0 deletions containers/cloud/cloud_init.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#cloud-config
write_files:
# Add aliases to bash (Note: At time of writing the append flag does not appear to be working)
Expand Down
7 changes: 3 additions & 4 deletions containers/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM oraclelinux:8
LABEL "provider"="Oracle" \
"issues"="https://github.com/oracle/oci-designer-toolkit/issues" \
"version"="0.62.2" \
"version"="0.63.0" \
"description"="OKIT Web Server Container." \
"copyright"="Copyright (c) 2020, 2022, Oracle and/or its affiliates."
"copyright"="Copyright (c) 2020, 2024, Oracle and/or its affiliates."
# SHELL ["/bin/bash", "-c"]
ENV PYTHONIOENCODING=utf8 \
PYTHONPATH=":/okit/visualiser:/okit/okitweb:/okit" \
Expand Down Expand Up @@ -44,7 +44,6 @@ RUN yum install -y \
# Create Workspace
&& mkdir -p /okit/{config,git,instance/git,instance/local,instance/templates/user,local,log,ssl,visualiser,okitweb,workspace,skeletons} \
# && mkdir -p /okit/okitweb/static/okit/templates \
&& openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /okit/ssl/okit.key -out /okit/ssl/okit.crt -subj "/C=GB/ST=Berkshire/L=Reading/O=Oracle/OU=OKIT/CN=www.oci_okit.com"
# && ln -s /okit/templates /okit/okitweb/static/okit/templates/user \
# && ln -s /okit/git /okit/okitweb/static/okit/templates/git \
# && ln -s /okit/git /okit/okitweb/static/okit/git
Expand Down
2 changes: 1 addition & 1 deletion containers/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# file: docker-compose
# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
version: '3.8'
services:
Expand Down
2 changes: 1 addition & 1 deletion containers/docker/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

# For more information on configuration, see:
Expand Down
2 changes: 1 addition & 1 deletion containers/docker/okit_nginx.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

server {
Expand Down
2 changes: 1 addition & 1 deletion containers/docker/run-server.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

echo "*******************************************************************"
Expand Down
2 changes: 1 addition & 1 deletion containers/scripts/build-docker-image.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

export ROOT_DIR=$(cd $(dirname $0)/../..; pwd)
Expand Down
2 changes: 1 addition & 1 deletion containers/scripts/start-okit-server.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

export ROOT_DIR=$(cd $(dirname $0)/../..; pwd)
Expand Down
2 changes: 1 addition & 1 deletion containers/vagrant/Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

# Vagrantfile API/syntax version.
Expand Down
2 changes: 1 addition & 1 deletion containers/vagrant/configure_firewall.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.


Expand Down
2 changes: 1 addition & 1 deletion containers/vagrant/configure_software.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

export PATH=/usr/local/bin:/usr/bin:${PATH}
Expand Down
2 changes: 1 addition & 1 deletion containers/vagrant/enable_flask_service.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

source /etc/bashrc
Expand Down
2 changes: 1 addition & 1 deletion containers/vagrant/enable_gunicorn_service.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

source /etc/bashrc
Expand Down
2 changes: 1 addition & 1 deletion containers/vagrant/enable_nginx_service.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

source /etc/bashrc
Expand Down
2 changes: 1 addition & 1 deletion containers/vagrant/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

# For more information on configuration, see:
Expand Down
2 changes: 1 addition & 1 deletion containers/vagrant/run-server.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

source /etc/bashrc
Expand Down
2 changes: 2 additions & 0 deletions custom/terraform/cne_simple.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
# Define Local CNE Types
# If VMs are added to the design add their Private IP reference to the appropriate list.
locals {
Expand Down
16 changes: 8 additions & 8 deletions documentation/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ INFO: Writing File: ../visualiser/facade/ociBlockStorageVolume.py
Following generation a model file will be created in the **okitweb/static/okit/model/js/artefacts** directory as shown below.
```javascript
/*
** Copyright (c) 2020, 2022, Oracle and/or its affiliates.
** Copyright (c) 2020, 2024, Oracle and/or its affiliates.
** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
*/
console.info('Loaded Block Storage Volume Javascript');
Expand Down Expand Up @@ -159,7 +159,7 @@ any reference to it on delete. This is done by adding the deleteChildren() funct
Following the update the model JavaScript will be modified as below:
```javascript
/*
** Copyright (c) 2020, 2022, Oracle and/or its affiliates.
** Copyright (c) 2020, 2024, Oracle and/or its affiliates.
** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
*/
console.info('Loaded Block Storage Volume Javascript');
Expand Down Expand Up @@ -258,7 +258,7 @@ OkitJson.prototype.deleteBlockStorageVolume = function(id) {
Following generation a view file will be created in the **okitweb/static/okit/view/designer/js/artefacts** directory as shown below.
```javascript
/*
** Copyright (c) 2020, 2022, Oracle and/or its affiliates.
** Copyright (c) 2020, 2024, Oracle and/or its affiliates.
** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
*/
console.info('Loaded Block Storage Volume View Javascript');
Expand Down Expand Up @@ -366,7 +366,7 @@ Instance it is attached to) by creating the following functions:
Following the update the model JavaScript will be modified as below:
```javascript
/*
** Copyright (c) 2020, 2022, Oracle and/or its affiliates.
** Copyright (c) 2020, 2024, Oracle and/or its affiliates.
** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
*/
console.info('Loaded Block Storage Volume View Javascript');
Expand Down Expand Up @@ -511,7 +511,7 @@ Following the update the model JavaScript will be modified as below:
Following generation a property sheet HTML file will be created in the **okitweb/templates/okit/propertysheets** directory as shown below.
```jinja2
<!--
** Copyright (c) 2020, 2022, Oracle and/or its affiliates.
** Copyright (c) 2020, 2024, Oracle and/or its affiliates.
** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
-->
{% extends "okit/propertysheets/base_property_sheet.html" %}
Expand All @@ -531,7 +531,7 @@ worked example we will need add the following fields:

```jinja2
<!--
** Copyright (c) 2020, 2022, Oracle and/or its affiliates.
** Copyright (c) 2020, 2024, Oracle and/or its affiliates.
** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
-->
{% extends "okit/propertysheets/base_property_sheet.html" %}
Expand Down Expand Up @@ -565,7 +565,7 @@ Following generation a Python Facade file will be created in the **visualiser/fa
```python
#!/usr/bin/python

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

"""Provide Module Description
Expand Down Expand Up @@ -627,7 +627,7 @@ to the correct name **self.client.list_volumes** which will result in the follow
```python
#!/usr/bin/python

# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

"""Provide Module Description
Expand Down
6 changes: 4 additions & 2 deletions documentation/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,14 +548,15 @@ sudo bash -c "yum install -y oci-utils"
sudo bash -c "yum install -y python-oci-cli"
# Update
sudo bash -c "yum update -y"
# Install Required Python Modules
# Update Python Modules
sudo bash -c "python3 -m pip install -U pip"
sudo bash -c "python3 -m pip install -U setuptools"
sudo bash -c "python3 -m pip install --no-cache-dir authlib flask gitpython git-url-parse gunicorn oci openpyxl python-magic pyyaml requests "
# Clone OKIT
sudo bash -c "mkdir -p /github"
sudo bash -c "git clone -b master https://github.com/oracle/oci-designer-toolkit.git /github/oci-designer-toolkit"
sudo bash -c "mkdir -p /okit/{git,local,log,instance/git,instance/local,instance/templates/user,workspace,ssl}"
# Install OKIT Required python modules
sudo bash -c "python3 -m pip install --no-cache-dir -r /github/oci-designer-toolkit/requirements.txt"
# Link Directories
sudo bash -c "ln -sv /github/oci-designer-toolkit/config /okit/config"
sudo bash -c "ln -sv /github/oci-designer-toolkit/okitweb /okit/okitweb"
Expand Down Expand Up @@ -636,6 +637,7 @@ The OKIT configuration file is located in the directory 'instance'.

### Dynamic Group
A Tenancy level Dynamic Group will need to be created to enable Instance Principal access for the instance.

#### OKITInstanceGroup
Create the OKITInstanceGroup Dynamic Group and add a single Rule relating to the OKIT Instance.
![OKIT Dynamic Group](images/DynamicGroup.png?raw=true "OKIT Dynamic Group")
Expand Down
Loading