Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app_install
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tarun.madamanchi
app_install
Commits
def51ec8
Commit
def51ec8
authored
Jan 23, 2024
by
tarun2512
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fourth commit
parent
49a0eb81
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
312 additions
and
7 deletions
+312
-7
.env
.env
+3
-5
app.py
app.py
+1
-1
app_clone_script_copy.py
app_clone_script_copy.py
+0
-1
app_clone_script_new.py
app_clone_script_new.py
+308
-0
No files found.
.env
View file @
def51ec8
MONGO_URI=mongodb://@192.168.0.217:30904/?authMechanism=DEFAULT&directConnection=true
MONGO_URI=mongodb://admin:iLens%23@192.168.0.217:30904/?authMechanism=DEFAULT&directConnection=true
BASE_URI=https://qa.unifytwin.com/
LOGIN_TOKEN=dd350397643246daa19ac63c0060d430
USER_ID=user_099
USER_ID=user_099
PROJECT_ID=project_
287
PROJECT_ID=project_
306
APP_NAME=FT Energy Manager
APP_NAME=FT Energy Manager
PREFIX=project_
287
PREFIX=project_
306
BASE_PATH=/code/data
BASE_PATH=/code/data
MOUNT_DIR=app_zip
MOUNT_DIR=app_zip
\ No newline at end of file
app.py
View file @
def51ec8
from
dotenv
import
load_dotenv
from
dotenv
import
load_dotenv
import
os
import
os
load_dotenv
()
load_dotenv
()
from
app_clone_script_
copy
import
extract_app_zip
from
app_clone_script_
new
import
extract_app_zip
from
image_move_script
import
get_image_names
,
move_images
from
image_move_script
import
get_image_names
,
move_images
USER_ID
=
os
.
environ
.
get
(
"USER_ID"
)
USER_ID
=
os
.
environ
.
get
(
"USER_ID"
)
...
...
app_clone_script_copy.py
View file @
def51ec8
...
@@ -139,7 +139,6 @@ def fetch_hierarchy_details(project_id, node_id):
...
@@ -139,7 +139,6 @@ def fetch_hierarchy_details(project_id, node_id):
json
=
payload
,
json
=
payload
,
cookies
=
cookie
,
cookies
=
cookie
,
headers
=
cookie
,
headers
=
cookie
,
)
)
if
response
.
status_code
==
200
:
if
response
.
status_code
==
200
:
result
=
response
.
json
()
result
=
response
.
json
()
...
...
app_clone_script_new.py
0 → 100644
View file @
def51ec8
This diff is collapsed.
Click to expand it.
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