Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the priority value of the replica services #257

Open
wants to merge 133 commits into
base: devel
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
bf184de
Modify the priority value of the replica services
vicente87 Sep 10, 2024
da5cbd6
Update script to prevent overwrite
gmolto Sep 13, 2024
8ad6914
Event log to delegate
vicente87 Sep 23, 2024
c4236b4
Tests for reading TLS certificates
vicente87 Sep 24, 2024
91ebcd2
Tests for reading TLS certificates
vicente87 Sep 24, 2024
7d333f3
Tests for reading TLS certificates
vicente87 Sep 24, 2024
6dc85bb
Block access using mutex function
vicente87 Sep 25, 2024
3b814ac
Add tests for expose
micafer Oct 7, 2024
05a1a37
Add tests for expose
micafer Oct 7, 2024
654715c
Add tests for expose
micafer Oct 7, 2024
09d3a4f
Included Deployment support for macOS
gmolto Oct 7, 2024
3632565
Revert "Included Deployment support for macOS"
gmolto Oct 7, 2024
8e85614
Updated Swagger documentation to match bearer token usage in OSCAR API
gmolto Oct 7, 2024
96b7f8d
Improve tests
micafer Oct 8, 2024
10f4b52
Improve tests
micafer Oct 8, 2024
2909bf1
Improve tests
micafer Oct 8, 2024
d36bd4e
Merge pull request #259 from grycap/fix-gmolto-swagger
catttam Oct 8, 2024
3c48845
Merge pull request #262 from grycap/devel
catttam Oct 8, 2024
4427db9
Bump OSCAR-UI version
catttam Oct 8, 2024
a640afd
Add create tests
micafer Oct 10, 2024
ee0f66f
Merge pull request #261 from grycap/micafer_dev
catttam Oct 14, 2024
18ab2de
Add delete tests
micafer Oct 15, 2024
af8edf2
Fix typo
micafer Oct 15, 2024
0854844
Fix typo
micafer Oct 15, 2024
86532cb
Add job tests
micafer Oct 15, 2024
7fc3cfa
Add update tests
micafer Oct 15, 2024
7287a23
Add logs tests
micafer Oct 15, 2024
82b2a38
Add logs tests
micafer Oct 15, 2024
58b3aef
Add logs tests
micafer Oct 15, 2024
ade00dc
Merge main
micafer Oct 18, 2024
4cd94ad
Update token
micafer Oct 18, 2024
23108fc
Fix test
micafer Oct 18, 2024
4576e21
Fix coverage badge
micafer Oct 18, 2024
9206db3
Merge pull request #264 from grycap/fix_badge
micafer Oct 18, 2024
69e4405
Merge branch 'fix_badge' into micafer_dev
micafer Oct 18, 2024
7f5faf6
Fix go report badge
micafer Oct 18, 2024
1b6f7d9
Merge pull request #265 from grycap/fix_badge
micafer Oct 18, 2024
2eba552
Merge branch 'fix_badge' into micafer_dev
micafer Oct 18, 2024
e8fecf6
Fix misspell errors
micafer Oct 18, 2024
daee11c
Fix misspell errors
micafer Oct 18, 2024
bcf766b
Added YOLOv8 example in English and other related changes
Dialdroid Oct 21, 2024
81e92d4
Merge pull request #266 from Dialdroid/dev-dieagra
Dialdroid Oct 21, 2024
c0b0cc5
Add minio utils tests
micafer Oct 21, 2024
cc7d80d
Merge branch 'micafer_dev' of github.com:grycap/oscar into micafer_dev
micafer Oct 21, 2024
e9cfb12
Add yunikorn tests
micafer Oct 22, 2024
2e57799
Add yunikorn tests
micafer Oct 22, 2024
0ba7759
Improve tests
micafer Oct 22, 2024
53c21d0
Add license header
micafer Oct 22, 2024
c6a6d3e
Add mount test
micafer Oct 22, 2024
3288209
Add interlink test
micafer Oct 22, 2024
990a9a8
Add daemonset test
micafer Oct 22, 2024
a9e3c81
Add tests
micafer Oct 22, 2024
eefb4e1
Merge branch 'master' into dev-gmolto
gmolto Oct 22, 2024
4f3a9e7
Updated documentation with Access Token support in /run and /job
gmolto Oct 22, 2024
ff7049f
Clarified how to obtain an Access Token
gmolto Oct 22, 2024
b5d6b3c
Expanded description for asynchronous invocations
gmolto Oct 22, 2024
e3713bd
Included considerations for invocations
gmolto Oct 22, 2024
a1fc547
Adjusted documentation to support for Access Tokens
gmolto Oct 22, 2024
e39edd9
Improve config tests
micafer Oct 23, 2024
47fbddd
Add status tests
micafer Oct 23, 2024
c892326
Add delegate tests
micafer Oct 23, 2024
421dd73
Add rescheduler tests
micafer Oct 23, 2024
9fcd4d6
Add replica tests
micafer Oct 24, 2024
579a717
Add openfaas tests
micafer Oct 24, 2024
1e7ff06
Add tests
micafer Oct 24, 2024
4a6432c
Add tests
micafer Oct 24, 2024
4892d62
Add tests
micafer Oct 24, 2024
7316c7c
Merge pull request #256 from grycap/dev-gmolto
catttam Oct 24, 2024
9cf73cb
Add tests
micafer Oct 24, 2024
9434fbf
Fix style issues
micafer Oct 25, 2024
a81728c
Fix style issues
micafer Oct 25, 2024
b77402f
Merge branch 'master' into micafer_dev
micafer Nov 6, 2024
8edbe5c
Definition of replica delegation criteria based onTOPSIS algorithm
vicente87 Nov 12, 2024
1020601
Merge pull request #263 from grycap/micafer_dev
catttam Nov 18, 2024
9e10935
Merge pull request #267 from grycap/devel
catttam Nov 18, 2024
f27262b
Update mkdocs.yml
catttam Nov 18, 2024
6cb21c5
Update minio_usage.md
catttam Nov 18, 2024
60c1755
Fixed homogeneous use of hyphens in file nomenclature
gmolto Nov 18, 2024
64643dc
Update proper naming in TOC
gmolto Nov 18, 2024
afb9635
Merge pull request #268 from grycap/dev-gmolto
gmolto Nov 18, 2024
9e10369
config shows oidc-groups
SergioLangaritaBenitez Nov 20, 2024
abf4f0f
Merge branch 'master' of github.com:grycap/oscar into dev-slangarita
SergioLangaritaBenitez Nov 20, 2024
2a3e88a
config_test update
SergioLangaritaBenitez Nov 20, 2024
473c04a
config_test update
SergioLangaritaBenitez Nov 20, 2024
8b6ce31
Improve create test
micafer Nov 21, 2024
5376dbf
Merge pull request #269 from grycap/dev-slangarita
catttam Nov 21, 2024
c389373
Merge pull request #270 from grycap/micafer_dev
catttam Nov 21, 2024
3031d82
Add multitenancy test
micafer Nov 21, 2024
40ea41a
Add multitenancy auth test
micafer Nov 21, 2024
4f37240
Add codacy conf file
micafer Nov 21, 2024
bcb946e
Add codacy conf file
micafer Nov 21, 2024
693f7dd
Del codacy conf file
micafer Nov 21, 2024
f839b52
Add tests
micafer Nov 21, 2024
a3af563
Merge branch 'micafer_dev' of github.com:grycap/oscar into micafer_dev
micafer Nov 22, 2024
93cf1c1
Fix test
micafer Nov 22, 2024
ef3e9da
Improve tests
micafer Nov 22, 2024
4b86d6e
Merge branch 'master' into micafer_dev
micafer Nov 22, 2024
d6c62e4
Improve tests
micafer Nov 22, 2024
eca1436
Remove testify
micafer Nov 22, 2024
75d862f
Merge pull request #271 from grycap/micafer_dev
micafer Nov 22, 2024
744e9ce
Add SQA tests
micafer Nov 22, 2024
2134aaa
Add SQA tests
micafer Nov 22, 2024
602c813
Add SQA tests
micafer Nov 22, 2024
a3cd62f
Add SQA tests
micafer Nov 22, 2024
e161682
Update actions
micafer Nov 22, 2024
dc1f7ef
Create event depending on delegation level
vicente87 Nov 22, 2024
79ed3b6
Merge branch 'master' into dev-vicente
micafer Nov 25, 2024
7ad4c83
Revert "Merge branch 'master' into dev-vicente"
micafer Nov 25, 2024
c7e68b6
Fix line
esparig Nov 25, 2024
f2eb277
Merge pull request #273 from grycap/fix-esparig
esparig Nov 25, 2024
39785dd
Merge pull request #272 from grycap/sqa
micafer Nov 25, 2024
1d566ea
Uploaded example for stable diffusion
esparig Nov 26, 2024
5e19f6a
Merge pull request #274 from grycap/dev-esparig
esparig Nov 27, 2024
df82df0
Updated acknowledgements
gmolto Nov 28, 2024
3f18f1f
Merge branch 'master' into dev-gmolto
gmolto Nov 28, 2024
3659d8f
Merge pull request #276 from grycap/dev-gmolto
gmolto Nov 28, 2024
a758284
correction of function names
vicente87 Dec 9, 2024
e40ad8f
Merge branch 'master' of github.com:grycap/oscar into dev-vicente
vicente87 Dec 9, 2024
8ce06c4
error with function
vicente87 Dec 9, 2024
c309e79
fix error
vicente87 Dec 9, 2024
fc0ee0c
fix error in commit
vicente87 Dec 9, 2024
9d65f9d
commet the mutex code
vicente87 Dec 10, 2024
1ae071f
eventJSON error
vicente87 Dec 10, 2024
b87622c
debug delegation event
vicente87 Dec 10, 2024
bc7e943
mutex function
vicente87 Dec 10, 2024
5f9b4e6
Storage provider test
vicente87 Dec 13, 2024
284a8c0
Detect storage_provider empty
vicente87 Dec 13, 2024
86c17ac
delegation non-empty storage provider
vicente87 Dec 13, 2024
c397dad
error with storage_provider empty
vicente87 Dec 16, 2024
6d901e2
fix error with mutex
vicente87 Feb 7, 2025
81127b9
decoding json in topsis
vicente87 Feb 13, 2025
8f18deb
resp.Body in jobStatuses
vicente87 Feb 13, 2025
be8a3b9
jobURL in JobStatuses
vicente87 Feb 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Event log to delegate
vicente87 committed Sep 23, 2024
commit 8ad6914b556fe21c9a57095ee23710b2188069e0
4 changes: 3 additions & 1 deletion pkg/resourcemanager/delegate.go
Original file line number Diff line number Diff line change
@@ -79,9 +79,11 @@ func DelegateJob(service *types.Service, event string, logger *log.Logger) error
sort.Stable(service.Replicas)
fmt.Println("Replicas Stable: ", service.Replicas)
}

fmt.Println("Event : ", event)
delegatedEvent := WrapEvent(service.ClusterID, event)
fmt.Println("delegateEvent : ", delegatedEvent)
eventJSON, err := json.Marshal(delegatedEvent)
fmt.Println("eventJSON : ", eventJSON)
if err != nil {
return fmt.Errorf("error marshalling delegated event: %v", err)
}