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

A class for each system property #199

Closed
amihaiemil opened this issue Mar 17, 2017 · 6 comments
Closed

A class for each system property #199

amihaiemil opened this issue Mar 17, 2017 · 6 comments

Comments

@amihaiemil
Copy link
Member

We read a few system properties in the aws layer.
Let's create classes for each of them and correct the unit tests, according to this article

@amihaiemil amihaiemil changed the title A class for each systme property A class for each system property Mar 17, 2017
@amihaiemil
Copy link
Member Author

amihaiemil commented Mar 17, 2017

@SherifWaly Want to start this? It's quite a lot of changes, but we use PDD.

For starters, I would add interfaces EsEndpoint, Region, AccessKeyId, and SecretKey (these are 4 system properties that are read in the AWS logic). All of these 4 interfaces should extend interface SystemProperty which has the method String read(). In the package com.amihaiemil.charles.aws

What do you think?

@SherifWaly
Copy link
Contributor

@amihaiemil Ok I will try to understand this task and start it.

@amihaiemil
Copy link
Member Author

amihaiemil commented Mar 17, 2017

@SherifWaly Just read that article and add those interfaces -- no need to start using them in the code yet. I'll start with them and you'll see :D

And leave a puzzle in the code, for this task to be continued

@amihaiemil
Copy link
Member Author

@SherifWaly By the way, the build on this project is simply mvn clean install (no checkstyle because it wasn't added from the beginning and now it's a mess... I'll have to fix it someday... see here)

@amihaiemil
Copy link
Member Author

@SherifWaly btw, you are now listed as a contributor here: http://charles.amihaiemil.com

@SherifWaly
Copy link
Contributor

@amihaiemil I'm happy to know that :D Thanks Mihai!

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

No branches or pull requests

2 participants