Comments (5)
Hi @tomhoag ,
Please pull the latest code. I made an update recently -- at this time the script waits for the ES domain to be created -- that's when the ES url is available.
Let me know if that works.
Vladimir
from serverless-photo-recognition.
Hi Vladimir
I don't see an update to the while statement. I've created a fork and made a change to
while [ 'None' == $(aws es describe-elasticsearch-domain --domain-name ${ES_DOMAIN_NAME} --query "DomainStatus.Endpoint" --output text) ];
I'm going to close this issue and open a pull request with the above change.
Thanks!
from serverless-photo-recognition.
from serverless-photo-recognition.
I do have that version of the code -- I'm suggesting that the current while statement
while [ 'True' == $(aws es describe-elasticsearch-domain --domain-name ${ES_DOMAIN_NAME} --query "DomainStatus.Processing" --output text) ];
be changed to
while [ 'None' == $(aws es describe-elasticsearch-domain --domain-name ${ES_DOMAIN_NAME} --query "DomainStatus.Endpoint" --output text) ];
This avoids the problem in which _ES_SERVICE_URL was getting resolved to "https://None" in Properties.kt
from serverless-photo-recognition.
I'll have to take a look. It was resolving to None when I didn't have the while loop but from what I understood once the Processing is finished the url is assigned, so it should never be none. I'll need to do some research.
from serverless-photo-recognition.
Related Issues (9)
- While running ./setupEnvironment.sh gives error HOT 2
- Search fails when launched in EU-West-1 HOT 2
- Script Fails when output for CLI is not JSON HOT 1
- Add to awesome-functions HOT 1
- some erros with setup script HOT 3
- API Gateway creation error
- Use of sed -i in setupEnvironment.sh HOT 1
- Cannot perform search HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-photo-recognition.