Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

base64 password and query optimization for publish method #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bandrea83
Copy link

Added code for manage base64 password encryption.
Updated documentation for base64 password encryption

bandrea83 added 3 commits November 18, 2017 10:40
Added documentation line about base64 password encryption
changed ended time with started time for publish and task query
Optimized search for get sync task started after last cv publish start time
@bandrea83
Copy link
Author

Optimized query on sync task started after last cv publish. added filter for get only task that match repository id you are checking

@bandrea83 bandrea83 changed the title Added support for base64 password encryption base64 password and query optimization for publish method Nov 18, 2017
@Rocco83
Copy link
Contributor

Rocco83 commented Jan 18, 2018

ping @evgeni :)

@CalvinHartwell
Copy link
Contributor

ping @evgeni :)

Yeah, fix it @evgeni !!! ;-) ❤️ 💟 😻 🐈 😹 😸

Rocco83 added a commit to Rocco83/katello-cvmanager that referenced this pull request May 3, 2018
@@ -77,7 +77,7 @@ Example configuration for `cvmanager`:
- application1

* `user`: username of a Satellite 6 user to execute the actions with
* `pass`: password of the same user
* `pass`: password of the same user in base64 encryption (generate with 'echo -n "sat_password" | base64')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

base64 is not encryption, so please drop that "feature" (as discussed with @Rocco83 in #53)

I'd be OK with having a real encrypted password here, but that would require more code.

@@ -198,7 +201,7 @@ def clean()
end

def checktask(task, last_date)
task_completed_at = Time.xmlschema(task['ended_at']) rescue Time.parse(task['ended_at'])
task_completed_at = Time.xmlschema(task['started_at']) rescue Time.parse(task['started_at'])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain a bit more what is fixed here? I fear with that change we'll be missing the tasks that started before last_date but ended after it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants