Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
csbase-dev
sgarest-daemon
Commits
bd55ee7e
Commit
bd55ee7e
authored
5 years ago
by
Carlos Juliano Viana
Browse files
Options
Download
Patches
Plain Diff
Atualizando script de request com o parâmetro do token na chamada.
[SOMA-3695]
parent
35f13b72
master
maia/4208/FixInvalidPropTestInCiCd
maia/9022/SgaCygwinInstall
maia/9564/DisableKubernetesDeploy
newfeature/SOMA-3699_IdentificarVersaoSGA
newfeature/SOMA-4444_AddSgaToK8s
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
request.sh
+3
-3
request.sh
with
3 additions
and
3 deletions
+3
-3
request.sh
+
3
−
3
View file @
bd55ee7e
...
...
@@ -16,7 +16,7 @@ job)
"csbase_command_sandbox_paths.1":"/tmp/job_123",
"csbase_command_user_token":"USER_TOKEN",
}
}'
$SGA_BASE_URL
'/v1/sga/'
$SGA_NAME
'/job'
}'
-H
"Authorization: Bearer <token>"
$SGA_BASE_URL
'/v1/sga/'
$SGA_NAME
'/job'
;;
status
)
...
...
@@ -25,11 +25,11 @@ status)
then
num
=
123
fi
curl
-v
$SGA_BASE_URL
'/v1/sga/'
$SGA_NAME
'/job/'
$num
'/status'
curl
-H
"Authorization: Bearer <token>"
-v
$SGA_BASE_URL
'/v1/sga/'
$SGA_NAME
'/job/'
$num
'/status'
;;
path
)
curl
-v
$SGA_BASE_URL
'/v1/sga/'
$SGA_NAME
'/path?name='
$2
curl
-H
"Authorization: Bearer <token>"
-v
$SGA_BASE_URL
'/v1/sga/'
$SGA_NAME
'/path?name='
$2
;;
esac
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets