Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mahendraintelops committed Mar 8, 2023
1 parent a576cd5 commit b8260ff
Show file tree
Hide file tree
Showing 87 changed files with 165 additions and 1,815 deletions.
2 changes: 1 addition & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ name = "go"
enabled = true

[analyzers.meta]
import_root = "github.com/kube-tarian/compage"
import_root = "github.com/intelops/compage"
dependencies_vendored = true
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "core/templates/compage-template-go"]
path = core/templates/compage-template-go
url = [email protected]:mahendraintelops/compage-template-go.git
branch = template-v6
url = [email protected]:intelops/compage-template-go.git
branch = template-v7
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Please read this guide if you plan to contribute to the Compage. We welcome any kind of contribution. No matter if you are an experienced programmer or just starting, we are looking forward to your contribution.

## Reporting Issues
If you find a bug while working with the Compage, please [open an issue on GitHub](https://github.com/kube-tarian/compage/issues/new?labels=kind%2Fbug&template=bug-report.md&title=Bug:) and let us know what went wrong. We will try to fix it as quickly as we can.
If you find a bug while working with the Compage, please [open an issue on GitHub](https://github.com/intelops/compage/issues/new?labels=kind%2Fbug&template=bug-report.md&title=Bug:) and let us know what went wrong. We will try to fix it as quickly as we can.

## Feature Requests
You are more than welcome to open issues in this project to [suggest new features](https://github.com/kube-tarian/compage/issues/new?labels=kind%2Ffeature&template=feature-request.md&title=Feature%20Request:).
You are more than welcome to open issues in this project to [suggest new features](https://github.com/intelops/compage/issues/new?labels=kind%2Ffeature&template=feature-request.md&title=Feature%20Request:).

## Contributing Code
This project is mainly written in Golang. To contribute code,
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<p align="center"><img src="compage-logo2-0.png" width="400"></p>
<p align="center"><img src="compage-logo.png" width="400"></p>
<p align="center"><b>Low-Code No-Code for Cloud Native</b></p>

<p align="center">
<a href="Github Discussions">
<img src="https://img.shields.io/github/discussions/kube-tarian/compage" alt="Github Discussions">
<img src="https://img.shields.io/github/discussions/intelops/compage" alt="Github Discussions">
</a>
<a href="code_of_conduct.md">
<img src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg" alt="Contributor Covenant">
Expand All @@ -12,7 +12,7 @@
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License">
</a>
<a href="deepsource-badge">
<img src="https://deepsource.io/gh/kube-tarian/compage.svg/?label=active+issues&show_trend=true&token=m1DCdAuysqc5fOcnRlY8GsWA" alt="deepsource">
<img src="https://deepsource.io/gh/intelops/compage.svg/?label=active+issues&show_trend=true&token=m1DCdAuysqc5fOcnRlY8GsWA" alt="deepsource">
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions app/crds/project-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
# name must match the spec fields below, and be in the form: <plural>.<group>
name: projects.compage.kube-tarian.github.com
name: projects.compage.intelops.github.com
spec:
# group name to use for REST API: /apis/<group>/<version>
group: compage.kube-tarian.github.com
group: compage.intelops.github.com
names:
# plural name to be used in the URL: /apis/<group>/<version>/<plural>
plural: projects
Expand Down
4 changes: 2 additions & 2 deletions app/crds/user-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
# name must match the spec fields below, and be in the form: <plural>.<group>
name: users.compage.kube-tarian.github.com
name: users.compage.intelops.github.com
spec:
# group name to use for REST API: /apis/<group>/<version>
group: compage.kube-tarian.github.com
group: compage.intelops.github.com
names:
# plural name to be used in the URL: /apis/<group>/<version>/<plural>
plural: users
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "app",
"version": "0.0.1",
"main": "index.js",
"repository": "https://github.com/kube-tarian/compage.git",
"repository": "https://github.com/intelops/compage.git",
"author": "Mahendra <[email protected]>",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion app/protobufs/project.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";

package api.v1;
option go_package = "github.com/kube-tarian/compage/core/gen/api/v1;project";
option go_package = "github.com/intelops/compage/core/gen/api/v1;project";

service ProjectService {
rpc GenerateCode (GenerateCodeRequest) returns (stream GenerateCodeResponse) {}
Expand Down
11 changes: 0 additions & 11 deletions app/src/routes/open-api-yaml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ import {getProject} from "../util/project-store";

const openApiYamlRouter = Router();

const getNode = (nodes: Map<string, CompageNode> | undefined, nodeId: string) => {
if (nodes && nodes.size > 0) {
const map = new Map(Object.entries(nodes));
const compageNode = map.get(nodeId);
if (compageNode) {
return compageNode;
}
}
return undefined;
};

// uploads openApiYaml file
openApiYamlRouter.post("/upload", requireUserNameMiddleware, multer.single('file'), async (request: Request, response: Response) => {
const userName = request.header(X_USER_NAME_HEADER);
Expand Down
4 changes: 2 additions & 2 deletions app/src/store/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ export interface UserResourceList {
}

// user
export const user_group = "compage.kube-tarian.github.com";
export const user_group = "compage.intelops.github.com";
export const user_version = "v1alpha1";
export const user_plural = "users";
export const user_kind = "User"

// project
export const project_group = "compage.kube-tarian.github.com";
export const project_group = "compage.intelops.github.com";
export const project_version = "v1alpha1";
export const project_plural = "projects";
export const project_kind = "Project"
2 changes: 0 additions & 2 deletions app/useful-commands

This file was deleted.

2 changes: 1 addition & 1 deletion charts/compage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ version: 0.0.5
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.0.5"
icon: https://github.com/kube-tarian/compage/raw/main/compage-logo2-0.png
icon: https://github.com/intelops/compage/raw/main/compage-logo2-0.png
4 changes: 2 additions & 2 deletions charts/compage/templates/crds/project-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
# name must match the spec fields below, and be in the form: <plural>.<group>
name: projects.compage.kube-tarian.github.com
name: projects.compage.intelops.github.com
labels:
{{- include "compage.app.labels" . | nindent 4 }}
spec:
# group name to use for REST API: /apis/<group>/<version>
group: compage.kube-tarian.github.com
group: compage.intelops.github.com
names:
# plural name to be used in the URL: /apis/<group>/<version>/<plural>
plural: projects
Expand Down
4 changes: 2 additions & 2 deletions charts/compage/templates/crds/user-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
# name must match the spec fields below, and be in the form: <plural>.<group>
name: users.compage.kube-tarian.github.com
name: users.compage.intelops.github.com
labels:
{{- include "compage.app.labels" . | nindent 4 }}
spec:
# group name to use for REST API: /apis/<group>/<version>
group: compage.kube-tarian.github.com
group: compage.intelops.github.com
names:
# plural name to be used in the URL: /apis/<group>/<version>/<plural>
plural: users
Expand Down
2 changes: 1 addition & 1 deletion charts/compage/templates/rbac/api-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
labels:
{{- include "compage.app.labels" . | nindent 4 }}
rules:
- apiGroups: ["compage.kube-tarian.github.com"]
- apiGroups: ["compage.intelops.github.com"]
resources: ["*"]
verbs: ["*"]
10 changes: 5 additions & 5 deletions charts/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ entries:
created: "2023-02-15T13:40:18.052288378+05:30"
description: A Helm chart for Kubernetes
digest: 1ad02b156f9f2ddd6c7f5a126c5f15dadf345f1726888de5bf3cc617023e3ec0
icon: https://github.com/kube-tarian/compage/raw/main/compage-logo2-0.png
icon: https://github.com/intelops/compage/raw/main/compage-logo2-0.png
name: compage
type: application
urls:
Expand All @@ -17,7 +17,7 @@ entries:
created: "2023-02-15T13:40:18.050694826+05:30"
description: A Helm chart for Kubernetes
digest: 0ab69ad21867a9c7663e4e501fa5614c6cc2cd33d17cb44c4b58eaeb7791bb54
icon: https://github.com/kube-tarian/compage/raw/main/compage-logo2-0.png
icon: https://github.com/intelops/compage/raw/main/compage-logo2-0.png
name: compage
type: application
urls:
Expand All @@ -28,7 +28,7 @@ entries:
created: "2023-02-15T13:40:18.048701705+05:30"
description: A Helm chart for Kubernetes
digest: a9706e89c8b8b808c141388eddea7123392f5f35389844a4baf2182dc155ef4b
icon: https://github.com/kube-tarian/compage/raw/main/compage-logo2-0.png
icon: https://github.com/intelops/compage/raw/main/compage-logo2-0.png
name: compage
type: application
urls:
Expand All @@ -39,7 +39,7 @@ entries:
created: "2023-02-15T13:40:18.047233953+05:30"
description: A Helm chart for Kubernetes
digest: 27a75ab81e60915c7e7268ebfe4fcd53e124eaedb390a46d021d09b083d3253f
icon: https://github.com/kube-tarian/compage/raw/main/compage-logo2-0.png
icon: https://github.com/intelops/compage/raw/main/compage-logo2-0.png
name: compage
type: application
urls:
Expand All @@ -50,7 +50,7 @@ entries:
created: "2023-02-15T13:40:18.045496239+05:30"
description: A Helm chart for Kubernetes
digest: a0f03b6a71c8d1ad89ea5fadf1a7d2f5f52253987022770216ff84b567b26043
icon: https://github.com/kube-tarian/compage/raw/main/compage-logo2-0.png
icon: https://github.com/intelops/compage/raw/main/compage-logo2-0.png
name: compage
type: application
urls:
Expand Down
File renamed without changes
94 changes: 0 additions & 94 deletions core/.github/ISSUE_TEMPLATE/bug-report.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions core/.github/ISSUE_TEMPLATE/feature-request.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions core/.github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

10 changes: 0 additions & 10 deletions core/.github/SECURITY.md

This file was deleted.

Loading

0 comments on commit b8260ff

Please sign in to comment.