Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
inventory-promotion-react
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ascend
inventory-promotion-react
Commits
a7ec0c90
Commit
a7ec0c90
authored
May 18, 2021
by
Ben Anderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deployment 18
parent
3db02fc9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
deployment.yaml
deployment.yaml
+1
-1
config.js
src/config.js
+1
-1
No files found.
deployment.yaml
View file @
a7ec0c90
...
@@ -14,7 +14,7 @@ spec:
...
@@ -14,7 +14,7 @@ spec:
spec
:
spec
:
containers
:
containers
:
-
name
:
afp-inventory-ui-container
-
name
:
afp-inventory-ui-container
image
:
nexus.mynisum.com/afp-inventory-ui:1
7
image
:
nexus.mynisum.com/afp-inventory-ui:1
8
imagePullPolicy
:
Always
imagePullPolicy
:
Always
ports
:
ports
:
-
containerPort
:
8081
-
containerPort
:
8081
...
...
src/config.js
View file @
a7ec0c90
class
Config
{
class
Config
{
static
inventoryUrl
=
`http://
${
process
.
env
.
INVENTORY_BACKEND_URI
}
/api/products`
;
static
inventoryUrl
=
`http://
${
process
.
env
.
INVENTORY_BACKEND_URI
}
/api/products`
;
static
promotionsUrl
=
`http://10.0.191.126:8082
}
/api/promos`
;
static
promotionsUrl
=
`http://10.0.191.126:8082/api/promos`
;
static
sessionUrl
=
"http://localhost:8080/api/sessions"
;
static
sessionUrl
=
"http://localhost:8080/api/sessions"
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment