Cloud Functions 어댑터

improve this page | report issue

개요

OpenWhisk는 이제 Cloud Functions라고 합니다.

IBM Cloud Functions는 서버를 사용하지 않고 확장 가능한 환경에서 코드를 실행할 수 있는 FaaS(Function-as-a-Service) 플랫폼입니다. Cloud Functions 플랫폼의 유스 케이스 중 하나가 서버를 사용하지 않는 모바일 백엔드 코드를 개발하고 실행하는 것입니다. IBM Cloud의 Cloud Functions 플랫폼에 대해 자세히 알아보려면 여기를 클릭하십시오.

Mobile Foundation 어댑터는 필요한 서버 측 논리를 수행하고 백엔드 시스템에서 클라이언트 애플리케이션과 클라우드 서비스로 정보를 전송 및 검색하는 데 사용됩니다. Mobile Foundation은 이제 Cloud Functions용 어댑터를 제공합니다.

Cloud Functions 어댑터

IBM Mobile Foundation은 iFix 8.0.0.0-MFPF-IF20170710-1834부터 Cloud Functions 어댑터를 제공합니다. Mobile Foundation 콘솔의 Download Center에서 이 어댑터를 다운로드하고 배치할 수 있습니다.

어댑터를 다운로드하고 배치한 후 Cloud Functions에 연결하도록 어댑터를 구성해야 합니다.

Cloud Functions에 연결하도록 어댑터 구성

Cloud Functions에 연결하도록 어댑터를 구성하려면 어댑터 구성 페이지로 이동하여 Cloud Functions의 인증 키로부터 사용자 이름 및 _비밀번호_를 제공하십시오. 다음 CLI 명령을 실행하여 Cloud Functions의 _사용자 이름 **_ 및 _비밀번호**_를 얻을 수 있습니다.

./wsk property get --auth KEY

위의 명령은 쉼표로 구분된 인증 키를 리턴합니다. 쉼표의 왼쪽에는 _사용자 이름_이 있고 쉼표의 오른쪽에는 _비밀번호_가 있습니다.

사용자 이름:비밀번호

위의 방법으로 얻은 사용자 이름 및 _비밀번호_는 Cloud Functions 어댑터 구성 페이지에 제공되어야 하며 구성을 저장해야 합니다. 이제 클라이언트 앱은 어댑터 API를 호출(call)하여 Cloud Functions 백엔드 코드를 호출(invoke)할 수 있습니다.

Cloud Functions 어댑터를 수정하기 위해 이 Github Repo에서 어댑터 소스 코드를 다운로드할 수 있습니다.

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on June 29, 2020