Skip to content

Commit

Permalink
feat(relative path): update relative path for utils
Browse files Browse the repository at this point in the history
  • Loading branch information
harryandriyan committed Jun 3, 2022
1 parent cb214b1 commit 190752d
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion admin-ui/app/components/App/AuthenticatedRouteSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import AppLayout from '../../layout/default'
import { RoutedContent } from 'Routes'
import ByeBye from 'Routes/Pages/ByeBye'
import AppAuthProvider from '../../utils/AppAuthProvider'
import AppAuthProvider from 'Utils/AppAuthProvider'

export default function AuthenticatedRouteSelector() {
const selectedComponents =
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/app/redux/sagas/FidoSaga.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { call, all, put, fork, takeLatest, select } from 'redux-saga/effects'
import { isFourZeroOneError } from '../../utils/TokenController'
import { isFourZeroOneError } from 'Utils/TokenController'
import { getFidoResponse, editFidoResponse } from '../actions/FidoActions'
import { getAPIAccessToken } from '../actions/AuthActions'
import { GET_FIDO, PUT_FIDO } from '../actions/types'
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/app/redux/sagas/HealthSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { call, all, put, fork, takeLatest, select } from 'redux-saga/effects'
import {
isFourZeroOneError,
addAdditionalData,
} from '../../utils/TokenController'
} from 'Utils/TokenController'
import { getHealthStatusResponse } from '../actions/HealthAction'
import { getAPIAccessToken } from '../actions/AuthActions'
import { postUserAction } from '../api/backend-api'
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/app/redux/sagas/InitSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { call, all, put, fork, takeLatest, select } from 'redux-saga/effects'
import {
isFourZeroOneError,
addAdditionalData,
} from '../../utils/TokenController'
} from 'Utils/TokenController'
import {
getAttributesResponse,
getScriptsResponse,
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/app/redux/sagas/LicenseDetailsSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import LicenseDetailsApi from '../api/LicenseDetailsApi'
const JansConfigApi = require('jans_config_api')
import { initAudit } from 'Redux/sagas/SagaUtils'
import { postUserAction } from 'Redux/api/backend-api'
import { isFourZeroOneError } from '../../utils/TokenController'
import { isFourZeroOneError } from 'Utils/TokenController'
import { getAPIAccessToken } from 'Redux/actions/AuthActions'

function* newFunction() {
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/app/redux/sagas/MauSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { call, all, put, fork, takeLatest, select } from 'redux-saga/effects'
import {
isFourZeroOneError,
addAdditionalData,
} from '../../utils/TokenController'
} from 'Utils/TokenController'
import { getMauResponse } from '../actions/MauActions'
import { getAPIAccessToken } from '../actions/AuthActions'
import { postUserAction } from '../api/backend-api'
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/app/redux/sagas/OidcDiscoverySaga.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { all, call, fork, put, takeLatest, select } from 'redux-saga/effects'
import { GET_OIDC_DISCOVERY } from '../actions/types'
import { getOidcDiscoveryResponse } from '../actions'
import { isFourZeroOneError } from '../../utils/TokenController'
import { isFourZeroOneError } from 'Utils/TokenController'
import OidcDiscoveryApi from '../api/OidcDiscoveryApi'
import { getClient } from '../api/base'
import { getAPIAccessToken } from '../actions/AuthActions'
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/app/routes/Dashboards/Grapths/CustomPieGraph.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { getNewColor } from '../../../utils/Util'
import { getNewColor } from 'Utils/Util'
import {
PieChart,
Pie,
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/app/routes/Dashboards/Reports/Reports.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect } from 'react'
import { buildPayload } from '../../../../app/utils/PermChecker'
import { buildPayload } from 'Utils/PermChecker'
import { Container, Row, Col } from 'Components'
import { connect } from 'react-redux'
import {
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/app/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import ByeBye from './Pages/ByeBye'
import Gluu404Error from './Apps/Gluu/Gluu404Error'
import GluuNavBar from './Apps/Gluu/GluuNavBar'
import { processRoutes } from 'Plugins/PluginMenuResolver'
import { hasPermission } from '../utils/PermChecker'
import { hasPermission } from 'Utils/PermChecker'

//------ Route Definitions --------
// eslint-disable-next-line no-unused-vars
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/admin/plugin-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
SCRIPT_READ,
SCRIPT_WRITE,
MAPPING_READ,
} from '../../app/utils/PermChecker'
} from 'Utils/PermChecker'

