Commit 3ecac65c authored by Dadang NH's avatar Dadang NH 👷🏻
Browse files

Resolve "Rename Project From DJP-IAM to IAM"

parent b4c5f67d
......@@ -187,30 +187,34 @@ deploy_to_registries:
- docker-compose up -d database redis php caddy
script:
- docker login -u "$DOCKER_REGISTRY_USER" -p "$DOCKER_REGISTRY_PASSWORD"
- docker tag djp-iam_php:latest dadang/djp-iam_php:$CI_COMMIT_TAG
- docker tag djp-iam_php:latest dadang/djp-iam_php:latest
- docker tag djp-iam_caddy:latest dadang/djp-iam_caddy:$CI_COMMIT_TAG
- docker tag djp-iam_caddy:latest dadang/djp-iam_caddy:latest
- docker tag redis:latest dadang/djp-iam_redis:$CI_COMMIT_TAG
- docker tag redis:latest dadang/djp-iam_redis:latest
- docker tag postgres:14-alpine dadang/djp-iam_database:$CI_COMMIT_TAG
- docker tag postgres:14-alpine dadang/djp-iam_database:latest
- docker push dadang/djp-iam_caddy:$CI_COMMIT_TAG
- docker push dadang/djp-iam_caddy:latest
- docker push dadang/djp-iam_php:$CI_COMMIT_TAG
- docker push dadang/djp-iam_php:latest
- docker push dadang/djp-iam_redis:$CI_COMMIT_TAG
- docker push dadang/djp-iam_redis:latest
- docker push dadang/djp-iam_database:$CI_COMMIT_TAG
- docker push dadang/djp-iam_database:latest
- docker tag iam_php:latest dadang/iam_backend:$CI_COMMIT_TAG
- docker tag iam_php:latest dadang/iam_backend:latest
- docker tag iam_php:latest dadang/iam_php:$CI_COMMIT_TAG
- docker tag iam_php:latest dadang/iam_php:latest
- docker tag iam_caddy:latest dadang/iam_caddy:$CI_COMMIT_TAG
- docker tag iam_caddy:latest dadang/iam_caddy:latest
- docker tag redis:latest dadang/iam_redis:$CI_COMMIT_TAG
- docker tag redis:latest dadang/iam_redis:latest
- docker tag postgres:14-alpine dadang/iam_database:$CI_COMMIT_TAG
- docker tag postgres:14-alpine dadang/iam_database:latest
- docker push dadang/iam_caddy:$CI_COMMIT_TAG
- docker push dadang/iam_caddy:latest
- docker push dadang/iam_backend:$CI_COMMIT_TAG
- docker push dadang/iam_backend:latest
- docker push dadang/iam_php:$CI_COMMIT_TAG
- docker push dadang/iam_php:latest
- docker push dadang/iam_redis:$CI_COMMIT_TAG
- docker push dadang/iam_redis:latest
- docker push dadang/iam_database:$CI_COMMIT_TAG
- docker push dadang/iam_database:latest
- docker logout
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker tag djp-iam_php:latest $CI_REGISTRY_IMAGE/backend:$CI_COMMIT_TAG
- docker tag djp-iam_php:latest $CI_REGISTRY_IMAGE/backend:latest
- docker tag djp-iam_php:latest $CI_REGISTRY_IMAGE/php:$CI_COMMIT_TAG
- docker tag djp-iam_php:latest $CI_REGISTRY_IMAGE/php:latest
- docker tag djp-iam_caddy:latest $CI_REGISTRY_IMAGE/caddy:$CI_COMMIT_TAG
- docker tag djp-iam_caddy:latest $CI_REGISTRY_IMAGE/caddy:latest
- docker tag iam_php:latest $CI_REGISTRY_IMAGE/backend:$CI_COMMIT_TAG
- docker tag iam_php:latest $CI_REGISTRY_IMAGE/backend:latest
- docker tag iam_php:latest $CI_REGISTRY_IMAGE/php:$CI_COMMIT_TAG
- docker tag iam_php:latest $CI_REGISTRY_IMAGE/php:latest
- docker tag iam_caddy:latest $CI_REGISTRY_IMAGE/caddy:$CI_COMMIT_TAG
- docker tag iam_caddy:latest $CI_REGISTRY_IMAGE/caddy:latest
- docker tag redis:latest $CI_REGISTRY_IMAGE/redis:$CI_COMMIT_TAG
- docker tag redis:latest $CI_REGISTRY_IMAGE/redis:latest
- docker tag postgres:14-alpine $CI_REGISTRY_IMAGE/database:$CI_COMMIT_TAG
......
......@@ -4,7 +4,7 @@ Please read this!
Before opening a new issue, make sure to search for keywords in the issues
filtered by the "regression" or "bug" label:
- https://gitlab.com/dadangnh/djp-iam/-/issues?label_name%5B%5D=bug
- https://gitlab.com/dadangnh/iam/-/issues?label_name%5B%5D=bug
and verify the issue you're about to submit isn't a duplicate.
--->
......
# DJPConnect - IAM Changelog
# IAM Changelog
## Version 1.18.3
* Fix broken css on admin area (#65)
......@@ -144,4 +144,4 @@
* Move the service inside all docker
## Version 1.0
First release. Contains all working code for initial IAM workload
First release. Contains all working code for initial IAM workload
# DJP-IAM Installation Method
# IAM Installation Method
####Since 1.15.0, our default compose file contains two web server (caddy or nginx). As the consequences, you need to choose which one to use on deployment command
......@@ -17,7 +17,7 @@ This method only require you to have [Docker Engine](https://docker.com) install
First, clone this repository:
```bash
$ git clone git@gitlab.com:dadangnh/djp-iam.git some_dir
$ git clone git@gitlab.com:dadangnh/iam.git some_dir
$ cd some_dir
```
......@@ -34,7 +34,7 @@ Create the docker environment with nginx:
$ docker-compose up -d database redis php nginx
```
Generate Private and public key for JWT Token:
Generate Private and public key for JWT Token (or you can use your own key and place it to config/jwt folder):
#### On Linux:
......@@ -124,7 +124,7 @@ Deploy keys are also [supported by GitLab](https://docs.gitlab.com/ee/user/proje
Example with Git:
```bash
$ git clone git@gitlab.com:dadangnh/djp-iam.git
$ git clone git@gitlab.com:dadangnh/iam.git
```
Go into the directory containing your project (`<project-name>`), and start the app in production mode (caddy):
......@@ -169,7 +169,7 @@ This method only require you to have the following tools:
First, clone this repository:
```bash
$ git clone git@gitlab.com:dadangnh/djp-iam.git some_dir
$ git clone git@gitlab.com:dadangnh/iam.git some_dir
$ cd some_dir
```
......@@ -247,7 +247,7 @@ This method only require you to have the following tools:
First, clone this repository:
```bash
$ git clone git@gitlab.com:dadangnh/djp-iam.git some_dir
$ git clone git@gitlab.com:dadangnh/iam.git some_dir
$ cd some_dir
```
......
......@@ -631,7 +631,7 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
djp-iam
IAM
Copyright (C) 2020 Dadang NH
This program is free software: you can redistribute it and/or modify
......@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
djp-iam Copyright (C) 2020 Dadang NH
IAM Copyright (C) 2020 Dadang NH
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
......
# DJP IAM (Back-end for DJPConnect)
# IAM (Identity and Access Management System)
[![pipeline status](https://gitlab.com/dadangnh/djp-iam/badges/master/pipeline.svg)](https://gitlab.com/dadangnh/djp-iam/-/commits/master)
[![pipeline status](https://gitlab.com/dadangnh/iam/badges/master/pipeline.svg)](https://gitlab.com/dadangnh/iam/-/commits/master)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5074/badge)](https://bestpractices.coreinfrastructure.org/projects/5074)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/44690bc332194c26a94dc8bb062a67f1)](https://www.codacy.com/gl/dadangnh/djp-iam/dashboard?utm_source=gitlab.com&amp;utm_medium=referral&amp;utm_content=dadangnh/djp-iam&amp;utm_campaign=Badge_Grade)
[![coverage report](https://gitlab.com/dadangnh/djp-iam/badges/master/coverage.svg)](https://gitlab.com/dadangnh/djp-iam/-/commits/master)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/44690bc332194c26a94dc8bb062a67f1)](https://www.codacy.com/gl/dadangnh/iam/dashboard?utm_source=gitlab.com&amp;utm_medium=referral&amp;utm_content=dadangnh/iam&amp;utm_campaign=Badge_Grade)
[![coverage report](https://gitlab.com/dadangnh/iam/badges/master/coverage.svg)](https://gitlab.com/dadangnh/iam/-/commits/master)
![Lines of code](https://img.shields.io/tokei/lines/gitlab.com/dadangnh/djp-iam)
![Docker Image Size (latest semver)](https://img.shields.io/docker/image-size/dadang/djp-iam_php)
![Lines of code](https://img.shields.io/tokei/lines/gitlab.com/dadangnh/iam)
![Docker Image Size (latest semver)](https://img.shields.io/docker/image-size/dadang/iam_backend)
![Packagist License](https://img.shields.io/packagist/l/dadangnh/iam)
![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/dadangnh/iam)
![Packagist Version](https://img.shields.io/packagist/v/dadangnh/iam)
![GitLab tag (latest by SemVer)](https://img.shields.io/gitlab/v/tag/dadangnh/djp-iam)
![Docker Image Version (latest semver)](https://img.shields.io/docker/v/dadang/djp-iam_php)
![GitLab tag (latest by SemVer)](https://img.shields.io/gitlab/v/tag/dadangnh/iam)
![Docker Image Version (latest semver)](https://img.shields.io/docker/v/dadang/iam_backend)
Source code service Identity and Access Management DJP.
Source code service Identity and Access Management based on [Api-Platform](https://api-platform.com/) and [Symfony Framework](https://symfony.com/).
## Canonical source
The canonical source of DJP IAM where all development takes place is [hosted on GitLab.com](https://gitlab.com/dadangnh/djp-iam).
The canonical source of IAM where all development takes place is [hosted on GitLab.com](https://gitlab.com/dadangnh/iam).
## Installation
......
......@@ -4,7 +4,7 @@
"type": "project",
"license": "GPL-3.0-or-later",
"keywords": ["iam","identity and access management","api","api platform","symfony","symfony iam","rbac"],
"homepage": "https://gitlab.com/dadangnh/djp-iam",
"homepage": "https://gitlab.com/dadangnh/iam",
"authors": [
{
"name": "Dadang NH",
......@@ -19,7 +19,7 @@
},
{
"name": "IAM Contributor",
"homepage": "https://gitlab.com/dadangnh/djp-iam/-/graphs/master"
"homepage": "https://gitlab.com/dadangnh/iam/-/graphs/master"
}
],
"require": {
......
api_platform:
title: DJPConnect-IAM API Docs
title: IAM API Docs
version: 1.18.3
description: |
Bug report and feature request are welcome, please report [here](https://gitlab.com/dadangnh/djp-iam/-/issues).
Bug report and feature request are welcome, please report [here](https://gitlab.com/dadangnh/iam/-/issues).
Newest production version are always available at [https://iam.pajak.or.id/api](https://iam.pajak.or.id/api)
or [https://iam.simulasikan.com/api](https://iam.simulasikan.com/api)
with auto devops enabled from [Gitlab CI Pipeline](https://gitlab.com/dadangnh/djp-iam/-/pipelines),
with auto devops enabled from [Gitlab CI Pipeline](https://gitlab.com/dadangnh/iam/-/pipelines),
in case you need to develop app using the service from your home.
mapping:
paths:
......
......@@ -11,7 +11,7 @@ services:
- "5432:5432"
restart: unless-stopped
networks:
- djp
- iam
volumes:
- db_data:/var/lib/postgresql/data:rw
......@@ -21,7 +21,7 @@ services:
- "6379:6379"
restart: unless-stopped
networks:
- djp
- iam
php:
build:
......@@ -46,7 +46,7 @@ services:
- database
- redis
networks:
- djp
- iam
environment:
# Run "composer require symfony/orm-pack" to install and configure Doctrine ORM
DATABASE_URL: postgresql://${POSTGRES_USER:-db_user}:${POSTGRES_PASSWORD:-db_pass}@database:5432/${POSTGRES_DB:-db_name}?serverVersion=${POSTGRES_VERSION:-14}
......@@ -69,7 +69,7 @@ services:
MERCURE_SUBSCRIBER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET:-!ChangeMe!}
restart: unless-stopped
networks:
- djp
- iam
volumes:
- caddy_data:/data
- caddy_config:/config
......@@ -101,7 +101,7 @@ services:
links:
- php
networks:
- djp
- iam
volumes:
- ./:/srv/app
# - nginx_data:/data
......@@ -129,5 +129,5 @@ volumes:
# nginx_conig:
networks:
djp:
iam:
driver: bridge
......@@ -40,7 +40,7 @@ class AdminDashboardController extends AbstractDashboardController
public function configureDashboard(): Dashboard
{
return Dashboard::new()
->setTitle('DJP<i>connect</i>');
->setTitle('IAM Admin');
}
/**
......
......@@ -67,7 +67,7 @@ class SecurityController extends AbstractController
// the title visible above the login form (define this option only if you are
// rendering the login template in a regular Symfony controller; when rendering
// it from an EasyAdmin Dashboard this is automatically set as the Dashboard title)
'page_title' => 'DJPConnect Admin login',
'page_title' => 'IAM Admin login',
// the string used to generate the CSRF token. If you don't define
// this parameter, the login form won't include a CSRF token
......
......@@ -5,7 +5,7 @@
{% block page_content %}
<div class="content">
<p>
Selamat datang di halaman admin DJPConnect.
Welcome to IAM Admin Dashboard.
</p>
</div>
{% endblock %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment