diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000000..00a51aff5e5a
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,6 @@
+#
+# https://help.github.com/articles/dealing-with-line-endings/
+#
+# These are explicitly windows files and should use crlf
+*.bat text eol=crlf
+
diff --git a/.github/Unleash_architecture.svg b/.github/Unleash_architecture.svg
index b360d03ac773..525b296092eb 100644
--- a/.github/Unleash_architecture.svg
+++ b/.github/Unleash_architecture.svg
@@ -1,9 +1,9 @@
-
-
-
-
diff --git a/.gitignore b/.gitignore
index 9f826b0cf868..83cbb51a8951 100644
--- a/.gitignore
+++ b/.gitignore
@@ -91,3 +91,9 @@ website/.yarn/*
!website/.yarn/sdks
!website/.yarn/versions
+
+# Ignore Gradle project-specific cache directory
+.gradle
+
+# Ignore Gradle build output directory
+build
diff --git a/.gradle/7.1.1/dependencies-accessors/dependencies-accessors.lock b/.gradle/7.1.1/dependencies-accessors/dependencies-accessors.lock
new file mode 100644
index 000000000000..803c17ac45f0
Binary files /dev/null and b/.gradle/7.1.1/dependencies-accessors/dependencies-accessors.lock differ
diff --git a/.gradle/7.1.1/executionHistory/executionHistory.bin b/.gradle/7.1.1/executionHistory/executionHistory.bin
new file mode 100644
index 000000000000..f0c5db84ef7b
Binary files /dev/null and b/.gradle/7.1.1/executionHistory/executionHistory.bin differ
diff --git a/.gradle/7.1.1/executionHistory/executionHistory.lock b/.gradle/7.1.1/executionHistory/executionHistory.lock
new file mode 100644
index 000000000000..24d86f55fe20
Binary files /dev/null and b/.gradle/7.1.1/executionHistory/executionHistory.lock differ
diff --git a/.gradle/7.1.1/fileHashes/fileHashes.bin b/.gradle/7.1.1/fileHashes/fileHashes.bin
new file mode 100644
index 000000000000..52d35d82af46
Binary files /dev/null and b/.gradle/7.1.1/fileHashes/fileHashes.bin differ
diff --git a/.gradle/7.1.1/fileHashes/fileHashes.lock b/.gradle/7.1.1/fileHashes/fileHashes.lock
new file mode 100644
index 000000000000..7e9163d5d0e7
Binary files /dev/null and b/.gradle/7.1.1/fileHashes/fileHashes.lock differ
diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock
new file mode 100644
index 000000000000..6e41d158a63f
Binary files /dev/null and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ
diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties
new file mode 100644
index 000000000000..4a0a9ff827ab
--- /dev/null
+++ b/.gradle/buildOutputCleanup/cache.properties
@@ -0,0 +1,2 @@
+#Tue Sep 03 00:20:19 CST 2024
+gradle.version=7.1.1
diff --git a/.gradle/buildOutputCleanup/outputFiles.bin b/.gradle/buildOutputCleanup/outputFiles.bin
new file mode 100644
index 000000000000..68e4930287b5
Binary files /dev/null and b/.gradle/buildOutputCleanup/outputFiles.bin differ
diff --git a/.gradle/checksums/checksums.lock b/.gradle/checksums/checksums.lock
new file mode 100644
index 000000000000..48eeea650643
Binary files /dev/null and b/.gradle/checksums/checksums.lock differ
diff --git a/.husky/pre-commit b/.husky/pre-commit
old mode 100755
new mode 100644
diff --git a/.yarn/releases/yarn-4.3.1.cjs b/.yarn/releases/yarn-4.3.1.cjs
old mode 100755
new mode 100644
diff --git a/Guide.txt b/Guide.txt
new file mode 100644
index 000000000000..c9d58bf34d01
--- /dev/null
+++ b/Guide.txt
@@ -0,0 +1,54 @@
+This is a test to indicate the proof of changes pulled and combined branch having proof of request for merging for UECS2363 Assignment 2.
+This is a guide on managing a central repository.
+
+Step 1: Fork and Clone the repository to your local machine.
+1. Navigate to https://github.com/Unleash/unleash.
+2. Click on the ‘Fork’ button to create a copy of the repository.
+3. Copy the repository URL. First, since some files in the repository have paths that exceed the maximum path length limit in Windows, we must use “git config --system core.longpaths true” to allow for smooth copy. Then, open the command prompt and run the clone command. Replace ‘your-name’ with your own Github username.
+$ git config --system core.longpaths true
+$ git clone https://github.com/your-name/unleash.git
+
+4. Navigate to the cloned directory.
+$ cd unleash
+
+Step 2. Create new branches
+1. Create and switch to a new branch. We will be naming it the branch ‘test’.
+$ git branch test
+$ git add .
+$ git checkout test
+
+
+2. Check the current branch.
+$ git branch
+
+3. Check Current Remote and Change the URL for ‘origin’.
+$ git remote -v
+$ git remote set-url origin https://github.com/Unleash/unleash.git
+
+Step 3. Make changes and commit.
+1. Create txt file and put ‘info’ in it. ‘info’ is random sentences.
+$ echo ‘info’ > test1.txt
+
+2. Add files to the staging area and commit the changes.
+$ git add .
+$ git commit -m Added txt file
+
+Step 4. Push changes to GitHub
+1. Push the branch and verify the push in Github.
+$ git push origin test
+
+Step 5. Integrating changes from different users
+1. Add the original repository as a remote.
+$ git remote add upstream https://github.com/Unleash/unleash.git
+
+2. Fetch the latest changes.
+$ git fetch upstream
+
+3. Merge the updates into your branch.
+$ git merge upstream/test
+
+4. Resolves conflict and commit the changes
+$ git add resolved-file.js $ git commit -m Resolved conflicts
+
+5. Push the merged branch.
+$ git push origin test
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 000000000000..664227e453ab
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,147 @@
+
+
+plugins {
+ id 'base'
+}
+
+task runDocker(type: Exec) {
+ description = 'Run Docker File'
+ commandLine 'docker', 'compose', 'up', '-d'
+}
+
+task runYarnInstall(type: Exec) {
+ // Path to the Yarn executable in the project
+ def yarnPath = './.yarn/releases/yarn-4.3.1.cjs'
+
+ // Command to run Yarn install
+ commandLine 'node', yarnPath, 'install'
+
+ // Set the working directory to where your package.json is located
+ workingDir '.'
+
+ // Print command output for debugging
+ standardOutput = System.out
+ errorOutput = System.err
+}
+
+task runYarnInstallFrontEnd(type: Exec) {
+ // Path to the Yarn executable in the project
+ def yarnPath = './.yarn/releases/yarn-4.3.1.cjs'
+
+ // Command to run Yarn install
+ commandLine 'node', yarnPath, 'install'
+
+ // Set the working directory to where your package.json is located
+ workingDir './frontend'
+
+ // Print command output for debugging
+ standardOutput = System.out
+ errorOutput = System.err
+}
+
+task runDatabase(type: Exec) {
+ description = 'Create a new database for the project'
+ commandLine 'docker', 'run',
+ '-e', 'POSTGRES_USER=unleash_user',
+ '-e', 'POSTGRES_PASSWORD=password',
+ '-e', 'POSTGRES_DB=unleash',
+ '--name', 'postgres',
+ '-p', '5432:5432',
+ '-d',
+ 'postgres'
+}
+
+
+task executeDatabase(type: Exec){
+ description = 'Run the database'
+ commandLine 'docker', 'start', 'postgres'
+}
+
+task runBuild(type: Exec) {
+ // Path to the Yarn executable in the project
+ def yarnPath = './.yarn/releases/yarn-4.3.1.cjs'
+
+ // Command to run Yarn install
+ commandLine 'node', yarnPath, 'build'
+
+ // Set the working directory to where your package.json is located
+ workingDir '.'
+
+ // Print command output for debugging
+ standardOutput = System.out
+ errorOutput = System.err
+}
+
+task runUnleash(type: Exec) {
+ // Path to the Yarn executable in the project
+ def yarnPath = './.yarn/releases/yarn-4.3.1.cjs'
+
+ // Command to run Yarn install
+ commandLine 'node', yarnPath, 'dev'
+
+ // Set the working directory to where your package.json is located
+ workingDir '.'
+
+ // Print command output for debugging
+ standardOutput = System.out
+ errorOutput = System.err
+}
+=======
+apply plugin: 'java'
+apply plugin:'jacoco'
+jacoco {
+ toolVersion = "0.8.7"
+}
+java {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+}
+group = 'lib'
+version = 'V1'
+
+
+repositories {
+ mavenCentral()
+}
+
+
+dependencies {
+ testImplementation 'junit:junit:4.13.2'
+}
+
+
+test {
+ // Specify the directory containing test classes
+ testClassesDirs = sourceSets.test.output.classesDirs
+
+
+ // Optionally configure test options
+ testLogging {
+ // Configure which events to log during test execution
+ events 'passed', 'skipped', 'failed'
+ }
+ finalizedBy jacocoTestReport
+}
+
+
+ jar {
+ manifest {
+ attributes 'Main-Class': 'lib.*'
+ }
+
+
+ from sourceSets.main.output // Include compiled classes in the JAR
+ archiveBaseName = 'unleash-test' // Name of the JAR file
+ destinationDirectory = file('build/libs') // Output directory for the JAR file
+}
+
+
+jacocoTestReport {
+ dependsOn test
+ reports {
+ xml.required = true
+ html.required = true
+ }
+}
+
+
diff --git a/ci.yml b/ci.yml
new file mode 100644
index 000000000000..60c99c8b534a
--- /dev/null
+++ b/ci.yml
@@ -0,0 +1,54 @@
+
+name: CI
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up JDK 17
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'adopt'
+ java-version: '17'
+
+ - name: Build with Gradle
+ run: gradle build
+
+ - name: Upload Build Artifacts
+ uses: actions/upload-artifact@v3
+ with:
+ name: build-artifacts
+
+
+
+ path: build/libs/**
+
+ - name: Run Unit Test
+ run: gradle test
+
+ - name: Upload Test Reports
+ uses: actions/upload-artifact@v3
+ with:
+ name: test-reports
+ path: build/reports/tests/**
+ - name: Generate code coverage report
+ run: gradle jacocoTestReport
+
+ - name: Upload code coverage report
+ uses: actions/upload-artifact@v3
+ with:
+ name: code-coverage-report
+ path: build/reports/jacoco/test/html/**
+
+ - name: Run Deployment
+ run: java -jar build/libs/unleash_test-V1.jar
+
diff --git a/docker/.yarn/releases/yarn-4.3.1.cjs b/docker/.yarn/releases/yarn-4.3.1.cjs
old mode 100755
new mode 100644
diff --git a/feature.txt b/feature.txt
new file mode 100644
index 000000000000..7038fc51c125
--- /dev/null
+++ b/feature.txt
@@ -0,0 +1 @@
+"New feature details"
diff --git a/frontend/.yarn/releases/yarn-4.3.1.cjs b/frontend/.yarn/releases/yarn-4.3.1.cjs
old mode 100755
new mode 100644
diff --git a/frontend/check-imports.rc b/frontend/check-imports.rc
old mode 100755
new mode 100644
diff --git a/frontend/package.json b/frontend/package.json
index 3114cedb5a32..82ecc395c6e0 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -10,7 +10,7 @@
"node": ">=18"
},
"scripts": {
- "build": "yarn run lint:material:icons && vite build",
+ "build": "vite build",
"dev": "vite",
"start": "vite",
"start:prod": "vite build && vite preview",
diff --git a/frontend/scripts/clean_orval_generated.sh b/frontend/scripts/clean_orval_generated.sh
old mode 100755
new mode 100644
diff --git a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/DisableEnableStrategyDialog.test.tsx b/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/DisableEnableStrategyDialog.test.tsx
deleted file mode 100644
index 1eadf8fbcdd3..000000000000
--- a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/DisableEnableStrategyDialog.test.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-import { screen } from '@testing-library/react';
-import { render } from 'utils/testRenderer';
-import { testServerRoute, testServerSetup } from 'utils/testServer';
-import { DisableEnableStrategyDialog } from './DisableEnableStrategyDialog';
-
-const server = testServerSetup();
-
-const defaultProps = {
- isOpen: true,
- onClose: () => {},
- onConfirm: () => {},
- projectId: 'project1',
- featureId: 'feature1',
- environmentId: 'env1',
- strategy: {
- id: 'some-id',
- name: 'flexibleRollout',
- constraints: [],
- parameters: {
- rollout: '50%',
- stickiness: 'default',
- },
- },
-};
-
-test('should render disable dialog in regular mode', async () => {
- testServerRoute(server, '/api/admin/ui-config', {});
- testServerRoute(server, '/api/admin/projects/project1', {});
-
- render();
-
- expect(
- screen.queryByText('Change requests are enabled for this environment.'),
- ).not.toBeInTheDocument();
- expect(
- screen.getByText('Are you sure you want to disable this strategy?'),
- ).toBeInTheDocument();
-});
-
-test('should render enable dialog in regular mode', async () => {
- testServerRoute(server, '/api/admin/ui-config', {});
- testServerRoute(server, '/api/admin/projects/project1', {});
-
- const props = {
- ...defaultProps,
- strategy: { ...defaultProps.strategy, disabled: true },
- };
-
- render();
-
- expect(
- screen.queryByText('Change requests are enabled for this environment.'),
- ).not.toBeInTheDocument();
- expect(screen.getByText('Enable strategy')).toBeInTheDocument();
-});
diff --git a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/DisableEnableStrategyDialog.tsx b/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/DisableEnableStrategyDialog.tsx
deleted file mode 100644
index 457413736e40..000000000000
--- a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/DisableEnableStrategyDialog.tsx
+++ /dev/null
@@ -1,82 +0,0 @@
-import { Alert } from '@mui/material';
-import { Dialogue } from 'component/common/Dialogue/Dialogue';
-import { useEnableDisable } from './hooks/useEnableDisable';
-import { useSuggestEnableDisable } from './hooks/useSuggestEnableDisable';
-import { useChangeRequestsEnabled } from 'hooks/useChangeRequestsEnabled';
-import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender';
-import { FeatureStrategyChangeRequestAlert } from 'component/feature/FeatureStrategy/FeatureStrategyForm/FeatureStrategyChangeRequestAlert/FeatureStrategyChangeRequestAlert';
-import type { IDisableEnableStrategyProps } from './IDisableEnableStrategyProps';
-
-export const DisableEnableStrategyDialog = ({
- isOpen,
- onClose,
- ...props
-}: IDisableEnableStrategyProps & {
- isOpen: boolean;
- onClose: () => void;
-}) => {
- const { projectId, environmentId } = props;
- const { isChangeRequestConfigured } = useChangeRequestsEnabled(projectId);
- const isChangeRequest = isChangeRequestConfigured(environmentId);
- const { onSuggestEnable, onSuggestDisable } = useSuggestEnableDisable({
- ...props,
- });
- const { onEnable, onDisable } = useEnableDisable({ ...props });
- const disabled = Boolean(props.strategy?.disabled);
-
- const onClick = (event: React.FormEvent) => {
- event.preventDefault();
- if (isChangeRequest) {
- if (disabled) {
- onSuggestEnable();
- } else {
- onSuggestDisable();
- }
- } else {
- if (disabled) {
- onEnable();
- } else {
- onDisable();
- }
- }
- onClose();
- };
-
- return (
- onClose()}
- >
-
- }
- elseShow={
-
- {disabled ? 'Enabling' : 'Disabling'} the strategy will
- change which users receive access to the feature.
-
- }
- />
-
- );
-};
diff --git a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/IDisableEnableStrategyProps.ts b/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/IDisableEnableStrategyProps.ts
deleted file mode 100644
index 0bc5812fa90c..000000000000
--- a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/IDisableEnableStrategyProps.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { IFeatureStrategy } from 'interfaces/strategy';
-
-export interface IDisableEnableStrategyProps {
- projectId: string;
- featureId: string;
- environmentId: string;
- strategy: IFeatureStrategy;
- text?: boolean;
-}
diff --git a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/hooks/useEnableDisable.ts b/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/hooks/useEnableDisable.ts
deleted file mode 100644
index c8134ffc4828..000000000000
--- a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/hooks/useEnableDisable.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import useFeatureStrategyApi from 'hooks/api/actions/useFeatureStrategyApi/useFeatureStrategyApi';
-import { useFeature } from 'hooks/api/getters/useFeature/useFeature';
-import useToast from 'hooks/useToast';
-import { formatUnknownError } from 'utils/formatUnknownError';
-import type { IDisableEnableStrategyProps } from '../IDisableEnableStrategyProps';
-
-export const useEnableDisable = ({
- projectId,
- environmentId,
- featureId,
- strategy,
-}: IDisableEnableStrategyProps) => {
- const { refetchFeature } = useFeature(projectId, featureId);
- const { setStrategyDisabledState } = useFeatureStrategyApi();
- const { setToastData, setToastApiError } = useToast();
-
- const onEnableDisable = (enabled: boolean) => async () => {
- try {
- await setStrategyDisabledState(
- projectId,
- featureId,
- environmentId,
- strategy.id,
- !enabled,
- );
- setToastData({
- title: `Strategy ${enabled ? 'enabled' : 'disabled'}`,
- type: 'success',
- });
-
- refetchFeature();
- } catch (error: unknown) {
- setToastApiError(formatUnknownError(error));
- }
- };
-
- return {
- onDisable: onEnableDisable(false),
- onEnable: onEnableDisable(true),
- };
-};
diff --git a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/hooks/useSuggestEnableDisable.ts b/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/hooks/useSuggestEnableDisable.ts
deleted file mode 100644
index 91592f514a0f..000000000000
--- a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/MenuStrategyRemove/DisableEnableStrategyDialog/hooks/useSuggestEnableDisable.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-import { useChangeRequestApi } from 'hooks/api/actions/useChangeRequestApi/useChangeRequestApi';
-import { usePendingChangeRequests } from 'hooks/api/getters/usePendingChangeRequests/usePendingChangeRequests';
-import useToast from 'hooks/useToast';
-import { formatUnknownError } from 'utils/formatUnknownError';
-import type { IDisableEnableStrategyProps } from '../IDisableEnableStrategyProps';
-
-export const useSuggestEnableDisable = ({
- projectId,
- environmentId,
- featureId,
- strategy,
-}: IDisableEnableStrategyProps) => {
- const { addChange } = useChangeRequestApi();
- const { refetch: refetchChangeRequests } =
- usePendingChangeRequests(projectId);
- const { setToastData, setToastApiError } = useToast();
- const onSuggestEnableDisable = (enabled: boolean) => async () => {
- try {
- await addChange(projectId, environmentId, {
- action: 'updateStrategy',
- feature: featureId,
- payload: {
- ...strategy,
- disabled: !enabled,
- },
- });
- setToastData({
- title: 'Changes added to the draft!',
- type: 'success',
- });
- await refetchChangeRequests();
- } catch (error: unknown) {
- setToastApiError(formatUnknownError(error));
- }
- };
- return {
- onSuggestDisable: onSuggestEnableDisable(false),
- onSuggestEnable: onSuggestEnableDisable(true),
- };
-};
diff --git a/frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsForm/ProjectActionsFormStep/ProjectActionsFormStepActions/ProjectActionsActionParameter/ProjectActionsActionParameter.tsx b/frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsForm/ProjectActionsFormStep/ProjectActionsFormStepActions/ProjectActionsActionParameter/ProjectActionsActionParameter.tsx
deleted file mode 100644
index fa98b4d53154..000000000000
--- a/frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsForm/ProjectActionsFormStep/ProjectActionsFormStepActions/ProjectActionsActionParameter/ProjectActionsActionParameter.tsx
+++ /dev/null
@@ -1,31 +0,0 @@
-import type { ActionConfigurationParameter } from 'interfaces/action';
-import { ProjectActionsActionParameterAutocomplete } from './ProjectActionsActionParameterAutocomplete';
-
-interface IProjectActionsActionParameterProps {
- parameter: ActionConfigurationParameter;
- value: string;
- onChange: (value: string) => void;
-}
-
-export const ProjectActionsActionParameter = ({
- parameter,
- value,
- onChange,
-}: IProjectActionsActionParameterProps) => {
- const { label, type } = parameter;
-
- if (type === 'select') {
- const { options } = parameter;
-
- return (
-
- );
- }
-
- return null;
-};
diff --git a/frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsForm/ProjectActionsFormStep/ProjectActionsFormStepActions/ProjectActionsActionParameter/ProjectActionsActionParameterAutocomplete.tsx b/frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsForm/ProjectActionsFormStep/ProjectActionsFormStepActions/ProjectActionsActionParameter/ProjectActionsActionParameterAutocomplete.tsx
deleted file mode 100644
index d13be4b1f7fb..000000000000
--- a/frontend/src/component/project/Project/ProjectSettings/ProjectActions/ProjectActionsTable/ProjectActionsModal/ProjectActionsForm/ProjectActionsFormStep/ProjectActionsFormStepActions/ProjectActionsActionParameter/ProjectActionsActionParameterAutocomplete.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import { Autocomplete, TextField } from '@mui/material';
-
-interface IProjectActionsActionParameterAutocompleteProps {
- label: string;
- value: string;
- onChange: (value: string) => void;
- options: string[];
-}
-
-export const ProjectActionsActionParameterAutocomplete = ({
- label,
- value,
- onChange,
- options,
-}: IProjectActionsActionParameterAutocompleteProps) => (
- onChange(parameter)}
- renderInput={(params) => (
-
- )}
- />
-);
diff --git a/frontend/src/openapi/index.ts b/frontend/src/openapi/index.ts
deleted file mode 100644
index e9644dae478c..000000000000
--- a/frontend/src/openapi/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './models';
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 000000000000..7454180f2ae8
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 000000000000..05679dc3c186
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
diff --git a/gradlew b/gradlew
new file mode 100644
index 000000000000..744e882ed572
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,185 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MSYS* | MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin or MSYS, switch paths to Windows format before running java
+if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=`expr $i + 1`
+ done
+ case $i in
+ 0) set -- ;;
+ 1) set -- "$args0" ;;
+ 2) set -- "$args0" "$args1" ;;
+ 3) set -- "$args0" "$args1" "$args2" ;;
+ 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=`save "$@"`
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+exec "$JAVACMD" "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 000000000000..107acd32c4e6
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,89 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem https://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/scripts/build-frontend-if-needed.sh b/scripts/build-frontend-if-needed.sh
old mode 100755
new mode 100644
diff --git a/scripts/check-release.sh b/scripts/check-release.sh
old mode 100755
new mode 100644
diff --git a/scripts/docker-postgres.sh b/scripts/docker-postgres.sh
old mode 100755
new mode 100644
diff --git a/scripts/prepack.sh b/scripts/prepack.sh
old mode 100755
new mode 100644
diff --git a/scripts/promote.sh b/scripts/promote.sh
old mode 100755
new mode 100644
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 000000000000..3d10e577362c
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,10 @@
+/*
+ * This file was generated by the Gradle 'init' task.
+ *
+ * The settings file is used to specify which projects to include in your build.
+ *
+ * Detailed information about configuring a multi-project build in Gradle can be found
+ * in the user manual at https://docs.gradle.org/7.1.1/userguide/multi_project_builds.html
+ */
+
+rootProject.name = 'unleash'
diff --git a/test1.txt b/test1.txt
new file mode 100644
index 000000000000..103b5fc6a71b
--- /dev/null
+++ b/test1.txt
@@ -0,0 +1 @@
+‘info’
diff --git a/website/.yarn/releases/yarn-4.3.1.cjs b/website/.yarn/releases/yarn-4.3.1.cjs
old mode 100755
new mode 100644