const PLUGIN_BASE_APTH = '/adm'

Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/admin/redux/sagas/ApiPermissionSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
import {
isFourZeroOneError,
addAdditionalData,
} from '../../../../app/utils/TokenController'
} from 'Utils/TokenController'
import {
GET_PERMISSIONS,
ADD_PERMISSION,
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/admin/redux/sagas/CustomScriptSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { getAPIAccessToken } from 'Redux/actions/AuthActions'
import {
isFourZeroOneError,
addAdditionalData,
} from '../../../../app/utils/TokenController'
} from 'Utils/TokenController'
import {
GET_CUSTOM_SCRIPT,
GET_CUSTOM_SCRIPT_BY_TYPE,
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/admin/redux/sagas/MappingSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { getAPIAccessToken } from 'Redux/actions/AuthActions'
import {
isFourZeroOneError,
addAdditionalData,
} from '../../../../app/utils/TokenController'
} from 'Utils/TokenController'
import {
GET_MAPPING,
UPDATE_PERMISSIONS_TO_SERVER,
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/auth-server/plugin-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
CLIENT_WRITE,
SCOPE_WRITE,
JWKS_READ,
} from '../../app/utils/PermChecker'
} from 'Utils/PermChecker'

const PLUGIN_BASE_APTH = '/auth-server'

Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/auth-server/redux/sagas/OAuthScopeSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { getClient } from 'Redux/api/base'
import {
isFourZeroOneError,
addAdditionalData,
} from '../../../../app/utils/TokenController'
} from 'Utils/TokenController'
import { postUserAction } from 'Redux/api/backend-api'

const JansConfigApi = require('jans_config_api')
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/auth-server/redux/sagas/OIDCSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { call, all, put, fork, takeLatest, select } from 'redux-saga/effects'
import {
isFourZeroOneError,
addAdditionalData,
} from '../../../../app/utils/TokenController'
} from 'Utils/TokenController'
import { postUserAction } from 'Redux/api/backend-api'
import {
getOpenidClientsResponse,
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/schema/plugin-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import AttributeEditPage from './components/Person/AttributeEditPage'
import AttributeViewPage from './components/Person/AttributeViewPage'
import attributeReducer from './redux/reducers/AttributeReducer'
import attributeSaga from './redux/sagas/AttributeSaga'
import { ATTRIBUTE_READ, ATTRIBUTE_WRITE } from '../../app/utils//PermChecker'
import { ATTRIBUTE_READ, ATTRIBUTE_WRITE } from 'Utils//PermChecker'

const pluginMetadata = {
menus: [
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/schema/redux/sagas/AttributeSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { call, all, put, fork, takeLatest, select } from 'redux-saga/effects'
import {
isFourZeroOneError,
addAdditionalData,
} from '../../../../app/utils/TokenController'
} from 'Utils/TokenController'
import {
getAttributesResponse,
addAttributeResponse,
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/services/plugin-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
LDAP_WRITE,
SQL_READ,
SQL_WRITE,
} from '../../app/utils/PermChecker'
} from 'Utils/PermChecker'

const pluginMetadata = {
menus: [
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/services/redux/sagas/CacheSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { call, all, put, fork, takeLatest, select } from 'redux-saga/effects'
import {
isFourZeroOneError,
hasApiToken,
} from '../../../../app/utils/TokenController'
} from 'Utils/TokenController'
import {
getCacheResponse,
getMemoryCacheResponse,
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/services/redux/sagas/SmtpSaga.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { call, all, put, fork, takeLatest, select } from 'redux-saga/effects'
import { isFourZeroOneError } from '../../../../app/utils/TokenController'
import { isFourZeroOneError } from 'Utils/TokenController'
import {
getSmtpResponse,
editSmtpResponse,
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/plugins/services/redux/sagas/SqlSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { call, all, put, fork, takeLatest, select } from 'redux-saga/effects'
import {
isFourZeroOneError,
addAdditionalData,
} from '../../../../app/utils/TokenController'
} from 'Utils/TokenController'
import {
getSqlResponse,
addSqlResponse,
Expand Down

0 comments on commit 190752d

Please sign in to comment.